@mastra/schema-compat 1.3.10-alpha.0 → 1.3.10-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{json-schema-BstKYbJi.js → json-schema-BKit3LVN.js} +554 -218
- package/dist/json-schema-BKit3LVN.js.map +1 -0
- package/dist/{json-schema-pcL1TeZs.cjs → json-schema-CEVTdogs.cjs} +554 -218
- package/dist/json-schema-CEVTdogs.cjs.map +1 -0
- package/dist/{schema-Cjk6OMG9.cjs → schema-Bw7nQdgA.cjs} +2 -2
- package/dist/{schema-Cjk6OMG9.cjs.map → schema-Bw7nQdgA.cjs.map} +1 -1
- package/dist/{schema-Bv9OdW1f.js → schema-D_ikovK6.js} +2 -2
- package/dist/{schema-Bv9OdW1f.js.map → schema-D_ikovK6.js.map} +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.js +1 -1
- package/dist/schema.types.d.ts +20 -1
- package/dist/schema.types.d.ts.map +1 -1
- package/dist/standard-schema/adapters/json-schema.cjs +1 -1
- package/dist/standard-schema/adapters/json-schema.js +1 -1
- package/dist/zod-to-json.cjs.map +1 -1
- package/dist/zod-to-json.js.map +1 -1
- package/package.json +4 -4
- package/dist/json-schema-BstKYbJi.js.map +0 -1
- package/dist/json-schema-pcL1TeZs.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __commonJSMin, r as __toESM, t as require_json_schema_traverse } from "./json-schema-traverse-B35mHRM8.js";
|
|
2
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
2
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/codegen/code.js
|
|
3
3
|
var require_code$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
@@ -134,7 +134,7 @@ var require_code$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
134
134
|
exports.regexpCode = regexpCode;
|
|
135
135
|
}));
|
|
136
136
|
//#endregion
|
|
137
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
137
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/codegen/scope.js
|
|
138
138
|
var require_scope = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
139
139
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
140
140
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
@@ -271,7 +271,7 @@ var require_scope = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
271
271
|
exports.ValueScope = ValueScope;
|
|
272
272
|
}));
|
|
273
273
|
//#endregion
|
|
274
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
274
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/codegen/index.js
|
|
275
275
|
var require_codegen = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
276
276
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
277
277
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
@@ -940,7 +940,7 @@ var require_codegen = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
940
940
|
}
|
|
941
941
|
}));
|
|
942
942
|
//#endregion
|
|
943
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
943
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/util.js
|
|
944
944
|
var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
945
945
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
946
946
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
@@ -1081,7 +1081,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1081
1081
|
exports.checkStrictMode = checkStrictMode;
|
|
1082
1082
|
}));
|
|
1083
1083
|
//#endregion
|
|
1084
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1084
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/names.js
|
|
1085
1085
|
var require_names = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1086
1086
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1087
1087
|
const codegen_1 = require_codegen();
|
|
@@ -1105,7 +1105,7 @@ var require_names = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1105
1105
|
};
|
|
1106
1106
|
}));
|
|
1107
1107
|
//#endregion
|
|
1108
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1108
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/errors.js
|
|
1109
1109
|
var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1110
1110
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1111
1111
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
@@ -1201,7 +1201,7 @@ var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
}));
|
|
1203
1203
|
//#endregion
|
|
1204
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1204
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1205
1205
|
var require_boolSchema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1206
1206
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1207
1207
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
@@ -1243,7 +1243,7 @@ var require_boolSchema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
}));
|
|
1245
1245
|
//#endregion
|
|
1246
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1246
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/rules.js
|
|
1247
1247
|
var require_rules = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1248
1248
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1249
1249
|
exports.getRules = exports.isJSONType = void 0;
|
|
@@ -1301,7 +1301,7 @@ var require_rules = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1301
1301
|
exports.getRules = getRules;
|
|
1302
1302
|
}));
|
|
1303
1303
|
//#endregion
|
|
1304
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1304
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/validate/applicability.js
|
|
1305
1305
|
var require_applicability = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1306
1306
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1307
1307
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
@@ -1321,7 +1321,7 @@ var require_applicability = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1321
1321
|
exports.shouldUseRule = shouldUseRule;
|
|
1322
1322
|
}));
|
|
1323
1323
|
//#endregion
|
|
1324
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1324
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/validate/dataType.js
|
|
1325
1325
|
var require_dataType = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1326
1326
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1327
1327
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
@@ -1485,7 +1485,7 @@ var require_dataType = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
}));
|
|
1487
1487
|
//#endregion
|
|
1488
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1488
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/validate/defaults.js
|
|
1489
1489
|
var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1490
1490
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1491
1491
|
exports.assignDefaults = void 0;
|
|
@@ -1511,7 +1511,7 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
}));
|
|
1513
1513
|
//#endregion
|
|
1514
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1514
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/code.js
|
|
1515
1515
|
var require_code = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1516
1516
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1517
1517
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
@@ -1635,7 +1635,7 @@ var require_code = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1635
1635
|
exports.validateUnion = validateUnion;
|
|
1636
1636
|
}));
|
|
1637
1637
|
//#endregion
|
|
1638
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1638
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/validate/keyword.js
|
|
1639
1639
|
var require_keyword = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1640
1640
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1641
1641
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
@@ -1741,7 +1741,7 @@ var require_keyword = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1741
1741
|
exports.validateKeywordUsage = validateKeywordUsage;
|
|
1742
1742
|
}));
|
|
1743
1743
|
//#endregion
|
|
1744
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1744
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/validate/subschema.js
|
|
1745
1745
|
var require_subschema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1746
1746
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1747
1747
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
@@ -1838,7 +1838,7 @@ var require_fast_deep_equal = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
1838
1838
|
};
|
|
1839
1839
|
}));
|
|
1840
1840
|
//#endregion
|
|
1841
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1841
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/resolve.js
|
|
1842
1842
|
var require_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1843
1843
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1844
1844
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
@@ -1965,7 +1965,7 @@ var require_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1965
1965
|
exports.getSchemaRefs = getSchemaRefs;
|
|
1966
1966
|
}));
|
|
1967
1967
|
//#endregion
|
|
1968
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
1968
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/validate/index.js
|
|
1969
1969
|
var require_validate = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1970
1970
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1971
1971
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
@@ -2384,7 +2384,7 @@ var require_validate = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2384
2384
|
exports.getData = getData;
|
|
2385
2385
|
}));
|
|
2386
2386
|
//#endregion
|
|
2387
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
2387
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/runtime/validation_error.js
|
|
2388
2388
|
var require_validation_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2389
2389
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2390
2390
|
var ValidationError = class extends Error {
|
|
@@ -2397,7 +2397,7 @@ var require_validation_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2397
2397
|
exports.default = ValidationError;
|
|
2398
2398
|
}));
|
|
2399
2399
|
//#endregion
|
|
2400
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
2400
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/ref_error.js
|
|
2401
2401
|
var require_ref_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2402
2402
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2403
2403
|
const resolve_1 = require_resolve();
|
|
@@ -2411,7 +2411,7 @@ var require_ref_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2411
2411
|
exports.default = MissingRefError;
|
|
2412
2412
|
}));
|
|
2413
2413
|
//#endregion
|
|
2414
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
2414
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/compile/index.js
|
|
2415
2415
|
var require_compile = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2416
2416
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2417
2417
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
@@ -2625,7 +2625,7 @@ var require_compile = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2625
2625
|
}
|
|
2626
2626
|
}));
|
|
2627
2627
|
//#endregion
|
|
2628
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
2628
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/data.json
|
|
2629
2629
|
var require_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2630
2630
|
module.exports = {
|
|
2631
2631
|
"$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
@@ -2640,18 +2640,34 @@ var require_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2640
2640
|
};
|
|
2641
2641
|
}));
|
|
2642
2642
|
//#endregion
|
|
2643
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fast-uri/3.1.
|
|
2643
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fast-uri/3.1.7/abb3c28e7bffb57a6398e3b27a91a69c01c1cf5d1a875aef9404d54ca9f95826/node_modules/fast-uri/lib/utils.js
|
|
2644
2644
|
var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2645
2645
|
/** @type {(value: string) => boolean} */
|
|
2646
2646
|
const isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
2647
2647
|
/** @type {(value: string) => boolean} */
|
|
2648
2648
|
const isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
2649
2649
|
/** @type {(value: string) => boolean} */
|
|
2650
|
+
const isPort = RegExp.prototype.test.bind(/^\d*$/u);
|
|
2651
|
+
/** @type {(value: string) => boolean} */
|
|
2650
2652
|
const isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
2651
2653
|
/** @type {(value: string) => boolean} */
|
|
2652
2654
|
const isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
|
|
2653
2655
|
/** @type {(value: string) => boolean} */
|
|
2654
|
-
const isPathCharacter = RegExp.prototype.test.bind(/^[
|
|
2656
|
+
const isPathCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);
|
|
2657
|
+
/** @type {(value: string) => boolean} */
|
|
2658
|
+
const isQueryFragmentCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u);
|
|
2659
|
+
/** @type {(value: string) => boolean} */
|
|
2660
|
+
const isUserinfoCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u);
|
|
2661
|
+
const BYTE_HEX = new Array(256);
|
|
2662
|
+
{
|
|
2663
|
+
const HEX_DIGITS = "0123456789ABCDEF";
|
|
2664
|
+
for (let i = 0; i < 256; i++) BYTE_HEX[i] = "%" + HEX_DIGITS[i >> 4] + HEX_DIGITS[i & 15];
|
|
2665
|
+
}
|
|
2666
|
+
function percentEncodeNonAscii(cp) {
|
|
2667
|
+
if (cp < 2048) return BYTE_HEX[192 | cp >> 6] + BYTE_HEX[128 | cp & 63];
|
|
2668
|
+
if (cp < 65536) return BYTE_HEX[224 | cp >> 12] + BYTE_HEX[128 | cp >> 6 & 63] + BYTE_HEX[128 | cp & 63];
|
|
2669
|
+
return BYTE_HEX[240 | cp >> 18] + BYTE_HEX[128 | cp >> 12 & 63] + BYTE_HEX[128 | cp >> 6 & 63] + BYTE_HEX[128 | cp & 63];
|
|
2670
|
+
}
|
|
2655
2671
|
/**
|
|
2656
2672
|
* @param {Array<string>} input
|
|
2657
2673
|
* @returns {string}
|
|
@@ -2674,119 +2690,162 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2674
2690
|
}
|
|
2675
2691
|
return acc;
|
|
2676
2692
|
}
|
|
2677
|
-
/**
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2693
|
+
/** @type {(value: string) => boolean} */
|
|
2694
|
+
const isHextet = RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/);
|
|
2695
|
+
/** @type {(value: string) => boolean} */
|
|
2696
|
+
const isIPvFuture = RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/);
|
|
2697
|
+
/** @type {(value: string) => boolean} */
|
|
2698
|
+
const isZoneCharacter = RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/);
|
|
2683
2699
|
/**
|
|
2684
2700
|
* @param {string} value
|
|
2685
2701
|
* @returns {boolean}
|
|
2686
2702
|
*/
|
|
2687
2703
|
const nonSimpleDomain = RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);
|
|
2688
2704
|
/**
|
|
2689
|
-
* @param {
|
|
2705
|
+
* @param {string} zone
|
|
2690
2706
|
* @returns {boolean}
|
|
2691
2707
|
*/
|
|
2692
|
-
function
|
|
2693
|
-
|
|
2708
|
+
function isZoneIdentifier(zone) {
|
|
2709
|
+
if (zone.length === 0) return false;
|
|
2710
|
+
for (let i = 0; i < zone.length; i++) {
|
|
2711
|
+
if (isZoneCharacter(zone[i])) continue;
|
|
2712
|
+
if (zone[i] === "%" && i + 2 < zone.length && isHexPair(zone.slice(i + 1, i + 3))) {
|
|
2713
|
+
i += 2;
|
|
2714
|
+
continue;
|
|
2715
|
+
}
|
|
2716
|
+
return false;
|
|
2717
|
+
}
|
|
2694
2718
|
return true;
|
|
2695
2719
|
}
|
|
2696
2720
|
/**
|
|
2697
|
-
*
|
|
2698
|
-
*
|
|
2699
|
-
*
|
|
2700
|
-
* @
|
|
2721
|
+
* Compresses the longest run of zero hextets to "::" per RFC 5952. A run of a
|
|
2722
|
+
* single zero hextet is left uncompressed. On ties the leftmost run wins.
|
|
2723
|
+
*
|
|
2724
|
+
* @param {string[]} hextets
|
|
2725
|
+
* @returns {string}
|
|
2701
2726
|
*/
|
|
2702
|
-
function
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2727
|
+
function compressIPv6ZeroRun(hextets) {
|
|
2728
|
+
let bestStart = -1;
|
|
2729
|
+
let bestLength = 0;
|
|
2730
|
+
let runStart = -1;
|
|
2731
|
+
let runLength = 0;
|
|
2732
|
+
for (let i = 0; i < hextets.length; i++) if (hextets[i] === "0") {
|
|
2733
|
+
if (runStart === -1) runStart = i;
|
|
2734
|
+
runLength++;
|
|
2735
|
+
if (runLength > bestLength) {
|
|
2736
|
+
bestLength = runLength;
|
|
2737
|
+
bestStart = runStart;
|
|
2709
2738
|
}
|
|
2710
|
-
|
|
2739
|
+
} else {
|
|
2740
|
+
runStart = -1;
|
|
2741
|
+
runLength = 0;
|
|
2711
2742
|
}
|
|
2712
|
-
return
|
|
2743
|
+
if (bestLength < 2) return hextets.join(":");
|
|
2744
|
+
const head = hextets.slice(0, bestStart).join(":");
|
|
2745
|
+
const tail = hextets.slice(bestStart + bestLength).join(":");
|
|
2746
|
+
return head + "::" + tail;
|
|
2713
2747
|
}
|
|
2714
2748
|
/**
|
|
2749
|
+
* Validates an IPv6 address against the alternatives in RFC 3986 section
|
|
2750
|
+
* 3.2.2 and returns the same address with leading hextet zeroes removed.
|
|
2751
|
+
* An embedded IPv4 address counts as two hextets and is only valid at the end.
|
|
2752
|
+
*
|
|
2715
2753
|
* @param {string} input
|
|
2716
|
-
* @returns {
|
|
2754
|
+
* @returns {string|undefined}
|
|
2717
2755
|
*/
|
|
2718
|
-
function
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
let
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
if (cursor === ":") {
|
|
2736
|
-
if (endipv6Encountered === true) endIpv6 = true;
|
|
2737
|
-
if (!consume(buffer, address, output)) break;
|
|
2738
|
-
if (++tokenCount > 7) {
|
|
2739
|
-
output.error = true;
|
|
2740
|
-
break;
|
|
2741
|
-
}
|
|
2742
|
-
if (i > 0 && input[i - 1] === ":") endipv6Encountered = true;
|
|
2743
|
-
address.push(":");
|
|
2744
|
-
continue;
|
|
2745
|
-
} else if (cursor === "%") {
|
|
2746
|
-
if (!consume(buffer, address, output)) break;
|
|
2747
|
-
consume = consumeIsZone;
|
|
2748
|
-
} else {
|
|
2749
|
-
buffer.push(cursor);
|
|
2756
|
+
function normalizeIPv6Address(input) {
|
|
2757
|
+
const compression = input.indexOf("::");
|
|
2758
|
+
if (compression !== -1 && input.indexOf("::", compression + 1) !== -1) return void 0;
|
|
2759
|
+
const left = compression === -1 ? input.split(":") : input.slice(0, compression).split(":");
|
|
2760
|
+
const right = compression === -1 ? [] : input.slice(compression + 2).split(":");
|
|
2761
|
+
if (compression !== -1) {
|
|
2762
|
+
if (left.length === 1 && left[0] === "") left.length = 0;
|
|
2763
|
+
if (right.length === 1 && right[0] === "") right.length = 0;
|
|
2764
|
+
}
|
|
2765
|
+
const parts = left.concat(right);
|
|
2766
|
+
let hextetCount = 0;
|
|
2767
|
+
for (let i = 0; i < parts.length; i++) {
|
|
2768
|
+
const part = parts[i];
|
|
2769
|
+
if (part === "") return void 0;
|
|
2770
|
+
if (part.indexOf(".") !== -1) {
|
|
2771
|
+
if (i !== parts.length - 1 || compression !== -1 && right.length === 0 || !isIPv4(part)) return void 0;
|
|
2772
|
+
hextetCount += 2;
|
|
2750
2773
|
continue;
|
|
2751
2774
|
}
|
|
2775
|
+
if (!isHextet(part)) return void 0;
|
|
2776
|
+
parts[i] = parseInt(part, 16).toString(16);
|
|
2777
|
+
hextetCount++;
|
|
2752
2778
|
}
|
|
2753
|
-
if (
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
return
|
|
2779
|
+
if (compression === -1) {
|
|
2780
|
+
if (hextetCount !== 8) return void 0;
|
|
2781
|
+
return compressIPv6ZeroRun(parts);
|
|
2782
|
+
}
|
|
2783
|
+
if (hextetCount >= 8) return void 0;
|
|
2784
|
+
const expanded = parts.slice(0, left.length);
|
|
2785
|
+
for (let i = hextetCount; i < 8; i++) expanded.push("0");
|
|
2786
|
+
for (let i = left.length; i < parts.length; i++) expanded.push(parts[i]);
|
|
2787
|
+
return compressIPv6ZeroRun(expanded);
|
|
2758
2788
|
}
|
|
2759
2789
|
/**
|
|
2760
2790
|
* @typedef {Object} NormalizeIPv6Result
|
|
2761
2791
|
* @property {string} host - The normalized host.
|
|
2762
2792
|
* @property {string} [escapedHost] - The escaped host.
|
|
2763
2793
|
* @property {boolean} isIPV6 - Indicates if the host is an IPv6 address.
|
|
2794
|
+
* @property {boolean} [isIPVFuture] - Indicates if the host is an IPvFuture literal.
|
|
2795
|
+
* @property {boolean} [error] - Indicates if a bracketed IP literal is malformed.
|
|
2764
2796
|
*/
|
|
2765
2797
|
/**
|
|
2798
|
+
* Validates and normalizes a bracketed IP literal. Raw zone separators remain
|
|
2799
|
+
* accepted for backwards compatibility, while encoded separators and zone
|
|
2800
|
+
* contents follow RFC 6874.
|
|
2801
|
+
*
|
|
2766
2802
|
* @param {string} host
|
|
2767
2803
|
* @returns {NormalizeIPv6Result}
|
|
2768
2804
|
*/
|
|
2769
2805
|
function normalizeIPv6(host) {
|
|
2770
|
-
|
|
2806
|
+
const bracketed = host[0] === "[" && host[host.length - 1] === "]";
|
|
2807
|
+
if ((host[0] === "[" || host[host.length - 1] === "]") && !bracketed) return {
|
|
2771
2808
|
host,
|
|
2772
|
-
isIPV6: false
|
|
2809
|
+
isIPV6: false,
|
|
2810
|
+
error: true
|
|
2773
2811
|
};
|
|
2774
|
-
|
|
2775
|
-
if (
|
|
2776
|
-
|
|
2777
|
-
let escapedHost = ipv6.address;
|
|
2778
|
-
if (ipv6.zone) {
|
|
2779
|
-
newHost += "%" + ipv6.zone;
|
|
2780
|
-
escapedHost += "%25" + ipv6.zone;
|
|
2781
|
-
}
|
|
2812
|
+
let input = bracketed ? host.slice(1, -1) : host;
|
|
2813
|
+
if (bracketed && isIPvFuture(input)) {
|
|
2814
|
+
input = input.toLowerCase();
|
|
2782
2815
|
return {
|
|
2783
|
-
host:
|
|
2784
|
-
|
|
2785
|
-
|
|
2816
|
+
host: `[${input}]`,
|
|
2817
|
+
escapedHost: input,
|
|
2818
|
+
isIPV6: false,
|
|
2819
|
+
isIPVFuture: true
|
|
2786
2820
|
};
|
|
2787
|
-
}
|
|
2821
|
+
}
|
|
2822
|
+
if (findToken(input, ":") < 2) return {
|
|
2823
|
+
host,
|
|
2824
|
+
isIPV6: false,
|
|
2825
|
+
error: bracketed
|
|
2826
|
+
};
|
|
2827
|
+
let zoneIdentifier = "";
|
|
2828
|
+
const zoneSeparator = input.indexOf("%");
|
|
2829
|
+
if (zoneSeparator !== -1) {
|
|
2830
|
+
const separatorLength = input.slice(zoneSeparator, zoneSeparator + 3).toLowerCase() === "%25" ? 3 : 1;
|
|
2831
|
+
zoneIdentifier = input.slice(zoneSeparator + separatorLength);
|
|
2832
|
+
if (!isZoneIdentifier(zoneIdentifier)) return {
|
|
2833
|
+
host,
|
|
2834
|
+
isIPV6: false,
|
|
2835
|
+
error: true
|
|
2836
|
+
};
|
|
2837
|
+
input = input.slice(0, zoneSeparator);
|
|
2838
|
+
}
|
|
2839
|
+
const address = normalizeIPv6Address(input);
|
|
2840
|
+
if (address === void 0) return {
|
|
2788
2841
|
host,
|
|
2789
|
-
isIPV6: false
|
|
2842
|
+
isIPV6: false,
|
|
2843
|
+
error: true
|
|
2844
|
+
};
|
|
2845
|
+
return {
|
|
2846
|
+
host: address + (zoneIdentifier ? "%" + zoneIdentifier : ""),
|
|
2847
|
+
escapedHost: address + (zoneIdentifier ? "%25" + zoneIdentifier : ""),
|
|
2848
|
+
isIPV6: true
|
|
2790
2849
|
};
|
|
2791
2850
|
}
|
|
2792
2851
|
/**
|
|
@@ -2899,7 +2958,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2899
2958
|
}
|
|
2900
2959
|
/**
|
|
2901
2960
|
* Normalizes percent escapes and optionally decodes only unreserved ASCII bytes.
|
|
2902
|
-
* Reserved delimiters such as `%2F`
|
|
2961
|
+
* Reserved delimiters such as `%2F` stay escaped; `%2E` is unreserved.
|
|
2903
2962
|
*
|
|
2904
2963
|
* @param {string} input
|
|
2905
2964
|
* @param {boolean} [decodeUnreserved=false]
|
|
@@ -2935,7 +2994,8 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2935
2994
|
function normalizePathEncoding(input) {
|
|
2936
2995
|
let output = "";
|
|
2937
2996
|
for (let i = 0; i < input.length; i++) {
|
|
2938
|
-
|
|
2997
|
+
const ch = input[i];
|
|
2998
|
+
if (ch === "%" && i + 2 < input.length) {
|
|
2939
2999
|
const hex = input.slice(i + 1, i + 3);
|
|
2940
3000
|
if (isHexPair(hex)) {
|
|
2941
3001
|
const normalizedHex = hex.toUpperCase();
|
|
@@ -2946,8 +3006,168 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2946
3006
|
continue;
|
|
2947
3007
|
}
|
|
2948
3008
|
}
|
|
2949
|
-
if (isPathCharacter(
|
|
2950
|
-
else
|
|
3009
|
+
if (isPathCharacter(ch)) output += ch;
|
|
3010
|
+
else {
|
|
3011
|
+
const code = input.charCodeAt(i);
|
|
3012
|
+
if (code < 128) output += isEscapeSafe(code) ? ch : BYTE_HEX[code];
|
|
3013
|
+
else if (code < 55296 || code > 57343) output += percentEncodeNonAscii(code);
|
|
3014
|
+
else if (code <= 56319 && i + 1 < input.length) {
|
|
3015
|
+
const low = input.charCodeAt(i + 1);
|
|
3016
|
+
if (low >= 56320 && low <= 57343) {
|
|
3017
|
+
output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
|
|
3018
|
+
i++;
|
|
3019
|
+
} else output += percentEncodeNonAscii(65533);
|
|
3020
|
+
} else output += percentEncodeNonAscii(65533);
|
|
3021
|
+
}
|
|
3022
|
+
}
|
|
3023
|
+
return output;
|
|
3024
|
+
}
|
|
3025
|
+
/**
|
|
3026
|
+
* Serializes a path without rewriting reserved data. Raw RFC 3986 path
|
|
3027
|
+
* characters remain literal, valid escapes are preserved and uppercased, and
|
|
3028
|
+
* everything else is UTF-8 percent-encoded. In a path-noscheme, a colon in the
|
|
3029
|
+
* first segment must be escaped so the result cannot be parsed as a scheme.
|
|
3030
|
+
*
|
|
3031
|
+
* @param {string} input
|
|
3032
|
+
* @param {boolean} [pathNoScheme=false]
|
|
3033
|
+
* @returns {string}
|
|
3034
|
+
*/
|
|
3035
|
+
function serializePathEncoding(input, pathNoScheme = false) {
|
|
3036
|
+
let output = "";
|
|
3037
|
+
let firstSegment = pathNoScheme && input[0] !== "/";
|
|
3038
|
+
for (let i = 0; i < input.length; i++) {
|
|
3039
|
+
const ch = input[i];
|
|
3040
|
+
if (ch === "%" && i + 2 < input.length) {
|
|
3041
|
+
const hex = input.slice(i + 1, i + 3);
|
|
3042
|
+
if (isHexPair(hex)) {
|
|
3043
|
+
output += "%" + hex.toUpperCase();
|
|
3044
|
+
i += 2;
|
|
3045
|
+
continue;
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
if (ch === "/") firstSegment = false;
|
|
3049
|
+
if (isPathCharacter(ch) && (ch !== ":" || !firstSegment)) output += ch;
|
|
3050
|
+
else {
|
|
3051
|
+
const code = input.charCodeAt(i);
|
|
3052
|
+
if (code < 128) output += BYTE_HEX[code];
|
|
3053
|
+
else if (code < 55296 || code > 57343) output += percentEncodeNonAscii(code);
|
|
3054
|
+
else if (code <= 56319 && i + 1 < input.length) {
|
|
3055
|
+
const low = input.charCodeAt(i + 1);
|
|
3056
|
+
if (low >= 56320 && low <= 57343) {
|
|
3057
|
+
output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
|
|
3058
|
+
i++;
|
|
3059
|
+
} else output += percentEncodeNonAscii(65533);
|
|
3060
|
+
} else output += percentEncodeNonAscii(65533);
|
|
3061
|
+
}
|
|
3062
|
+
}
|
|
3063
|
+
return output;
|
|
3064
|
+
}
|
|
3065
|
+
/**
|
|
3066
|
+
* Percent-encodes a URI component using its RFC 3986 literal character set.
|
|
3067
|
+
* Existing valid escapes are preserved and normalized to uppercase hex.
|
|
3068
|
+
*
|
|
3069
|
+
* @param {string} input
|
|
3070
|
+
* @param {(value: string) => boolean} isAllowed
|
|
3071
|
+
* @returns {string}
|
|
3072
|
+
*/
|
|
3073
|
+
function encodeComponent(input, isAllowed) {
|
|
3074
|
+
let output = "";
|
|
3075
|
+
for (let i = 0; i < input.length; i++) {
|
|
3076
|
+
const ch = input[i];
|
|
3077
|
+
if (ch === "%" && i + 2 < input.length) {
|
|
3078
|
+
const hex = input.slice(i + 1, i + 3);
|
|
3079
|
+
if (isHexPair(hex)) {
|
|
3080
|
+
output += "%" + hex.toUpperCase();
|
|
3081
|
+
i += 2;
|
|
3082
|
+
continue;
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3085
|
+
if (isAllowed(ch)) output += ch;
|
|
3086
|
+
else {
|
|
3087
|
+
const code = input.charCodeAt(i);
|
|
3088
|
+
if (code < 128) output += BYTE_HEX[code];
|
|
3089
|
+
else if (code < 55296 || code > 57343) output += percentEncodeNonAscii(code);
|
|
3090
|
+
else if (code <= 56319 && i + 1 < input.length) {
|
|
3091
|
+
const low = input.charCodeAt(i + 1);
|
|
3092
|
+
if (low >= 56320 && low <= 57343) {
|
|
3093
|
+
output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
|
|
3094
|
+
i++;
|
|
3095
|
+
} else output += percentEncodeNonAscii(65533);
|
|
3096
|
+
} else output += percentEncodeNonAscii(65533);
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
return output;
|
|
3100
|
+
}
|
|
3101
|
+
/**
|
|
3102
|
+
* Encodes userinfo while preserving its RFC 3986 §3.2.1 literal characters.
|
|
3103
|
+
* In particular, authority delimiters such as `@`, `/`, `?`, and `#` are data.
|
|
3104
|
+
*
|
|
3105
|
+
* @param {string} input
|
|
3106
|
+
* @returns {string}
|
|
3107
|
+
*/
|
|
3108
|
+
function encodeUserinfo(input) {
|
|
3109
|
+
return encodeComponent(input, isUserinfoCharacter);
|
|
3110
|
+
}
|
|
3111
|
+
/**
|
|
3112
|
+
* Encodes query data using the RFC 3986 §3.4 grammar. A literal `#` must be
|
|
3113
|
+
* escaped because it would otherwise begin the fragment component.
|
|
3114
|
+
*
|
|
3115
|
+
* @param {string} input
|
|
3116
|
+
* @returns {string}
|
|
3117
|
+
*/
|
|
3118
|
+
function encodeQuery(input) {
|
|
3119
|
+
return encodeComponent(input, isQueryFragmentCharacter);
|
|
3120
|
+
}
|
|
3121
|
+
/**
|
|
3122
|
+
* Encodes fragment data using the RFC 3986 §3.5 grammar.
|
|
3123
|
+
*
|
|
3124
|
+
* @param {string} input
|
|
3125
|
+
* @returns {string}
|
|
3126
|
+
*/
|
|
3127
|
+
function encodeFragment(input) {
|
|
3128
|
+
return encodeComponent(input, isQueryFragmentCharacter);
|
|
3129
|
+
}
|
|
3130
|
+
function isEscapeSafe(cp) {
|
|
3131
|
+
return cp >= 48 && cp <= 57 || cp >= 65 && cp <= 90 || cp >= 97 && cp <= 122 || cp === 42 || cp === 43 || cp === 45 || cp === 46 || cp === 47 || cp === 64 || cp === 95;
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
* Normalizes the percent-encoding of a query or fragment component.
|
|
3135
|
+
*
|
|
3136
|
+
* Like `normalizePathEncoding`, but uses the query/fragment character set
|
|
3137
|
+
* (which additionally allows `?`) and decodes `.` since it has no dot-segment
|
|
3138
|
+
* meaning outside of a path.
|
|
3139
|
+
*
|
|
3140
|
+
* @param {string} input
|
|
3141
|
+
* @returns {string}
|
|
3142
|
+
*/
|
|
3143
|
+
function normalizeQueryFragmentEncoding(input) {
|
|
3144
|
+
let output = "";
|
|
3145
|
+
for (let i = 0; i < input.length; i++) {
|
|
3146
|
+
const ch = input[i];
|
|
3147
|
+
if (ch === "%" && i + 2 < input.length) {
|
|
3148
|
+
const hex = input.slice(i + 1, i + 3);
|
|
3149
|
+
if (isHexPair(hex)) {
|
|
3150
|
+
const normalizedHex = hex.toUpperCase();
|
|
3151
|
+
const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
|
|
3152
|
+
if (isUnreserved(decoded)) output += decoded;
|
|
3153
|
+
else output += "%" + normalizedHex;
|
|
3154
|
+
i += 2;
|
|
3155
|
+
continue;
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
3158
|
+
if (isQueryFragmentCharacter(ch)) output += ch;
|
|
3159
|
+
else {
|
|
3160
|
+
const code = input.charCodeAt(i);
|
|
3161
|
+
if (code < 128) output += isEscapeSafe(code) ? ch : BYTE_HEX[code];
|
|
3162
|
+
else if (code < 55296 || code > 57343) output += percentEncodeNonAscii(code);
|
|
3163
|
+
else if (code <= 56319 && i + 1 < input.length) {
|
|
3164
|
+
const low = input.charCodeAt(i + 1);
|
|
3165
|
+
if (low >= 56320 && low <= 57343) {
|
|
3166
|
+
output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
|
|
3167
|
+
i++;
|
|
3168
|
+
} else output += percentEncodeNonAscii(65533);
|
|
3169
|
+
} else output += percentEncodeNonAscii(65533);
|
|
3170
|
+
}
|
|
2951
3171
|
}
|
|
2952
3172
|
return output;
|
|
2953
3173
|
}
|
|
@@ -2979,21 +3199,27 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2979
3199
|
function recomposeAuthority(component) {
|
|
2980
3200
|
const uriTokens = [];
|
|
2981
3201
|
if (component.userinfo !== void 0) {
|
|
2982
|
-
uriTokens.push(component.userinfo);
|
|
3202
|
+
uriTokens.push(encodeUserinfo(component.userinfo));
|
|
2983
3203
|
uriTokens.push("@");
|
|
2984
3204
|
}
|
|
2985
3205
|
if (component.host !== void 0) {
|
|
2986
|
-
let host =
|
|
3206
|
+
let host = component.host;
|
|
2987
3207
|
if (!isIPv4(host)) {
|
|
2988
|
-
|
|
2989
|
-
if (ipV6res.isIPV6
|
|
3208
|
+
let ipV6res = normalizeIPv6(host);
|
|
3209
|
+
if (ipV6res.isIPV6 !== true && ipV6res.isIPVFuture !== true) {
|
|
3210
|
+
host = normalizePercentEncoding(host, true);
|
|
3211
|
+
ipV6res = normalizeIPv6(host);
|
|
3212
|
+
}
|
|
3213
|
+
if (ipV6res.isIPV6 === true || ipV6res.isIPVFuture === true) host = `[${ipV6res.escapedHost}]`;
|
|
2990
3214
|
else host = reescapeHostDelimiters(host, false);
|
|
2991
3215
|
}
|
|
2992
3216
|
uriTokens.push(host);
|
|
2993
3217
|
}
|
|
2994
3218
|
if (typeof component.port === "number" || typeof component.port === "string") {
|
|
3219
|
+
const port = String(component.port);
|
|
3220
|
+
if (!isPort(port)) throw new TypeError("URI port is malformed.");
|
|
2995
3221
|
uriTokens.push(":");
|
|
2996
|
-
uriTokens.push(
|
|
3222
|
+
uriTokens.push(port);
|
|
2997
3223
|
}
|
|
2998
3224
|
return uriTokens.length ? uriTokens.join("") : void 0;
|
|
2999
3225
|
}
|
|
@@ -3003,6 +3229,11 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3003
3229
|
reescapeHostDelimiters,
|
|
3004
3230
|
normalizePercentEncoding,
|
|
3005
3231
|
normalizePathEncoding,
|
|
3232
|
+
serializePathEncoding,
|
|
3233
|
+
normalizeQueryFragmentEncoding,
|
|
3234
|
+
encodeUserinfo,
|
|
3235
|
+
encodeQuery,
|
|
3236
|
+
encodeFragment,
|
|
3006
3237
|
escapePreservingEscapes,
|
|
3007
3238
|
removeDotSegments,
|
|
3008
3239
|
isIPv4,
|
|
@@ -3012,10 +3243,10 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3012
3243
|
};
|
|
3013
3244
|
}));
|
|
3014
3245
|
//#endregion
|
|
3015
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fast-uri/3.1.
|
|
3246
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fast-uri/3.1.7/abb3c28e7bffb57a6398e3b27a91a69c01c1cf5d1a875aef9404d54ca9f95826/node_modules/fast-uri/lib/schemes.js
|
|
3016
3247
|
var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3017
3248
|
const { isUUID } = require_utils();
|
|
3018
|
-
const URN_REG =
|
|
3249
|
+
const URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
|
|
3019
3250
|
const supportedSchemeNames = [
|
|
3020
3251
|
"http",
|
|
3021
3252
|
"https",
|
|
@@ -3086,9 +3317,10 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3086
3317
|
wsComponent.secure = void 0;
|
|
3087
3318
|
}
|
|
3088
3319
|
if (wsComponent.resourceName) {
|
|
3089
|
-
const
|
|
3320
|
+
const queryIndex = wsComponent.resourceName.indexOf("?");
|
|
3321
|
+
const path = queryIndex === -1 ? wsComponent.resourceName : wsComponent.resourceName.slice(0, queryIndex);
|
|
3090
3322
|
wsComponent.path = path && path !== "/" ? path : void 0;
|
|
3091
|
-
wsComponent.query =
|
|
3323
|
+
wsComponent.query = queryIndex === -1 ? void 0 : wsComponent.resourceName.slice(queryIndex + 1);
|
|
3092
3324
|
wsComponent.resourceName = void 0;
|
|
3093
3325
|
}
|
|
3094
3326
|
wsComponent.fragment = void 0;
|
|
@@ -3101,7 +3333,7 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3101
3333
|
return urnComponent;
|
|
3102
3334
|
}
|
|
3103
3335
|
const matches = urnComponent.path.match(URN_REG);
|
|
3104
|
-
if (matches) {
|
|
3336
|
+
if (matches && matches[0] === urnComponent.path) {
|
|
3105
3337
|
const scheme = options.scheme || urnComponent.scheme || "urn";
|
|
3106
3338
|
urnComponent.nid = matches[1].toLowerCase();
|
|
3107
3339
|
urnComponent.nss = matches[2];
|
|
@@ -3195,10 +3427,21 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3195
3427
|
};
|
|
3196
3428
|
}));
|
|
3197
3429
|
//#endregion
|
|
3198
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fast-uri/3.1.
|
|
3430
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fast-uri/3.1.7/abb3c28e7bffb57a6398e3b27a91a69c01c1cf5d1a875aef9404d54ca9f95826/node_modules/fast-uri/index.js
|
|
3199
3431
|
var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3200
|
-
const { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding,
|
|
3432
|
+
const { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3201
3433
|
const { SCHEMES, getSchemeHandler } = require_schemes();
|
|
3434
|
+
const VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u;
|
|
3435
|
+
const MALFORMED_SCHEME_ERROR = "URI scheme is malformed.";
|
|
3436
|
+
/**
|
|
3437
|
+
* @param {string} scheme
|
|
3438
|
+
* @returns {string}
|
|
3439
|
+
*/
|
|
3440
|
+
function decodeValidScheme(scheme) {
|
|
3441
|
+
const decodedScheme = unescape(String(scheme));
|
|
3442
|
+
if (!VALID_SCHEME.test(decodedScheme)) throw new TypeError(MALFORMED_SCHEME_ERROR);
|
|
3443
|
+
return decodedScheme;
|
|
3444
|
+
}
|
|
3202
3445
|
/**
|
|
3203
3446
|
* @template {import('./types/index').URIComponent|string} T
|
|
3204
3447
|
* @param {T} uri
|
|
@@ -3218,10 +3461,16 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3218
3461
|
*/
|
|
3219
3462
|
function resolve(baseURI, relativeURI, options) {
|
|
3220
3463
|
const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
|
|
3221
|
-
const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
|
|
3222
|
-
const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
|
|
3223
|
-
if (baseMalformed || relativeMalformed) throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
|
|
3464
|
+
const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed, malformedPercentEncoding: baseMalformedPercentEncoding, malformedSchemeSpecific: baseMalformedSchemeSpecific, malformedHost: baseMalformedHost, malformedScheme: baseMalformedScheme } = parseWithStatus(baseURI, schemelessOptions);
|
|
3465
|
+
const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed, malformedPercentEncoding: relativeMalformedPercentEncoding, malformedSchemeSpecific: relativeMalformedSchemeSpecific, malformedHost: relativeMalformedHost, malformedScheme: relativeMalformedScheme } = parseWithStatus(relativeURI, schemelessOptions);
|
|
3466
|
+
if (baseMalformed || relativeMalformed || baseMalformedPercentEncoding || relativeMalformedPercentEncoding || baseMalformedSchemeSpecific || relativeMalformedSchemeSpecific || baseMalformedHost || relativeMalformedHost || baseMalformedScheme || relativeMalformedScheme) throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
|
|
3224
3467
|
const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
|
|
3468
|
+
const resolvedSchemeHandler = getSchemeHandler(options && options.scheme || resolved.scheme);
|
|
3469
|
+
const resolvedHost = resolved.host;
|
|
3470
|
+
const resolvedHostIsIP = resolvedHost !== void 0 && resolvedHost !== "" && (isIPv4(resolvedHost) || normalizeIPv6(resolvedHost).isIPV6);
|
|
3471
|
+
canonicalizeHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP);
|
|
3472
|
+
const encodedASCIIHost = resolvedHost && resolvedHost.indexOf("%") !== -1 && !/\P{ASCII}/u.test(resolvedHost);
|
|
3473
|
+
if (resolved.error && !encodedASCIIHost) throw new Error(resolved.error);
|
|
3225
3474
|
schemelessOptions.skipEscape = true;
|
|
3226
3475
|
return serialize(resolved, schemelessOptions);
|
|
3227
3476
|
}
|
|
@@ -3287,7 +3536,7 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3287
3536
|
function equal(uriA, uriB, options) {
|
|
3288
3537
|
const normalizedA = normalizeComparableURI(uriA, options);
|
|
3289
3538
|
const normalizedB = normalizeComparableURI(uriB, options);
|
|
3290
|
-
return normalizedA !== void 0 && normalizedB !== void 0 && normalizedA
|
|
3539
|
+
return normalizedA !== void 0 && normalizedB !== void 0 && normalizedA === normalizedB;
|
|
3291
3540
|
}
|
|
3292
3541
|
/**
|
|
3293
3542
|
* @param {Readonly<import('./types/index').URIComponent>} cmpts
|
|
@@ -3313,13 +3562,17 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3313
3562
|
};
|
|
3314
3563
|
const options = Object.assign({}, opts);
|
|
3315
3564
|
const uriTokens = [];
|
|
3565
|
+
if (component.scheme) component.scheme = decodeValidScheme(component.scheme);
|
|
3316
3566
|
const schemeHandler = getSchemeHandler(options.scheme || component.scheme);
|
|
3317
3567
|
if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(component, options);
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
if (options.reference !== "suffix" && component.scheme)
|
|
3568
|
+
const hasAuthority = component.userinfo !== void 0 || component.host !== void 0 || component.port !== void 0;
|
|
3569
|
+
const pathNoScheme = !options.skipEscape && component.scheme === void 0 && !hasAuthority;
|
|
3570
|
+
if (component.path !== void 0) if (!options.skipEscape) component.path = serializePathEncoding(component.path, pathNoScheme);
|
|
3571
|
+
else component.path = normalizePercentEncoding(component.path);
|
|
3572
|
+
if (options.reference !== "suffix" && component.scheme) {
|
|
3573
|
+
component.scheme = decodeValidScheme(component.scheme);
|
|
3574
|
+
uriTokens.push(component.scheme, ":");
|
|
3575
|
+
}
|
|
3323
3576
|
const authority = recomposeAuthority(component);
|
|
3324
3577
|
if (authority !== void 0) {
|
|
3325
3578
|
if (options.reference !== "suffix") uriTokens.push("//");
|
|
@@ -3329,11 +3582,12 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3329
3582
|
if (component.path !== void 0) {
|
|
3330
3583
|
let s = component.path;
|
|
3331
3584
|
if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) s = removeDotSegments(s);
|
|
3585
|
+
if (pathNoScheme) s = serializePathEncoding(s, true);
|
|
3332
3586
|
if (authority === void 0 && s[0] === "/" && s[1] === "/") s = "/%2F" + s.slice(2);
|
|
3333
3587
|
uriTokens.push(s);
|
|
3334
3588
|
}
|
|
3335
|
-
if (component.query !== void 0) uriTokens.push("?", component.query);
|
|
3336
|
-
if (component.fragment !== void 0) uriTokens.push("#", component.fragment);
|
|
3589
|
+
if (component.query !== void 0) uriTokens.push("?", encodeQuery(component.query));
|
|
3590
|
+
if (component.fragment !== void 0) uriTokens.push("#", encodeFragment(component.fragment));
|
|
3337
3591
|
return uriTokens.join("");
|
|
3338
3592
|
}
|
|
3339
3593
|
const URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
@@ -3349,9 +3603,61 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3349
3603
|
if (typeof parsed.port === "number" && (parsed.port < 0 || parsed.port > 65535)) return "URI port is malformed.";
|
|
3350
3604
|
}
|
|
3351
3605
|
/**
|
|
3606
|
+
* Checks percent syntax without decoding the represented octets. RFC 3986
|
|
3607
|
+
* percent-encoding is byte-oriented, so sequences such as `%FF` are valid even
|
|
3608
|
+
* though they are not independently valid UTF-8.
|
|
3609
|
+
*
|
|
3610
|
+
* @param {string|undefined} component
|
|
3611
|
+
* @returns {boolean}
|
|
3612
|
+
*/
|
|
3613
|
+
function hasMalformedPercentEncoding(component) {
|
|
3614
|
+
if (component === void 0) return false;
|
|
3615
|
+
let percent = component.indexOf("%");
|
|
3616
|
+
while (percent !== -1) {
|
|
3617
|
+
if (percent + 2 >= component.length || !/^[\da-f]{2}$/iu.test(component.slice(percent + 1, percent + 3))) return true;
|
|
3618
|
+
percent = component.indexOf("%", percent + 3);
|
|
3619
|
+
}
|
|
3620
|
+
return false;
|
|
3621
|
+
}
|
|
3622
|
+
/**
|
|
3623
|
+
* Whether the host is a bracketed IP literal (RFC 3986 `IP-literal`).
|
|
3624
|
+
* An unterminated `[` is not a literal, so it must still be validated as a
|
|
3625
|
+
* reg-name instead of being waved through as an IP.
|
|
3626
|
+
*
|
|
3627
|
+
* @param {string} host
|
|
3628
|
+
* @returns {boolean}
|
|
3629
|
+
*/
|
|
3630
|
+
function isIPLiteral(host) {
|
|
3631
|
+
return host[0] === "[" && host[host.length - 1] === "]";
|
|
3632
|
+
}
|
|
3633
|
+
/**
|
|
3634
|
+
* @param {RegExpMatchArray} matches
|
|
3635
|
+
* @returns {boolean}
|
|
3636
|
+
*/
|
|
3637
|
+
function hasMalformedComponentPercentEncoding(matches) {
|
|
3638
|
+
const host = matches[4];
|
|
3639
|
+
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
3640
|
+
}
|
|
3641
|
+
/**
|
|
3642
|
+
* @param {import('./types/index').URIComponent} parsed
|
|
3643
|
+
* @param {import('./types/index').Options} options
|
|
3644
|
+
* @param {{ domainHost?: boolean, unicodeSupport?: boolean }|undefined} schemeHandler
|
|
3645
|
+
* @param {boolean} isIP
|
|
3646
|
+
* @returns {boolean} whether host conversion failed
|
|
3647
|
+
*/
|
|
3648
|
+
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
3649
|
+
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) try {
|
|
3650
|
+
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
3651
|
+
} catch (e) {
|
|
3652
|
+
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
3653
|
+
return true;
|
|
3654
|
+
}
|
|
3655
|
+
return false;
|
|
3656
|
+
}
|
|
3657
|
+
/**
|
|
3352
3658
|
* @param {string} uri
|
|
3353
3659
|
* @param {import('./types/index').Options} [opts]
|
|
3354
|
-
* @returns {{ parsed: import('./types/index').URIComponent, malformedAuthorityOrPort: boolean }}
|
|
3660
|
+
* @returns {{ parsed: import('./types/index').URIComponent, malformedAuthorityOrPort: boolean, malformedPercentEncoding: boolean, malformedSchemeSpecific: boolean, malformedHost: boolean, malformedScheme: boolean }}
|
|
3355
3661
|
*/
|
|
3356
3662
|
function parseWithStatus(uri, opts) {
|
|
3357
3663
|
const options = Object.assign({}, opts);
|
|
@@ -3366,6 +3672,11 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3366
3672
|
fragment: void 0
|
|
3367
3673
|
};
|
|
3368
3674
|
let malformedAuthorityOrPort = false;
|
|
3675
|
+
let malformedPercentEncoding = false;
|
|
3676
|
+
let malformedSchemeSpecific = false;
|
|
3677
|
+
let malformedHost = false;
|
|
3678
|
+
let malformedIPLiteral = false;
|
|
3679
|
+
let malformedScheme = false;
|
|
3369
3680
|
let isIP = false;
|
|
3370
3681
|
if (options.reference === "suffix") if (options.scheme) uri = options.scheme + ":" + uri;
|
|
3371
3682
|
else uri = "//" + uri;
|
|
@@ -3397,6 +3708,16 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3397
3708
|
parsed.path = matches[6] || "";
|
|
3398
3709
|
parsed.query = matches[7];
|
|
3399
3710
|
parsed.fragment = matches[8];
|
|
3711
|
+
if (parsed.scheme !== void 0) {
|
|
3712
|
+
const decodedScheme = unescape(parsed.scheme);
|
|
3713
|
+
if (VALID_SCHEME.test(decodedScheme)) parsed.scheme = decodedScheme.toLowerCase();
|
|
3714
|
+
else {
|
|
3715
|
+
parsed.error = parsed.error || MALFORMED_SCHEME_ERROR;
|
|
3716
|
+
malformedScheme = true;
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
malformedPercentEncoding = hasMalformedComponentPercentEncoding(matches);
|
|
3720
|
+
if (malformedPercentEncoding) parsed.error = parsed.error || "URI contains malformed percent-encoding.";
|
|
3400
3721
|
if (isNaN(parsed.port)) parsed.port = matches[5];
|
|
3401
3722
|
const parseError = getParseError(parsed, matches);
|
|
3402
3723
|
if (parseError !== void 0) {
|
|
@@ -3404,9 +3725,16 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3404
3725
|
malformedAuthorityOrPort = true;
|
|
3405
3726
|
}
|
|
3406
3727
|
if (parsed.host) if (isIPv4(parsed.host) === false) {
|
|
3728
|
+
const bracketedIPLiteral = isIPLiteral(parsed.host);
|
|
3729
|
+
const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
|
|
3407
3730
|
const ipv6result = normalizeIPv6(parsed.host);
|
|
3408
|
-
|
|
3409
|
-
|
|
3731
|
+
isIP = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
|
|
3732
|
+
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
3733
|
+
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
3734
|
+
if (malformedIPLiteral) {
|
|
3735
|
+
parsed.error = parsed.error || "URI host is malformed.";
|
|
3736
|
+
malformedAuthorityOrPort = true;
|
|
3737
|
+
}
|
|
3410
3738
|
} else isIP = true;
|
|
3411
3739
|
if (parsed.scheme === void 0 && parsed.userinfo === void 0 && parsed.host === void 0 && parsed.port === void 0 && parsed.query === void 0 && !parsed.path) parsed.reference = "same-document";
|
|
3412
3740
|
else if (parsed.scheme === void 0) parsed.reference = "relative";
|
|
@@ -3414,30 +3742,30 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3414
3742
|
else parsed.reference = "uri";
|
|
3415
3743
|
if (options.reference && options.reference !== "suffix" && options.reference !== parsed.reference) parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
|
|
3416
3744
|
const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
|
|
3417
|
-
if (!
|
|
3418
|
-
if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) try {
|
|
3419
|
-
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
3420
|
-
} catch (e) {
|
|
3421
|
-
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
3422
|
-
}
|
|
3423
|
-
}
|
|
3745
|
+
if (!malformedIPLiteral) malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
|
|
3424
3746
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
3425
3747
|
if (uri.indexOf("%") !== -1) {
|
|
3426
|
-
if (parsed.
|
|
3427
|
-
|
|
3748
|
+
if (parsed.host !== void 0 && !malformedIPLiteral) {
|
|
3749
|
+
const host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true);
|
|
3750
|
+
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
3751
|
+
}
|
|
3428
3752
|
}
|
|
3429
3753
|
if (parsed.path) parsed.path = normalizePathEncoding(parsed.path);
|
|
3430
|
-
if (parsed.
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3754
|
+
if (parsed.query) parsed.query = normalizeQueryFragmentEncoding(parsed.query);
|
|
3755
|
+
if (parsed.fragment) parsed.fragment = normalizeQueryFragmentEncoding(parsed.fragment);
|
|
3756
|
+
}
|
|
3757
|
+
if (schemeHandler && schemeHandler.parse) {
|
|
3758
|
+
schemeHandler.parse(parsed, options);
|
|
3759
|
+
if (schemeHandler === SCHEMES.urn && parsed.nid === void 0) malformedSchemeSpecific = true;
|
|
3435
3760
|
}
|
|
3436
|
-
if (schemeHandler && schemeHandler.parse) schemeHandler.parse(parsed, options);
|
|
3437
3761
|
} else parsed.error = parsed.error || "URI can not be parsed.";
|
|
3438
3762
|
return {
|
|
3439
3763
|
parsed,
|
|
3440
|
-
malformedAuthorityOrPort
|
|
3764
|
+
malformedAuthorityOrPort,
|
|
3765
|
+
malformedPercentEncoding,
|
|
3766
|
+
malformedSchemeSpecific,
|
|
3767
|
+
malformedHost,
|
|
3768
|
+
malformedScheme
|
|
3441
3769
|
};
|
|
3442
3770
|
}
|
|
3443
3771
|
/**
|
|
@@ -3459,13 +3787,17 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3459
3787
|
/**
|
|
3460
3788
|
* @param {string} uri
|
|
3461
3789
|
* @param {import('./types/index').Options} [opts]
|
|
3462
|
-
* @returns {{ normalized: string, malformedAuthorityOrPort: boolean }}
|
|
3790
|
+
* @returns {{ normalized: string, malformedAuthorityOrPort: boolean, malformedPercentEncoding: boolean, malformedSchemeSpecific: boolean, malformedHost: boolean, malformedScheme: boolean }}
|
|
3463
3791
|
*/
|
|
3464
3792
|
function normalizeStringWithStatus(uri, opts) {
|
|
3465
|
-
const { parsed, malformedAuthorityOrPort } = parseWithStatus(uri, opts);
|
|
3793
|
+
const { parsed, malformedAuthorityOrPort, malformedPercentEncoding, malformedSchemeSpecific, malformedHost, malformedScheme } = parseWithStatus(uri, opts);
|
|
3466
3794
|
return {
|
|
3467
|
-
normalized: malformedAuthorityOrPort ? uri : serialize(parsed, opts),
|
|
3468
|
-
malformedAuthorityOrPort
|
|
3795
|
+
normalized: malformedAuthorityOrPort || malformedPercentEncoding || malformedSchemeSpecific || malformedHost || malformedScheme ? uri : serialize(parsed, opts),
|
|
3796
|
+
malformedAuthorityOrPort,
|
|
3797
|
+
malformedPercentEncoding,
|
|
3798
|
+
malformedSchemeSpecific,
|
|
3799
|
+
malformedHost,
|
|
3800
|
+
malformedScheme
|
|
3469
3801
|
};
|
|
3470
3802
|
}
|
|
3471
3803
|
/**
|
|
@@ -3474,11 +3806,15 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3474
3806
|
* @returns {string|undefined}
|
|
3475
3807
|
*/
|
|
3476
3808
|
function normalizeComparableURI(uri, opts) {
|
|
3477
|
-
if (typeof uri
|
|
3478
|
-
|
|
3479
|
-
|
|
3809
|
+
if (typeof uri !== "string" && typeof uri !== "object") return;
|
|
3810
|
+
let value;
|
|
3811
|
+
try {
|
|
3812
|
+
value = typeof uri === "string" ? uri : serialize(uri, opts);
|
|
3813
|
+
} catch {
|
|
3814
|
+
return;
|
|
3480
3815
|
}
|
|
3481
|
-
|
|
3816
|
+
const { normalized, malformedAuthorityOrPort, malformedPercentEncoding, malformedSchemeSpecific, malformedHost, malformedScheme } = normalizeStringWithStatus(value, opts);
|
|
3817
|
+
return malformedAuthorityOrPort || malformedPercentEncoding || malformedSchemeSpecific || malformedHost || malformedScheme ? void 0 : normalized;
|
|
3482
3818
|
}
|
|
3483
3819
|
const fastUri = {
|
|
3484
3820
|
SCHEMES,
|
|
@@ -3494,7 +3830,7 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3494
3830
|
module.exports.fastUri = fastUri;
|
|
3495
3831
|
}));
|
|
3496
3832
|
//#endregion
|
|
3497
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
3833
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/runtime/uri.js
|
|
3498
3834
|
var require_uri = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3499
3835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3500
3836
|
const uri = require_fast_uri();
|
|
@@ -3502,7 +3838,7 @@ var require_uri = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3502
3838
|
exports.default = uri;
|
|
3503
3839
|
}));
|
|
3504
3840
|
//#endregion
|
|
3505
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
3841
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/core.js
|
|
3506
3842
|
var require_core$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3507
3843
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3508
3844
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
@@ -4071,7 +4407,7 @@ var require_core$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4071
4407
|
}
|
|
4072
4408
|
}));
|
|
4073
4409
|
//#endregion
|
|
4074
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4410
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/core/id.js
|
|
4075
4411
|
var require_id = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4076
4412
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4077
4413
|
exports.default = {
|
|
@@ -4082,7 +4418,7 @@ var require_id = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4082
4418
|
};
|
|
4083
4419
|
}));
|
|
4084
4420
|
//#endregion
|
|
4085
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4421
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4086
4422
|
var require_ref = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4087
4423
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4088
4424
|
exports.callRef = exports.getValidate = void 0;
|
|
@@ -4185,7 +4521,7 @@ var require_ref = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4185
4521
|
exports.default = def;
|
|
4186
4522
|
}));
|
|
4187
4523
|
//#endregion
|
|
4188
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4524
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/core/index.js
|
|
4189
4525
|
var require_core$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4190
4526
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4191
4527
|
const id_1 = require_id();
|
|
@@ -4202,7 +4538,7 @@ var require_core$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4202
4538
|
];
|
|
4203
4539
|
}));
|
|
4204
4540
|
//#endregion
|
|
4205
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4541
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
4206
4542
|
var require_limitNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4207
4543
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4208
4544
|
const codegen_1 = require_codegen();
|
|
@@ -4245,7 +4581,7 @@ var require_limitNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4245
4581
|
};
|
|
4246
4582
|
}));
|
|
4247
4583
|
//#endregion
|
|
4248
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4584
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
4249
4585
|
var require_multipleOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4250
4586
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4251
4587
|
const codegen_1 = require_codegen();
|
|
@@ -4268,7 +4604,7 @@ var require_multipleOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4268
4604
|
};
|
|
4269
4605
|
}));
|
|
4270
4606
|
//#endregion
|
|
4271
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4607
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/runtime/ucs2length.js
|
|
4272
4608
|
var require_ucs2length = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4273
4609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4274
4610
|
function ucs2length(str) {
|
|
@@ -4290,7 +4626,7 @@ var require_ucs2length = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4290
4626
|
ucs2length.code = "require(\"ajv/dist/runtime/ucs2length\").default";
|
|
4291
4627
|
}));
|
|
4292
4628
|
//#endregion
|
|
4293
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4629
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
4294
4630
|
var require_limitLength = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4295
4631
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4296
4632
|
const codegen_1 = require_codegen();
|
|
@@ -4317,7 +4653,7 @@ var require_limitLength = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4317
4653
|
};
|
|
4318
4654
|
}));
|
|
4319
4655
|
//#endregion
|
|
4320
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4656
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
4321
4657
|
var require_pattern = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4322
4658
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4323
4659
|
const code_1 = require_code();
|
|
@@ -4349,7 +4685,7 @@ var require_pattern = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4349
4685
|
};
|
|
4350
4686
|
}));
|
|
4351
4687
|
//#endregion
|
|
4352
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4688
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
4353
4689
|
var require_limitProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4354
4690
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4355
4691
|
const codegen_1 = require_codegen();
|
|
@@ -4373,7 +4709,7 @@ var require_limitProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4373
4709
|
};
|
|
4374
4710
|
}));
|
|
4375
4711
|
//#endregion
|
|
4376
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4712
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
4377
4713
|
var require_required = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4378
4714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4379
4715
|
const code_1 = require_code();
|
|
@@ -4439,7 +4775,7 @@ var require_required = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4439
4775
|
};
|
|
4440
4776
|
}));
|
|
4441
4777
|
//#endregion
|
|
4442
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4778
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
4443
4779
|
var require_limitItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4444
4780
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4445
4781
|
const codegen_1 = require_codegen();
|
|
@@ -4463,7 +4799,7 @@ var require_limitItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4463
4799
|
};
|
|
4464
4800
|
}));
|
|
4465
4801
|
//#endregion
|
|
4466
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4802
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/runtime/equal.js
|
|
4467
4803
|
var require_equal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4468
4804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4469
4805
|
const equal = require_fast_deep_equal();
|
|
@@ -4471,7 +4807,7 @@ var require_equal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4471
4807
|
exports.default = equal;
|
|
4472
4808
|
}));
|
|
4473
4809
|
//#endregion
|
|
4474
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4810
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
4475
4811
|
var require_uniqueItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4476
4812
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4477
4813
|
const dataType_1 = require_dataType();
|
|
@@ -4534,7 +4870,7 @@ var require_uniqueItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4534
4870
|
};
|
|
4535
4871
|
}));
|
|
4536
4872
|
//#endregion
|
|
4537
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4873
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
4538
4874
|
var require_const = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4539
4875
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4540
4876
|
const codegen_1 = require_codegen();
|
|
@@ -4555,7 +4891,7 @@ var require_const = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4555
4891
|
};
|
|
4556
4892
|
}));
|
|
4557
4893
|
//#endregion
|
|
4558
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4894
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
4559
4895
|
var require_enum = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4560
4896
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4561
4897
|
const codegen_1 = require_codegen();
|
|
@@ -4598,7 +4934,7 @@ var require_enum = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4598
4934
|
};
|
|
4599
4935
|
}));
|
|
4600
4936
|
//#endregion
|
|
4601
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4937
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
4602
4938
|
var require_validation$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4603
4939
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4604
4940
|
const limitNumber_1 = require_limitNumber();
|
|
@@ -4633,7 +4969,7 @@ var require_validation$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4633
4969
|
];
|
|
4634
4970
|
}));
|
|
4635
4971
|
//#endregion
|
|
4636
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
4972
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
4637
4973
|
var require_additionalItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4638
4974
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4639
4975
|
exports.validateAdditionalItems = void 0;
|
|
@@ -4685,7 +5021,7 @@ var require_additionalItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4685
5021
|
exports.default = def;
|
|
4686
5022
|
}));
|
|
4687
5023
|
//#endregion
|
|
4688
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5024
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
4689
5025
|
var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4690
5026
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4691
5027
|
exports.validateTuple = void 0;
|
|
@@ -4738,7 +5074,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4738
5074
|
exports.default = def;
|
|
4739
5075
|
}));
|
|
4740
5076
|
//#endregion
|
|
4741
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5077
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
4742
5078
|
var require_prefixItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4743
5079
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4744
5080
|
const items_1 = require_items();
|
|
@@ -4751,7 +5087,7 @@ var require_prefixItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4751
5087
|
};
|
|
4752
5088
|
}));
|
|
4753
5089
|
//#endregion
|
|
4754
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5090
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
4755
5091
|
var require_items2020 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4756
5092
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4757
5093
|
const codegen_1 = require_codegen();
|
|
@@ -4778,7 +5114,7 @@ var require_items2020 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4778
5114
|
};
|
|
4779
5115
|
}));
|
|
4780
5116
|
//#endregion
|
|
4781
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5117
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
4782
5118
|
var require_contains = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4783
5119
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4784
5120
|
const codegen_1 = require_codegen();
|
|
@@ -4862,7 +5198,7 @@ var require_contains = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4862
5198
|
};
|
|
4863
5199
|
}));
|
|
4864
5200
|
//#endregion
|
|
4865
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5201
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
4866
5202
|
var require_dependencies = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4867
5203
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4868
5204
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
@@ -4943,7 +5279,7 @@ var require_dependencies = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4943
5279
|
exports.default = def;
|
|
4944
5280
|
}));
|
|
4945
5281
|
//#endregion
|
|
4946
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5282
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
4947
5283
|
var require_propertyNames = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4948
5284
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4949
5285
|
const codegen_1 = require_codegen();
|
|
@@ -4979,7 +5315,7 @@ var require_propertyNames = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4979
5315
|
};
|
|
4980
5316
|
}));
|
|
4981
5317
|
//#endregion
|
|
4982
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5318
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
4983
5319
|
var require_additionalProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4984
5320
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4985
5321
|
const code_1 = require_code();
|
|
@@ -5068,7 +5404,7 @@ var require_additionalProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5068
5404
|
};
|
|
5069
5405
|
}));
|
|
5070
5406
|
//#endregion
|
|
5071
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5407
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
5072
5408
|
var require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5073
5409
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5074
5410
|
const validate_1 = require_validate();
|
|
@@ -5113,7 +5449,7 @@ var require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5113
5449
|
};
|
|
5114
5450
|
}));
|
|
5115
5451
|
//#endregion
|
|
5116
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5452
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
5117
5453
|
var require_patternProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5118
5454
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5119
5455
|
const code_1 = require_code();
|
|
@@ -5168,7 +5504,7 @@ var require_patternProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5168
5504
|
};
|
|
5169
5505
|
}));
|
|
5170
5506
|
//#endregion
|
|
5171
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5507
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
5172
5508
|
var require_not = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5173
5509
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5174
5510
|
const util_1 = require_util();
|
|
@@ -5195,7 +5531,7 @@ var require_not = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5195
5531
|
};
|
|
5196
5532
|
}));
|
|
5197
5533
|
//#endregion
|
|
5198
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5534
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
5199
5535
|
var require_anyOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5200
5536
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5201
5537
|
exports.default = {
|
|
@@ -5207,7 +5543,7 @@ var require_anyOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5207
5543
|
};
|
|
5208
5544
|
}));
|
|
5209
5545
|
//#endregion
|
|
5210
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5546
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
5211
5547
|
var require_oneOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5212
5548
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5213
5549
|
const codegen_1 = require_codegen();
|
|
@@ -5253,7 +5589,7 @@ var require_oneOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5253
5589
|
};
|
|
5254
5590
|
}));
|
|
5255
5591
|
//#endregion
|
|
5256
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5592
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
5257
5593
|
var require_allOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5258
5594
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5259
5595
|
const util_1 = require_util();
|
|
@@ -5278,7 +5614,7 @@ var require_allOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5278
5614
|
};
|
|
5279
5615
|
}));
|
|
5280
5616
|
//#endregion
|
|
5281
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5617
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
5282
5618
|
var require_if = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5283
5619
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5284
5620
|
const codegen_1 = require_codegen();
|
|
@@ -5335,7 +5671,7 @@ var require_if = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5335
5671
|
exports.default = def;
|
|
5336
5672
|
}));
|
|
5337
5673
|
//#endregion
|
|
5338
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5674
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
5339
5675
|
var require_thenElse = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5340
5676
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5341
5677
|
const util_1 = require_util();
|
|
@@ -5348,7 +5684,7 @@ var require_thenElse = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5348
5684
|
};
|
|
5349
5685
|
}));
|
|
5350
5686
|
//#endregion
|
|
5351
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5687
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
5352
5688
|
var require_applicator$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5353
5689
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5354
5690
|
const additionalItems_1 = require_additionalItems();
|
|
@@ -5389,7 +5725,7 @@ var require_applicator$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5389
5725
|
exports.default = getApplicator;
|
|
5390
5726
|
}));
|
|
5391
5727
|
//#endregion
|
|
5392
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5728
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/format/format.js
|
|
5393
5729
|
var require_format$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5394
5730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5395
5731
|
const codegen_1 = require_codegen();
|
|
@@ -5477,13 +5813,13 @@ var require_format$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5477
5813
|
};
|
|
5478
5814
|
}));
|
|
5479
5815
|
//#endregion
|
|
5480
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5816
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/format/index.js
|
|
5481
5817
|
var require_format = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5482
5818
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5483
5819
|
exports.default = [require_format$1().default];
|
|
5484
5820
|
}));
|
|
5485
5821
|
//#endregion
|
|
5486
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5822
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/metadata.js
|
|
5487
5823
|
var require_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5488
5824
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5489
5825
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
@@ -5503,7 +5839,7 @@ var require_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5503
5839
|
];
|
|
5504
5840
|
}));
|
|
5505
5841
|
//#endregion
|
|
5506
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5842
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/draft7.js
|
|
5507
5843
|
var require_draft7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5508
5844
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5509
5845
|
const core_1 = require_core$1();
|
|
@@ -5521,7 +5857,7 @@ var require_draft7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5521
5857
|
];
|
|
5522
5858
|
}));
|
|
5523
5859
|
//#endregion
|
|
5524
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5860
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
5525
5861
|
var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5526
5862
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5527
5863
|
exports.DiscrError = void 0;
|
|
@@ -5532,7 +5868,7 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5532
5868
|
})(DiscrError || (exports.DiscrError = DiscrError = {}));
|
|
5533
5869
|
}));
|
|
5534
5870
|
//#endregion
|
|
5535
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5871
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
5536
5872
|
var require_discriminator = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5537
5873
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5538
5874
|
const codegen_1 = require_codegen();
|
|
@@ -5625,7 +5961,7 @@ var require_discriminator = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5625
5961
|
};
|
|
5626
5962
|
}));
|
|
5627
5963
|
//#endregion
|
|
5628
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
5964
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
5629
5965
|
var require_json_schema_draft_07 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5630
5966
|
module.exports = {
|
|
5631
5967
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -5763,7 +6099,7 @@ var require_json_schema_draft_07 = /* @__PURE__ */ __commonJSMin(((exports, modu
|
|
|
5763
6099
|
};
|
|
5764
6100
|
}));
|
|
5765
6101
|
//#endregion
|
|
5766
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6102
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/ajv.js
|
|
5767
6103
|
var require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5768
6104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5769
6105
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
@@ -5855,7 +6191,7 @@ var require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5855
6191
|
});
|
|
5856
6192
|
}));
|
|
5857
6193
|
//#endregion
|
|
5858
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6194
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
|
|
5859
6195
|
var require_dynamicAnchor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5860
6196
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5861
6197
|
exports.dynamicAnchor = void 0;
|
|
@@ -5894,7 +6230,7 @@ var require_dynamicAnchor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5894
6230
|
exports.default = def;
|
|
5895
6231
|
}));
|
|
5896
6232
|
//#endregion
|
|
5897
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6233
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
|
|
5898
6234
|
var require_dynamicRef = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5899
6235
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5900
6236
|
exports.dynamicRef = void 0;
|
|
@@ -5933,7 +6269,7 @@ var require_dynamicRef = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5933
6269
|
exports.default = def;
|
|
5934
6270
|
}));
|
|
5935
6271
|
//#endregion
|
|
5936
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6272
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
|
|
5937
6273
|
var require_recursiveAnchor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5938
6274
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5939
6275
|
const dynamicAnchor_1 = require_dynamicAnchor();
|
|
@@ -5948,7 +6284,7 @@ var require_recursiveAnchor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5948
6284
|
};
|
|
5949
6285
|
}));
|
|
5950
6286
|
//#endregion
|
|
5951
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6287
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
|
|
5952
6288
|
var require_recursiveRef = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5953
6289
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5954
6290
|
const dynamicRef_1 = require_dynamicRef();
|
|
@@ -5959,7 +6295,7 @@ var require_recursiveRef = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5959
6295
|
};
|
|
5960
6296
|
}));
|
|
5961
6297
|
//#endregion
|
|
5962
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6298
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/dynamic/index.js
|
|
5963
6299
|
var require_dynamic = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5964
6300
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5965
6301
|
const dynamicAnchor_1 = require_dynamicAnchor();
|
|
@@ -5974,7 +6310,7 @@ var require_dynamic = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5974
6310
|
];
|
|
5975
6311
|
}));
|
|
5976
6312
|
//#endregion
|
|
5977
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6313
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
|
|
5978
6314
|
var require_dependentRequired = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5979
6315
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5980
6316
|
const dependencies_1 = require_dependencies();
|
|
@@ -5987,7 +6323,7 @@ var require_dependentRequired = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5987
6323
|
};
|
|
5988
6324
|
}));
|
|
5989
6325
|
//#endregion
|
|
5990
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6326
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
|
|
5991
6327
|
var require_dependentSchemas = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5992
6328
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5993
6329
|
const dependencies_1 = require_dependencies();
|
|
@@ -5999,7 +6335,7 @@ var require_dependentSchemas = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5999
6335
|
};
|
|
6000
6336
|
}));
|
|
6001
6337
|
//#endregion
|
|
6002
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6338
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/validation/limitContains.js
|
|
6003
6339
|
var require_limitContains = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6004
6340
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6005
6341
|
const util_1 = require_util();
|
|
@@ -6013,7 +6349,7 @@ var require_limitContains = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6013
6349
|
};
|
|
6014
6350
|
}));
|
|
6015
6351
|
//#endregion
|
|
6016
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6352
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/next.js
|
|
6017
6353
|
var require_next = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6018
6354
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6019
6355
|
const dependentRequired_1 = require_dependentRequired();
|
|
@@ -6026,7 +6362,7 @@ var require_next = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6026
6362
|
];
|
|
6027
6363
|
}));
|
|
6028
6364
|
//#endregion
|
|
6029
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6365
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
|
|
6030
6366
|
var require_unevaluatedProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6031
6367
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6032
6368
|
const codegen_1 = require_codegen();
|
|
@@ -6079,7 +6415,7 @@ var require_unevaluatedProperties = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
6079
6415
|
};
|
|
6080
6416
|
}));
|
|
6081
6417
|
//#endregion
|
|
6082
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6418
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
|
|
6083
6419
|
var require_unevaluatedItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6084
6420
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6085
6421
|
const codegen_1 = require_codegen();
|
|
@@ -6120,7 +6456,7 @@ var require_unevaluatedItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6120
6456
|
};
|
|
6121
6457
|
}));
|
|
6122
6458
|
//#endregion
|
|
6123
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6459
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/unevaluated/index.js
|
|
6124
6460
|
var require_unevaluated$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6125
6461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6126
6462
|
const unevaluatedProperties_1 = require_unevaluatedProperties();
|
|
@@ -6128,7 +6464,7 @@ var require_unevaluated$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6128
6464
|
exports.default = [unevaluatedProperties_1.default, unevaluatedItems_1.default];
|
|
6129
6465
|
}));
|
|
6130
6466
|
//#endregion
|
|
6131
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6467
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/vocabularies/draft2020.js
|
|
6132
6468
|
var require_draft2020 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6133
6469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6134
6470
|
const core_1 = require_core$1();
|
|
@@ -6152,7 +6488,7 @@ var require_draft2020 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6152
6488
|
];
|
|
6153
6489
|
}));
|
|
6154
6490
|
//#endregion
|
|
6155
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6491
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
|
|
6156
6492
|
var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6157
6493
|
module.exports = {
|
|
6158
6494
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -6208,7 +6544,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6208
6544
|
};
|
|
6209
6545
|
}));
|
|
6210
6546
|
//#endregion
|
|
6211
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6547
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
|
|
6212
6548
|
var require_applicator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6213
6549
|
module.exports = {
|
|
6214
6550
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -6255,7 +6591,7 @@ var require_applicator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6255
6591
|
};
|
|
6256
6592
|
}));
|
|
6257
6593
|
//#endregion
|
|
6258
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6594
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
|
|
6259
6595
|
var require_unevaluated = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6260
6596
|
module.exports = {
|
|
6261
6597
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -6271,7 +6607,7 @@ var require_unevaluated = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6271
6607
|
};
|
|
6272
6608
|
}));
|
|
6273
6609
|
//#endregion
|
|
6274
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6610
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
|
|
6275
6611
|
var require_content = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6276
6612
|
module.exports = {
|
|
6277
6613
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -6288,7 +6624,7 @@ var require_content = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6288
6624
|
};
|
|
6289
6625
|
}));
|
|
6290
6626
|
//#endregion
|
|
6291
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6627
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
|
|
6292
6628
|
var require_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6293
6629
|
module.exports = {
|
|
6294
6630
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -6336,7 +6672,7 @@ var require_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6336
6672
|
};
|
|
6337
6673
|
}));
|
|
6338
6674
|
//#endregion
|
|
6339
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6675
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
|
|
6340
6676
|
var require_format_annotation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6341
6677
|
module.exports = {
|
|
6342
6678
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -6349,7 +6685,7 @@ var require_format_annotation = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
6349
6685
|
};
|
|
6350
6686
|
}));
|
|
6351
6687
|
//#endregion
|
|
6352
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6688
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
|
|
6353
6689
|
var require_meta_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6354
6690
|
module.exports = {
|
|
6355
6691
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -6382,7 +6718,7 @@ var require_meta_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6382
6718
|
};
|
|
6383
6719
|
}));
|
|
6384
6720
|
//#endregion
|
|
6385
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6721
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
|
|
6386
6722
|
var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6387
6723
|
module.exports = {
|
|
6388
6724
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -6464,7 +6800,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6464
6800
|
};
|
|
6465
6801
|
}));
|
|
6466
6802
|
//#endregion
|
|
6467
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6803
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/refs/json-schema-2020-12/index.js
|
|
6468
6804
|
var require_json_schema_2020_12 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6469
6805
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6470
6806
|
const metaSchema = require_schema();
|
|
@@ -6495,7 +6831,7 @@ var require_json_schema_2020_12 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6495
6831
|
exports.default = addMetaSchema2020;
|
|
6496
6832
|
}));
|
|
6497
6833
|
//#endregion
|
|
6498
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/
|
|
6834
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ajv/8.20.0/1e09fda330387be9b68160f4086a20b9612349b5c22bf54eabbeb6f82437b65c/node_modules/ajv/dist/2020.js
|
|
6499
6835
|
var require__2020 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6500
6836
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6501
6837
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv2020 = void 0;
|
|
@@ -6794,4 +7130,4 @@ function toStandardSchema(schema, options) {
|
|
|
6794
7130
|
//#endregion
|
|
6795
7131
|
export { toStandardSchema as n, JsonSchemaWrapper as t };
|
|
6796
7132
|
|
|
6797
|
-
//# sourceMappingURL=json-schema-
|
|
7133
|
+
//# sourceMappingURL=json-schema-BKit3LVN.js.map
|