@kevisual/cli 0.1.31 → 0.1.32
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/assistant-opencode.js +92 -72
- package/dist/assistant-server.js +516 -428
- package/dist/assistant.js +56 -43
- package/dist/envision.js +24 -29
- package/package.json +7 -7
package/dist/assistant-server.js
CHANGED
|
@@ -6212,7 +6212,7 @@ var require_dist_cjs19 = __commonJS((exports) => {
|
|
|
6212
6212
|
exports.memoize = memoize;
|
|
6213
6213
|
});
|
|
6214
6214
|
|
|
6215
|
-
// ../node_modules/.pnpm/@aws-sdk+core@3.973.
|
|
6215
|
+
// ../node_modules/.pnpm/@aws-sdk+core@3.973.23/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
|
|
6216
6216
|
var require_client = __commonJS((exports) => {
|
|
6217
6217
|
var state = {
|
|
6218
6218
|
warningEmitted: false
|
|
@@ -8106,7 +8106,7 @@ var require_dist_cjs22 = __commonJS((exports) => {
|
|
|
8106
8106
|
exports.constructStack = constructStack;
|
|
8107
8107
|
});
|
|
8108
8108
|
|
|
8109
|
-
// ../node_modules/.pnpm/@smithy+smithy-client@4.12.
|
|
8109
|
+
// ../node_modules/.pnpm/@smithy+smithy-client@4.12.7/node_modules/@smithy/smithy-client/dist-cjs/index.js
|
|
8110
8110
|
var require_dist_cjs23 = __commonJS((exports) => {
|
|
8111
8111
|
var middlewareStack = require_dist_cjs22();
|
|
8112
8112
|
var protocols = require_protocols();
|
|
@@ -8704,7 +8704,7 @@ var require_dist_cjs23 = __commonJS((exports) => {
|
|
|
8704
8704
|
});
|
|
8705
8705
|
});
|
|
8706
8706
|
|
|
8707
|
-
// ../node_modules/.pnpm/fast-xml-parser@5.5.
|
|
8707
|
+
// ../node_modules/.pnpm/fast-xml-parser@5.5.8/node_modules/fast-xml-parser/lib/fxp.cjs
|
|
8708
8708
|
var require_fxp = __commonJS((exports, module) => {
|
|
8709
8709
|
(() => {
|
|
8710
8710
|
var t = { d: (e2, i2) => {
|
|
@@ -8713,7 +8713,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
8713
8713
|
}, o: (t2, e2) => Object.prototype.hasOwnProperty.call(t2, e2), r: (t2) => {
|
|
8714
8714
|
typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t2, "__esModule", { value: true });
|
|
8715
8715
|
} }, e = {};
|
|
8716
|
-
t.r(e), t.d(e, { XMLBuilder: () =>
|
|
8716
|
+
t.r(e), t.d(e, { XMLBuilder: () => $t, XMLParser: () => gt3, XMLValidator: () => It });
|
|
8717
8717
|
const i = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", n = new RegExp("^[" + i + "][" + i + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
|
|
8718
8718
|
function s(t2, e2) {
|
|
8719
8719
|
const i2 = [];
|
|
@@ -8951,16 +8951,16 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
8951
8951
|
throw new Error(`[SECURITY] Invalid ${e2}: "${t2}" is a reserved JavaScript keyword that could cause prototype pollution`);
|
|
8952
8952
|
}
|
|
8953
8953
|
function A(t2) {
|
|
8954
|
-
return typeof t2 == "boolean" ? { enabled: t2, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1000, maxExpandedLength: 1e5, maxEntityCount: 100, allowedTags: null, tagFilter: null } : typeof t2 == "object" && t2 !== null ? { enabled: t2.enabled !== false, maxEntitySize: t2.maxEntitySize ?? 1e4, maxExpansionDepth: t2.maxExpansionDepth ?? 10, maxTotalExpansions: t2.maxTotalExpansions ?? 1000, maxExpandedLength: t2.maxExpandedLength ?? 1e5, maxEntityCount: t2.maxEntityCount ?? 100, allowedTags: t2.allowedTags ?? null, tagFilter: t2.tagFilter ?? null } : A(true);
|
|
8954
|
+
return typeof t2 == "boolean" ? { enabled: t2, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1000, maxExpandedLength: 1e5, maxEntityCount: 100, allowedTags: null, tagFilter: null } : typeof t2 == "object" && t2 !== null ? { enabled: t2.enabled !== false, maxEntitySize: Math.max(1, t2.maxEntitySize ?? 1e4), maxExpansionDepth: Math.max(1, t2.maxExpansionDepth ?? 10), maxTotalExpansions: Math.max(1, t2.maxTotalExpansions ?? 1000), maxExpandedLength: Math.max(1, t2.maxExpandedLength ?? 1e5), maxEntityCount: Math.max(1, t2.maxEntityCount ?? 100), allowedTags: t2.allowedTags ?? null, tagFilter: t2.tagFilter ?? null } : A(true);
|
|
8955
8955
|
}
|
|
8956
|
-
const
|
|
8956
|
+
const O = function(t2) {
|
|
8957
8957
|
const e2 = Object.assign({}, P, t2), i2 = [{ value: e2.attributeNamePrefix, name: "attributeNamePrefix" }, { value: e2.attributesGroupName, name: "attributesGroupName" }, { value: e2.textNodeName, name: "textNodeName" }, { value: e2.cdataPropName, name: "cdataPropName" }, { value: e2.commentPropName, name: "commentPropName" }];
|
|
8958
8958
|
for (const { value: t3, name: e3 } of i2)
|
|
8959
8959
|
t3 && S(t3, e3);
|
|
8960
8960
|
return e2.onDangerousProperty === null && (e2.onDangerousProperty = T), e2.processEntities = A(e2.processEntities), e2.stopNodes && Array.isArray(e2.stopNodes) && (e2.stopNodes = e2.stopNodes.map((t3) => typeof t3 == "string" && t3.startsWith("*.") ? ".." + t3.substring(2) : t3)), e2;
|
|
8961
8961
|
};
|
|
8962
|
-
let
|
|
8963
|
-
|
|
8962
|
+
let C;
|
|
8963
|
+
C = typeof Symbol != "function" ? "@@xmlMetadata" : Symbol("XML Node Metadata");
|
|
8964
8964
|
|
|
8965
8965
|
class $ {
|
|
8966
8966
|
constructor(t2) {
|
|
@@ -8970,10 +8970,10 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
8970
8970
|
t2 === "__proto__" && (t2 = "#__proto__"), this.child.push({ [t2]: e2 });
|
|
8971
8971
|
}
|
|
8972
8972
|
addChild(t2, e2) {
|
|
8973
|
-
t2.tagname === "__proto__" && (t2.tagname = "#__proto__"), t2[":@"] && Object.keys(t2[":@"]).length > 0 ? this.child.push({ [t2.tagname]: t2.child, ":@": t2[":@"] }) : this.child.push({ [t2.tagname]: t2.child }), e2 !== undefined && (this.child[this.child.length - 1][
|
|
8973
|
+
t2.tagname === "__proto__" && (t2.tagname = "#__proto__"), t2[":@"] && Object.keys(t2[":@"]).length > 0 ? this.child.push({ [t2.tagname]: t2.child, ":@": t2[":@"] }) : this.child.push({ [t2.tagname]: t2.child }), e2 !== undefined && (this.child[this.child.length - 1][C] = { startIndex: e2 });
|
|
8974
8974
|
}
|
|
8975
8975
|
static getMetaDataSymbol() {
|
|
8976
|
-
return
|
|
8976
|
+
return C;
|
|
8977
8977
|
}
|
|
8978
8978
|
}
|
|
8979
8979
|
|
|
@@ -8997,26 +8997,26 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
8997
8997
|
} else
|
|
8998
8998
|
t2[e2] === "[" ? r2 = true : a2 += t2[e2];
|
|
8999
8999
|
else {
|
|
9000
|
-
if (r2 &&
|
|
9000
|
+
if (r2 && M(t2, "!ENTITY", e2)) {
|
|
9001
9001
|
let s3, r3;
|
|
9002
9002
|
if (e2 += 7, [s3, r3, e2] = this.readEntityExp(t2, e2 + 1, this.suppressValidationErr), r3.indexOf("&") === -1) {
|
|
9003
|
-
if (this.options.enabled !== false && this.options.maxEntityCount && n2 >= this.options.maxEntityCount)
|
|
9003
|
+
if (this.options.enabled !== false && this.options.maxEntityCount != null && n2 >= this.options.maxEntityCount)
|
|
9004
9004
|
throw new Error(`Entity count (${n2 + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`);
|
|
9005
9005
|
const t3 = s3.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
9006
9006
|
i2[s3] = { regx: RegExp(`&${t3};`, "g"), val: r3 }, n2++;
|
|
9007
9007
|
}
|
|
9008
|
-
} else if (r2 &&
|
|
9008
|
+
} else if (r2 && M(t2, "!ELEMENT", e2)) {
|
|
9009
9009
|
e2 += 8;
|
|
9010
9010
|
const { index: i3 } = this.readElementExp(t2, e2 + 1);
|
|
9011
9011
|
e2 = i3;
|
|
9012
|
-
} else if (r2 &&
|
|
9012
|
+
} else if (r2 && M(t2, "!ATTLIST", e2))
|
|
9013
9013
|
e2 += 8;
|
|
9014
|
-
else if (r2 &&
|
|
9014
|
+
else if (r2 && M(t2, "!NOTATION", e2)) {
|
|
9015
9015
|
e2 += 9;
|
|
9016
9016
|
const { index: i3 } = this.readNotationExp(t2, e2 + 1, this.suppressValidationErr);
|
|
9017
9017
|
e2 = i3;
|
|
9018
9018
|
} else {
|
|
9019
|
-
if (!
|
|
9019
|
+
if (!M(t2, "!--", e2))
|
|
9020
9020
|
throw new Error("Invalid DOCTYPE");
|
|
9021
9021
|
o2 = true;
|
|
9022
9022
|
}
|
|
@@ -9028,109 +9028,113 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9028
9028
|
return { entities: i2, i: e2 };
|
|
9029
9029
|
}
|
|
9030
9030
|
readEntityExp(t2, e2) {
|
|
9031
|
-
e2 = j(t2, e2);
|
|
9032
|
-
let i2 = "";
|
|
9031
|
+
const i2 = e2 = j(t2, e2);
|
|
9033
9032
|
for (;e2 < t2.length && !/\s/.test(t2[e2]) && t2[e2] !== '"' && t2[e2] !== "'"; )
|
|
9034
|
-
|
|
9035
|
-
|
|
9033
|
+
e2++;
|
|
9034
|
+
let n2 = t2.substring(i2, e2);
|
|
9035
|
+
if (_(n2), e2 = j(t2, e2), !this.suppressValidationErr) {
|
|
9036
9036
|
if (t2.substring(e2, e2 + 6).toUpperCase() === "SYSTEM")
|
|
9037
9037
|
throw new Error("External entities are not supported");
|
|
9038
9038
|
if (t2[e2] === "%")
|
|
9039
9039
|
throw new Error("Parameter entities are not supported");
|
|
9040
9040
|
}
|
|
9041
|
-
let
|
|
9042
|
-
if ([e2,
|
|
9043
|
-
throw new Error(`Entity "${
|
|
9044
|
-
return [
|
|
9041
|
+
let s2 = "";
|
|
9042
|
+
if ([e2, s2] = this.readIdentifierVal(t2, e2, "entity"), this.options.enabled !== false && this.options.maxEntitySize != null && s2.length > this.options.maxEntitySize)
|
|
9043
|
+
throw new Error(`Entity "${n2}" size (${s2.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);
|
|
9044
|
+
return [n2, s2, --e2];
|
|
9045
9045
|
}
|
|
9046
9046
|
readNotationExp(t2, e2) {
|
|
9047
|
-
e2 = j(t2, e2);
|
|
9048
|
-
let i2 = "";
|
|
9047
|
+
const i2 = e2 = j(t2, e2);
|
|
9049
9048
|
for (;e2 < t2.length && !/\s/.test(t2[e2]); )
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9049
|
+
e2++;
|
|
9050
|
+
let n2 = t2.substring(i2, e2);
|
|
9051
|
+
!this.suppressValidationErr && _(n2), e2 = j(t2, e2);
|
|
9052
|
+
const s2 = t2.substring(e2, e2 + 6).toUpperCase();
|
|
9053
|
+
if (!this.suppressValidationErr && s2 !== "SYSTEM" && s2 !== "PUBLIC")
|
|
9054
|
+
throw new Error(`Expected SYSTEM or PUBLIC, found "${s2}"`);
|
|
9055
|
+
e2 += s2.length, e2 = j(t2, e2);
|
|
9056
|
+
let r2 = null, o2 = null;
|
|
9057
|
+
if (s2 === "PUBLIC")
|
|
9058
|
+
[e2, r2] = this.readIdentifierVal(t2, e2, "publicIdentifier"), t2[e2 = j(t2, e2)] !== '"' && t2[e2] !== "'" || ([e2, o2] = this.readIdentifierVal(t2, e2, "systemIdentifier"));
|
|
9059
|
+
else if (s2 === "SYSTEM" && ([e2, o2] = this.readIdentifierVal(t2, e2, "systemIdentifier"), !this.suppressValidationErr && !o2))
|
|
9060
9060
|
throw new Error("Missing mandatory system identifier for SYSTEM notation");
|
|
9061
|
-
return { notationName:
|
|
9061
|
+
return { notationName: n2, publicIdentifier: r2, systemIdentifier: o2, index: --e2 };
|
|
9062
9062
|
}
|
|
9063
9063
|
readIdentifierVal(t2, e2, i2) {
|
|
9064
9064
|
let n2 = "";
|
|
9065
9065
|
const s2 = t2[e2];
|
|
9066
9066
|
if (s2 !== '"' && s2 !== "'")
|
|
9067
9067
|
throw new Error(`Expected quoted string, found "${s2}"`);
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9068
|
+
const r2 = ++e2;
|
|
9069
|
+
for (;e2 < t2.length && t2[e2] !== s2; )
|
|
9070
|
+
e2++;
|
|
9071
|
+
if (n2 = t2.substring(r2, e2), t2[e2] !== s2)
|
|
9071
9072
|
throw new Error(`Unterminated ${i2} value`);
|
|
9072
9073
|
return [++e2, n2];
|
|
9073
9074
|
}
|
|
9074
9075
|
readElementExp(t2, e2) {
|
|
9075
|
-
e2 = j(t2, e2);
|
|
9076
|
-
let i2 = "";
|
|
9076
|
+
const i2 = e2 = j(t2, e2);
|
|
9077
9077
|
for (;e2 < t2.length && !/\s/.test(t2[e2]); )
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
|
|
9078
|
+
e2++;
|
|
9079
|
+
let n2 = t2.substring(i2, e2);
|
|
9080
|
+
if (!this.suppressValidationErr && !r(n2))
|
|
9081
|
+
throw new Error(`Invalid element name: "${n2}"`);
|
|
9082
|
+
let s2 = "";
|
|
9083
|
+
if (t2[e2 = j(t2, e2)] === "E" && M(t2, "MPTY", e2))
|
|
9083
9084
|
e2 += 4;
|
|
9084
|
-
else if (t2[e2] === "A" &&
|
|
9085
|
+
else if (t2[e2] === "A" && M(t2, "NY", e2))
|
|
9085
9086
|
e2 += 2;
|
|
9086
9087
|
else if (t2[e2] === "(") {
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9088
|
+
const i3 = ++e2;
|
|
9089
|
+
for (;e2 < t2.length && t2[e2] !== ")"; )
|
|
9090
|
+
e2++;
|
|
9091
|
+
if (s2 = t2.substring(i3, e2), t2[e2] !== ")")
|
|
9090
9092
|
throw new Error("Unterminated content model");
|
|
9091
9093
|
} else if (!this.suppressValidationErr)
|
|
9092
9094
|
throw new Error(`Invalid Element Expression, found "${t2[e2]}"`);
|
|
9093
|
-
return { elementName:
|
|
9095
|
+
return { elementName: n2, contentModel: s2.trim(), index: e2 };
|
|
9094
9096
|
}
|
|
9095
9097
|
readAttlistExp(t2, e2) {
|
|
9096
|
-
e2 = j(t2, e2);
|
|
9097
|
-
let i2 = "";
|
|
9098
|
-
for (;e2 < t2.length && !/\s/.test(t2[e2]); )
|
|
9099
|
-
i2 += t2[e2], e2++;
|
|
9100
|
-
D(i2), e2 = j(t2, e2);
|
|
9101
|
-
let n2 = "";
|
|
9098
|
+
let i2 = e2 = j(t2, e2);
|
|
9102
9099
|
for (;e2 < t2.length && !/\s/.test(t2[e2]); )
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9100
|
+
e2++;
|
|
9101
|
+
let n2 = t2.substring(i2, e2);
|
|
9102
|
+
for (_(n2), i2 = e2 = j(t2, e2);e2 < t2.length && !/\s/.test(t2[e2]); )
|
|
9103
|
+
e2++;
|
|
9104
|
+
let s2 = t2.substring(i2, e2);
|
|
9105
|
+
if (!_(s2))
|
|
9106
|
+
throw new Error(`Invalid attribute name: "${s2}"`);
|
|
9106
9107
|
e2 = j(t2, e2);
|
|
9107
|
-
let
|
|
9108
|
+
let r2 = "";
|
|
9108
9109
|
if (t2.substring(e2, e2 + 8).toUpperCase() === "NOTATION") {
|
|
9109
|
-
if (
|
|
9110
|
+
if (r2 = "NOTATION", t2[e2 = j(t2, e2 += 8)] !== "(")
|
|
9110
9111
|
throw new Error(`Expected '(', found "${t2[e2]}"`);
|
|
9111
9112
|
e2++;
|
|
9112
9113
|
let i3 = [];
|
|
9113
9114
|
for (;e2 < t2.length && t2[e2] !== ")"; ) {
|
|
9114
|
-
|
|
9115
|
+
const n3 = e2;
|
|
9115
9116
|
for (;e2 < t2.length && t2[e2] !== "|" && t2[e2] !== ")"; )
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9117
|
+
e2++;
|
|
9118
|
+
let s3 = t2.substring(n3, e2);
|
|
9119
|
+
if (s3 = s3.trim(), !_(s3))
|
|
9120
|
+
throw new Error(`Invalid notation name: "${s3}"`);
|
|
9121
|
+
i3.push(s3), t2[e2] === "|" && (e2++, e2 = j(t2, e2));
|
|
9120
9122
|
}
|
|
9121
9123
|
if (t2[e2] !== ")")
|
|
9122
9124
|
throw new Error("Unterminated list of notations");
|
|
9123
|
-
e2++,
|
|
9125
|
+
e2++, r2 += " (" + i3.join("|") + ")";
|
|
9124
9126
|
} else {
|
|
9127
|
+
const i3 = e2;
|
|
9125
9128
|
for (;e2 < t2.length && !/\s/.test(t2[e2]); )
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9129
|
+
e2++;
|
|
9130
|
+
r2 += t2.substring(i3, e2);
|
|
9131
|
+
const n3 = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
|
|
9132
|
+
if (!this.suppressValidationErr && !n3.includes(r2.toUpperCase()))
|
|
9133
|
+
throw new Error(`Invalid attribute type: "${r2}"`);
|
|
9130
9134
|
}
|
|
9131
9135
|
e2 = j(t2, e2);
|
|
9132
|
-
let
|
|
9133
|
-
return t2.substring(e2, e2 + 8).toUpperCase() === "#REQUIRED" ? (
|
|
9136
|
+
let o2 = "";
|
|
9137
|
+
return t2.substring(e2, e2 + 8).toUpperCase() === "#REQUIRED" ? (o2 = "#REQUIRED", e2 += 8) : t2.substring(e2, e2 + 7).toUpperCase() === "#IMPLIED" ? (o2 = "#IMPLIED", e2 += 7) : [e2, o2] = this.readIdentifierVal(t2, e2, "ATTLIST"), { elementName: n2, attributeName: s2, attributeType: r2, defaultValue: o2, index: e2 };
|
|
9134
9138
|
}
|
|
9135
9139
|
}
|
|
9136
9140
|
const j = (t2, e2) => {
|
|
@@ -9138,21 +9142,21 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9138
9142
|
e2++;
|
|
9139
9143
|
return e2;
|
|
9140
9144
|
};
|
|
9141
|
-
function
|
|
9145
|
+
function M(t2, e2, i2) {
|
|
9142
9146
|
for (let n2 = 0;n2 < e2.length; n2++)
|
|
9143
9147
|
if (e2[n2] !== t2[i2 + n2 + 1])
|
|
9144
9148
|
return false;
|
|
9145
9149
|
return true;
|
|
9146
9150
|
}
|
|
9147
|
-
function
|
|
9151
|
+
function _(t2) {
|
|
9148
9152
|
if (r(t2))
|
|
9149
9153
|
return t2;
|
|
9150
9154
|
throw new Error(`Invalid entity name ${t2}`);
|
|
9151
9155
|
}
|
|
9152
|
-
const
|
|
9153
|
-
const
|
|
9156
|
+
const D = /^[-+]?0x[a-fA-F0-9]+$/, V = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, k = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true, infinity: "original" };
|
|
9157
|
+
const F = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/, L = new Set(["push", "pop", "reset", "updateCurrent", "restore"]);
|
|
9154
9158
|
|
|
9155
|
-
class
|
|
9159
|
+
class G {
|
|
9156
9160
|
constructor(t2 = {}) {
|
|
9157
9161
|
this.separator = t2.separator || ".", this.path = [], this.siblingStacks = [];
|
|
9158
9162
|
}
|
|
@@ -9298,9 +9302,23 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9298
9302
|
restore(t2) {
|
|
9299
9303
|
this.path = t2.path.map((t3) => ({ ...t3 })), this.siblingStacks = t2.siblingStacks.map((t3) => new Map(t3));
|
|
9300
9304
|
}
|
|
9305
|
+
readOnly() {
|
|
9306
|
+
return new Proxy(this, { get(t2, e2, i2) {
|
|
9307
|
+
if (L.has(e2))
|
|
9308
|
+
return () => {
|
|
9309
|
+
throw new TypeError(`Cannot call '${e2}' on a read-only Matcher. Obtain a writable instance to mutate state.`);
|
|
9310
|
+
};
|
|
9311
|
+
const n2 = Reflect.get(t2, e2, i2);
|
|
9312
|
+
return e2 === "path" || e2 === "siblingStacks" ? Object.freeze(Array.isArray(n2) ? n2.map((t3) => t3 instanceof Map ? Object.freeze(new Map(t3)) : Object.freeze({ ...t3 })) : n2) : typeof n2 == "function" ? n2.bind(t2) : n2;
|
|
9313
|
+
}, set(t2, e2) {
|
|
9314
|
+
throw new TypeError(`Cannot set property '${String(e2)}' on a read-only Matcher.`);
|
|
9315
|
+
}, deleteProperty(t2, e2) {
|
|
9316
|
+
throw new TypeError(`Cannot delete property '${String(e2)}' from a read-only Matcher.`);
|
|
9317
|
+
} });
|
|
9318
|
+
}
|
|
9301
9319
|
}
|
|
9302
9320
|
|
|
9303
|
-
class
|
|
9321
|
+
class R {
|
|
9304
9322
|
constructor(t2, e2 = {}) {
|
|
9305
9323
|
this.pattern = t2, this.separator = e2.separator || ".", this.segments = this._parse(t2), this._hasDeepWildcard = this.segments.some((t3) => t3.type === "deep-wildcard"), this._hasAttributeCondition = this.segments.some((t3) => t3.attrName !== undefined), this._hasPositionSelector = this.segments.some((t3) => t3.position !== undefined);
|
|
9306
9324
|
}
|
|
@@ -9361,7 +9379,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9361
9379
|
return this.pattern;
|
|
9362
9380
|
}
|
|
9363
9381
|
}
|
|
9364
|
-
function
|
|
9382
|
+
function U(t2, e2) {
|
|
9365
9383
|
if (!t2)
|
|
9366
9384
|
return {};
|
|
9367
9385
|
const i2 = e2.attributesGroupName ? t2[e2.attributesGroupName] : t2;
|
|
@@ -9372,7 +9390,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9372
9390
|
t3.startsWith(e2.attributeNamePrefix) ? n2[t3.substring(e2.attributeNamePrefix.length)] = i2[t3] : n2[t3] = i2[t3];
|
|
9373
9391
|
return n2;
|
|
9374
9392
|
}
|
|
9375
|
-
function
|
|
9393
|
+
function B(t2) {
|
|
9376
9394
|
if (!t2 || typeof t2 != "string")
|
|
9377
9395
|
return;
|
|
9378
9396
|
const e2 = t2.indexOf(":");
|
|
@@ -9383,37 +9401,37 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9383
9401
|
}
|
|
9384
9402
|
}
|
|
9385
9403
|
|
|
9386
|
-
class
|
|
9404
|
+
class W {
|
|
9387
9405
|
constructor(t2) {
|
|
9388
9406
|
var e2;
|
|
9389
|
-
if (this.options = t2, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "¢" }, pound: { regex: /&(pound|#163);/g, val: "£" }, yen: { regex: /&(yen|#165);/g, val: "¥" }, euro: { regex: /&(euro|#8364);/g, val: "€" }, copyright: { regex: /&(copy|#169);/g, val: "©" }, reg: { regex: /&(reg|#174);/g, val: "®" }, inr: { regex: /&(inr|#8377);/g, val: "₹" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t3, e3) =>
|
|
9407
|
+
if (this.options = t2, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "¢" }, pound: { regex: /&(pound|#163);/g, val: "£" }, yen: { regex: /&(yen|#165);/g, val: "¥" }, euro: { regex: /&(euro|#8364);/g, val: "€" }, copyright: { regex: /&(copy|#169);/g, val: "©" }, reg: { regex: /&(reg|#174);/g, val: "®" }, inr: { regex: /&(inr|#8377);/g, val: "₹" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t3, e3) => rt(e3, 10, "&#") }, num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (t3, e3) => rt(e3, 16, "&#x") } }, this.addExternalEntities = Y, this.parseXml = J, this.parseTextData = z2, this.resolveNameSpace = X, this.buildAttributesMap = Z, this.isItStopNode = tt, this.replaceEntitiesValue = Q, this.readStopNodeData = nt, this.saveTextToParentTag = H, this.addChild = K, this.ignoreAttributesFn = typeof (e2 = this.options.ignoreAttributes) == "function" ? e2 : Array.isArray(e2) ? (t3) => {
|
|
9390
9408
|
for (const i2 of e2) {
|
|
9391
9409
|
if (typeof i2 == "string" && t3 === i2)
|
|
9392
9410
|
return true;
|
|
9393
9411
|
if (i2 instanceof RegExp && i2.test(t3))
|
|
9394
9412
|
return true;
|
|
9395
9413
|
}
|
|
9396
|
-
} : () => false, this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.matcher = new
|
|
9414
|
+
} : () => false, this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.matcher = new G, this.readonlyMatcher = this.matcher.readOnly(), this.isCurrentNodeStopNode = false, this.options.stopNodes && this.options.stopNodes.length > 0) {
|
|
9397
9415
|
this.stopNodeExpressions = [];
|
|
9398
9416
|
for (let t3 = 0;t3 < this.options.stopNodes.length; t3++) {
|
|
9399
9417
|
const e3 = this.options.stopNodes[t3];
|
|
9400
|
-
typeof e3 == "string" ? this.stopNodeExpressions.push(new
|
|
9418
|
+
typeof e3 == "string" ? this.stopNodeExpressions.push(new R(e3)) : e3 instanceof R && this.stopNodeExpressions.push(e3);
|
|
9401
9419
|
}
|
|
9402
9420
|
}
|
|
9403
9421
|
}
|
|
9404
9422
|
}
|
|
9405
|
-
function
|
|
9423
|
+
function Y(t2) {
|
|
9406
9424
|
const e2 = Object.keys(t2);
|
|
9407
9425
|
for (let i2 = 0;i2 < e2.length; i2++) {
|
|
9408
9426
|
const n2 = e2[i2], s2 = n2.replace(/[.\-+*:]/g, "\\.");
|
|
9409
9427
|
this.lastEntities[n2] = { regex: new RegExp("&" + s2 + ";", "g"), val: t2[n2] };
|
|
9410
9428
|
}
|
|
9411
9429
|
}
|
|
9412
|
-
function
|
|
9430
|
+
function z2(t2, e2, i2, n2, s2, r2, o2) {
|
|
9413
9431
|
if (t2 !== undefined && (this.options.trimValues && !n2 && (t2 = t2.trim()), t2.length > 0)) {
|
|
9414
9432
|
o2 || (t2 = this.replaceEntitiesValue(t2, e2, i2));
|
|
9415
9433
|
const n3 = this.options.jPath ? i2.toString() : i2, a2 = this.options.tagValueProcessor(e2, t2, n3, s2, r2);
|
|
9416
|
-
return a2 == null ? t2 : typeof a2 != typeof t2 || a2 !== t2 ? a2 : this.options.trimValues || t2.trim() === t2 ?
|
|
9434
|
+
return a2 == null ? t2 : typeof a2 != typeof t2 || a2 !== t2 ? a2 : this.options.trimValues || t2.trim() === t2 ? st(t2, this.options.parseTagValue, this.options.numberParseOptions) : t2;
|
|
9417
9435
|
}
|
|
9418
9436
|
}
|
|
9419
9437
|
function X(t2) {
|
|
@@ -9425,28 +9443,28 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9425
9443
|
}
|
|
9426
9444
|
return t2;
|
|
9427
9445
|
}
|
|
9428
|
-
const
|
|
9429
|
-
function
|
|
9446
|
+
const q = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
|
|
9447
|
+
function Z(t2, e2, i2) {
|
|
9430
9448
|
if (this.options.ignoreAttributes !== true && typeof t2 == "string") {
|
|
9431
|
-
const n2 = s(t2,
|
|
9449
|
+
const n2 = s(t2, q), r2 = n2.length, o2 = {}, a2 = {};
|
|
9432
9450
|
for (let t3 = 0;t3 < r2; t3++) {
|
|
9433
|
-
const
|
|
9434
|
-
if (
|
|
9435
|
-
let t4 =
|
|
9436
|
-
this.options.trimValues && (t4 = t4.trim()), t4 = this.replaceEntitiesValue(t4, i2,
|
|
9451
|
+
const e3 = this.resolveNameSpace(n2[t3][1]), s2 = n2[t3][4];
|
|
9452
|
+
if (e3.length && s2 !== undefined) {
|
|
9453
|
+
let t4 = s2;
|
|
9454
|
+
this.options.trimValues && (t4 = t4.trim()), t4 = this.replaceEntitiesValue(t4, i2, this.readonlyMatcher), a2[e3] = t4;
|
|
9437
9455
|
}
|
|
9438
9456
|
}
|
|
9439
9457
|
Object.keys(a2).length > 0 && typeof e2 == "object" && e2.updateCurrent && e2.updateCurrent(a2);
|
|
9440
9458
|
for (let t3 = 0;t3 < r2; t3++) {
|
|
9441
|
-
const s2 = this.resolveNameSpace(n2[t3][1]), r3 = this.options.jPath ? e2.toString() :
|
|
9459
|
+
const s2 = this.resolveNameSpace(n2[t3][1]), r3 = this.options.jPath ? e2.toString() : this.readonlyMatcher;
|
|
9442
9460
|
if (this.ignoreAttributesFn(s2, r3))
|
|
9443
9461
|
continue;
|
|
9444
9462
|
let a3 = n2[t3][4], h2 = this.options.attributeNamePrefix + s2;
|
|
9445
9463
|
if (s2.length)
|
|
9446
|
-
if (this.options.transformAttributeName && (h2 = this.options.transformAttributeName(h2)), h2 =
|
|
9447
|
-
this.options.trimValues && (a3 = a3.trim()), a3 = this.replaceEntitiesValue(a3, i2,
|
|
9448
|
-
const t4 = this.options.jPath ? e2.toString() :
|
|
9449
|
-
o2[h2] = n3 == null ? a3 : typeof n3 != typeof a3 || n3 !== a3 ? n3 :
|
|
9464
|
+
if (this.options.transformAttributeName && (h2 = this.options.transformAttributeName(h2)), h2 = at(h2, this.options), a3 !== undefined) {
|
|
9465
|
+
this.options.trimValues && (a3 = a3.trim()), a3 = this.replaceEntitiesValue(a3, i2, this.readonlyMatcher);
|
|
9466
|
+
const t4 = this.options.jPath ? e2.toString() : this.readonlyMatcher, n3 = this.options.attributeValueProcessor(s2, a3, t4);
|
|
9467
|
+
o2[h2] = n3 == null ? a3 : typeof n3 != typeof a3 || n3 !== a3 ? n3 : st(a3, this.options.parseAttributeValue, this.options.numberParseOptions);
|
|
9450
9468
|
} else
|
|
9451
9469
|
this.options.allowBooleanAttributes && (o2[h2] = true);
|
|
9452
9470
|
}
|
|
@@ -9459,7 +9477,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9459
9477
|
return o2;
|
|
9460
9478
|
}
|
|
9461
9479
|
}
|
|
9462
|
-
const
|
|
9480
|
+
const J = function(t2) {
|
|
9463
9481
|
t2 = t2.replace(/\r\n?/g, `
|
|
9464
9482
|
`);
|
|
9465
9483
|
const e2 = new $("!xml");
|
|
@@ -9469,45 +9487,45 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9469
9487
|
for (let r2 = 0;r2 < t2.length; r2++)
|
|
9470
9488
|
if (t2[r2] === "<")
|
|
9471
9489
|
if (t2[r2 + 1] === "/") {
|
|
9472
|
-
const e3 =
|
|
9490
|
+
const e3 = et(t2, ">", r2, "Closing Tag is not closed.");
|
|
9473
9491
|
let s3 = t2.substring(r2 + 2, e3).trim();
|
|
9474
9492
|
if (this.options.removeNSPrefix) {
|
|
9475
9493
|
const t3 = s3.indexOf(":");
|
|
9476
9494
|
t3 !== -1 && (s3 = s3.substr(t3 + 1));
|
|
9477
9495
|
}
|
|
9478
|
-
s3 =
|
|
9496
|
+
s3 = ot(this.options.transformTagName, s3, "", this.options).tagName, i2 && (n2 = this.saveTextToParentTag(n2, i2, this.readonlyMatcher));
|
|
9479
9497
|
const o2 = this.matcher.getCurrentTag();
|
|
9480
9498
|
if (s3 && this.options.unpairedTags.indexOf(s3) !== -1)
|
|
9481
9499
|
throw new Error(`Unpaired tag can not be used as closing tag: </${s3}>`);
|
|
9482
9500
|
o2 && this.options.unpairedTags.indexOf(o2) !== -1 && (this.matcher.pop(), this.tagsNodeStack.pop()), this.matcher.pop(), this.isCurrentNodeStopNode = false, i2 = this.tagsNodeStack.pop(), n2 = "", r2 = e3;
|
|
9483
9501
|
} else if (t2[r2 + 1] === "?") {
|
|
9484
|
-
let e3 =
|
|
9502
|
+
let e3 = it(t2, r2, false, "?>");
|
|
9485
9503
|
if (!e3)
|
|
9486
9504
|
throw new Error("Pi Tag is not closed.");
|
|
9487
|
-
if (n2 = this.saveTextToParentTag(n2, i2, this.
|
|
9505
|
+
if (n2 = this.saveTextToParentTag(n2, i2, this.readonlyMatcher), this.options.ignoreDeclaration && e3.tagName === "?xml" || this.options.ignorePiTags)
|
|
9488
9506
|
;
|
|
9489
9507
|
else {
|
|
9490
9508
|
const t3 = new $(e3.tagName);
|
|
9491
|
-
t3.add(this.options.textNodeName, ""), e3.tagName !== e3.tagExp && e3.attrExpPresent && (t3[":@"] = this.buildAttributesMap(e3.tagExp, this.matcher, e3.tagName)), this.addChild(i2, t3, this.
|
|
9509
|
+
t3.add(this.options.textNodeName, ""), e3.tagName !== e3.tagExp && e3.attrExpPresent && (t3[":@"] = this.buildAttributesMap(e3.tagExp, this.matcher, e3.tagName)), this.addChild(i2, t3, this.readonlyMatcher, r2);
|
|
9492
9510
|
}
|
|
9493
9511
|
r2 = e3.closeIndex + 1;
|
|
9494
9512
|
} else if (t2.substr(r2 + 1, 3) === "!--") {
|
|
9495
|
-
const e3 =
|
|
9513
|
+
const e3 = et(t2, "-->", r2 + 4, "Comment is not closed.");
|
|
9496
9514
|
if (this.options.commentPropName) {
|
|
9497
9515
|
const s3 = t2.substring(r2 + 4, e3 - 2);
|
|
9498
|
-
n2 = this.saveTextToParentTag(n2, i2, this.
|
|
9516
|
+
n2 = this.saveTextToParentTag(n2, i2, this.readonlyMatcher), i2.add(this.options.commentPropName, [{ [this.options.textNodeName]: s3 }]);
|
|
9499
9517
|
}
|
|
9500
9518
|
r2 = e3;
|
|
9501
9519
|
} else if (t2.substr(r2 + 1, 2) === "!D") {
|
|
9502
9520
|
const e3 = s2.readDocType(t2, r2);
|
|
9503
9521
|
this.docTypeEntities = e3.entities, r2 = e3.i;
|
|
9504
9522
|
} else if (t2.substr(r2 + 1, 2) === "![") {
|
|
9505
|
-
const e3 =
|
|
9506
|
-
n2 = this.saveTextToParentTag(n2, i2, this.
|
|
9507
|
-
let o2 = this.parseTextData(s3, i2.tagname, this.
|
|
9523
|
+
const e3 = et(t2, "]]>", r2, "CDATA is not closed.") - 2, s3 = t2.substring(r2 + 9, e3);
|
|
9524
|
+
n2 = this.saveTextToParentTag(n2, i2, this.readonlyMatcher);
|
|
9525
|
+
let o2 = this.parseTextData(s3, i2.tagname, this.readonlyMatcher, true, false, true, true);
|
|
9508
9526
|
o2 == null && (o2 = ""), this.options.cdataPropName ? i2.add(this.options.cdataPropName, [{ [this.options.textNodeName]: s3 }]) : i2.add(this.options.textNodeName, o2), r2 = e3 + 2;
|
|
9509
9527
|
} else {
|
|
9510
|
-
let s3 =
|
|
9528
|
+
let s3 = it(t2, r2, this.options.removeNSPrefix);
|
|
9511
9529
|
if (!s3) {
|
|
9512
9530
|
const e3 = t2.substring(Math.max(0, r2 - 50), Math.min(t2.length, r2 + 50));
|
|
9513
9531
|
throw new Error(`readTagExp returned undefined at position ${r2}. Context: "${e3}"`);
|
|
@@ -9515,15 +9533,15 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9515
9533
|
let o2 = s3.tagName;
|
|
9516
9534
|
const a2 = s3.rawTagName;
|
|
9517
9535
|
let { tagExp: h2, attrExpPresent: l2, closeIndex: p2 } = s3;
|
|
9518
|
-
if ({ tagName: o2, tagExp: h2 } =
|
|
9536
|
+
if ({ tagName: o2, tagExp: h2 } = ot(this.options.transformTagName, o2, h2, this.options), this.options.strictReservedNames && (o2 === this.options.commentPropName || o2 === this.options.cdataPropName || o2 === this.options.textNodeName || o2 === this.options.attributesGroupName))
|
|
9519
9537
|
throw new Error(`Invalid tag name: ${o2}`);
|
|
9520
|
-
i2 && n2 && i2.tagname !== "!xml" && (n2 = this.saveTextToParentTag(n2, i2, this.
|
|
9538
|
+
i2 && n2 && i2.tagname !== "!xml" && (n2 = this.saveTextToParentTag(n2, i2, this.readonlyMatcher, false));
|
|
9521
9539
|
const u2 = i2;
|
|
9522
9540
|
u2 && this.options.unpairedTags.indexOf(u2.tagname) !== -1 && (i2 = this.tagsNodeStack.pop(), this.matcher.pop());
|
|
9523
9541
|
let c2 = false;
|
|
9524
9542
|
h2.length > 0 && h2.lastIndexOf("/") === h2.length - 1 && (c2 = true, o2[o2.length - 1] === "/" ? (o2 = o2.substr(0, o2.length - 1), h2 = o2) : h2 = h2.substr(0, h2.length - 1), l2 = o2 !== h2);
|
|
9525
9543
|
let d2, f2 = null, g2 = {};
|
|
9526
|
-
d2 =
|
|
9544
|
+
d2 = B(a2), o2 !== e2.tagname && this.matcher.push(o2, {}, d2), o2 !== h2 && l2 && (f2 = this.buildAttributesMap(h2, this.matcher, o2), f2 && (g2 = U(f2, this.options))), o2 !== e2.tagname && (this.isCurrentNodeStopNode = this.isItStopNode(this.stopNodeExpressions, this.matcher));
|
|
9527
9545
|
const m2 = r2;
|
|
9528
9546
|
if (this.isCurrentNodeStopNode) {
|
|
9529
9547
|
let e3 = "";
|
|
@@ -9538,23 +9556,23 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9538
9556
|
r2 = i3.i, e3 = i3.tagContent;
|
|
9539
9557
|
}
|
|
9540
9558
|
const n3 = new $(o2);
|
|
9541
|
-
f2 && (n3[":@"] = f2), n3.add(this.options.textNodeName, e3), this.matcher.pop(), this.isCurrentNodeStopNode = false, this.addChild(i2, n3, this.
|
|
9559
|
+
f2 && (n3[":@"] = f2), n3.add(this.options.textNodeName, e3), this.matcher.pop(), this.isCurrentNodeStopNode = false, this.addChild(i2, n3, this.readonlyMatcher, m2);
|
|
9542
9560
|
} else {
|
|
9543
9561
|
if (c2) {
|
|
9544
|
-
({ tagName: o2, tagExp: h2 } =
|
|
9562
|
+
({ tagName: o2, tagExp: h2 } = ot(this.options.transformTagName, o2, h2, this.options));
|
|
9545
9563
|
const t3 = new $(o2);
|
|
9546
|
-
f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.
|
|
9564
|
+
f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.readonlyMatcher, m2), this.matcher.pop(), this.isCurrentNodeStopNode = false;
|
|
9547
9565
|
} else {
|
|
9548
9566
|
if (this.options.unpairedTags.indexOf(o2) !== -1) {
|
|
9549
9567
|
const t3 = new $(o2);
|
|
9550
|
-
f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.
|
|
9568
|
+
f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.readonlyMatcher, m2), this.matcher.pop(), this.isCurrentNodeStopNode = false, r2 = s3.closeIndex;
|
|
9551
9569
|
continue;
|
|
9552
9570
|
}
|
|
9553
9571
|
{
|
|
9554
9572
|
const t3 = new $(o2);
|
|
9555
9573
|
if (this.tagsNodeStack.length > this.options.maxNestedTags)
|
|
9556
9574
|
throw new Error("Maximum nested tags exceeded");
|
|
9557
|
-
this.tagsNodeStack.push(i2), f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.
|
|
9575
|
+
this.tagsNodeStack.push(i2), f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.readonlyMatcher, m2), i2 = t3;
|
|
9558
9576
|
}
|
|
9559
9577
|
}
|
|
9560
9578
|
n2 = "", r2 = p2;
|
|
@@ -9564,12 +9582,12 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9564
9582
|
n2 += t2[r2];
|
|
9565
9583
|
return e2.child;
|
|
9566
9584
|
};
|
|
9567
|
-
function
|
|
9585
|
+
function K(t2, e2, i2, n2) {
|
|
9568
9586
|
this.options.captureMetaData || (n2 = undefined);
|
|
9569
9587
|
const s2 = this.options.jPath ? i2.toString() : i2, r2 = this.options.updateTag(e2.tagname, s2, e2[":@"]);
|
|
9570
9588
|
r2 === false || (typeof r2 == "string" ? (e2.tagname = r2, t2.addChild(e2, n2)) : t2.addChild(e2, n2));
|
|
9571
9589
|
}
|
|
9572
|
-
function
|
|
9590
|
+
function Q(t2, e2, i2) {
|
|
9573
9591
|
const n2 = this.options.processEntities;
|
|
9574
9592
|
if (!n2 || !n2.enabled)
|
|
9575
9593
|
return t2;
|
|
@@ -9610,10 +9628,10 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9610
9628
|
}
|
|
9611
9629
|
return t2.replace(this.ampEntity.regex, this.ampEntity.val);
|
|
9612
9630
|
}
|
|
9613
|
-
function
|
|
9631
|
+
function H(t2, e2, i2, n2) {
|
|
9614
9632
|
return t2 && (n2 === undefined && (n2 = e2.child.length === 0), (t2 = this.parseTextData(t2, e2.tagname, i2, false, !!e2[":@"] && Object.keys(e2[":@"]).length !== 0, n2)) !== undefined && t2 !== "" && e2.add(this.options.textNodeName, t2), t2 = ""), t2;
|
|
9615
9633
|
}
|
|
9616
|
-
function
|
|
9634
|
+
function tt(t2, e2) {
|
|
9617
9635
|
if (!t2 || t2.length === 0)
|
|
9618
9636
|
return false;
|
|
9619
9637
|
for (let i2 = 0;i2 < t2.length; i2++)
|
|
@@ -9621,13 +9639,13 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9621
9639
|
return true;
|
|
9622
9640
|
return false;
|
|
9623
9641
|
}
|
|
9624
|
-
function
|
|
9642
|
+
function et(t2, e2, i2, n2) {
|
|
9625
9643
|
const s2 = t2.indexOf(e2, i2);
|
|
9626
9644
|
if (s2 === -1)
|
|
9627
9645
|
throw new Error(n2);
|
|
9628
9646
|
return s2 + e2.length - 1;
|
|
9629
9647
|
}
|
|
9630
|
-
function
|
|
9648
|
+
function it(t2, e2, i2, n2 = ">") {
|
|
9631
9649
|
const s2 = function(t3, e3, i3 = ">") {
|
|
9632
9650
|
let n3, s3 = "";
|
|
9633
9651
|
for (let r3 = e3;r3 < t3.length; r3++) {
|
|
@@ -9659,39 +9677,39 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9659
9677
|
}
|
|
9660
9678
|
return { tagName: h2, tagExp: r2, closeIndex: o2, attrExpPresent: l2, rawTagName: p2 };
|
|
9661
9679
|
}
|
|
9662
|
-
function
|
|
9680
|
+
function nt(t2, e2, i2) {
|
|
9663
9681
|
const n2 = i2;
|
|
9664
9682
|
let s2 = 1;
|
|
9665
9683
|
for (;i2 < t2.length; i2++)
|
|
9666
9684
|
if (t2[i2] === "<")
|
|
9667
9685
|
if (t2[i2 + 1] === "/") {
|
|
9668
|
-
const r2 =
|
|
9686
|
+
const r2 = et(t2, ">", i2, `${e2} is not closed`);
|
|
9669
9687
|
if (t2.substring(i2 + 2, r2).trim() === e2 && (s2--, s2 === 0))
|
|
9670
9688
|
return { tagContent: t2.substring(n2, i2), i: r2 };
|
|
9671
9689
|
i2 = r2;
|
|
9672
9690
|
} else if (t2[i2 + 1] === "?")
|
|
9673
|
-
i2 =
|
|
9691
|
+
i2 = et(t2, "?>", i2 + 1, "StopNode is not closed.");
|
|
9674
9692
|
else if (t2.substr(i2 + 1, 3) === "!--")
|
|
9675
|
-
i2 =
|
|
9693
|
+
i2 = et(t2, "-->", i2 + 3, "StopNode is not closed.");
|
|
9676
9694
|
else if (t2.substr(i2 + 1, 2) === "![")
|
|
9677
|
-
i2 =
|
|
9695
|
+
i2 = et(t2, "]]>", i2, "StopNode is not closed.") - 2;
|
|
9678
9696
|
else {
|
|
9679
|
-
const n3 =
|
|
9697
|
+
const n3 = it(t2, i2, ">");
|
|
9680
9698
|
n3 && ((n3 && n3.tagName) === e2 && n3.tagExp[n3.tagExp.length - 1] !== "/" && s2++, i2 = n3.closeIndex);
|
|
9681
9699
|
}
|
|
9682
9700
|
}
|
|
9683
|
-
function
|
|
9701
|
+
function st(t2, e2, i2) {
|
|
9684
9702
|
if (e2 && typeof t2 == "string") {
|
|
9685
9703
|
const e3 = t2.trim();
|
|
9686
9704
|
return e3 === "true" || e3 !== "false" && function(t3, e4 = {}) {
|
|
9687
|
-
if (e4 = Object.assign({},
|
|
9705
|
+
if (e4 = Object.assign({}, k, e4), !t3 || typeof t3 != "string")
|
|
9688
9706
|
return t3;
|
|
9689
9707
|
let i3 = t3.trim();
|
|
9690
9708
|
if (e4.skipLike !== undefined && e4.skipLike.test(i3))
|
|
9691
9709
|
return t3;
|
|
9692
9710
|
if (t3 === "0")
|
|
9693
9711
|
return 0;
|
|
9694
|
-
if (e4.hex &&
|
|
9712
|
+
if (e4.hex && D.test(i3))
|
|
9695
9713
|
return function(t4) {
|
|
9696
9714
|
if (parseInt)
|
|
9697
9715
|
return parseInt(t4, 16);
|
|
@@ -9701,63 +9719,78 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9701
9719
|
return window.parseInt(t4, 16);
|
|
9702
9720
|
throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
|
|
9703
9721
|
}(i3);
|
|
9704
|
-
if (
|
|
9705
|
-
|
|
9706
|
-
|
|
9722
|
+
if (isFinite(i3)) {
|
|
9723
|
+
if (i3.includes("e") || i3.includes("E"))
|
|
9724
|
+
return function(t4, e5, i4) {
|
|
9725
|
+
if (!i4.eNotation)
|
|
9726
|
+
return t4;
|
|
9727
|
+
const n3 = e5.match(F);
|
|
9728
|
+
if (n3) {
|
|
9729
|
+
let s2 = n3[1] || "";
|
|
9730
|
+
const r2 = n3[3].indexOf("e") === -1 ? "E" : "e", o2 = n3[2], a2 = s2 ? t4[o2.length + 1] === r2 : t4[o2.length] === r2;
|
|
9731
|
+
return o2.length > 1 && a2 ? t4 : (o2.length !== 1 || !n3[3].startsWith(`.${r2}`) && n3[3][0] !== r2) && o2.length > 0 ? i4.leadingZeros && !a2 ? (e5 = (n3[1] || "") + n3[3], Number(e5)) : t4 : Number(e5);
|
|
9732
|
+
}
|
|
9707
9733
|
return t4;
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
if (s3.search(/[eE]/) !== -1)
|
|
9729
|
-
return e4.eNotation ? n3 : t3;
|
|
9730
|
-
if (i3.indexOf(".") !== -1)
|
|
9731
|
-
return s3 === "0" || s3 === a2 || s3 === `${r2}${a2}` ? n3 : t3;
|
|
9732
|
-
let h3 = o2 ? a2 : i3;
|
|
9733
|
-
return o2 ? h3 === s3 || r2 + h3 === s3 ? n3 : t3 : h3 === s3 || h3 === r2 + s3 ? n3 : t3;
|
|
9734
|
+
}(t3, i3, e4);
|
|
9735
|
+
{
|
|
9736
|
+
const s2 = V.exec(i3);
|
|
9737
|
+
if (s2) {
|
|
9738
|
+
const r2 = s2[1] || "", o2 = s2[2];
|
|
9739
|
+
let a2 = (n2 = s2[3]) && n2.indexOf(".") !== -1 ? ((n2 = n2.replace(/0+$/, "")) === "." ? n2 = "0" : n2[0] === "." ? n2 = "0" + n2 : n2[n2.length - 1] === "." && (n2 = n2.substring(0, n2.length - 1)), n2) : n2;
|
|
9740
|
+
const h2 = r2 ? t3[o2.length + 1] === "." : t3[o2.length] === ".";
|
|
9741
|
+
if (!e4.leadingZeros && (o2.length > 1 || o2.length === 1 && !h2))
|
|
9742
|
+
return t3;
|
|
9743
|
+
{
|
|
9744
|
+
const n3 = Number(i3), s3 = String(n3);
|
|
9745
|
+
if (n3 === 0)
|
|
9746
|
+
return n3;
|
|
9747
|
+
if (s3.search(/[eE]/) !== -1)
|
|
9748
|
+
return e4.eNotation ? n3 : t3;
|
|
9749
|
+
if (i3.indexOf(".") !== -1)
|
|
9750
|
+
return s3 === "0" || s3 === a2 || s3 === `${r2}${a2}` ? n3 : t3;
|
|
9751
|
+
let h3 = o2 ? a2 : i3;
|
|
9752
|
+
return o2 ? h3 === s3 || r2 + h3 === s3 ? n3 : t3 : h3 === s3 || h3 === r2 + s3 ? n3 : t3;
|
|
9753
|
+
}
|
|
9734
9754
|
}
|
|
9755
|
+
return t3;
|
|
9735
9756
|
}
|
|
9736
|
-
return t3;
|
|
9737
9757
|
}
|
|
9738
9758
|
var n2;
|
|
9759
|
+
return function(t4, e5, i4) {
|
|
9760
|
+
const n3 = e5 === 1 / 0;
|
|
9761
|
+
switch (i4.infinity.toLowerCase()) {
|
|
9762
|
+
case "null":
|
|
9763
|
+
return null;
|
|
9764
|
+
case "infinity":
|
|
9765
|
+
return e5;
|
|
9766
|
+
case "string":
|
|
9767
|
+
return n3 ? "Infinity" : "-Infinity";
|
|
9768
|
+
default:
|
|
9769
|
+
return t4;
|
|
9770
|
+
}
|
|
9771
|
+
}(t3, Number(i3), e4);
|
|
9739
9772
|
}(t2, i2);
|
|
9740
9773
|
}
|
|
9741
9774
|
return t2 !== undefined ? t2 : "";
|
|
9742
9775
|
}
|
|
9743
|
-
function
|
|
9776
|
+
function rt(t2, e2, i2) {
|
|
9744
9777
|
const n2 = Number.parseInt(t2, e2);
|
|
9745
9778
|
return n2 >= 0 && n2 <= 1114111 ? String.fromCodePoint(n2) : i2 + t2 + ";";
|
|
9746
9779
|
}
|
|
9747
|
-
function
|
|
9780
|
+
function ot(t2, e2, i2, n2) {
|
|
9748
9781
|
if (t2) {
|
|
9749
9782
|
const n3 = t2(e2);
|
|
9750
9783
|
i2 === e2 && (i2 = n3), e2 = n3;
|
|
9751
9784
|
}
|
|
9752
|
-
return { tagName: e2 =
|
|
9785
|
+
return { tagName: e2 = at(e2, n2), tagExp: i2 };
|
|
9753
9786
|
}
|
|
9754
|
-
function
|
|
9787
|
+
function at(t2, e2) {
|
|
9755
9788
|
if (a.includes(t2))
|
|
9756
9789
|
throw new Error(`[SECURITY] Invalid name: "${t2}" is a reserved JavaScript keyword that could cause prototype pollution`);
|
|
9757
9790
|
return o.includes(t2) ? e2.onDangerousProperty(t2) : t2;
|
|
9758
9791
|
}
|
|
9759
|
-
const
|
|
9760
|
-
function
|
|
9792
|
+
const ht = $.getMetaDataSymbol();
|
|
9793
|
+
function lt(t2, e2) {
|
|
9761
9794
|
if (!t2 || typeof t2 != "object")
|
|
9762
9795
|
return {};
|
|
9763
9796
|
if (!e2)
|
|
@@ -9767,39 +9800,39 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9767
9800
|
n2.startsWith(e2) ? i2[n2.substring(e2.length)] = t2[n2] : i2[n2] = t2[n2];
|
|
9768
9801
|
return i2;
|
|
9769
9802
|
}
|
|
9770
|
-
function
|
|
9771
|
-
return
|
|
9803
|
+
function pt(t2, e2, i2, n2) {
|
|
9804
|
+
return ut(t2, e2, i2, n2);
|
|
9772
9805
|
}
|
|
9773
|
-
function
|
|
9774
|
-
let
|
|
9775
|
-
const
|
|
9776
|
-
for (let
|
|
9777
|
-
const
|
|
9778
|
-
if (
|
|
9779
|
-
const t3 =
|
|
9780
|
-
i2.push(
|
|
9806
|
+
function ut(t2, e2, i2, n2) {
|
|
9807
|
+
let s2;
|
|
9808
|
+
const r2 = {};
|
|
9809
|
+
for (let o2 = 0;o2 < t2.length; o2++) {
|
|
9810
|
+
const a2 = t2[o2], h2 = ct(a2);
|
|
9811
|
+
if (h2 !== undefined && h2 !== e2.textNodeName) {
|
|
9812
|
+
const t3 = lt(a2[":@"] || {}, e2.attributeNamePrefix);
|
|
9813
|
+
i2.push(h2, t3);
|
|
9781
9814
|
}
|
|
9782
|
-
if (
|
|
9783
|
-
|
|
9815
|
+
if (h2 === e2.textNodeName)
|
|
9816
|
+
s2 === undefined ? s2 = a2[h2] : s2 += "" + a2[h2];
|
|
9784
9817
|
else {
|
|
9785
|
-
if (
|
|
9818
|
+
if (h2 === undefined)
|
|
9786
9819
|
continue;
|
|
9787
|
-
if (
|
|
9788
|
-
let t3 =
|
|
9789
|
-
const
|
|
9790
|
-
if (
|
|
9791
|
-
Array.isArray(
|
|
9820
|
+
if (a2[h2]) {
|
|
9821
|
+
let t3 = ut(a2[h2], e2, i2, n2);
|
|
9822
|
+
const s3 = ft(t3, e2);
|
|
9823
|
+
if (a2[":@"] ? dt(t3, a2[":@"], n2, e2) : Object.keys(t3).length !== 1 || t3[e2.textNodeName] === undefined || e2.alwaysCreateTextNode ? Object.keys(t3).length === 0 && (e2.alwaysCreateTextNode ? t3[e2.textNodeName] = "" : t3 = "") : t3 = t3[e2.textNodeName], a2[ht] !== undefined && typeof t3 == "object" && t3 !== null && (t3[ht] = a2[ht]), r2[h2] !== undefined && Object.prototype.hasOwnProperty.call(r2, h2))
|
|
9824
|
+
Array.isArray(r2[h2]) || (r2[h2] = [r2[h2]]), r2[h2].push(t3);
|
|
9792
9825
|
else {
|
|
9793
|
-
const
|
|
9794
|
-
e2.isArray(
|
|
9826
|
+
const i3 = e2.jPath ? n2.toString() : n2;
|
|
9827
|
+
e2.isArray(h2, i3, s3) ? r2[h2] = [t3] : r2[h2] = t3;
|
|
9795
9828
|
}
|
|
9796
|
-
|
|
9829
|
+
h2 !== undefined && h2 !== e2.textNodeName && i2.pop();
|
|
9797
9830
|
}
|
|
9798
9831
|
}
|
|
9799
9832
|
}
|
|
9800
|
-
return typeof
|
|
9833
|
+
return typeof s2 == "string" ? s2.length > 0 && (r2[e2.textNodeName] = s2) : s2 !== undefined && (r2[e2.textNodeName] = s2), r2;
|
|
9801
9834
|
}
|
|
9802
|
-
function
|
|
9835
|
+
function ct(t2) {
|
|
9803
9836
|
const e2 = Object.keys(t2);
|
|
9804
9837
|
for (let t3 = 0;t3 < e2.length; t3++) {
|
|
9805
9838
|
const i2 = e2[t3];
|
|
@@ -9807,7 +9840,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9807
9840
|
return i2;
|
|
9808
9841
|
}
|
|
9809
9842
|
}
|
|
9810
|
-
function
|
|
9843
|
+
function dt(t2, e2, i2, n2) {
|
|
9811
9844
|
if (e2) {
|
|
9812
9845
|
const s2 = Object.keys(e2), r2 = s2.length;
|
|
9813
9846
|
for (let o2 = 0;o2 < r2; o2++) {
|
|
@@ -9816,14 +9849,14 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9816
9849
|
}
|
|
9817
9850
|
}
|
|
9818
9851
|
}
|
|
9819
|
-
function
|
|
9852
|
+
function ft(t2, e2) {
|
|
9820
9853
|
const { textNodeName: i2 } = e2, n2 = Object.keys(t2).length;
|
|
9821
9854
|
return n2 === 0 || !(n2 !== 1 || !t2[i2] && typeof t2[i2] != "boolean" && t2[i2] !== 0);
|
|
9822
9855
|
}
|
|
9823
9856
|
|
|
9824
|
-
class
|
|
9857
|
+
class gt3 {
|
|
9825
9858
|
constructor(t2) {
|
|
9826
|
-
this.externalEntities = {}, this.options =
|
|
9859
|
+
this.externalEntities = {}, this.options = O(t2);
|
|
9827
9860
|
}
|
|
9828
9861
|
parse(t2, e2) {
|
|
9829
9862
|
if (typeof t2 != "string" && t2.toString)
|
|
@@ -9836,10 +9869,10 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9836
9869
|
if (i3 !== true)
|
|
9837
9870
|
throw Error(`${i3.err.msg}:${i3.err.line}:${i3.err.col}`);
|
|
9838
9871
|
}
|
|
9839
|
-
const i2 = new
|
|
9872
|
+
const i2 = new W(this.options);
|
|
9840
9873
|
i2.addExternalEntities(this.externalEntities);
|
|
9841
9874
|
const n2 = i2.parseXml(t2);
|
|
9842
|
-
return this.options.preserveOrder || n2 === undefined ? n2 :
|
|
9875
|
+
return this.options.preserveOrder || n2 === undefined ? n2 : pt(n2, this.options, i2.matcher, i2.readonlyMatcher);
|
|
9843
9876
|
}
|
|
9844
9877
|
addEntity(t2, e2) {
|
|
9845
9878
|
if (e2.indexOf("&") !== -1)
|
|
@@ -9854,7 +9887,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9854
9887
|
return $.getMetaDataSymbol();
|
|
9855
9888
|
}
|
|
9856
9889
|
}
|
|
9857
|
-
function
|
|
9890
|
+
function mt(t2, e2) {
|
|
9858
9891
|
let i2 = "";
|
|
9859
9892
|
e2.format && e2.indentBy.length > 0 && (i2 = `
|
|
9860
9893
|
`);
|
|
@@ -9862,31 +9895,31 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9862
9895
|
if (e2.stopNodes && Array.isArray(e2.stopNodes))
|
|
9863
9896
|
for (let t3 = 0;t3 < e2.stopNodes.length; t3++) {
|
|
9864
9897
|
const i3 = e2.stopNodes[t3];
|
|
9865
|
-
typeof i3 == "string" ? n2.push(new
|
|
9898
|
+
typeof i3 == "string" ? n2.push(new R(i3)) : i3 instanceof R && n2.push(i3);
|
|
9866
9899
|
}
|
|
9867
|
-
return
|
|
9900
|
+
return xt(t2, e2, i2, new G, n2);
|
|
9868
9901
|
}
|
|
9869
|
-
function
|
|
9902
|
+
function xt(t2, e2, i2, n2, s2) {
|
|
9870
9903
|
let r2 = "", o2 = false;
|
|
9871
9904
|
if (e2.maxNestedTags && n2.getDepth() > e2.maxNestedTags)
|
|
9872
9905
|
throw new Error("Maximum nested tags exceeded");
|
|
9873
9906
|
if (!Array.isArray(t2)) {
|
|
9874
9907
|
if (t2 != null) {
|
|
9875
9908
|
let i3 = t2.toString();
|
|
9876
|
-
return i3 =
|
|
9909
|
+
return i3 = Tt(i3, e2), i3;
|
|
9877
9910
|
}
|
|
9878
9911
|
return "";
|
|
9879
9912
|
}
|
|
9880
9913
|
for (let a2 = 0;a2 < t2.length; a2++) {
|
|
9881
|
-
const h2 = t2[a2], l2 =
|
|
9914
|
+
const h2 = t2[a2], l2 = yt(h2);
|
|
9882
9915
|
if (l2 === undefined)
|
|
9883
9916
|
continue;
|
|
9884
|
-
const p2 =
|
|
9917
|
+
const p2 = Nt(h2[":@"], e2);
|
|
9885
9918
|
n2.push(l2, p2);
|
|
9886
|
-
const u2 =
|
|
9919
|
+
const u2 = vt(n2, s2);
|
|
9887
9920
|
if (l2 === e2.textNodeName) {
|
|
9888
9921
|
let t3 = h2[l2];
|
|
9889
|
-
u2 || (t3 = e2.tagValueProcessor(l2, t3), t3 =
|
|
9922
|
+
u2 || (t3 = e2.tagValueProcessor(l2, t3), t3 = Tt(t3, e2)), o2 && (r2 += i2), r2 += t3, o2 = false, n2.pop();
|
|
9890
9923
|
continue;
|
|
9891
9924
|
}
|
|
9892
9925
|
if (l2 === e2.cdataPropName) {
|
|
@@ -9898,20 +9931,20 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9898
9931
|
continue;
|
|
9899
9932
|
}
|
|
9900
9933
|
if (l2[0] === "?") {
|
|
9901
|
-
const t3 =
|
|
9934
|
+
const t3 = wt(h2[":@"], e2, u2), s3 = l2 === "?xml" ? "" : i2;
|
|
9902
9935
|
let a3 = h2[l2][0][e2.textNodeName];
|
|
9903
9936
|
a3 = a3.length !== 0 ? " " + a3 : "", r2 += s3 + `<${l2}${a3}${t3}?>`, o2 = true, n2.pop();
|
|
9904
9937
|
continue;
|
|
9905
9938
|
}
|
|
9906
9939
|
let c2 = i2;
|
|
9907
9940
|
c2 !== "" && (c2 += e2.indentBy);
|
|
9908
|
-
const d2 = i2 + `<${l2}${
|
|
9941
|
+
const d2 = i2 + `<${l2}${wt(h2[":@"], e2, u2)}`;
|
|
9909
9942
|
let f2;
|
|
9910
|
-
f2 = u2 ?
|
|
9943
|
+
f2 = u2 ? bt(h2[l2], e2) : xt(h2[l2], e2, c2, n2, s2), e2.unpairedTags.indexOf(l2) !== -1 ? e2.suppressUnpairedNode ? r2 += d2 + ">" : r2 += d2 + "/>" : f2 && f2.length !== 0 || !e2.suppressEmptyNode ? f2 && f2.endsWith(">") ? r2 += d2 + `>${f2}${i2}</${l2}>` : (r2 += d2 + ">", f2 && i2 !== "" && (f2.includes("/>") || f2.includes("</")) ? r2 += i2 + e2.indentBy + f2 + i2 : r2 += f2, r2 += `</${l2}>`) : r2 += d2 + "/>", o2 = true, n2.pop();
|
|
9911
9944
|
}
|
|
9912
9945
|
return r2;
|
|
9913
9946
|
}
|
|
9914
|
-
function
|
|
9947
|
+
function Nt(t2, e2) {
|
|
9915
9948
|
if (!t2 || e2.ignoreAttributes)
|
|
9916
9949
|
return null;
|
|
9917
9950
|
const i2 = {};
|
|
@@ -9920,12 +9953,12 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9920
9953
|
Object.prototype.hasOwnProperty.call(t2, s2) && (i2[s2.startsWith(e2.attributeNamePrefix) ? s2.substr(e2.attributeNamePrefix.length) : s2] = t2[s2], n2 = true);
|
|
9921
9954
|
return n2 ? i2 : null;
|
|
9922
9955
|
}
|
|
9923
|
-
function
|
|
9956
|
+
function bt(t2, e2) {
|
|
9924
9957
|
if (!Array.isArray(t2))
|
|
9925
9958
|
return t2 != null ? t2.toString() : "";
|
|
9926
9959
|
let i2 = "";
|
|
9927
9960
|
for (let n2 = 0;n2 < t2.length; n2++) {
|
|
9928
|
-
const s2 = t2[n2], r2 =
|
|
9961
|
+
const s2 = t2[n2], r2 = yt(s2);
|
|
9929
9962
|
if (r2 === e2.textNodeName)
|
|
9930
9963
|
i2 += s2[r2];
|
|
9931
9964
|
else if (r2 === e2.cdataPropName)
|
|
@@ -9936,14 +9969,14 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9936
9969
|
if (r2 && r2[0] === "?")
|
|
9937
9970
|
continue;
|
|
9938
9971
|
if (r2) {
|
|
9939
|
-
const t3 =
|
|
9972
|
+
const t3 = Et(s2[":@"], e2), n3 = bt(s2[r2], e2);
|
|
9940
9973
|
n3 && n3.length !== 0 ? i2 += `<${r2}${t3}>${n3}</${r2}>` : i2 += `<${r2}${t3}/>`;
|
|
9941
9974
|
}
|
|
9942
9975
|
}
|
|
9943
9976
|
}
|
|
9944
9977
|
return i2;
|
|
9945
9978
|
}
|
|
9946
|
-
function
|
|
9979
|
+
function Et(t2, e2) {
|
|
9947
9980
|
let i2 = "";
|
|
9948
9981
|
if (t2 && !e2.ignoreAttributes)
|
|
9949
9982
|
for (let n2 in t2) {
|
|
@@ -9954,7 +9987,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9954
9987
|
}
|
|
9955
9988
|
return i2;
|
|
9956
9989
|
}
|
|
9957
|
-
function
|
|
9990
|
+
function yt(t2) {
|
|
9958
9991
|
const e2 = Object.keys(t2);
|
|
9959
9992
|
for (let i2 = 0;i2 < e2.length; i2++) {
|
|
9960
9993
|
const n2 = e2[i2];
|
|
@@ -9962,18 +9995,18 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9962
9995
|
return n2;
|
|
9963
9996
|
}
|
|
9964
9997
|
}
|
|
9965
|
-
function
|
|
9998
|
+
function wt(t2, e2, i2) {
|
|
9966
9999
|
let n2 = "";
|
|
9967
10000
|
if (t2 && !e2.ignoreAttributes)
|
|
9968
10001
|
for (let s2 in t2) {
|
|
9969
10002
|
if (!Object.prototype.hasOwnProperty.call(t2, s2))
|
|
9970
10003
|
continue;
|
|
9971
10004
|
let r2;
|
|
9972
|
-
i2 ? r2 = t2[s2] : (r2 = e2.attributeValueProcessor(s2, t2[s2]), r2 =
|
|
10005
|
+
i2 ? r2 = t2[s2] : (r2 = e2.attributeValueProcessor(s2, t2[s2]), r2 = Tt(r2, e2)), r2 === true && e2.suppressBooleanAttributes ? n2 += ` ${s2.substr(e2.attributeNamePrefix.length)}` : n2 += ` ${s2.substr(e2.attributeNamePrefix.length)}="${r2}"`;
|
|
9973
10006
|
}
|
|
9974
10007
|
return n2;
|
|
9975
10008
|
}
|
|
9976
|
-
function
|
|
10009
|
+
function vt(t2, e2) {
|
|
9977
10010
|
if (!e2 || e2.length === 0)
|
|
9978
10011
|
return false;
|
|
9979
10012
|
for (let i2 = 0;i2 < e2.length; i2++)
|
|
@@ -9981,7 +10014,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9981
10014
|
return true;
|
|
9982
10015
|
return false;
|
|
9983
10016
|
}
|
|
9984
|
-
function
|
|
10017
|
+
function Tt(t2, e2) {
|
|
9985
10018
|
if (t2 && t2.length > 0 && e2.processEntities)
|
|
9986
10019
|
for (let i2 = 0;i2 < e2.entities.length; i2++) {
|
|
9987
10020
|
const n2 = e2.entities[i2];
|
|
@@ -9989,16 +10022,16 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
9989
10022
|
}
|
|
9990
10023
|
return t2;
|
|
9991
10024
|
}
|
|
9992
|
-
const
|
|
10025
|
+
const Pt = { attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, cdataPropName: false, format: false, indentBy: " ", suppressEmptyNode: false, suppressUnpairedNode: true, suppressBooleanAttributes: true, tagValueProcessor: function(t2, e2) {
|
|
9993
10026
|
return e2;
|
|
9994
10027
|
}, attributeValueProcessor: function(t2, e2) {
|
|
9995
10028
|
return e2;
|
|
9996
10029
|
}, preserveOrder: false, commentPropName: false, unpairedTags: [], entities: [{ regex: new RegExp("&", "g"), val: "&" }, { regex: new RegExp(">", "g"), val: ">" }, { regex: new RegExp("<", "g"), val: "<" }, { regex: new RegExp("'", "g"), val: "'" }, { regex: new RegExp('"', "g"), val: """ }], processEntities: true, stopNodes: [], oneListGroup: false, maxNestedTags: 100, jPath: true };
|
|
9997
|
-
function
|
|
9998
|
-
if (this.options = Object.assign({},
|
|
10030
|
+
function St(t2) {
|
|
10031
|
+
if (this.options = Object.assign({}, Pt, t2), this.options.stopNodes && Array.isArray(this.options.stopNodes) && (this.options.stopNodes = this.options.stopNodes.map((t3) => typeof t3 == "string" && t3.startsWith("*.") ? ".." + t3.substring(2) : t3)), this.stopNodeExpressions = [], this.options.stopNodes && Array.isArray(this.options.stopNodes))
|
|
9999
10032
|
for (let t3 = 0;t3 < this.options.stopNodes.length; t3++) {
|
|
10000
10033
|
const e3 = this.options.stopNodes[t3];
|
|
10001
|
-
typeof e3 == "string" ? this.stopNodeExpressions.push(new
|
|
10034
|
+
typeof e3 == "string" ? this.stopNodeExpressions.push(new R(e3)) : e3 instanceof R && this.stopNodeExpressions.push(e3);
|
|
10002
10035
|
}
|
|
10003
10036
|
var e2;
|
|
10004
10037
|
this.options.ignoreAttributes === true || this.options.attributesGroupName ? this.isAttribute = function() {
|
|
@@ -10010,13 +10043,13 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
10010
10043
|
if (i2 instanceof RegExp && i2.test(t3))
|
|
10011
10044
|
return true;
|
|
10012
10045
|
}
|
|
10013
|
-
} : () => false, this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = Ct), this.processTextOrObjNode =
|
|
10046
|
+
} : () => false, this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = Ct), this.processTextOrObjNode = At, this.options.format ? (this.indentate = Ot, this.tagEndChar = `>
|
|
10014
10047
|
`, this.newLine = `
|
|
10015
10048
|
`) : (this.indentate = function() {
|
|
10016
10049
|
return "";
|
|
10017
10050
|
}, this.tagEndChar = ">", this.newLine = "");
|
|
10018
10051
|
}
|
|
10019
|
-
function
|
|
10052
|
+
function At(t2, e2, i2, n2) {
|
|
10020
10053
|
const s2 = this.extractAttributes(t2);
|
|
10021
10054
|
if (n2.push(e2, s2), this.checkStopNode(n2)) {
|
|
10022
10055
|
const s3 = this.buildRawContent(t2), r3 = this.buildAttributesForStopNode(t2);
|
|
@@ -10025,21 +10058,21 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
10025
10058
|
const r2 = this.j2x(t2, i2 + 1, n2);
|
|
10026
10059
|
return n2.pop(), t2[this.options.textNodeName] !== undefined && Object.keys(t2).length === 1 ? this.buildTextValNode(t2[this.options.textNodeName], e2, r2.attrStr, i2, n2) : this.buildObjectNode(r2.val, e2, r2.attrStr, i2);
|
|
10027
10060
|
}
|
|
10028
|
-
function
|
|
10061
|
+
function Ot(t2) {
|
|
10029
10062
|
return this.options.indentBy.repeat(t2);
|
|
10030
10063
|
}
|
|
10031
10064
|
function Ct(t2) {
|
|
10032
10065
|
return !(!t2.startsWith(this.options.attributeNamePrefix) || t2 === this.options.textNodeName) && t2.substr(this.attrPrefixLen);
|
|
10033
10066
|
}
|
|
10034
|
-
|
|
10067
|
+
St.prototype.build = function(t2) {
|
|
10035
10068
|
if (this.options.preserveOrder)
|
|
10036
|
-
return
|
|
10069
|
+
return mt(t2, this.options);
|
|
10037
10070
|
{
|
|
10038
10071
|
Array.isArray(t2) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t2 = { [this.options.arrayNodeName]: t2 });
|
|
10039
|
-
const e2 = new
|
|
10072
|
+
const e2 = new G;
|
|
10040
10073
|
return this.j2x(t2, 0, e2).val;
|
|
10041
10074
|
}
|
|
10042
|
-
},
|
|
10075
|
+
}, St.prototype.j2x = function(t2, e2, i2) {
|
|
10043
10076
|
let n2 = "", s2 = "";
|
|
10044
10077
|
if (this.options.maxNestedTags && i2.getDepth() >= this.options.maxNestedTags)
|
|
10045
10078
|
throw new Error("Maximum nested tags exceeded");
|
|
@@ -10106,9 +10139,9 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
10106
10139
|
} else
|
|
10107
10140
|
s2 += this.processTextOrObjNode(t2[a2], a2, e2, i2);
|
|
10108
10141
|
return { attrStr: n2, val: s2 };
|
|
10109
|
-
},
|
|
10142
|
+
}, St.prototype.buildAttrPairStr = function(t2, e2, i2) {
|
|
10110
10143
|
return i2 || (e2 = this.options.attributeValueProcessor(t2, "" + e2), e2 = this.replaceEntitiesValue(e2)), this.options.suppressBooleanAttributes && e2 === "true" ? " " + t2 : " " + t2 + '="' + e2 + '"';
|
|
10111
|
-
},
|
|
10144
|
+
}, St.prototype.extractAttributes = function(t2) {
|
|
10112
10145
|
if (!t2 || typeof t2 != "object")
|
|
10113
10146
|
return null;
|
|
10114
10147
|
const e2 = {};
|
|
@@ -10125,7 +10158,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
10125
10158
|
s2 && (e2[s2] = t2[n2], i2 = true);
|
|
10126
10159
|
}
|
|
10127
10160
|
return i2 ? e2 : null;
|
|
10128
|
-
},
|
|
10161
|
+
}, St.prototype.buildRawContent = function(t2) {
|
|
10129
10162
|
if (typeof t2 == "string")
|
|
10130
10163
|
return t2;
|
|
10131
10164
|
if (typeof t2 != "object" || t2 === null)
|
|
@@ -10158,7 +10191,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
10158
10191
|
e2 += `<${i2}>${n2}</${i2}>`;
|
|
10159
10192
|
}
|
|
10160
10193
|
return e2;
|
|
10161
|
-
},
|
|
10194
|
+
}, St.prototype.buildAttributesForStopNode = function(t2) {
|
|
10162
10195
|
if (!t2 || typeof t2 != "object")
|
|
10163
10196
|
return "";
|
|
10164
10197
|
let e2 = "";
|
|
@@ -10181,24 +10214,24 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
10181
10214
|
}
|
|
10182
10215
|
}
|
|
10183
10216
|
return e2;
|
|
10184
|
-
},
|
|
10217
|
+
}, St.prototype.buildObjectNode = function(t2, e2, i2, n2) {
|
|
10185
10218
|
if (t2 === "")
|
|
10186
10219
|
return e2[0] === "?" ? this.indentate(n2) + "<" + e2 + i2 + "?" + this.tagEndChar : this.indentate(n2) + "<" + e2 + i2 + this.closeTag(e2) + this.tagEndChar;
|
|
10187
10220
|
{
|
|
10188
10221
|
let s2 = "</" + e2 + this.tagEndChar, r2 = "";
|
|
10189
10222
|
return e2[0] === "?" && (r2 = "?", s2 = ""), !i2 && i2 !== "" || t2.indexOf("<") !== -1 ? this.options.commentPropName !== false && e2 === this.options.commentPropName && r2.length === 0 ? this.indentate(n2) + `<!--${t2}-->` + this.newLine : this.indentate(n2) + "<" + e2 + i2 + r2 + this.tagEndChar + t2 + this.indentate(n2) + s2 : this.indentate(n2) + "<" + e2 + i2 + r2 + ">" + t2 + s2;
|
|
10190
10223
|
}
|
|
10191
|
-
},
|
|
10224
|
+
}, St.prototype.closeTag = function(t2) {
|
|
10192
10225
|
let e2 = "";
|
|
10193
10226
|
return this.options.unpairedTags.indexOf(t2) !== -1 ? this.options.suppressUnpairedNode || (e2 = "/") : e2 = this.options.suppressEmptyNode ? "/" : `></${t2}`, e2;
|
|
10194
|
-
},
|
|
10227
|
+
}, St.prototype.checkStopNode = function(t2) {
|
|
10195
10228
|
if (!this.stopNodeExpressions || this.stopNodeExpressions.length === 0)
|
|
10196
10229
|
return false;
|
|
10197
10230
|
for (let e2 = 0;e2 < this.stopNodeExpressions.length; e2++)
|
|
10198
10231
|
if (t2.matches(this.stopNodeExpressions[e2]))
|
|
10199
10232
|
return true;
|
|
10200
10233
|
return false;
|
|
10201
|
-
},
|
|
10234
|
+
}, St.prototype.buildTextValNode = function(t2, e2, i2, n2, s2) {
|
|
10202
10235
|
if (this.options.cdataPropName !== false && e2 === this.options.cdataPropName)
|
|
10203
10236
|
return this.indentate(n2) + `<![CDATA[${t2}]]>` + this.newLine;
|
|
10204
10237
|
if (this.options.commentPropName !== false && e2 === this.options.commentPropName)
|
|
@@ -10209,7 +10242,7 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
10209
10242
|
let s3 = this.options.tagValueProcessor(e2, t2);
|
|
10210
10243
|
return s3 = this.replaceEntitiesValue(s3), s3 === "" ? this.indentate(n2) + "<" + e2 + i2 + this.closeTag(e2) + this.tagEndChar : this.indentate(n2) + "<" + e2 + i2 + ">" + s3 + "</" + e2 + this.tagEndChar;
|
|
10211
10244
|
}
|
|
10212
|
-
},
|
|
10245
|
+
}, St.prototype.replaceEntitiesValue = function(t2) {
|
|
10213
10246
|
if (t2 && t2.length > 0 && this.options.processEntities)
|
|
10214
10247
|
for (let e2 = 0;e2 < this.options.entities.length; e2++) {
|
|
10215
10248
|
const i2 = this.options.entities[e2];
|
|
@@ -10217,18 +10250,22 @@ var require_fxp = __commonJS((exports, module) => {
|
|
|
10217
10250
|
}
|
|
10218
10251
|
return t2;
|
|
10219
10252
|
};
|
|
10220
|
-
const
|
|
10253
|
+
const $t = St, It = { validate: l };
|
|
10221
10254
|
module.exports = e;
|
|
10222
10255
|
})();
|
|
10223
10256
|
});
|
|
10224
10257
|
|
|
10225
|
-
// ../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.
|
|
10258
|
+
// ../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.15/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js
|
|
10226
10259
|
var require_xml_parser = __commonJS((exports) => {
|
|
10227
10260
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10228
10261
|
exports.parseXML = parseXML;
|
|
10229
10262
|
var fast_xml_parser_1 = require_fxp();
|
|
10230
10263
|
var parser = new fast_xml_parser_1.XMLParser({
|
|
10231
10264
|
attributeNamePrefix: "",
|
|
10265
|
+
processEntities: {
|
|
10266
|
+
enabled: true,
|
|
10267
|
+
maxTotalExpansions: Infinity
|
|
10268
|
+
},
|
|
10232
10269
|
htmlEntities: true,
|
|
10233
10270
|
ignoreAttributes: false,
|
|
10234
10271
|
ignoreDeclaration: true,
|
|
@@ -10236,7 +10273,7 @@ var require_xml_parser = __commonJS((exports) => {
|
|
|
10236
10273
|
trimValues: false,
|
|
10237
10274
|
tagValueProcessor: (_, val) => val.trim() === "" && val.includes(`
|
|
10238
10275
|
`) ? "" : undefined,
|
|
10239
|
-
maxNestedTags:
|
|
10276
|
+
maxNestedTags: Infinity
|
|
10240
10277
|
});
|
|
10241
10278
|
parser.addEntity("#xD", "\r");
|
|
10242
10279
|
parser.addEntity("#10", `
|
|
@@ -10246,14 +10283,33 @@ var require_xml_parser = __commonJS((exports) => {
|
|
|
10246
10283
|
}
|
|
10247
10284
|
});
|
|
10248
10285
|
|
|
10249
|
-
// ../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.
|
|
10286
|
+
// ../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.15/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
|
|
10250
10287
|
var require_dist_cjs24 = __commonJS((exports) => {
|
|
10251
10288
|
var xmlParser = require_xml_parser();
|
|
10289
|
+
var ATTR_ESCAPE_RE = /[&<>"]/g;
|
|
10290
|
+
var ATTR_ESCAPE_MAP = {
|
|
10291
|
+
"&": "&",
|
|
10292
|
+
"<": "<",
|
|
10293
|
+
">": ">",
|
|
10294
|
+
'"': """
|
|
10295
|
+
};
|
|
10252
10296
|
function escapeAttribute(value) {
|
|
10253
|
-
return value.replace(
|
|
10254
|
-
}
|
|
10297
|
+
return value.replace(ATTR_ESCAPE_RE, (ch) => ATTR_ESCAPE_MAP[ch]);
|
|
10298
|
+
}
|
|
10299
|
+
var ELEMENT_ESCAPE_RE = /[&"'<>\r\n\u0085\u2028]/g;
|
|
10300
|
+
var ELEMENT_ESCAPE_MAP = {
|
|
10301
|
+
"&": "&",
|
|
10302
|
+
'"': """,
|
|
10303
|
+
"'": "'",
|
|
10304
|
+
"<": "<",
|
|
10305
|
+
">": ">",
|
|
10306
|
+
"\r": "
",
|
|
10307
|
+
"\n": "
",
|
|
10308
|
+
"
": "…",
|
|
10309
|
+
"\u2028": "
"
|
|
10310
|
+
};
|
|
10255
10311
|
function escapeElement(value) {
|
|
10256
|
-
return value.replace(
|
|
10312
|
+
return value.replace(ELEMENT_ESCAPE_RE, (ch) => ELEMENT_ESCAPE_MAP[ch]);
|
|
10257
10313
|
}
|
|
10258
10314
|
|
|
10259
10315
|
class XmlText {
|
|
@@ -10357,7 +10413,7 @@ var require_dist_cjs24 = __commonJS((exports) => {
|
|
|
10357
10413
|
exports.XmlText = XmlText;
|
|
10358
10414
|
});
|
|
10359
10415
|
|
|
10360
|
-
// ../node_modules/.pnpm/@aws-sdk+core@3.973.
|
|
10416
|
+
// ../node_modules/.pnpm/@aws-sdk+core@3.973.23/node_modules/@aws-sdk/core/dist-cjs/index.js
|
|
10361
10417
|
var require_dist_cjs25 = __commonJS((exports) => {
|
|
10362
10418
|
var protocolHttp = require_dist_cjs2();
|
|
10363
10419
|
var core = require_dist_cjs18();
|
|
@@ -13459,7 +13515,7 @@ var require_main5 = __commonJS((exports) => {
|
|
|
13459
13515
|
} });
|
|
13460
13516
|
});
|
|
13461
13517
|
|
|
13462
|
-
// ../node_modules/.pnpm/@aws-sdk+middleware-flexible-checksums@3.974.
|
|
13518
|
+
// ../node_modules/.pnpm/@aws-sdk+middleware-flexible-checksums@3.974.3/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js
|
|
13463
13519
|
var require_getCrc32ChecksumAlgorithmFunction = __commonJS((exports) => {
|
|
13464
13520
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13465
13521
|
exports.getCrc32ChecksumAlgorithmFunction = undefined;
|
|
@@ -13489,7 +13545,7 @@ var require_getCrc32ChecksumAlgorithmFunction = __commonJS((exports) => {
|
|
|
13489
13545
|
exports.getCrc32ChecksumAlgorithmFunction = getCrc32ChecksumAlgorithmFunction;
|
|
13490
13546
|
});
|
|
13491
13547
|
|
|
13492
|
-
// ../node_modules/.pnpm/@aws-sdk+middleware-flexible-checksums@3.974.
|
|
13548
|
+
// ../node_modules/.pnpm/@aws-sdk+middleware-flexible-checksums@3.974.3/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js
|
|
13493
13549
|
var require_dist_cjs30 = __commonJS((exports) => {
|
|
13494
13550
|
var core = require_dist_cjs25();
|
|
13495
13551
|
var protocolHttp = require_dist_cjs2();
|
|
@@ -14225,7 +14281,7 @@ var require_dist_cjs35 = __commonJS((exports) => {
|
|
|
14225
14281
|
exports.numberSelector = numberSelector;
|
|
14226
14282
|
});
|
|
14227
14283
|
|
|
14228
|
-
// ../node_modules/.pnpm/@aws-sdk+middleware-sdk-s3@3.972.
|
|
14284
|
+
// ../node_modules/.pnpm/@aws-sdk+middleware-sdk-s3@3.972.23/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js
|
|
14229
14285
|
var require_dist_cjs36 = __commonJS((exports) => {
|
|
14230
14286
|
var protocolHttp = require_dist_cjs2();
|
|
14231
14287
|
var smithyClient = require_dist_cjs23();
|
|
@@ -15935,7 +15991,7 @@ var require_dist_cjs40 = __commonJS((exports) => {
|
|
|
15935
15991
|
exports.TIMEOUT_RETRY_COST = TIMEOUT_RETRY_COST;
|
|
15936
15992
|
});
|
|
15937
15993
|
|
|
15938
|
-
// ../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.972.
|
|
15994
|
+
// ../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.972.24/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js
|
|
15939
15995
|
var require_dist_cjs41 = __commonJS((exports) => {
|
|
15940
15996
|
var core = require_dist_cjs18();
|
|
15941
15997
|
var utilEndpoints = require_dist_cjs38();
|
|
@@ -16113,7 +16169,7 @@ var require_dist_cjs41 = __commonJS((exports) => {
|
|
|
16113
16169
|
exports.userAgentMiddleware = userAgentMiddleware;
|
|
16114
16170
|
});
|
|
16115
16171
|
|
|
16116
|
-
// ../node_modules/.pnpm/@smithy+config-resolver@4.4.
|
|
16172
|
+
// ../node_modules/.pnpm/@smithy+config-resolver@4.4.13/node_modules/@smithy/config-resolver/dist-cjs/index.js
|
|
16117
16173
|
var require_dist_cjs42 = __commonJS((exports) => {
|
|
16118
16174
|
var utilConfigProvider = require_dist_cjs35();
|
|
16119
16175
|
var utilMiddleware = require_dist_cjs4();
|
|
@@ -16126,6 +16182,11 @@ var require_dist_cjs42 = __commonJS((exports) => {
|
|
|
16126
16182
|
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
16127
16183
|
default: false
|
|
16128
16184
|
};
|
|
16185
|
+
var nodeDualstackConfigSelectors = {
|
|
16186
|
+
environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV),
|
|
16187
|
+
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
16188
|
+
default: undefined
|
|
16189
|
+
};
|
|
16129
16190
|
var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
|
|
16130
16191
|
var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
16131
16192
|
var DEFAULT_USE_FIPS_ENDPOINT = false;
|
|
@@ -16134,6 +16195,11 @@ var require_dist_cjs42 = __commonJS((exports) => {
|
|
|
16134
16195
|
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
16135
16196
|
default: false
|
|
16136
16197
|
};
|
|
16198
|
+
var nodeFipsConfigSelectors = {
|
|
16199
|
+
environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV),
|
|
16200
|
+
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
16201
|
+
default: undefined
|
|
16202
|
+
};
|
|
16137
16203
|
var resolveCustomEndpointsConfig = (input) => {
|
|
16138
16204
|
const { tls, endpoint, urlParser, useDualstackEndpoint } = input;
|
|
16139
16205
|
return Object.assign(input, {
|
|
@@ -16267,6 +16333,8 @@ var require_dist_cjs42 = __commonJS((exports) => {
|
|
|
16267
16333
|
exports.REGION_ENV_NAME = REGION_ENV_NAME;
|
|
16268
16334
|
exports.REGION_INI_NAME = REGION_INI_NAME;
|
|
16269
16335
|
exports.getRegionInfo = getRegionInfo;
|
|
16336
|
+
exports.nodeDualstackConfigSelectors = nodeDualstackConfigSelectors;
|
|
16337
|
+
exports.nodeFipsConfigSelectors = nodeFipsConfigSelectors;
|
|
16270
16338
|
exports.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig;
|
|
16271
16339
|
exports.resolveEndpointsConfig = resolveEndpointsConfig;
|
|
16272
16340
|
exports.resolveRegionConfig = resolveRegionConfig;
|
|
@@ -16620,7 +16688,7 @@ var require_dist_cjs46 = __commonJS((exports) => {
|
|
|
16620
16688
|
exports.loadConfig = loadConfig;
|
|
16621
16689
|
});
|
|
16622
16690
|
|
|
16623
|
-
// ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.
|
|
16691
|
+
// ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.27/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js
|
|
16624
16692
|
var require_getEndpointUrlConfig = __commonJS((exports) => {
|
|
16625
16693
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16626
16694
|
exports.getEndpointUrlConfig = undefined;
|
|
@@ -16658,7 +16726,7 @@ var require_getEndpointUrlConfig = __commonJS((exports) => {
|
|
|
16658
16726
|
exports.getEndpointUrlConfig = getEndpointUrlConfig;
|
|
16659
16727
|
});
|
|
16660
16728
|
|
|
16661
|
-
// ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.
|
|
16729
|
+
// ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.27/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js
|
|
16662
16730
|
var require_getEndpointFromConfig = __commonJS((exports) => {
|
|
16663
16731
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16664
16732
|
exports.getEndpointFromConfig = undefined;
|
|
@@ -16764,7 +16832,7 @@ var require_dist_cjs47 = __commonJS((exports) => {
|
|
|
16764
16832
|
exports.serializerMiddlewareOption = serializerMiddlewareOption;
|
|
16765
16833
|
});
|
|
16766
16834
|
|
|
16767
|
-
// ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.
|
|
16835
|
+
// ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.27/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js
|
|
16768
16836
|
var require_dist_cjs48 = __commonJS((exports) => {
|
|
16769
16837
|
var getEndpointFromConfig = require_getEndpointFromConfig();
|
|
16770
16838
|
var urlParser = require_dist_cjs16();
|
|
@@ -17015,7 +17083,7 @@ var require_dist_cjs48 = __commonJS((exports) => {
|
|
|
17015
17083
|
exports.toEndpointV1 = toEndpointV1;
|
|
17016
17084
|
});
|
|
17017
17085
|
|
|
17018
|
-
// ../node_modules/.pnpm/@smithy+middleware-retry@4.4.
|
|
17086
|
+
// ../node_modules/.pnpm/@smithy+middleware-retry@4.4.44/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js
|
|
17019
17087
|
var require_isStreamingPayload = __commonJS((exports) => {
|
|
17020
17088
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17021
17089
|
exports.isStreamingPayload = undefined;
|
|
@@ -17024,7 +17092,7 @@ var require_isStreamingPayload = __commonJS((exports) => {
|
|
|
17024
17092
|
exports.isStreamingPayload = isStreamingPayload;
|
|
17025
17093
|
});
|
|
17026
17094
|
|
|
17027
|
-
// ../node_modules/.pnpm/@smithy+middleware-retry@4.4.
|
|
17095
|
+
// ../node_modules/.pnpm/@smithy+middleware-retry@4.4.44/node_modules/@smithy/middleware-retry/dist-cjs/index.js
|
|
17028
17096
|
var require_dist_cjs49 = __commonJS((exports) => {
|
|
17029
17097
|
var utilRetry = require_dist_cjs40();
|
|
17030
17098
|
var protocolHttp = require_dist_cjs2();
|
|
@@ -17362,7 +17430,7 @@ var require_dist_cjs49 = __commonJS((exports) => {
|
|
|
17362
17430
|
exports.retryMiddlewareOptions = retryMiddlewareOptions;
|
|
17363
17431
|
});
|
|
17364
17432
|
|
|
17365
|
-
// ../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.
|
|
17433
|
+
// ../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.11/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
|
|
17366
17434
|
var require_dist_cjs50 = __commonJS((exports) => {
|
|
17367
17435
|
var middlewareSdkS3 = require_dist_cjs36();
|
|
17368
17436
|
var signatureV4 = require_dist_cjs20();
|
|
@@ -17458,7 +17526,7 @@ var require_dist_cjs50 = __commonJS((exports) => {
|
|
|
17458
17526
|
exports.signatureV4CrtContainer = signatureV4CrtContainer;
|
|
17459
17527
|
});
|
|
17460
17528
|
|
|
17461
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
17529
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js
|
|
17462
17530
|
var require_ruleset = __commonJS((exports) => {
|
|
17463
17531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17464
17532
|
exports.ruleSet = undefined;
|
|
@@ -17657,7 +17725,7 @@ var require_ruleset = __commonJS((exports) => {
|
|
|
17657
17725
|
exports.ruleSet = _data;
|
|
17658
17726
|
});
|
|
17659
17727
|
|
|
17660
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
17728
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js
|
|
17661
17729
|
var require_endpointResolver = __commonJS((exports) => {
|
|
17662
17730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17663
17731
|
exports.defaultEndpointResolver = undefined;
|
|
@@ -17693,7 +17761,7 @@ var require_endpointResolver = __commonJS((exports) => {
|
|
|
17693
17761
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
17694
17762
|
});
|
|
17695
17763
|
|
|
17696
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
17764
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js
|
|
17697
17765
|
var require_httpAuthSchemeProvider = __commonJS((exports) => {
|
|
17698
17766
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17699
17767
|
exports.resolveHttpAuthSchemeConfig = exports.defaultS3HttpAuthSchemeProvider = exports.defaultS3HttpAuthSchemeParametersProvider = undefined;
|
|
@@ -17819,7 +17887,7 @@ var require_httpAuthSchemeProvider = __commonJS((exports) => {
|
|
|
17819
17887
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
17820
17888
|
});
|
|
17821
17889
|
|
|
17822
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
17890
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js
|
|
17823
17891
|
var require_S3ServiceException = __commonJS((exports) => {
|
|
17824
17892
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17825
17893
|
exports.S3ServiceException = exports.__ServiceException = undefined;
|
|
@@ -17837,7 +17905,7 @@ var require_S3ServiceException = __commonJS((exports) => {
|
|
|
17837
17905
|
exports.S3ServiceException = S3ServiceException;
|
|
17838
17906
|
});
|
|
17839
17907
|
|
|
17840
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
17908
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js
|
|
17841
17909
|
var require_errors = __commonJS((exports) => {
|
|
17842
17910
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17843
17911
|
exports.ObjectAlreadyInActiveTierError = exports.IdempotencyParameterMismatch = exports.TooManyParts = exports.InvalidWriteOffset = exports.InvalidRequest = exports.EncryptionTypeMismatch = exports.NotFound = exports.NoSuchKey = exports.InvalidObjectState = exports.NoSuchBucket = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectNotInActiveTierError = exports.AccessDenied = exports.NoSuchUpload = undefined;
|
|
@@ -18058,7 +18126,7 @@ var require_errors = __commonJS((exports) => {
|
|
|
18058
18126
|
exports.ObjectAlreadyInActiveTierError = ObjectAlreadyInActiveTierError;
|
|
18059
18127
|
});
|
|
18060
18128
|
|
|
18061
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
18129
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js
|
|
18062
18130
|
var require_schemas_0 = __commonJS((exports) => {
|
|
18063
18131
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18064
18132
|
exports.CreateBucketMetadataTableConfigurationRequest$ = exports.CreateBucketMetadataConfigurationRequest$ = exports.CreateBucketConfiguration$ = exports.CORSRule$ = exports.CORSConfiguration$ = exports.CopyPartResult$ = exports.CopyObjectResult$ = exports.CopyObjectRequest$ = exports.CopyObjectOutput$ = exports.ContinuationEvent$ = exports.Condition$ = exports.CompleteMultipartUploadRequest$ = exports.CompleteMultipartUploadOutput$ = exports.CompletedPart$ = exports.CompletedMultipartUpload$ = exports.CommonPrefix$ = exports.Checksum$ = exports.BucketLoggingStatus$ = exports.BucketLifecycleConfiguration$ = exports.BucketInfo$ = exports.Bucket$ = exports.BlockedEncryptionTypes$ = exports.AnalyticsS3BucketDestination$ = exports.AnalyticsExportDestination$ = exports.AnalyticsConfiguration$ = exports.AnalyticsAndOperator$ = exports.AccessControlTranslation$ = exports.AccessControlPolicy$ = exports.AccelerateConfiguration$ = exports.AbortMultipartUploadRequest$ = exports.AbortMultipartUploadOutput$ = exports.AbortIncompleteMultipartUpload$ = exports.AbacStatus$ = exports.errorTypeRegistries = exports.TooManyParts$ = exports.ObjectNotInActiveTierError$ = exports.ObjectAlreadyInActiveTierError$ = exports.NotFound$ = exports.NoSuchUpload$ = exports.NoSuchKey$ = exports.NoSuchBucket$ = exports.InvalidWriteOffset$ = exports.InvalidRequest$ = exports.InvalidObjectState$ = exports.IdempotencyParameterMismatch$ = exports.EncryptionTypeMismatch$ = exports.BucketAlreadyOwnedByYou$ = exports.BucketAlreadyExists$ = exports.AccessDenied$ = exports.S3ServiceException$ = undefined;
|
|
@@ -23254,12 +23322,12 @@ var require_schemas_0 = __commonJS((exports) => {
|
|
|
23254
23322
|
];
|
|
23255
23323
|
});
|
|
23256
23324
|
|
|
23257
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
23325
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/package.json
|
|
23258
23326
|
var require_package3 = __commonJS((exports, module) => {
|
|
23259
23327
|
module.exports = {
|
|
23260
23328
|
name: "@aws-sdk/client-s3",
|
|
23261
23329
|
description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
23262
|
-
version: "3.
|
|
23330
|
+
version: "3.1014.0",
|
|
23263
23331
|
scripts: {
|
|
23264
23332
|
build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
23265
23333
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -23288,25 +23356,25 @@ var require_package3 = __commonJS((exports, module) => {
|
|
|
23288
23356
|
"@aws-crypto/sha1-browser": "5.2.0",
|
|
23289
23357
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23290
23358
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23291
|
-
"@aws-sdk/core": "^3.973.
|
|
23292
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
23359
|
+
"@aws-sdk/core": "^3.973.23",
|
|
23360
|
+
"@aws-sdk/credential-provider-node": "^3.972.24",
|
|
23293
23361
|
"@aws-sdk/middleware-bucket-endpoint": "^3.972.8",
|
|
23294
23362
|
"@aws-sdk/middleware-expect-continue": "^3.972.8",
|
|
23295
|
-
"@aws-sdk/middleware-flexible-checksums": "^3.974.
|
|
23363
|
+
"@aws-sdk/middleware-flexible-checksums": "^3.974.3",
|
|
23296
23364
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
23297
23365
|
"@aws-sdk/middleware-location-constraint": "^3.972.8",
|
|
23298
23366
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
23299
23367
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
23300
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.
|
|
23368
|
+
"@aws-sdk/middleware-sdk-s3": "^3.972.23",
|
|
23301
23369
|
"@aws-sdk/middleware-ssec": "^3.972.8",
|
|
23302
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
23303
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
23304
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
23370
|
+
"@aws-sdk/middleware-user-agent": "^3.972.24",
|
|
23371
|
+
"@aws-sdk/region-config-resolver": "^3.972.9",
|
|
23372
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.11",
|
|
23305
23373
|
"@aws-sdk/types": "^3.973.6",
|
|
23306
23374
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
23307
23375
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
23308
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
23309
|
-
"@smithy/config-resolver": "^4.4.
|
|
23376
|
+
"@aws-sdk/util-user-agent-node": "^3.973.10",
|
|
23377
|
+
"@smithy/config-resolver": "^4.4.13",
|
|
23310
23378
|
"@smithy/core": "^3.23.12",
|
|
23311
23379
|
"@smithy/eventstream-serde-browser": "^4.2.12",
|
|
23312
23380
|
"@smithy/eventstream-serde-config-resolver": "^4.3.12",
|
|
@@ -23318,21 +23386,21 @@ var require_package3 = __commonJS((exports, module) => {
|
|
|
23318
23386
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
23319
23387
|
"@smithy/md5-js": "^4.2.12",
|
|
23320
23388
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
23321
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
23322
|
-
"@smithy/middleware-retry": "^4.4.
|
|
23389
|
+
"@smithy/middleware-endpoint": "^4.4.27",
|
|
23390
|
+
"@smithy/middleware-retry": "^4.4.44",
|
|
23323
23391
|
"@smithy/middleware-serde": "^4.2.15",
|
|
23324
23392
|
"@smithy/middleware-stack": "^4.2.12",
|
|
23325
23393
|
"@smithy/node-config-provider": "^4.3.12",
|
|
23326
23394
|
"@smithy/node-http-handler": "^4.5.0",
|
|
23327
23395
|
"@smithy/protocol-http": "^5.3.12",
|
|
23328
|
-
"@smithy/smithy-client": "^4.12.
|
|
23396
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
23329
23397
|
"@smithy/types": "^4.13.1",
|
|
23330
23398
|
"@smithy/url-parser": "^4.2.12",
|
|
23331
23399
|
"@smithy/util-base64": "^4.3.2",
|
|
23332
23400
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
23333
23401
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
23334
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
23335
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
23402
|
+
"@smithy/util-defaults-mode-browser": "^4.3.43",
|
|
23403
|
+
"@smithy/util-defaults-mode-node": "^4.2.47",
|
|
23336
23404
|
"@smithy/util-endpoints": "^3.3.3",
|
|
23337
23405
|
"@smithy/util-middleware": "^4.2.12",
|
|
23338
23406
|
"@smithy/util-retry": "^4.2.12",
|
|
@@ -23342,7 +23410,7 @@ var require_package3 = __commonJS((exports, module) => {
|
|
|
23342
23410
|
tslib: "^2.6.2"
|
|
23343
23411
|
},
|
|
23344
23412
|
devDependencies: {
|
|
23345
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
23413
|
+
"@aws-sdk/signature-v4-crt": "3.1014.0",
|
|
23346
23414
|
"@smithy/snapshot-testing": "^2.0.3",
|
|
23347
23415
|
"@tsconfig/node20": "20.1.8",
|
|
23348
23416
|
"@types/node": "^20.14.8",
|
|
@@ -23385,7 +23453,7 @@ var require_package3 = __commonJS((exports, module) => {
|
|
|
23385
23453
|
};
|
|
23386
23454
|
});
|
|
23387
23455
|
|
|
23388
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-env@3.972.
|
|
23456
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-env@3.972.21/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js
|
|
23389
23457
|
var require_dist_cjs51 = __commonJS((exports) => {
|
|
23390
23458
|
var client = require_client();
|
|
23391
23459
|
var propertyProvider = require_dist_cjs19();
|
|
@@ -23770,7 +23838,7 @@ For more information, please visit: ` + STATIC_STABILITY_DOC_URL);
|
|
|
23770
23838
|
exports.providerConfigFromInit = providerConfigFromInit;
|
|
23771
23839
|
});
|
|
23772
23840
|
|
|
23773
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.
|
|
23841
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.23/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js
|
|
23774
23842
|
var require_checkUrl = __commonJS((exports) => {
|
|
23775
23843
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23776
23844
|
exports.checkUrl = undefined;
|
|
@@ -23810,7 +23878,7 @@ var require_checkUrl = __commonJS((exports) => {
|
|
|
23810
23878
|
exports.checkUrl = checkUrl;
|
|
23811
23879
|
});
|
|
23812
23880
|
|
|
23813
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.
|
|
23881
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.23/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js
|
|
23814
23882
|
var require_requestHelpers = __commonJS((exports) => {
|
|
23815
23883
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23816
23884
|
exports.createGetRequest = createGetRequest;
|
|
@@ -23861,7 +23929,7 @@ var require_requestHelpers = __commonJS((exports) => {
|
|
|
23861
23929
|
}
|
|
23862
23930
|
});
|
|
23863
23931
|
|
|
23864
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.
|
|
23932
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.23/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js
|
|
23865
23933
|
var require_retry_wrapper = __commonJS((exports) => {
|
|
23866
23934
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23867
23935
|
exports.retryWrapper = undefined;
|
|
@@ -23880,7 +23948,7 @@ var require_retry_wrapper = __commonJS((exports) => {
|
|
|
23880
23948
|
exports.retryWrapper = retryWrapper;
|
|
23881
23949
|
});
|
|
23882
23950
|
|
|
23883
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.
|
|
23951
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.23/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js
|
|
23884
23952
|
var require_fromHttp = __commonJS((exports) => {
|
|
23885
23953
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23886
23954
|
exports.fromHttp = undefined;
|
|
@@ -23945,7 +24013,7 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
23945
24013
|
exports.fromHttp = fromHttp;
|
|
23946
24014
|
});
|
|
23947
24015
|
|
|
23948
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.
|
|
24016
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.23/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js
|
|
23949
24017
|
var require_dist_cjs53 = __commonJS((exports) => {
|
|
23950
24018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23951
24019
|
exports.fromHttp = undefined;
|
|
@@ -23955,7 +24023,7 @@ var require_dist_cjs53 = __commonJS((exports) => {
|
|
|
23955
24023
|
} });
|
|
23956
24024
|
});
|
|
23957
24025
|
|
|
23958
|
-
// ../node_modules/.pnpm/@aws-sdk+core@3.973.
|
|
24026
|
+
// ../node_modules/.pnpm/@aws-sdk+core@3.973.23/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
|
|
23959
24027
|
var require_httpAuthSchemes = __commonJS((exports) => {
|
|
23960
24028
|
var protocolHttp = require_dist_cjs2();
|
|
23961
24029
|
var core = require_dist_cjs18();
|
|
@@ -24245,7 +24313,7 @@ var require_httpAuthSchemes = __commonJS((exports) => {
|
|
|
24245
24313
|
exports.validateSigningProperties = validateSigningProperties;
|
|
24246
24314
|
});
|
|
24247
24315
|
|
|
24248
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
24316
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
|
|
24249
24317
|
var require_httpAuthSchemeProvider2 = __commonJS((exports) => {
|
|
24250
24318
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24251
24319
|
exports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = undefined;
|
|
@@ -24303,11 +24371,11 @@ var require_httpAuthSchemeProvider2 = __commonJS((exports) => {
|
|
|
24303
24371
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
24304
24372
|
});
|
|
24305
24373
|
|
|
24306
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
24374
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/package.json
|
|
24307
24375
|
var require_package4 = __commonJS((exports, module) => {
|
|
24308
24376
|
module.exports = {
|
|
24309
24377
|
name: "@aws-sdk/nested-clients",
|
|
24310
|
-
version: "3.996.
|
|
24378
|
+
version: "3.996.13",
|
|
24311
24379
|
description: "Nested clients for AWS SDK packages.",
|
|
24312
24380
|
main: "./dist-cjs/index.js",
|
|
24313
24381
|
module: "./dist-es/index.js",
|
|
@@ -24336,37 +24404,37 @@ var require_package4 = __commonJS((exports, module) => {
|
|
|
24336
24404
|
dependencies: {
|
|
24337
24405
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24338
24406
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24339
|
-
"@aws-sdk/core": "^3.973.
|
|
24407
|
+
"@aws-sdk/core": "^3.973.23",
|
|
24340
24408
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
24341
24409
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
24342
24410
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
24343
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
24344
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
24411
|
+
"@aws-sdk/middleware-user-agent": "^3.972.24",
|
|
24412
|
+
"@aws-sdk/region-config-resolver": "^3.972.9",
|
|
24345
24413
|
"@aws-sdk/types": "^3.973.6",
|
|
24346
24414
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
24347
24415
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
24348
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
24349
|
-
"@smithy/config-resolver": "^4.4.
|
|
24416
|
+
"@aws-sdk/util-user-agent-node": "^3.973.10",
|
|
24417
|
+
"@smithy/config-resolver": "^4.4.13",
|
|
24350
24418
|
"@smithy/core": "^3.23.12",
|
|
24351
24419
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
24352
24420
|
"@smithy/hash-node": "^4.2.12",
|
|
24353
24421
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
24354
24422
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
24355
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
24356
|
-
"@smithy/middleware-retry": "^4.4.
|
|
24423
|
+
"@smithy/middleware-endpoint": "^4.4.27",
|
|
24424
|
+
"@smithy/middleware-retry": "^4.4.44",
|
|
24357
24425
|
"@smithy/middleware-serde": "^4.2.15",
|
|
24358
24426
|
"@smithy/middleware-stack": "^4.2.12",
|
|
24359
24427
|
"@smithy/node-config-provider": "^4.3.12",
|
|
24360
24428
|
"@smithy/node-http-handler": "^4.5.0",
|
|
24361
24429
|
"@smithy/protocol-http": "^5.3.12",
|
|
24362
|
-
"@smithy/smithy-client": "^4.12.
|
|
24430
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
24363
24431
|
"@smithy/types": "^4.13.1",
|
|
24364
24432
|
"@smithy/url-parser": "^4.2.12",
|
|
24365
24433
|
"@smithy/util-base64": "^4.3.2",
|
|
24366
24434
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
24367
24435
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
24368
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
24369
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
24436
|
+
"@smithy/util-defaults-mode-browser": "^4.3.43",
|
|
24437
|
+
"@smithy/util-defaults-mode-node": "^4.2.47",
|
|
24370
24438
|
"@smithy/util-endpoints": "^3.3.3",
|
|
24371
24439
|
"@smithy/util-middleware": "^4.2.12",
|
|
24372
24440
|
"@smithy/util-retry": "^4.2.12",
|
|
@@ -24454,9 +24522,9 @@ var require_package4 = __commonJS((exports, module) => {
|
|
|
24454
24522
|
};
|
|
24455
24523
|
});
|
|
24456
24524
|
|
|
24457
|
-
// ../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.
|
|
24525
|
+
// ../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.10/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
|
|
24458
24526
|
var require_dist_cjs54 = __commonJS((exports) => {
|
|
24459
|
-
var __dirname = "/workspace/projects/cli/node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.
|
|
24527
|
+
var __dirname = "/workspace/projects/cli/node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.10/node_modules/@aws-sdk/util-user-agent-node/dist-cjs";
|
|
24460
24528
|
var node_os = __require("node:os");
|
|
24461
24529
|
var node_process = __require("node:process");
|
|
24462
24530
|
var utilConfigProvider = require_dist_cjs35();
|
|
@@ -24693,7 +24761,7 @@ var require_dist_cjs56 = __commonJS((exports) => {
|
|
|
24693
24761
|
exports.calculateBodyLength = calculateBodyLength;
|
|
24694
24762
|
});
|
|
24695
24763
|
|
|
24696
|
-
// ../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.2.
|
|
24764
|
+
// ../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.2.47/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js
|
|
24697
24765
|
var require_dist_cjs57 = __commonJS((exports) => {
|
|
24698
24766
|
var configResolver = require_dist_cjs42();
|
|
24699
24767
|
var nodeConfigProvider = require_dist_cjs46();
|
|
@@ -24762,7 +24830,7 @@ var require_dist_cjs57 = __commonJS((exports) => {
|
|
|
24762
24830
|
exports.resolveDefaultsModeConfig = resolveDefaultsModeConfig;
|
|
24763
24831
|
});
|
|
24764
24832
|
|
|
24765
|
-
// ../node_modules/.pnpm/@aws-sdk+core@3.973.
|
|
24833
|
+
// ../node_modules/.pnpm/@aws-sdk+core@3.973.23/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
|
|
24766
24834
|
var require_protocols2 = __commonJS((exports) => {
|
|
24767
24835
|
var cbor = require_cbor();
|
|
24768
24836
|
var schema = require_schema();
|
|
@@ -26550,7 +26618,7 @@ var require_protocols2 = __commonJS((exports) => {
|
|
|
26550
26618
|
exports.parseXmlErrorBody = parseXmlErrorBody;
|
|
26551
26619
|
});
|
|
26552
26620
|
|
|
26553
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
26621
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js
|
|
26554
26622
|
var require_ruleset2 = __commonJS((exports) => {
|
|
26555
26623
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26556
26624
|
exports.ruleSet = undefined;
|
|
@@ -26681,7 +26749,7 @@ var require_ruleset2 = __commonJS((exports) => {
|
|
|
26681
26749
|
exports.ruleSet = _data;
|
|
26682
26750
|
});
|
|
26683
26751
|
|
|
26684
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
26752
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js
|
|
26685
26753
|
var require_endpointResolver2 = __commonJS((exports) => {
|
|
26686
26754
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26687
26755
|
exports.defaultEndpointResolver = undefined;
|
|
@@ -26702,7 +26770,7 @@ var require_endpointResolver2 = __commonJS((exports) => {
|
|
|
26702
26770
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
26703
26771
|
});
|
|
26704
26772
|
|
|
26705
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
26773
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js
|
|
26706
26774
|
var require_SSOOIDCServiceException = __commonJS((exports) => {
|
|
26707
26775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26708
26776
|
exports.SSOOIDCServiceException = exports.__ServiceException = undefined;
|
|
@@ -26720,7 +26788,7 @@ var require_SSOOIDCServiceException = __commonJS((exports) => {
|
|
|
26720
26788
|
exports.SSOOIDCServiceException = SSOOIDCServiceException;
|
|
26721
26789
|
});
|
|
26722
26790
|
|
|
26723
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
26791
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js
|
|
26724
26792
|
var require_errors2 = __commonJS((exports) => {
|
|
26725
26793
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26726
26794
|
exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = undefined;
|
|
@@ -26929,7 +26997,7 @@ var require_errors2 = __commonJS((exports) => {
|
|
|
26929
26997
|
exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
|
|
26930
26998
|
});
|
|
26931
26999
|
|
|
26932
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27000
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js
|
|
26933
27001
|
var require_schemas_02 = __commonJS((exports) => {
|
|
26934
27002
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26935
27003
|
exports.CreateToken$ = exports.CreateTokenResponse$ = exports.CreateTokenRequest$ = exports.errorTypeRegistries = exports.UnsupportedGrantTypeException$ = exports.UnauthorizedClientException$ = exports.SlowDownException$ = exports.InvalidScopeException$ = exports.InvalidRequestException$ = exports.InvalidGrantException$ = exports.InvalidClientException$ = exports.InternalServerException$ = exports.ExpiredTokenException$ = exports.AuthorizationPendingException$ = exports.AccessDeniedException$ = exports.SSOOIDCServiceException$ = undefined;
|
|
@@ -27072,7 +27140,7 @@ var require_schemas_02 = __commonJS((exports) => {
|
|
|
27072
27140
|
];
|
|
27073
27141
|
});
|
|
27074
27142
|
|
|
27075
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27143
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js
|
|
27076
27144
|
var require_runtimeConfig_shared = __commonJS((exports) => {
|
|
27077
27145
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27078
27146
|
exports.getRuntimeConfig = undefined;
|
|
@@ -27124,7 +27192,7 @@ var require_runtimeConfig_shared = __commonJS((exports) => {
|
|
|
27124
27192
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
27125
27193
|
});
|
|
27126
27194
|
|
|
27127
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27195
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js
|
|
27128
27196
|
var require_runtimeConfig = __commonJS((exports) => {
|
|
27129
27197
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27130
27198
|
exports.getRuntimeConfig = undefined;
|
|
@@ -27177,7 +27245,7 @@ var require_runtimeConfig = __commonJS((exports) => {
|
|
|
27177
27245
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
27178
27246
|
});
|
|
27179
27247
|
|
|
27180
|
-
// ../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.972.
|
|
27248
|
+
// ../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.972.9/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js
|
|
27181
27249
|
var require_stsRegionDefaultResolver = __commonJS((exports) => {
|
|
27182
27250
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27183
27251
|
exports.warning = undefined;
|
|
@@ -27200,7 +27268,7 @@ var require_stsRegionDefaultResolver = __commonJS((exports) => {
|
|
|
27200
27268
|
};
|
|
27201
27269
|
});
|
|
27202
27270
|
|
|
27203
|
-
// ../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.972.
|
|
27271
|
+
// ../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.972.9/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js
|
|
27204
27272
|
var require_dist_cjs58 = __commonJS((exports) => {
|
|
27205
27273
|
var stsRegionDefaultResolver = require_stsRegionDefaultResolver();
|
|
27206
27274
|
var configResolver = require_dist_cjs42();
|
|
@@ -27236,7 +27304,7 @@ var require_dist_cjs58 = __commonJS((exports) => {
|
|
|
27236
27304
|
});
|
|
27237
27305
|
});
|
|
27238
27306
|
|
|
27239
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27307
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
|
|
27240
27308
|
var require_sso_oidc = __commonJS((exports) => {
|
|
27241
27309
|
var middlewareHostHeader = require_dist_cjs31();
|
|
27242
27310
|
var middlewareLogger = require_dist_cjs32();
|
|
@@ -27393,7 +27461,7 @@ var require_sso_oidc = __commonJS((exports) => {
|
|
|
27393
27461
|
});
|
|
27394
27462
|
});
|
|
27395
27463
|
|
|
27396
|
-
// ../node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
27464
|
+
// ../node_modules/.pnpm/@aws-sdk+token-providers@3.1014.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js
|
|
27397
27465
|
var require_dist_cjs59 = __commonJS((exports) => {
|
|
27398
27466
|
var client = require_client();
|
|
27399
27467
|
var httpAuthSchemes = require_httpAuthSchemes();
|
|
@@ -27536,7 +27604,7 @@ var require_dist_cjs59 = __commonJS((exports) => {
|
|
|
27536
27604
|
exports.nodeProvider = nodeProvider;
|
|
27537
27605
|
});
|
|
27538
27606
|
|
|
27539
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27607
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js
|
|
27540
27608
|
var require_httpAuthSchemeProvider3 = __commonJS((exports) => {
|
|
27541
27609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27542
27610
|
exports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = undefined;
|
|
@@ -27594,7 +27662,7 @@ var require_httpAuthSchemeProvider3 = __commonJS((exports) => {
|
|
|
27594
27662
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
27595
27663
|
});
|
|
27596
27664
|
|
|
27597
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27665
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js
|
|
27598
27666
|
var require_ruleset3 = __commonJS((exports) => {
|
|
27599
27667
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27600
27668
|
exports.ruleSet = undefined;
|
|
@@ -27725,7 +27793,7 @@ var require_ruleset3 = __commonJS((exports) => {
|
|
|
27725
27793
|
exports.ruleSet = _data;
|
|
27726
27794
|
});
|
|
27727
27795
|
|
|
27728
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27796
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js
|
|
27729
27797
|
var require_endpointResolver3 = __commonJS((exports) => {
|
|
27730
27798
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27731
27799
|
exports.defaultEndpointResolver = undefined;
|
|
@@ -27746,7 +27814,7 @@ var require_endpointResolver3 = __commonJS((exports) => {
|
|
|
27746
27814
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
27747
27815
|
});
|
|
27748
27816
|
|
|
27749
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27817
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js
|
|
27750
27818
|
var require_SSOServiceException = __commonJS((exports) => {
|
|
27751
27819
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27752
27820
|
exports.SSOServiceException = exports.__ServiceException = undefined;
|
|
@@ -27764,7 +27832,7 @@ var require_SSOServiceException = __commonJS((exports) => {
|
|
|
27764
27832
|
exports.SSOServiceException = SSOServiceException;
|
|
27765
27833
|
});
|
|
27766
27834
|
|
|
27767
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27835
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js
|
|
27768
27836
|
var require_errors3 = __commonJS((exports) => {
|
|
27769
27837
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27770
27838
|
exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = undefined;
|
|
@@ -27827,7 +27895,7 @@ var require_errors3 = __commonJS((exports) => {
|
|
|
27827
27895
|
exports.UnauthorizedException = UnauthorizedException;
|
|
27828
27896
|
});
|
|
27829
27897
|
|
|
27830
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27898
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js
|
|
27831
27899
|
var require_schemas_03 = __commonJS((exports) => {
|
|
27832
27900
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27833
27901
|
exports.GetRoleCredentials$ = exports.RoleCredentials$ = exports.GetRoleCredentialsResponse$ = exports.GetRoleCredentialsRequest$ = exports.errorTypeRegistries = exports.UnauthorizedException$ = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.InvalidRequestException$ = exports.SSOServiceException$ = undefined;
|
|
@@ -27920,7 +27988,7 @@ var require_schemas_03 = __commonJS((exports) => {
|
|
|
27920
27988
|
];
|
|
27921
27989
|
});
|
|
27922
27990
|
|
|
27923
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
27991
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js
|
|
27924
27992
|
var require_runtimeConfig_shared2 = __commonJS((exports) => {
|
|
27925
27993
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27926
27994
|
exports.getRuntimeConfig = undefined;
|
|
@@ -27972,7 +28040,7 @@ var require_runtimeConfig_shared2 = __commonJS((exports) => {
|
|
|
27972
28040
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
27973
28041
|
});
|
|
27974
28042
|
|
|
27975
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28043
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js
|
|
27976
28044
|
var require_runtimeConfig2 = __commonJS((exports) => {
|
|
27977
28045
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27978
28046
|
exports.getRuntimeConfig = undefined;
|
|
@@ -28025,7 +28093,7 @@ var require_runtimeConfig2 = __commonJS((exports) => {
|
|
|
28025
28093
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
28026
28094
|
});
|
|
28027
28095
|
|
|
28028
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28096
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
|
|
28029
28097
|
var require_sso = __commonJS((exports) => {
|
|
28030
28098
|
var middlewareHostHeader = require_dist_cjs31();
|
|
28031
28099
|
var middlewareLogger = require_dist_cjs32();
|
|
@@ -28171,14 +28239,14 @@ var require_sso = __commonJS((exports) => {
|
|
|
28171
28239
|
});
|
|
28172
28240
|
});
|
|
28173
28241
|
|
|
28174
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.972.
|
|
28242
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.972.23/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js
|
|
28175
28243
|
var require_loadSso_BKDNrsal = __commonJS((exports) => {
|
|
28176
28244
|
var sso = require_sso();
|
|
28177
28245
|
exports.GetRoleCredentialsCommand = sso.GetRoleCredentialsCommand;
|
|
28178
28246
|
exports.SSOClient = sso.SSOClient;
|
|
28179
28247
|
});
|
|
28180
28248
|
|
|
28181
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.972.
|
|
28249
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.972.23/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
|
|
28182
28250
|
var require_dist_cjs60 = __commonJS((exports) => {
|
|
28183
28251
|
var propertyProvider = require_dist_cjs19();
|
|
28184
28252
|
var sharedIniFileLoader = require_dist_cjs45();
|
|
@@ -28355,7 +28423,7 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
|
28355
28423
|
exports.validateSsoProfile = validateSsoProfile;
|
|
28356
28424
|
});
|
|
28357
28425
|
|
|
28358
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28426
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js
|
|
28359
28427
|
var require_httpAuthSchemeProvider4 = __commonJS((exports) => {
|
|
28360
28428
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28361
28429
|
exports.resolveHttpAuthSchemeConfig = exports.defaultSigninHttpAuthSchemeProvider = exports.defaultSigninHttpAuthSchemeParametersProvider = undefined;
|
|
@@ -28413,7 +28481,7 @@ var require_httpAuthSchemeProvider4 = __commonJS((exports) => {
|
|
|
28413
28481
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
28414
28482
|
});
|
|
28415
28483
|
|
|
28416
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28484
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js
|
|
28417
28485
|
var require_ruleset4 = __commonJS((exports) => {
|
|
28418
28486
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28419
28487
|
exports.ruleSet = undefined;
|
|
@@ -28571,7 +28639,7 @@ var require_ruleset4 = __commonJS((exports) => {
|
|
|
28571
28639
|
exports.ruleSet = _data;
|
|
28572
28640
|
});
|
|
28573
28641
|
|
|
28574
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28642
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js
|
|
28575
28643
|
var require_endpointResolver4 = __commonJS((exports) => {
|
|
28576
28644
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28577
28645
|
exports.defaultEndpointResolver = undefined;
|
|
@@ -28592,7 +28660,7 @@ var require_endpointResolver4 = __commonJS((exports) => {
|
|
|
28592
28660
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
28593
28661
|
});
|
|
28594
28662
|
|
|
28595
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28663
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js
|
|
28596
28664
|
var require_SigninServiceException = __commonJS((exports) => {
|
|
28597
28665
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28598
28666
|
exports.SigninServiceException = exports.__ServiceException = undefined;
|
|
@@ -28610,7 +28678,7 @@ var require_SigninServiceException = __commonJS((exports) => {
|
|
|
28610
28678
|
exports.SigninServiceException = SigninServiceException;
|
|
28611
28679
|
});
|
|
28612
28680
|
|
|
28613
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28681
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js
|
|
28614
28682
|
var require_errors4 = __commonJS((exports) => {
|
|
28615
28683
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28616
28684
|
exports.ValidationException = exports.TooManyRequestsError = exports.InternalServerException = exports.AccessDeniedException = undefined;
|
|
@@ -28681,7 +28749,7 @@ var require_errors4 = __commonJS((exports) => {
|
|
|
28681
28749
|
exports.ValidationException = ValidationException;
|
|
28682
28750
|
});
|
|
28683
28751
|
|
|
28684
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28752
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js
|
|
28685
28753
|
var require_schemas_04 = __commonJS((exports) => {
|
|
28686
28754
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28687
28755
|
exports.CreateOAuth2Token$ = exports.CreateOAuth2TokenResponseBody$ = exports.CreateOAuth2TokenResponse$ = exports.CreateOAuth2TokenRequestBody$ = exports.CreateOAuth2TokenRequest$ = exports.AccessToken$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsError$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.SigninServiceException$ = undefined;
|
|
@@ -28809,7 +28877,7 @@ var require_schemas_04 = __commonJS((exports) => {
|
|
|
28809
28877
|
];
|
|
28810
28878
|
});
|
|
28811
28879
|
|
|
28812
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28880
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js
|
|
28813
28881
|
var require_runtimeConfig_shared3 = __commonJS((exports) => {
|
|
28814
28882
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28815
28883
|
exports.getRuntimeConfig = undefined;
|
|
@@ -28861,7 +28929,7 @@ var require_runtimeConfig_shared3 = __commonJS((exports) => {
|
|
|
28861
28929
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
28862
28930
|
});
|
|
28863
28931
|
|
|
28864
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28932
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js
|
|
28865
28933
|
var require_runtimeConfig3 = __commonJS((exports) => {
|
|
28866
28934
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28867
28935
|
exports.getRuntimeConfig = undefined;
|
|
@@ -28914,7 +28982,7 @@ var require_runtimeConfig3 = __commonJS((exports) => {
|
|
|
28914
28982
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
28915
28983
|
});
|
|
28916
28984
|
|
|
28917
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
28985
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
|
|
28918
28986
|
var require_signin = __commonJS((exports) => {
|
|
28919
28987
|
var middlewareHostHeader = require_dist_cjs31();
|
|
28920
28988
|
var middlewareLogger = require_dist_cjs32();
|
|
@@ -29069,7 +29137,7 @@ var require_signin = __commonJS((exports) => {
|
|
|
29069
29137
|
});
|
|
29070
29138
|
});
|
|
29071
29139
|
|
|
29072
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.
|
|
29140
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.23/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js
|
|
29073
29141
|
var require_dist_cjs61 = __commonJS((exports) => {
|
|
29074
29142
|
var client = require_client();
|
|
29075
29143
|
var propertyProvider = require_dist_cjs19();
|
|
@@ -29345,7 +29413,7 @@ var require_dist_cjs61 = __commonJS((exports) => {
|
|
|
29345
29413
|
exports.fromLoginCredentials = fromLoginCredentials;
|
|
29346
29414
|
});
|
|
29347
29415
|
|
|
29348
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
29416
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js
|
|
29349
29417
|
var require_httpAuthSchemeProvider5 = __commonJS((exports) => {
|
|
29350
29418
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29351
29419
|
exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = undefined;
|
|
@@ -29409,7 +29477,7 @@ var require_httpAuthSchemeProvider5 = __commonJS((exports) => {
|
|
|
29409
29477
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
29410
29478
|
});
|
|
29411
29479
|
|
|
29412
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
29480
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js
|
|
29413
29481
|
var require_EndpointParameters = __commonJS((exports) => {
|
|
29414
29482
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29415
29483
|
exports.commonParams = exports.resolveClientEndpointParameters = undefined;
|
|
@@ -29431,7 +29499,7 @@ var require_EndpointParameters = __commonJS((exports) => {
|
|
|
29431
29499
|
};
|
|
29432
29500
|
});
|
|
29433
29501
|
|
|
29434
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
29502
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js
|
|
29435
29503
|
var require_ruleset5 = __commonJS((exports) => {
|
|
29436
29504
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29437
29505
|
exports.ruleSet = undefined;
|
|
@@ -29613,7 +29681,7 @@ var require_ruleset5 = __commonJS((exports) => {
|
|
|
29613
29681
|
exports.ruleSet = _data;
|
|
29614
29682
|
});
|
|
29615
29683
|
|
|
29616
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
29684
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js
|
|
29617
29685
|
var require_endpointResolver5 = __commonJS((exports) => {
|
|
29618
29686
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29619
29687
|
exports.defaultEndpointResolver = undefined;
|
|
@@ -29634,7 +29702,7 @@ var require_endpointResolver5 = __commonJS((exports) => {
|
|
|
29634
29702
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
29635
29703
|
});
|
|
29636
29704
|
|
|
29637
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
29705
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js
|
|
29638
29706
|
var require_STSServiceException = __commonJS((exports) => {
|
|
29639
29707
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29640
29708
|
exports.STSServiceException = exports.__ServiceException = undefined;
|
|
@@ -29652,7 +29720,7 @@ var require_STSServiceException = __commonJS((exports) => {
|
|
|
29652
29720
|
exports.STSServiceException = STSServiceException;
|
|
29653
29721
|
});
|
|
29654
29722
|
|
|
29655
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
29723
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js
|
|
29656
29724
|
var require_errors5 = __commonJS((exports) => {
|
|
29657
29725
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29658
29726
|
exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = undefined;
|
|
@@ -29757,7 +29825,7 @@ var require_errors5 = __commonJS((exports) => {
|
|
|
29757
29825
|
exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
|
|
29758
29826
|
});
|
|
29759
29827
|
|
|
29760
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
29828
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js
|
|
29761
29829
|
var require_schemas_05 = __commonJS((exports) => {
|
|
29762
29830
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29763
29831
|
exports.AssumeRoleWithWebIdentity$ = exports.AssumeRole$ = exports.Tag$ = exports.ProvidedContext$ = exports.PolicyDescriptorType$ = exports.Credentials$ = exports.AssumeRoleWithWebIdentityResponse$ = exports.AssumeRoleWithWebIdentityRequest$ = exports.AssumeRoleResponse$ = exports.AssumeRoleRequest$ = exports.AssumedRoleUser$ = exports.errorTypeRegistries = exports.RegionDisabledException$ = exports.PackedPolicyTooLargeException$ = exports.MalformedPolicyDocumentException$ = exports.InvalidIdentityTokenException$ = exports.IDPRejectedClaimException$ = exports.IDPCommunicationErrorException$ = exports.ExpiredTokenException$ = exports.STSServiceException$ = undefined;
|
|
@@ -29955,7 +30023,7 @@ var require_schemas_05 = __commonJS((exports) => {
|
|
|
29955
30023
|
];
|
|
29956
30024
|
});
|
|
29957
30025
|
|
|
29958
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
30026
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js
|
|
29959
30027
|
var require_runtimeConfig_shared4 = __commonJS((exports) => {
|
|
29960
30028
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29961
30029
|
exports.getRuntimeConfig = undefined;
|
|
@@ -30008,7 +30076,7 @@ var require_runtimeConfig_shared4 = __commonJS((exports) => {
|
|
|
30008
30076
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
30009
30077
|
});
|
|
30010
30078
|
|
|
30011
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
30079
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js
|
|
30012
30080
|
var require_runtimeConfig4 = __commonJS((exports) => {
|
|
30013
30081
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30014
30082
|
exports.getRuntimeConfig = undefined;
|
|
@@ -30074,7 +30142,7 @@ var require_runtimeConfig4 = __commonJS((exports) => {
|
|
|
30074
30142
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
30075
30143
|
});
|
|
30076
30144
|
|
|
30077
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
30145
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
30078
30146
|
var require_httpAuthExtensionConfiguration = __commonJS((exports) => {
|
|
30079
30147
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30080
30148
|
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = undefined;
|
|
@@ -30119,7 +30187,7 @@ var require_httpAuthExtensionConfiguration = __commonJS((exports) => {
|
|
|
30119
30187
|
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
30120
30188
|
});
|
|
30121
30189
|
|
|
30122
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
30190
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js
|
|
30123
30191
|
var require_runtimeExtensions = __commonJS((exports) => {
|
|
30124
30192
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30125
30193
|
exports.resolveRuntimeExtensions = undefined;
|
|
@@ -30135,7 +30203,7 @@ var require_runtimeExtensions = __commonJS((exports) => {
|
|
|
30135
30203
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
30136
30204
|
});
|
|
30137
30205
|
|
|
30138
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
30206
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js
|
|
30139
30207
|
var require_STSClient = __commonJS((exports) => {
|
|
30140
30208
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30141
30209
|
exports.STSClient = exports.__Client = undefined;
|
|
@@ -30195,7 +30263,7 @@ var require_STSClient = __commonJS((exports) => {
|
|
|
30195
30263
|
exports.STSClient = STSClient;
|
|
30196
30264
|
});
|
|
30197
30265
|
|
|
30198
|
-
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.
|
|
30266
|
+
// ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.13/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
|
|
30199
30267
|
var require_sts = __commonJS((exports) => {
|
|
30200
30268
|
var STSClient = require_STSClient();
|
|
30201
30269
|
var smithyClient = require_dist_cjs23();
|
|
@@ -30376,7 +30444,7 @@ var require_sts = __commonJS((exports) => {
|
|
|
30376
30444
|
});
|
|
30377
30445
|
});
|
|
30378
30446
|
|
|
30379
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.
|
|
30447
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.21/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js
|
|
30380
30448
|
var require_dist_cjs62 = __commonJS((exports) => {
|
|
30381
30449
|
var sharedIniFileLoader = require_dist_cjs45();
|
|
30382
30450
|
var propertyProvider = require_dist_cjs19();
|
|
@@ -30449,7 +30517,7 @@ var require_dist_cjs62 = __commonJS((exports) => {
|
|
|
30449
30517
|
exports.fromProcess = fromProcess;
|
|
30450
30518
|
});
|
|
30451
30519
|
|
|
30452
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.
|
|
30520
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.23/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js
|
|
30453
30521
|
var require_fromWebToken = __commonJS((exports) => {
|
|
30454
30522
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
30455
30523
|
if (k2 === undefined)
|
|
@@ -30525,7 +30593,7 @@ var require_fromWebToken = __commonJS((exports) => {
|
|
|
30525
30593
|
exports.fromWebToken = fromWebToken;
|
|
30526
30594
|
});
|
|
30527
30595
|
|
|
30528
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.
|
|
30596
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.23/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js
|
|
30529
30597
|
var require_fromTokenFile = __commonJS((exports) => {
|
|
30530
30598
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30531
30599
|
exports.fromTokenFile = undefined;
|
|
@@ -30561,7 +30629,7 @@ var require_fromTokenFile = __commonJS((exports) => {
|
|
|
30561
30629
|
exports.fromTokenFile = fromTokenFile;
|
|
30562
30630
|
});
|
|
30563
30631
|
|
|
30564
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.
|
|
30632
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.23/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js
|
|
30565
30633
|
var require_dist_cjs63 = __commonJS((exports) => {
|
|
30566
30634
|
var fromTokenFile = require_fromTokenFile();
|
|
30567
30635
|
var fromWebToken = require_fromWebToken();
|
|
@@ -30583,7 +30651,7 @@ var require_dist_cjs63 = __commonJS((exports) => {
|
|
|
30583
30651
|
});
|
|
30584
30652
|
});
|
|
30585
30653
|
|
|
30586
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.972.
|
|
30654
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.972.23/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js
|
|
30587
30655
|
var require_dist_cjs64 = __commonJS((exports) => {
|
|
30588
30656
|
var sharedIniFileLoader = require_dist_cjs45();
|
|
30589
30657
|
var propertyProvider = require_dist_cjs19();
|
|
@@ -30771,7 +30839,7 @@ var require_dist_cjs64 = __commonJS((exports) => {
|
|
|
30771
30839
|
exports.fromIni = fromIni;
|
|
30772
30840
|
});
|
|
30773
30841
|
|
|
30774
|
-
// ../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.
|
|
30842
|
+
// ../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.24/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
|
|
30775
30843
|
var require_dist_cjs65 = __commonJS((exports) => {
|
|
30776
30844
|
var credentialProviderEnv = require_dist_cjs51();
|
|
30777
30845
|
var propertyProvider = require_dist_cjs19();
|
|
@@ -31873,7 +31941,7 @@ var require_dist_cjs70 = __commonJS((exports) => {
|
|
|
31873
31941
|
exports.readableStreamHasher = readableStreamHasher;
|
|
31874
31942
|
});
|
|
31875
31943
|
|
|
31876
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
31944
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js
|
|
31877
31945
|
var require_runtimeConfig_shared5 = __commonJS((exports) => {
|
|
31878
31946
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31879
31947
|
exports.getRuntimeConfig = undefined;
|
|
@@ -31932,7 +32000,7 @@ var require_runtimeConfig_shared5 = __commonJS((exports) => {
|
|
|
31932
32000
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
31933
32001
|
});
|
|
31934
32002
|
|
|
31935
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
32003
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js
|
|
31936
32004
|
var require_runtimeConfig5 = __commonJS((exports) => {
|
|
31937
32005
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31938
32006
|
exports.getRuntimeConfig = undefined;
|
|
@@ -32269,7 +32337,7 @@ var require_dist_cjs73 = __commonJS((exports) => {
|
|
|
32269
32337
|
exports.waiterServiceDefaults = waiterServiceDefaults;
|
|
32270
32338
|
});
|
|
32271
32339
|
|
|
32272
|
-
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.
|
|
32340
|
+
// ../node_modules/.pnpm/@aws-sdk+client-s3@3.1014.0/node_modules/@aws-sdk/client-s3/dist-cjs/index.js
|
|
32273
32341
|
var require_dist_cjs74 = __commonJS((exports) => {
|
|
32274
32342
|
var middlewareExpectContinue = require_dist_cjs3();
|
|
32275
32343
|
var middlewareFlexibleChecksums = require_dist_cjs30();
|
|
@@ -63310,7 +63378,7 @@ var useKey = (envKey, initKey = "context") => {
|
|
|
63310
63378
|
return null;
|
|
63311
63379
|
};
|
|
63312
63380
|
|
|
63313
|
-
// ../node_modules/.pnpm/@kevisual+router@0.
|
|
63381
|
+
// ../node_modules/.pnpm/@kevisual+router@0.2.2/node_modules/@kevisual/router/dist/router.js
|
|
63314
63382
|
import { createRequire as createRequire2 } from "node:module";
|
|
63315
63383
|
import { webcrypto as crypto2 } from "node:crypto";
|
|
63316
63384
|
import http from "node:http";
|
|
@@ -80559,7 +80627,7 @@ var fromJSONSchema2 = (args = {}, opts) => {
|
|
|
80559
80627
|
}
|
|
80560
80628
|
return resultArgs;
|
|
80561
80629
|
};
|
|
80562
|
-
var pickValue = ["path", "key", "
|
|
80630
|
+
var pickValue = ["path", "key", "rid", "description", "type", "middleware", "metadata"];
|
|
80563
80631
|
var tool = {
|
|
80564
80632
|
schema: exports_external
|
|
80565
80633
|
};
|
|
@@ -80579,7 +80647,7 @@ var createSkill = (skill) => {
|
|
|
80579
80647
|
class Route {
|
|
80580
80648
|
path;
|
|
80581
80649
|
key;
|
|
80582
|
-
|
|
80650
|
+
rid;
|
|
80583
80651
|
run;
|
|
80584
80652
|
nextRoute;
|
|
80585
80653
|
description;
|
|
@@ -80597,7 +80665,7 @@ class Route {
|
|
|
80597
80665
|
this.key = key;
|
|
80598
80666
|
const pathKey = `${path}$$${key}`;
|
|
80599
80667
|
if (opts) {
|
|
80600
|
-
this.
|
|
80668
|
+
this.rid = opts.rid || hashIdMd5Sync(pathKey);
|
|
80601
80669
|
this.run = opts.run;
|
|
80602
80670
|
this.nextRoute = opts.nextRoute;
|
|
80603
80671
|
this.description = opts.description;
|
|
@@ -80609,8 +80677,8 @@ class Route {
|
|
|
80609
80677
|
} else {
|
|
80610
80678
|
this.middleware = [];
|
|
80611
80679
|
}
|
|
80612
|
-
if (!this.
|
|
80613
|
-
this.
|
|
80680
|
+
if (!this.rid) {
|
|
80681
|
+
this.rid = hashIdMd5Sync(pathKey);
|
|
80614
80682
|
}
|
|
80615
80683
|
this.isDebug = opts?.isDebug ?? false;
|
|
80616
80684
|
}
|
|
@@ -80716,14 +80784,14 @@ class QueryRouter {
|
|
|
80716
80784
|
this.routes = this.routes.filter((r) => r.path === route.path && r.key == route.key);
|
|
80717
80785
|
}
|
|
80718
80786
|
removeById(uniqueId) {
|
|
80719
|
-
this.routes = this.routes.filter((r) => r.
|
|
80787
|
+
this.routes = this.routes.filter((r) => r.rid !== uniqueId);
|
|
80720
80788
|
}
|
|
80721
80789
|
async runRoute(path, key, ctx) {
|
|
80722
80790
|
const route = this.routes.find((r) => r.path === path && r.key === key);
|
|
80723
80791
|
const maxNextRoute = this.maxNextRoute;
|
|
80724
80792
|
ctx = ctx || {};
|
|
80725
80793
|
ctx.currentPath = path;
|
|
80726
|
-
ctx.currentId = route?.
|
|
80794
|
+
ctx.currentId = route?.rid;
|
|
80727
80795
|
ctx.currentKey = key;
|
|
80728
80796
|
ctx.currentRoute = route;
|
|
80729
80797
|
ctx.index = (ctx.index || 0) + 1;
|
|
@@ -80750,11 +80818,11 @@ class QueryRouter {
|
|
|
80750
80818
|
let route2;
|
|
80751
80819
|
const isString2 = typeof item === "string";
|
|
80752
80820
|
if (isString2) {
|
|
80753
|
-
route2 = this.routes.find((r) => r.
|
|
80821
|
+
route2 = this.routes.find((r) => r.rid === item);
|
|
80754
80822
|
} else {
|
|
80755
80823
|
route2 = this.routes.find((r) => {
|
|
80756
|
-
if (item.
|
|
80757
|
-
return r.
|
|
80824
|
+
if (item.rid) {
|
|
80825
|
+
return r.rid === item.rid;
|
|
80758
80826
|
} else {
|
|
80759
80827
|
return r.path === item.path && r.key == item.key;
|
|
80760
80828
|
}
|
|
@@ -80803,8 +80871,8 @@ class QueryRouter {
|
|
|
80803
80871
|
ctx.message = e.message;
|
|
80804
80872
|
ctx.body = null;
|
|
80805
80873
|
} else {
|
|
80806
|
-
console.error(`[router error] fn:${route.path}-${route.key}:${route.
|
|
80807
|
-
console.error(`[router error] middleware:${middleware.path}-${middleware.key}:${middleware.
|
|
80874
|
+
console.error(`[router error] fn:${route.path}-${route.key}:${route.rid}`);
|
|
80875
|
+
console.error(`[router error] middleware:${middleware.path}-${middleware.key}:${middleware.rid}`);
|
|
80808
80876
|
console.error(e);
|
|
80809
80877
|
ctx.code = 500;
|
|
80810
80878
|
ctx.message = "Internal Server Error";
|
|
@@ -80832,7 +80900,7 @@ class QueryRouter {
|
|
|
80832
80900
|
ctx.code = e.code;
|
|
80833
80901
|
ctx.message = e.message;
|
|
80834
80902
|
} else {
|
|
80835
|
-
console.error(`[router error] fn:${route.path}-${route.key}:${route.
|
|
80903
|
+
console.error(`[router error] fn:${route.path}-${route.key}:${route.rid}`);
|
|
80836
80904
|
console.error(`[router error] error`, e);
|
|
80837
80905
|
ctx.code = 500;
|
|
80838
80906
|
ctx.message = "Internal Server Error";
|
|
@@ -80848,8 +80916,8 @@ class QueryRouter {
|
|
|
80848
80916
|
if (route.nextRoute.path || route.nextRoute.key) {
|
|
80849
80917
|
path2 = route.nextRoute.path;
|
|
80850
80918
|
key2 = route.nextRoute.key;
|
|
80851
|
-
} else if (route.nextRoute.
|
|
80852
|
-
const nextRoute = this.routes.find((r) => r.
|
|
80919
|
+
} else if (route.nextRoute.rid) {
|
|
80920
|
+
const nextRoute = this.routes.find((r) => r.rid === route.nextRoute.rid);
|
|
80853
80921
|
if (nextRoute) {
|
|
80854
80922
|
path2 = nextRoute.path;
|
|
80855
80923
|
key2 = nextRoute.key;
|
|
@@ -80913,8 +80981,8 @@ class QueryRouter {
|
|
|
80913
80981
|
let key = message.key;
|
|
80914
80982
|
if (path) {
|
|
80915
80983
|
return await this.parse({ ...message, path, key }, { ...this.context, ...ctx });
|
|
80916
|
-
} else if (message.
|
|
80917
|
-
const route = this.routes.find((r) => r.
|
|
80984
|
+
} else if (message.rid) {
|
|
80985
|
+
const route = this.routes.find((r) => r.rid === message.rid);
|
|
80918
80986
|
if (route) {
|
|
80919
80987
|
path = route.path;
|
|
80920
80988
|
key = route.key;
|
|
@@ -80987,10 +81055,10 @@ class QueryRouter {
|
|
|
80987
81055
|
return this.routes.find((r) => r.path === path && r.key === key);
|
|
80988
81056
|
}
|
|
80989
81057
|
findRoute(opts) {
|
|
80990
|
-
const { path, key,
|
|
81058
|
+
const { path, key, rid } = opts || {};
|
|
80991
81059
|
return this.routes.find((r) => {
|
|
80992
|
-
if (
|
|
80993
|
-
return r.
|
|
81060
|
+
if (rid) {
|
|
81061
|
+
return r.rid === rid;
|
|
80994
81062
|
}
|
|
80995
81063
|
if (path) {
|
|
80996
81064
|
if (key !== undefined) {
|
|
@@ -81011,14 +81079,14 @@ class QueryRouter {
|
|
|
81011
81079
|
const tokenUser = ctx.state;
|
|
81012
81080
|
let isUser = !!tokenUser;
|
|
81013
81081
|
const list = this.getList(opts?.filter).filter((item) => {
|
|
81014
|
-
if (item.
|
|
81082
|
+
if (item.rid === "auth" || item.rid === "auth-can" || item.rid === "check-auth-admin" || item.rid === "auth-admin") {
|
|
81015
81083
|
return false;
|
|
81016
81084
|
}
|
|
81017
81085
|
return true;
|
|
81018
81086
|
});
|
|
81019
81087
|
ctx.body = {
|
|
81020
81088
|
list: list.map((item) => {
|
|
81021
|
-
const route = pick(item, ["
|
|
81089
|
+
const route = pick(item, ["rid", "path", "key", "description", "middleware", "metadata"]);
|
|
81022
81090
|
return toJSONSchemaRoute(route);
|
|
81023
81091
|
}),
|
|
81024
81092
|
isUser
|
|
@@ -81088,14 +81156,14 @@ class QueryRouterServer extends QueryRouter {
|
|
|
81088
81156
|
return super.run(msg, ctx);
|
|
81089
81157
|
}
|
|
81090
81158
|
async runAction(api2, payload, ctx) {
|
|
81091
|
-
const { path, key,
|
|
81092
|
-
return this.run({ path, key,
|
|
81159
|
+
const { path, key, rid } = api2;
|
|
81160
|
+
return this.run({ path, key, rid, payload }, ctx);
|
|
81093
81161
|
}
|
|
81094
81162
|
async createAuth(fun) {
|
|
81095
81163
|
this.route({
|
|
81096
81164
|
path: "auth",
|
|
81097
81165
|
key: "auth",
|
|
81098
|
-
|
|
81166
|
+
rid: "auth",
|
|
81099
81167
|
description: "token验证"
|
|
81100
81168
|
}).define(async (ctx) => {
|
|
81101
81169
|
if (fun) {
|
|
@@ -81105,7 +81173,7 @@ class QueryRouterServer extends QueryRouter {
|
|
|
81105
81173
|
this.route({
|
|
81106
81174
|
path: "auth-admin",
|
|
81107
81175
|
key: "auth-admin",
|
|
81108
|
-
|
|
81176
|
+
rid: "auth-admin",
|
|
81109
81177
|
description: "admin token验证",
|
|
81110
81178
|
middleware: ["auth"]
|
|
81111
81179
|
}).define(async (ctx) => {
|
|
@@ -81116,7 +81184,7 @@ class QueryRouterServer extends QueryRouter {
|
|
|
81116
81184
|
this.route({
|
|
81117
81185
|
path: "auth-can",
|
|
81118
81186
|
key: "auth-can",
|
|
81119
|
-
|
|
81187
|
+
rid: "auth-can",
|
|
81120
81188
|
description: "权限验证"
|
|
81121
81189
|
}).define(async (ctx) => {
|
|
81122
81190
|
if (fun) {
|
|
@@ -82048,7 +82116,7 @@ class App extends QueryRouterServer {
|
|
|
82048
82116
|
}
|
|
82049
82117
|
}
|
|
82050
82118
|
|
|
82051
|
-
// ../node_modules/.pnpm/@kevisual+router@0.
|
|
82119
|
+
// ../node_modules/.pnpm/@kevisual+router@0.2.2/node_modules/@kevisual/router/dist/router-simple.js
|
|
82052
82120
|
import url3 from "node:url";
|
|
82053
82121
|
var __create3 = Object.create;
|
|
82054
82122
|
var __getProtoOf3 = Object.getPrototypeOf;
|
|
@@ -93343,7 +93411,7 @@ class Query {
|
|
|
93343
93411
|
}
|
|
93344
93412
|
}
|
|
93345
93413
|
|
|
93346
|
-
// ../node_modules/.pnpm/@kevisual+router@0.
|
|
93414
|
+
// ../node_modules/.pnpm/@kevisual+router@0.2.2/node_modules/@kevisual/router/dist/router-browser.js
|
|
93347
93415
|
var __create5 = Object.create;
|
|
93348
93416
|
var __getProtoOf5 = Object.getPrototypeOf;
|
|
93349
93417
|
var __defProp5 = Object.defineProperty;
|
|
@@ -126160,7 +126228,7 @@ function filter(data, query) {
|
|
|
126160
126228
|
return executor.execute(ast, data);
|
|
126161
126229
|
}
|
|
126162
126230
|
|
|
126163
|
-
// ../node_modules/.pnpm/@kevisual+api@0.0.
|
|
126231
|
+
// ../node_modules/.pnpm/@kevisual+api@0.0.65_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-proxy/router-api-proxy.ts
|
|
126164
126232
|
var initApi = async (opts) => {
|
|
126165
126233
|
const router = opts?.router;
|
|
126166
126234
|
const item = opts?.item;
|
|
@@ -140696,7 +140764,7 @@ class Query2 {
|
|
|
140696
140764
|
}
|
|
140697
140765
|
}
|
|
140698
140766
|
|
|
140699
|
-
// ../node_modules/.pnpm/@kevisual+api@0.0.
|
|
140767
|
+
// ../node_modules/.pnpm/@kevisual+api@0.0.65_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/dist/query-login-node.js
|
|
140700
140768
|
import { homedir as homedir2 } from "node:os";
|
|
140701
140769
|
import { join, dirname } from "node:path";
|
|
140702
140770
|
import fs15 from "node:fs";
|
|
@@ -140706,15 +140774,29 @@ var __getProtoOf6 = Object.getPrototypeOf;
|
|
|
140706
140774
|
var __defProp6 = Object.defineProperty;
|
|
140707
140775
|
var __getOwnPropNames6 = Object.getOwnPropertyNames;
|
|
140708
140776
|
var __hasOwnProp6 = Object.prototype.hasOwnProperty;
|
|
140777
|
+
function __accessProp5(key) {
|
|
140778
|
+
return this[key];
|
|
140779
|
+
}
|
|
140780
|
+
var __toESMCache_node5;
|
|
140781
|
+
var __toESMCache_esm5;
|
|
140709
140782
|
var __toESM6 = (mod, isNodeMode, target) => {
|
|
140783
|
+
var canCache = mod != null && typeof mod === "object";
|
|
140784
|
+
if (canCache) {
|
|
140785
|
+
var cache = isNodeMode ? __toESMCache_node5 ??= new WeakMap : __toESMCache_esm5 ??= new WeakMap;
|
|
140786
|
+
var cached4 = cache.get(mod);
|
|
140787
|
+
if (cached4)
|
|
140788
|
+
return cached4;
|
|
140789
|
+
}
|
|
140710
140790
|
target = mod != null ? __create6(__getProtoOf6(mod)) : {};
|
|
140711
140791
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp6(target, "default", { value: mod, enumerable: true }) : target;
|
|
140712
140792
|
for (let key of __getOwnPropNames6(mod))
|
|
140713
140793
|
if (!__hasOwnProp6.call(to, key))
|
|
140714
140794
|
__defProp6(to, key, {
|
|
140715
|
-
get: (
|
|
140795
|
+
get: __accessProp5.bind(mod, key),
|
|
140716
140796
|
enumerable: true
|
|
140717
140797
|
});
|
|
140798
|
+
if (canCache)
|
|
140799
|
+
cache.set(mod, to);
|
|
140718
140800
|
return to;
|
|
140719
140801
|
};
|
|
140720
140802
|
var __commonJS6 = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
@@ -141096,10 +141178,6 @@ class Query3 {
|
|
|
141096
141178
|
});
|
|
141097
141179
|
}
|
|
141098
141180
|
}
|
|
141099
|
-
const headers2 = req.headers || {};
|
|
141100
|
-
if (options?.token && !headers2["Authorization"]) {
|
|
141101
|
-
headers2["Authorization"] = `Bearer ${options.token}`;
|
|
141102
|
-
}
|
|
141103
141181
|
} catch (e) {
|
|
141104
141182
|
console.error("request beforeFn error", e, req);
|
|
141105
141183
|
return wrapperError3({
|
|
@@ -141160,20 +141238,20 @@ class Query3 {
|
|
|
141160
141238
|
this.afterResponse = fn;
|
|
141161
141239
|
}
|
|
141162
141240
|
async fetchText(urlOrOptions, options) {
|
|
141163
|
-
let _options = {
|
|
141241
|
+
let _options = { ...options };
|
|
141164
141242
|
if (typeof urlOrOptions === "string" && !_options.url) {
|
|
141165
141243
|
_options.url = urlOrOptions;
|
|
141166
141244
|
}
|
|
141167
141245
|
if (typeof urlOrOptions === "object") {
|
|
141168
141246
|
_options = { ...urlOrOptions, ..._options };
|
|
141169
141247
|
}
|
|
141170
|
-
const headers = { ...this.headers, ..._options.headers };
|
|
141171
|
-
if (options?.token && !headers["Authorization"] && _options.method !== "GET") {
|
|
141172
|
-
headers["Authorization"] = `Bearer ${options.token}`;
|
|
141173
|
-
}
|
|
141174
141248
|
const res = await adapter3({
|
|
141249
|
+
method: "GET",
|
|
141175
141250
|
..._options,
|
|
141176
|
-
headers
|
|
141251
|
+
headers: {
|
|
141252
|
+
...this.headers,
|
|
141253
|
+
..._options?.headers || {}
|
|
141254
|
+
}
|
|
141177
141255
|
});
|
|
141178
141256
|
if (res && !res.code) {
|
|
141179
141257
|
return {
|
|
@@ -142042,6 +142120,9 @@ class QueryLogin extends BaseQuery {
|
|
|
142042
142120
|
const res = await this.refreshLoginUser();
|
|
142043
142121
|
if (res.code === 200) {
|
|
142044
142122
|
return res.data?.accessToken || null;
|
|
142123
|
+
} else {
|
|
142124
|
+
this.storage.removeItem("token");
|
|
142125
|
+
await this.cacheStore.clearCurrentUser();
|
|
142045
142126
|
}
|
|
142046
142127
|
return null;
|
|
142047
142128
|
}
|
|
@@ -145236,7 +145317,7 @@ app.route({
|
|
|
145236
145317
|
}).addTo(app, {
|
|
145237
145318
|
overwrite: false
|
|
145238
145319
|
});
|
|
145239
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145320
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/core/serverSentEvents.gen.js
|
|
145240
145321
|
var createSseClient = ({ onSseError, onSseEvent, responseTransformer, responseValidator, sseDefaultRetryDelay, sseMaxRetryAttempts, sseMaxRetryDelay, sseSleepFn, url: url4, ...options }) => {
|
|
145241
145322
|
let lastEventId;
|
|
145242
145323
|
const sleep = sseSleepFn ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
@@ -145345,7 +145426,7 @@ var createSseClient = ({ onSseError, onSseEvent, responseTransformer, responseVa
|
|
|
145345
145426
|
return { stream: stream2 };
|
|
145346
145427
|
};
|
|
145347
145428
|
|
|
145348
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145429
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/core/auth.gen.js
|
|
145349
145430
|
var getAuthToken = async (auth, callback) => {
|
|
145350
145431
|
const token = typeof callback === "function" ? await callback(auth) : callback;
|
|
145351
145432
|
if (!token) {
|
|
@@ -145360,12 +145441,12 @@ var getAuthToken = async (auth, callback) => {
|
|
|
145360
145441
|
return token;
|
|
145361
145442
|
};
|
|
145362
145443
|
|
|
145363
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145444
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/core/bodySerializer.gen.js
|
|
145364
145445
|
var jsonBodySerializer = {
|
|
145365
145446
|
bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
|
|
145366
145447
|
};
|
|
145367
145448
|
|
|
145368
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145449
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/core/pathSerializer.gen.js
|
|
145369
145450
|
var separatorArrayExplode = (style) => {
|
|
145370
145451
|
switch (style) {
|
|
145371
145452
|
case "label":
|
|
@@ -145468,7 +145549,7 @@ var serializeObjectParam = ({ allowReserved, explode, name, style, value, valueO
|
|
|
145468
145549
|
return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
|
|
145469
145550
|
};
|
|
145470
145551
|
|
|
145471
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145552
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/core/utils.gen.js
|
|
145472
145553
|
var PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
145473
145554
|
var defaultPathSerializer = ({ path: path18, url: _url4 }) => {
|
|
145474
145555
|
let url4 = _url4;
|
|
@@ -145536,7 +145617,7 @@ var getUrl = ({ baseUrl, path: path18, query: query2, querySerializer, url: _url
|
|
|
145536
145617
|
return url4;
|
|
145537
145618
|
};
|
|
145538
145619
|
|
|
145539
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145620
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/client/utils.gen.js
|
|
145540
145621
|
var createQuerySerializer = ({ allowReserved, array: array5, object: object4 } = {}) => {
|
|
145541
145622
|
const querySerializer = (queryParams) => {
|
|
145542
145623
|
const search = [];
|
|
@@ -145744,7 +145825,7 @@ var createConfig = (override = {}) => ({
|
|
|
145744
145825
|
...override
|
|
145745
145826
|
});
|
|
145746
145827
|
|
|
145747
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145828
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/client/client.gen.js
|
|
145748
145829
|
var createClient = (config6 = {}) => {
|
|
145749
145830
|
let _config = mergeConfigs(createConfig(), config6);
|
|
145750
145831
|
const getConfig2 = () => ({ ..._config });
|
|
@@ -145891,7 +145972,7 @@ var createClient = (config6 = {}) => {
|
|
|
145891
145972
|
trace: makeMethod("TRACE")
|
|
145892
145973
|
};
|
|
145893
145974
|
};
|
|
145894
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145975
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/core/params.gen.js
|
|
145895
145976
|
var extraPrefixesMap = {
|
|
145896
145977
|
$body_: "body",
|
|
145897
145978
|
$headers_: "headers",
|
|
@@ -145899,12 +145980,12 @@ var extraPrefixesMap = {
|
|
|
145899
145980
|
$query_: "query"
|
|
145900
145981
|
};
|
|
145901
145982
|
var extraPrefixes = Object.entries(extraPrefixesMap);
|
|
145902
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145983
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/client.gen.js
|
|
145903
145984
|
var client = createClient(createConfig({
|
|
145904
145985
|
baseUrl: "http://localhost:4096"
|
|
145905
145986
|
}));
|
|
145906
145987
|
|
|
145907
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
145988
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/gen/sdk.gen.js
|
|
145908
145989
|
class _HeyApiClient {
|
|
145909
145990
|
_client = client;
|
|
145910
145991
|
constructor(args2) {
|
|
@@ -146574,7 +146655,7 @@ class OpencodeClient extends _HeyApiClient {
|
|
|
146574
146655
|
event = new Event({ client: this._client });
|
|
146575
146656
|
}
|
|
146576
146657
|
|
|
146577
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
146658
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/client.js
|
|
146578
146659
|
function createOpencodeClient(config6) {
|
|
146579
146660
|
if (!config6?.fetch) {
|
|
146580
146661
|
const customFetch = (req) => {
|
|
@@ -146595,7 +146676,7 @@ function createOpencodeClient(config6) {
|
|
|
146595
146676
|
const client2 = createClient(config6);
|
|
146596
146677
|
return new OpencodeClient({ client: client2 });
|
|
146597
146678
|
}
|
|
146598
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
146679
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/server.js
|
|
146599
146680
|
import { spawn as spawn3 } from "node:child_process";
|
|
146600
146681
|
async function createOpencodeServer(options) {
|
|
146601
146682
|
options = Object.assign({
|
|
@@ -146664,7 +146745,7 @@ Server output: ${output}`;
|
|
|
146664
146745
|
}
|
|
146665
146746
|
};
|
|
146666
146747
|
}
|
|
146667
|
-
// ../node_modules/.pnpm/@opencode-ai+sdk@1.
|
|
146748
|
+
// ../node_modules/.pnpm/@opencode-ai+sdk@1.3.0/node_modules/@opencode-ai/sdk/dist/index.js
|
|
146668
146749
|
async function createOpencode(options) {
|
|
146669
146750
|
const server2 = await createOpencodeServer({
|
|
146670
146751
|
...options
|
|
@@ -146678,7 +146759,7 @@ async function createOpencode(options) {
|
|
|
146678
146759
|
};
|
|
146679
146760
|
}
|
|
146680
146761
|
|
|
146681
|
-
// ../node_modules/.pnpm/get-port@7.
|
|
146762
|
+
// ../node_modules/.pnpm/get-port@7.2.0/node_modules/get-port/index.js
|
|
146682
146763
|
import net from "node:net";
|
|
146683
146764
|
import os5 from "node:os";
|
|
146684
146765
|
|
|
@@ -146692,6 +146773,7 @@ var lockedPorts = {
|
|
|
146692
146773
|
young: new Set
|
|
146693
146774
|
};
|
|
146694
146775
|
var releaseOldLockedPortsIntervalMs = 1000 * 15;
|
|
146776
|
+
var reservedPorts = new Set;
|
|
146695
146777
|
var minPort = 1024;
|
|
146696
146778
|
var maxPort = 65535;
|
|
146697
146779
|
var timeout2;
|
|
@@ -146731,6 +146813,7 @@ var getAvailablePort = async (options, hosts) => {
|
|
|
146731
146813
|
}
|
|
146732
146814
|
return options.port;
|
|
146733
146815
|
};
|
|
146816
|
+
var isLockedPort = (port) => lockedPorts.old.has(port) || lockedPorts.young.has(port) || reservedPorts.has(port);
|
|
146734
146817
|
var portCheckSequence = function* (ports) {
|
|
146735
146818
|
if (ports) {
|
|
146736
146819
|
yield* ports;
|
|
@@ -146760,6 +146843,7 @@ async function getPorts(options) {
|
|
|
146760
146843
|
exclude = new Set(excludeIterable);
|
|
146761
146844
|
}
|
|
146762
146845
|
}
|
|
146846
|
+
const { reserve, ...netOptions } = options ?? {};
|
|
146763
146847
|
if (timeout2 === undefined) {
|
|
146764
146848
|
timeout2 = setTimeout(() => {
|
|
146765
146849
|
timeout2 = undefined;
|
|
@@ -146776,14 +146860,18 @@ async function getPorts(options) {
|
|
|
146776
146860
|
if (exclude.has(port)) {
|
|
146777
146861
|
continue;
|
|
146778
146862
|
}
|
|
146779
|
-
let availablePort = await getAvailablePort({ ...
|
|
146780
|
-
while (
|
|
146863
|
+
let availablePort = await getAvailablePort({ ...netOptions, port }, hosts);
|
|
146864
|
+
while (isLockedPort(availablePort)) {
|
|
146781
146865
|
if (port !== 0) {
|
|
146782
146866
|
throw new Locked(port);
|
|
146783
146867
|
}
|
|
146784
|
-
availablePort = await getAvailablePort({ ...
|
|
146868
|
+
availablePort = await getAvailablePort({ ...netOptions, port }, hosts);
|
|
146869
|
+
}
|
|
146870
|
+
if (reserve) {
|
|
146871
|
+
reservedPorts.add(availablePort);
|
|
146872
|
+
} else {
|
|
146873
|
+
lockedPorts.young.add(availablePort);
|
|
146785
146874
|
}
|
|
146786
|
-
lockedPorts.young.add(availablePort);
|
|
146787
146875
|
return availablePort;
|
|
146788
146876
|
} catch (error54) {
|
|
146789
146877
|
if (!["EADDRINUSE", "EACCES"].includes(error54.code) && !(error54 instanceof Locked)) {
|
|
@@ -148931,7 +149019,7 @@ var checkAuth = async (ctx, isAdmin = false) => {
|
|
|
148931
149019
|
};
|
|
148932
149020
|
app.route({
|
|
148933
149021
|
path: "auth",
|
|
148934
|
-
|
|
149022
|
+
rid: "auth",
|
|
148935
149023
|
description: "获取当前登录用户信息, 第一个登录的用户为管理员用户"
|
|
148936
149024
|
}).define(async (ctx) => {
|
|
148937
149025
|
if (!ctx.query?.token && ctx.appId === app.appId) {
|
|
@@ -148944,7 +149032,7 @@ app.route({
|
|
|
148944
149032
|
}).addTo(app);
|
|
148945
149033
|
app.route({
|
|
148946
149034
|
path: "auth-admin",
|
|
148947
|
-
|
|
149035
|
+
rid: "auth-admin",
|
|
148948
149036
|
description: "管理员鉴权, 获取用户信息,并验证是否为管理员。"
|
|
148949
149037
|
}).define(async (ctx) => {
|
|
148950
149038
|
if (!ctx.query?.token && ctx.appId === app.appId) {
|
|
@@ -149625,7 +149713,7 @@ var import_busboy = __toESM(require_lib2(), 1);
|
|
|
149625
149713
|
import path20 from "path";
|
|
149626
149714
|
import fs23 from "fs";
|
|
149627
149715
|
|
|
149628
|
-
// ../node_modules/.pnpm/@kevisual+router@0.
|
|
149716
|
+
// ../node_modules/.pnpm/@kevisual+router@0.2.2/node_modules/@kevisual/router/src/server/cookie.ts
|
|
149629
149717
|
var NullObject2 = /* @__PURE__ */ (() => {
|
|
149630
149718
|
const C2 = function() {};
|
|
149631
149719
|
C2.prototype = Object.create(null);
|