replicas-mcp 0.2.7 → 0.2.8
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/{chunk-QIOBV22I.js → chunk-6PZSQLNC.js} +12 -12
- package/dist/{chunk-C6IOMGXW.js → chunk-B7L4ZPGB.js} +33 -33
- package/dist/{chunk-FIMT2XWG.js → chunk-FYYO2R33.js} +11 -11
- package/dist/{chunk-KEOQGGM5.js → chunk-IFQZRTNU.js} +55 -54
- package/dist/{chunk-NWBPSHNL.js → chunk-IKBVWGNN.js} +377 -102
- package/dist/{chunk-3X3IL2A6.js → chunk-PMRETU6D.js} +80 -72
- package/dist/{dist-es-MAMFGWZS.js → dist-es-2L3JFPXA.js} +17 -17
- package/dist/{dist-es-KLEKEXIP.js → dist-es-C6C5EPYY.js} +7 -7
- package/dist/{dist-es-7DMTLQRJ.js → dist-es-M6CDI3BC.js} +7 -7
- package/dist/{dist-es-3DLRX4SC.js → dist-es-N74TKJQO.js} +9 -9
- package/dist/{dist-es-V7ZJXG3C.js → dist-es-W4ABA4W6.js} +22 -19
- package/dist/{dist-es-VBWSM7AX.js → dist-es-XIFQZYH7.js} +43 -35
- package/dist/{dist-es-B6XNMCQ4.js → dist-es-YTPWGDNE.js} +4 -4
- package/dist/{event-streams-D47TMH7D.js → event-streams-SFJFPYVF.js} +17 -17
- package/dist/index.js +169 -33
- package/dist/{loadSso-4NJATGLO.js → loadSso-UZHA43K3.js} +19 -19
- package/dist/{signin-HB5KQSHQ.js → signin-HL5RI4AN.js} +155 -77
- package/dist/{sso-oidc-7AKRONOU.js → sso-oidc-AMAMV42C.js} +21 -21
- package/dist/{sts-WSDR725H.js → sts-ZEHQ76A7.js} +434 -45
- package/package.json +1 -1
- package/src/index.ts +1 -1
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
resolveAwsSdkSigV4AConfig,
|
|
18
18
|
resolveAwsSdkSigV4Config,
|
|
19
19
|
streamCollector
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IFQZRTNU.js";
|
|
21
21
|
import {
|
|
22
22
|
NodeHttpHandler
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6PZSQLNC.js";
|
|
24
24
|
import {
|
|
25
25
|
BinaryDecisionDiagram,
|
|
26
26
|
Client,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
resolveUserAgentConfig,
|
|
59
59
|
setCredentialFeature,
|
|
60
60
|
stsRegionDefaultResolver
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-IKBVWGNN.js";
|
|
62
62
|
import {
|
|
63
63
|
FromStringShapeDeserializer,
|
|
64
64
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
resolveDefaultsModeConfig,
|
|
82
82
|
resolveHttpHandlerRuntimeConfig,
|
|
83
83
|
resolveRegionConfig
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-PMRETU6D.js";
|
|
85
85
|
import {
|
|
86
86
|
Hash,
|
|
87
87
|
NumericValue,
|
|
@@ -92,20 +92,20 @@ import {
|
|
|
92
92
|
generateIdempotencyToken,
|
|
93
93
|
toBase64,
|
|
94
94
|
toUtf8
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-B7L4ZPGB.js";
|
|
96
96
|
import "./chunk-Q6JESX2O.js";
|
|
97
97
|
|
|
98
|
-
// ../node_modules/.bun/@smithy+signature-v4@5.
|
|
98
|
+
// ../node_modules/.bun/@smithy+signature-v4@5.5.1/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js
|
|
99
99
|
var signatureV4aContainer = {
|
|
100
100
|
SignatureV4a: null
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
// ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.
|
|
103
|
+
// ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.35/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js
|
|
104
104
|
var signatureV4CrtContainer = {
|
|
105
105
|
CrtSignerV4: null
|
|
106
106
|
};
|
|
107
107
|
|
|
108
|
-
// ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.
|
|
108
|
+
// ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.35/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4SignWithCredentials.js
|
|
109
109
|
var SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token";
|
|
110
110
|
var SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase();
|
|
111
111
|
var SignatureV4SignWithCredentials = class extends SignatureV4 {
|
|
@@ -142,7 +142,7 @@ function setSingleOverride(privateAccess, credentialsWithoutSessionToken) {
|
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
// ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.
|
|
145
|
+
// ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.35/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js
|
|
146
146
|
var SignatureV4MultiRegion = class {
|
|
147
147
|
sigv4aSigner;
|
|
148
148
|
sigv4Signer;
|
|
@@ -228,7 +228,7 @@ var SignatureV4MultiRegion = class {
|
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
231
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js
|
|
232
232
|
var q = "ref";
|
|
233
233
|
var a = -1;
|
|
234
234
|
var b = true;
|
|
@@ -391,7 +391,7 @@ var nodes = new Int32Array([
|
|
|
391
391
|
]);
|
|
392
392
|
var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
393
393
|
|
|
394
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
394
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js
|
|
395
395
|
var cache = new EndpointCache({
|
|
396
396
|
size: 50,
|
|
397
397
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"]
|
|
@@ -404,7 +404,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
404
404
|
};
|
|
405
405
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
406
406
|
|
|
407
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
407
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
|
|
408
408
|
var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
409
409
|
if (!input) {
|
|
410
410
|
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
@@ -531,7 +531,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
531
531
|
});
|
|
532
532
|
};
|
|
533
533
|
|
|
534
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
534
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
|
|
535
535
|
var resolveClientEndpointParameters = (options) => {
|
|
536
536
|
return Object.assign(options, {
|
|
537
537
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -895,7 +895,7 @@ function getPositionFromMatch(match) {
|
|
|
895
895
|
return match.startIndex + match[1].length;
|
|
896
896
|
}
|
|
897
897
|
|
|
898
|
-
// ../node_modules/.bun/@nodable+entities@2.
|
|
898
|
+
// ../node_modules/.bun/@nodable+entities@2.2.0/node_modules/@nodable/entities/src/entities.js
|
|
899
899
|
var BASIC_LATIN = {
|
|
900
900
|
amp: "&",
|
|
901
901
|
AMP: "&",
|
|
@@ -1977,7 +1977,15 @@ var COMMON_HTML = {
|
|
|
1977
1977
|
frac34: "\xBE"
|
|
1978
1978
|
};
|
|
1979
1979
|
|
|
1980
|
-
// ../node_modules/.bun/@nodable+entities@2.
|
|
1980
|
+
// ../node_modules/.bun/@nodable+entities@2.2.0/node_modules/@nodable/entities/src/EntityDecoder.js
|
|
1981
|
+
var ENTITY_ACTION = Object.freeze({
|
|
1982
|
+
/** Resolve and expand the entity normally. */
|
|
1983
|
+
ALLOW: "allow",
|
|
1984
|
+
/** Silently skip this entity — it will not be registered. */
|
|
1985
|
+
BLOCK: "block",
|
|
1986
|
+
/** Throw an error, aborting entity registration entirely. */
|
|
1987
|
+
THROW: "throw"
|
|
1988
|
+
});
|
|
1981
1989
|
var SPECIAL_CHARS = new Set("!?\\\\/[]$%{}^&*()<>|+");
|
|
1982
1990
|
function validateEntityName(name) {
|
|
1983
1991
|
if (name[0] === "#") {
|
|
@@ -2057,6 +2065,14 @@ var EntityDecoder = class {
|
|
|
2057
2065
|
* the effective action is max(onNCR, rangeMinimum).
|
|
2058
2066
|
* @param {'remove'|'throw'} [options.ncr.nullNCR='remove']
|
|
2059
2067
|
* Action for U+0000 (null). 'allow' and 'leave' are clamped to 'remove' since null is never safe.
|
|
2068
|
+
* @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onExternalEntity=null]
|
|
2069
|
+
* Hook called when an external entity is registered via `setExternalEntities()` or
|
|
2070
|
+
* `addExternalEntity()`. Return `ENTITY_ACTION.ALLOW` to accept the entity,
|
|
2071
|
+
* `ENTITY_ACTION.BLOCK` to silently skip it, or `ENTITY_ACTION.THROW` to abort with an error.
|
|
2072
|
+
* @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onInputEntity=null]
|
|
2073
|
+
* Hook called when an input entity is registered via `addInputEntities()`. Return
|
|
2074
|
+
* `ENTITY_ACTION.ALLOW` to accept, `ENTITY_ACTION.BLOCK` to silently skip, or
|
|
2075
|
+
* `ENTITY_ACTION.THROW` to abort with an error.
|
|
2060
2076
|
*/
|
|
2061
2077
|
constructor(options = {}) {
|
|
2062
2078
|
this._limit = options.limit || {};
|
|
@@ -2076,6 +2092,33 @@ var EntityDecoder = class {
|
|
|
2076
2092
|
this._ncrXmlVersion = ncrCfg.xmlVersion;
|
|
2077
2093
|
this._ncrOnLevel = ncrCfg.onLevel;
|
|
2078
2094
|
this._ncrNullLevel = ncrCfg.nullLevel;
|
|
2095
|
+
this._onExternalEntity = typeof options.onExternalEntity === "function" ? options.onExternalEntity : null;
|
|
2096
|
+
this._onInputEntity = typeof options.onInputEntity === "function" ? options.onInputEntity : null;
|
|
2097
|
+
}
|
|
2098
|
+
// -------------------------------------------------------------------------
|
|
2099
|
+
// Private: registration hook dispatch
|
|
2100
|
+
// -------------------------------------------------------------------------
|
|
2101
|
+
/**
|
|
2102
|
+
* Invoke a registration hook for a single entity name/value pair.
|
|
2103
|
+
* Returns true when the entity should be accepted, false when it should be
|
|
2104
|
+
* silently skipped (BLOCK), and throws when the hook returns THROW.
|
|
2105
|
+
*
|
|
2106
|
+
* @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} hook
|
|
2107
|
+
* @param {string} name
|
|
2108
|
+
* @param {string} value
|
|
2109
|
+
* @param {string} context — used in error messages ('external' | 'input')
|
|
2110
|
+
* @returns {boolean} true = accept, false = skip
|
|
2111
|
+
*/
|
|
2112
|
+
_applyRegistrationHook(hook, name, value, context) {
|
|
2113
|
+
if (!hook) return true;
|
|
2114
|
+
const action = hook(name, value);
|
|
2115
|
+
if (action === ENTITY_ACTION.BLOCK) return false;
|
|
2116
|
+
if (action === ENTITY_ACTION.THROW) {
|
|
2117
|
+
throw new Error(
|
|
2118
|
+
`[EntityDecoder] Registration of ${context} entity "&${name};" was rejected by hook`
|
|
2119
|
+
);
|
|
2120
|
+
}
|
|
2121
|
+
return true;
|
|
2079
2122
|
}
|
|
2080
2123
|
// -------------------------------------------------------------------------
|
|
2081
2124
|
// Persistent external entity registration
|
|
@@ -2083,6 +2126,9 @@ var EntityDecoder = class {
|
|
|
2083
2126
|
/**
|
|
2084
2127
|
* Replace the full set of persistent external entities.
|
|
2085
2128
|
* All keys are validated — throws on invalid characters.
|
|
2129
|
+
* If `onExternalEntity` is set, it is called once per entry; entries that
|
|
2130
|
+
* return `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW`
|
|
2131
|
+
* aborts the whole call.
|
|
2086
2132
|
* @param {Record<string, string | { regex?: RegExp, val: string }>} map
|
|
2087
2133
|
*/
|
|
2088
2134
|
setExternalEntities(map) {
|
|
@@ -2091,17 +2137,32 @@ var EntityDecoder = class {
|
|
|
2091
2137
|
validateEntityName(key);
|
|
2092
2138
|
}
|
|
2093
2139
|
}
|
|
2094
|
-
this.
|
|
2140
|
+
if (!this._onExternalEntity) {
|
|
2141
|
+
this._externalMap = mergeEntityMaps(map);
|
|
2142
|
+
return;
|
|
2143
|
+
}
|
|
2144
|
+
const flat = mergeEntityMaps(map);
|
|
2145
|
+
const filtered = /* @__PURE__ */ Object.create(null);
|
|
2146
|
+
for (const [name, value] of Object.entries(flat)) {
|
|
2147
|
+
if (this._applyRegistrationHook(this._onExternalEntity, name, value, "external")) {
|
|
2148
|
+
filtered[name] = value;
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
this._externalMap = filtered;
|
|
2095
2152
|
}
|
|
2096
2153
|
/**
|
|
2097
2154
|
* Add a single persistent external entity.
|
|
2155
|
+
* If `onExternalEntity` is set it is called before the entity is stored;
|
|
2156
|
+
* `ENTITY_ACTION.BLOCK` silently skips storage, `ENTITY_ACTION.THROW` raises.
|
|
2098
2157
|
* @param {string} key
|
|
2099
2158
|
* @param {string} value
|
|
2100
2159
|
*/
|
|
2101
2160
|
addExternalEntity(key, value) {
|
|
2102
2161
|
validateEntityName(key);
|
|
2103
2162
|
if (typeof value === "string" && value.indexOf("&") === -1) {
|
|
2104
|
-
this.
|
|
2163
|
+
if (this._applyRegistrationHook(this._onExternalEntity, key, value, "external")) {
|
|
2164
|
+
this._externalMap[key] = value;
|
|
2165
|
+
}
|
|
2105
2166
|
}
|
|
2106
2167
|
}
|
|
2107
2168
|
// -------------------------------------------------------------------------
|
|
@@ -2110,12 +2171,25 @@ var EntityDecoder = class {
|
|
|
2110
2171
|
/**
|
|
2111
2172
|
* Inject DOCTYPE entities for the current document.
|
|
2112
2173
|
* Also resets per-document expansion counters.
|
|
2174
|
+
* If `onInputEntity` is set it is called once per entry; entries returning
|
|
2175
|
+
* `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW` aborts.
|
|
2113
2176
|
* @param {Record<string, string | { regx?: RegExp, regex?: RegExp, val: string }>} map
|
|
2114
2177
|
*/
|
|
2115
2178
|
addInputEntities(map) {
|
|
2116
2179
|
this._totalExpansions = 0;
|
|
2117
2180
|
this._expandedLength = 0;
|
|
2118
|
-
this.
|
|
2181
|
+
if (!this._onInputEntity) {
|
|
2182
|
+
this._inputMap = mergeEntityMaps(map);
|
|
2183
|
+
return;
|
|
2184
|
+
}
|
|
2185
|
+
const flat = mergeEntityMaps(map);
|
|
2186
|
+
const filtered = /* @__PURE__ */ Object.create(null);
|
|
2187
|
+
for (const [name, value] of Object.entries(flat)) {
|
|
2188
|
+
if (this._applyRegistrationHook(this._onInputEntity, name, value, "input")) {
|
|
2189
|
+
filtered[name] = value;
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
this._inputMap = filtered;
|
|
2119
2193
|
}
|
|
2120
2194
|
// -------------------------------------------------------------------------
|
|
2121
2195
|
// Per-document reset
|
|
@@ -2791,7 +2865,235 @@ function validateEntityName2(name) {
|
|
|
2791
2865
|
throw new Error(`Invalid entity name ${name}`);
|
|
2792
2866
|
}
|
|
2793
2867
|
|
|
2794
|
-
// ../node_modules/.bun/
|
|
2868
|
+
// ../node_modules/.bun/anynum@1.0.1/node_modules/anynum/digitTable.js
|
|
2869
|
+
var SCRIPT_ZEROS = [
|
|
2870
|
+
// Basic Latin (ASCII) — included for completeness / pass-through
|
|
2871
|
+
48,
|
|
2872
|
+
// 0-9
|
|
2873
|
+
// Arabic scripts
|
|
2874
|
+
1632,
|
|
2875
|
+
// Arabic-Indic ٠١٢٣٤٥٦٧٨٩
|
|
2876
|
+
1776,
|
|
2877
|
+
// Extended Arabic-Indic (Urdu/Persian/Sindhi) ۰۱۲۳
|
|
2878
|
+
// Indic scripts
|
|
2879
|
+
2406,
|
|
2880
|
+
// Devanagari ०१२३४५६७८९
|
|
2881
|
+
2534,
|
|
2882
|
+
// Bengali ০১২৩৪৫৬৭৮৯
|
|
2883
|
+
2662,
|
|
2884
|
+
// Gurmukhi ੦੧੨੩੪੫੬੭੮੯
|
|
2885
|
+
2790,
|
|
2886
|
+
// Gujarati ૦૧૨૩૪૫૬૭૮૯
|
|
2887
|
+
2918,
|
|
2888
|
+
// Odia ୦୧୨୩୪୫୬୭୮୯
|
|
2889
|
+
3046,
|
|
2890
|
+
// Tamil ௦௧௨௩௪௫௬௭௮௯
|
|
2891
|
+
3174,
|
|
2892
|
+
// Telugu ౦౧౨౩౪౫౬౭౮౯
|
|
2893
|
+
3302,
|
|
2894
|
+
// Kannada ೦೧೨೩೪೫೬೭೮೯
|
|
2895
|
+
3430,
|
|
2896
|
+
// Malayalam ൦൧൨൩൪൫൬൭൮൯
|
|
2897
|
+
3558,
|
|
2898
|
+
// Sinhala Archaic ෦෧෨෩෪෫෬෭෮෯
|
|
2899
|
+
// Southeast Asian scripts
|
|
2900
|
+
3664,
|
|
2901
|
+
// Thai ๐๑๒๓๔๕๖๗๘๙
|
|
2902
|
+
3792,
|
|
2903
|
+
// Lao ໐໑໒໓໔໕໖໗໘໙
|
|
2904
|
+
3872,
|
|
2905
|
+
// Tibetan ༠༡༢༣༤༥༦༧༨༩
|
|
2906
|
+
4160,
|
|
2907
|
+
// Myanmar ၀၁၂၃၄၅၆၇၈၉
|
|
2908
|
+
4240,
|
|
2909
|
+
// Myanmar Shan ႐႑႒႓႔႕႖႗႘႙
|
|
2910
|
+
6112,
|
|
2911
|
+
// Khmer ០១២៣៤៥៦៧៨៩
|
|
2912
|
+
6160,
|
|
2913
|
+
// Mongolian ᠐᠑᠒᠓᠔᠕᠖᠗᠘᠙
|
|
2914
|
+
6470,
|
|
2915
|
+
// Limbu ᥆᥇᥈᥉᥊᥋᥌᥍᥎᥏
|
|
2916
|
+
6608,
|
|
2917
|
+
// New Tai Lue ᧐᧑᧒᧓᧔᧕᧖᧗᧘᧙
|
|
2918
|
+
6784,
|
|
2919
|
+
// Tai Tham Hora ᪀᪁᪂᪃᪄᪅᪆᪇᪈᪉
|
|
2920
|
+
6800,
|
|
2921
|
+
// Tai Tham Tham ᪐᪑᪒᪓᪔᪕᪖᪗᪘᪙
|
|
2922
|
+
6992,
|
|
2923
|
+
// Balinese ᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙
|
|
2924
|
+
7088,
|
|
2925
|
+
// Sundanese ᮰᮱᮲᮳᮴᮵᮶᮷᮸᮹
|
|
2926
|
+
7232,
|
|
2927
|
+
// Lepcha ᱀᱁᱂᱃᱄᱅᱆᱇᱈᱉
|
|
2928
|
+
7248,
|
|
2929
|
+
// Ol Chiki ᱐᱑᱒᱓᱔᱕᱖᱗᱘᱙
|
|
2930
|
+
// Fullwidth (CJK context)
|
|
2931
|
+
65296,
|
|
2932
|
+
// Fullwidth 0123456789
|
|
2933
|
+
// Mathematical digit variants (Unicode math block)
|
|
2934
|
+
120782,
|
|
2935
|
+
// Mathematical Bold
|
|
2936
|
+
120792,
|
|
2937
|
+
// Mathematical Double-Struck
|
|
2938
|
+
120802,
|
|
2939
|
+
// Mathematical Sans-Serif
|
|
2940
|
+
120812,
|
|
2941
|
+
// Mathematical Sans-Serif Bold
|
|
2942
|
+
120822,
|
|
2943
|
+
// Mathematical Monospace
|
|
2944
|
+
// Other scripts
|
|
2945
|
+
66720,
|
|
2946
|
+
// Osmanya 𐒠𐒡𐒢𐒣𐒤𐒥𐒦𐒧𐒨𐒩
|
|
2947
|
+
68912,
|
|
2948
|
+
// Hanifi Rohingya 𐴰𐴱𐴲𐴳𐴴𐴵𐴶𐴷𐴸𐴹
|
|
2949
|
+
69734,
|
|
2950
|
+
// Brahmi 𑁦𑁧𑁨𑁩𑁪𑁫𑁬𑁭𑁮𑁯
|
|
2951
|
+
69872,
|
|
2952
|
+
// Sora Sompeng 𑃰𑃱𑃲𑃳𑃴𑃵𑃶𑃷𑃸𑃹
|
|
2953
|
+
69942,
|
|
2954
|
+
// Chakma 𑄶𑄷𑄸𑄹𑄺𑄻𑄼𑄽𑄾𑄿
|
|
2955
|
+
70096,
|
|
2956
|
+
// Sharada 𑇐𑇑𑇒𑇓𑇔𑇕𑇖𑇗𑇘𑇙
|
|
2957
|
+
70384,
|
|
2958
|
+
// Khudawadi 𑋰𑋱𑋲𑋳𑋴𑋵𑋶𑋷𑋸𑋹
|
|
2959
|
+
70736,
|
|
2960
|
+
// Newa 𑑐𑑑𑑒𑑓𑑔𑑕𑑖𑑗𑑘𑑙
|
|
2961
|
+
70864,
|
|
2962
|
+
// Tirhuta 𑓐𑓑𑓒𑓓𑓔𑓕𑓖𑓗𑓘𑓙
|
|
2963
|
+
71248,
|
|
2964
|
+
// Modi 𑙐𑙑𑙒𑙓𑙔𑙕𑙖𑙗𑙘𑙙
|
|
2965
|
+
71360,
|
|
2966
|
+
// Takri 𑛀𑛁𑛂𑛃𑛄𑛅𑛆𑛇𑛈𑛉
|
|
2967
|
+
71472,
|
|
2968
|
+
// Ahom 𑜰𑜱𑜲𑜳𑜴𑜵𑜶𑜷𑜸𑜹
|
|
2969
|
+
71904,
|
|
2970
|
+
// Warang Citi 𑣠𑣡𑣢𑣣𑣤𑣥𑣦𑣧𑣨𑣩
|
|
2971
|
+
72016,
|
|
2972
|
+
// Dives Akuru 𑥐𑥑𑥒𑥓𑥔𑥕𑥖𑥗𑥘𑥙
|
|
2973
|
+
72688,
|
|
2974
|
+
// Khitan Small Script
|
|
2975
|
+
72784,
|
|
2976
|
+
// Bhaiksuki 𑱐𑱑𑱒𑱓𑱔𑱕𑱖𑱗𑱘𑱙
|
|
2977
|
+
73040,
|
|
2978
|
+
// Masaram Gondi 𑵐𑵑𑵒𑵓𑵔𑵕𑵖𑵗𑵘𑵙
|
|
2979
|
+
73120,
|
|
2980
|
+
// Gunjala Gondi 𑶠𑶡𑶢𑶣𑶤𑶥𑶦𑶧𑶨𑶩
|
|
2981
|
+
73552,
|
|
2982
|
+
// Kawi 𑽐𑽑𑽒𑽓𑽔𑽕𑽖𑽗𑽘𑽙
|
|
2983
|
+
92768,
|
|
2984
|
+
// Mro 𖩠𖩡𖩢𖩣𖩤𖩥𖩦𖩧𖩨𖩩
|
|
2985
|
+
92864,
|
|
2986
|
+
// Tangsa 𖫀𖫁𖫂𖫃𖫄𖫅𖫆𖫇𖫈𖫉
|
|
2987
|
+
93008,
|
|
2988
|
+
// Pahawh Hmong 𖭐𖭑𖭒𖭓𖭔𖭕𖭖𖭗𖭘𖭙
|
|
2989
|
+
123200,
|
|
2990
|
+
// Nyiakeng Puachue Hmong 𞅀𞅁𞅂𞅃𞅄𞅅𞅆𞅇𞅈𞅉
|
|
2991
|
+
123632,
|
|
2992
|
+
// Wancho 𞋰𞋱𞋲𞋳𞋴𞋵𞋶𞋷𞋸𞋹
|
|
2993
|
+
124144,
|
|
2994
|
+
// Nag Mundari 𞓰𞓱𞓲𞓳𞓴𞓵𞓶𞓷𞓸𞓹
|
|
2995
|
+
125264,
|
|
2996
|
+
// Adlam 𞥐𞥑𞥒𞥓𞥔𞥕𞥖𞥗𞥘𞥙
|
|
2997
|
+
130032
|
|
2998
|
+
// Segmented digit symbols 🯰🯱🯲🯳🯴🯵🯶🯷🯸🯹
|
|
2999
|
+
];
|
|
3000
|
+
var NOT_DIGIT = 255;
|
|
3001
|
+
var HIGH_MAP = /* @__PURE__ */ new Map();
|
|
3002
|
+
var LOW_MAX = 65535;
|
|
3003
|
+
var LOW_MIN = 1632;
|
|
3004
|
+
var TABLE_OFFSET = LOW_MIN;
|
|
3005
|
+
var TABLE_SIZE = LOW_MAX - LOW_MIN + 1;
|
|
3006
|
+
var TABLE = new Uint8Array(TABLE_SIZE).fill(NOT_DIGIT);
|
|
3007
|
+
for (const zero of SCRIPT_ZEROS) {
|
|
3008
|
+
for (let d2 = 0; d2 < 10; d2++) {
|
|
3009
|
+
const cp = zero + d2;
|
|
3010
|
+
if (cp <= LOW_MAX) {
|
|
3011
|
+
TABLE[cp - TABLE_OFFSET] = d2;
|
|
3012
|
+
} else {
|
|
3013
|
+
HIGH_MAP.set(cp, d2);
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
// ../node_modules/.bun/anynum@1.0.1/node_modules/anynum/anynum.js
|
|
3019
|
+
var CHAR_0 = 48;
|
|
3020
|
+
var CHAR_9 = 57;
|
|
3021
|
+
var CHAR_MINUS = 45;
|
|
3022
|
+
var MINUS_SET = /* @__PURE__ */ new Set([8722, 65293, 65123]);
|
|
3023
|
+
function anynum(str) {
|
|
3024
|
+
if (typeof str !== "string") return str;
|
|
3025
|
+
const len = str.length;
|
|
3026
|
+
if (len === 0) return str;
|
|
3027
|
+
let firstHit = -1;
|
|
3028
|
+
for (let i2 = 0; i2 < len; i2++) {
|
|
3029
|
+
const cc = str.charCodeAt(i2);
|
|
3030
|
+
if (cc >= CHAR_0 && cc <= CHAR_9 || cc === CHAR_MINUS) continue;
|
|
3031
|
+
if (cc < TABLE_OFFSET) {
|
|
3032
|
+
if (MINUS_SET.has(cc)) {
|
|
3033
|
+
firstHit = i2;
|
|
3034
|
+
break;
|
|
3035
|
+
}
|
|
3036
|
+
continue;
|
|
3037
|
+
}
|
|
3038
|
+
if (cc >= 55296 && cc <= 56319) {
|
|
3039
|
+
if (i2 + 1 < len) {
|
|
3040
|
+
const low = str.charCodeAt(i2 + 1);
|
|
3041
|
+
if (low >= 56320 && low <= 57343) {
|
|
3042
|
+
const cp = 65536 + (cc - 55296 << 10) + (low - 56320);
|
|
3043
|
+
if (HIGH_MAP.has(cp)) {
|
|
3044
|
+
firstHit = i2;
|
|
3045
|
+
break;
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
}
|
|
3049
|
+
continue;
|
|
3050
|
+
}
|
|
3051
|
+
if (TABLE[cc - TABLE_OFFSET] !== NOT_DIGIT || MINUS_SET.has(cc)) {
|
|
3052
|
+
firstHit = i2;
|
|
3053
|
+
break;
|
|
3054
|
+
}
|
|
3055
|
+
}
|
|
3056
|
+
if (firstHit === -1) return str;
|
|
3057
|
+
const chars = [];
|
|
3058
|
+
if (firstHit > 0) chars.push(str.slice(0, firstHit));
|
|
3059
|
+
for (let i2 = firstHit; i2 < len; i2++) {
|
|
3060
|
+
const cc = str.charCodeAt(i2);
|
|
3061
|
+
if (cc >= CHAR_0 && cc <= CHAR_9 || cc === CHAR_MINUS) {
|
|
3062
|
+
chars.push(str[i2]);
|
|
3063
|
+
continue;
|
|
3064
|
+
}
|
|
3065
|
+
if (cc < TABLE_OFFSET) {
|
|
3066
|
+
chars.push(MINUS_SET.has(cc) ? "-" : str[i2]);
|
|
3067
|
+
continue;
|
|
3068
|
+
}
|
|
3069
|
+
if (cc >= 55296 && cc <= 56319) {
|
|
3070
|
+
if (i2 + 1 < len) {
|
|
3071
|
+
const low = str.charCodeAt(i2 + 1);
|
|
3072
|
+
if (low >= 56320 && low <= 57343) {
|
|
3073
|
+
const cp = 65536 + (cc - 55296 << 10) + (low - 56320);
|
|
3074
|
+
const d3 = HIGH_MAP.get(cp);
|
|
3075
|
+
if (d3 !== void 0) {
|
|
3076
|
+
chars.push(String.fromCharCode(d3 + 48));
|
|
3077
|
+
i2++;
|
|
3078
|
+
continue;
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
chars.push(str[i2]);
|
|
3083
|
+
continue;
|
|
3084
|
+
}
|
|
3085
|
+
if (MINUS_SET.has(cc)) {
|
|
3086
|
+
chars.push("-");
|
|
3087
|
+
continue;
|
|
3088
|
+
}
|
|
3089
|
+
const d2 = TABLE[cc - TABLE_OFFSET];
|
|
3090
|
+
chars.push(d2 !== NOT_DIGIT ? String.fromCharCode(d2 + 48) : str[i2]);
|
|
3091
|
+
}
|
|
3092
|
+
return chars.join("");
|
|
3093
|
+
}
|
|
3094
|
+
var anynum_default = anynum;
|
|
3095
|
+
|
|
3096
|
+
// ../node_modules/.bun/strnum@2.4.1/node_modules/strnum/strnum.js
|
|
2795
3097
|
var hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;
|
|
2796
3098
|
var binRegex = /^0b[01]+$/;
|
|
2797
3099
|
var octRegex = /^0o[0-7]+$/;
|
|
@@ -2804,8 +3106,9 @@ var consider = {
|
|
|
2804
3106
|
decimalPoint: ".",
|
|
2805
3107
|
eNotation: true,
|
|
2806
3108
|
//skipLike: /regex/,
|
|
2807
|
-
infinity: "original"
|
|
3109
|
+
infinity: "original",
|
|
2808
3110
|
// "null", "infinity" (Infinity type), "string" ("Infinity" (the string literal))
|
|
3111
|
+
unicode: false
|
|
2809
3112
|
};
|
|
2810
3113
|
function toNumber(str, options = {}) {
|
|
2811
3114
|
options = Object.assign({}, consider, options);
|
|
@@ -2814,7 +3117,11 @@ function toNumber(str, options = {}) {
|
|
|
2814
3117
|
if (trimmedStr.length === 0) return str;
|
|
2815
3118
|
else if (options.skipLike !== void 0 && options.skipLike.test(trimmedStr)) return str;
|
|
2816
3119
|
else if (trimmedStr === "0") return 0;
|
|
2817
|
-
|
|
3120
|
+
if (options.unicode) {
|
|
3121
|
+
trimmedStr = anynum_default(trimmedStr);
|
|
3122
|
+
if (trimmedStr === "0") return 0;
|
|
3123
|
+
}
|
|
3124
|
+
if (options.hex && hexRegex.test(trimmedStr)) {
|
|
2818
3125
|
return parse_int(trimmedStr, 16);
|
|
2819
3126
|
} else if (options.binary && binRegex.test(trimmedStr)) {
|
|
2820
3127
|
return parse_int(trimmedStr, 2);
|
|
@@ -2942,7 +3249,7 @@ function getIgnoreAttributesFn(ignoreAttributes) {
|
|
|
2942
3249
|
return () => false;
|
|
2943
3250
|
}
|
|
2944
3251
|
|
|
2945
|
-
// ../node_modules/.bun/path-expression-matcher@1.
|
|
3252
|
+
// ../node_modules/.bun/path-expression-matcher@1.6.0/node_modules/path-expression-matcher/src/Expression.js
|
|
2946
3253
|
var Expression = class {
|
|
2947
3254
|
/**
|
|
2948
3255
|
* Create a new Expression
|
|
@@ -3105,12 +3412,13 @@ var Expression = class {
|
|
|
3105
3412
|
}
|
|
3106
3413
|
};
|
|
3107
3414
|
|
|
3108
|
-
// ../node_modules/.bun/path-expression-matcher@1.
|
|
3415
|
+
// ../node_modules/.bun/path-expression-matcher@1.6.0/node_modules/path-expression-matcher/src/ExpressionSet.js
|
|
3109
3416
|
var ExpressionSet = class {
|
|
3110
3417
|
constructor() {
|
|
3111
3418
|
this._byDepthAndTag = /* @__PURE__ */ new Map();
|
|
3112
3419
|
this._wildcardByDepth = /* @__PURE__ */ new Map();
|
|
3113
3420
|
this._deepWildcards = [];
|
|
3421
|
+
this._deepByTerminalTag = /* @__PURE__ */ new Map();
|
|
3114
3422
|
this._patterns = /* @__PURE__ */ new Set();
|
|
3115
3423
|
this._sealed = false;
|
|
3116
3424
|
}
|
|
@@ -3135,7 +3443,14 @@ var ExpressionSet = class {
|
|
|
3135
3443
|
if (this._patterns.has(expression.pattern)) return this;
|
|
3136
3444
|
this._patterns.add(expression.pattern);
|
|
3137
3445
|
if (expression.hasDeepWildcard()) {
|
|
3138
|
-
|
|
3446
|
+
const lastSeg2 = expression.segments[expression.segments.length - 1];
|
|
3447
|
+
if (lastSeg2 && lastSeg2.type !== "deep-wildcard" && lastSeg2.tag !== "*") {
|
|
3448
|
+
const tag2 = lastSeg2.tag;
|
|
3449
|
+
if (!this._deepByTerminalTag.has(tag2)) this._deepByTerminalTag.set(tag2, []);
|
|
3450
|
+
this._deepByTerminalTag.get(tag2).push(expression);
|
|
3451
|
+
} else {
|
|
3452
|
+
this._deepWildcards.push(expression);
|
|
3453
|
+
}
|
|
3139
3454
|
return this;
|
|
3140
3455
|
}
|
|
3141
3456
|
const depth = expression.length;
|
|
@@ -3253,6 +3568,12 @@ var ExpressionSet = class {
|
|
|
3253
3568
|
if (matcher.matches(wildcardBucket[i2])) return wildcardBucket[i2];
|
|
3254
3569
|
}
|
|
3255
3570
|
}
|
|
3571
|
+
const deepBucket = this._deepByTerminalTag.get(tag);
|
|
3572
|
+
if (deepBucket) {
|
|
3573
|
+
for (let i2 = 0; i2 < deepBucket.length; i2++) {
|
|
3574
|
+
if (matcher.matches(deepBucket[i2])) return deepBucket[i2];
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3256
3577
|
for (let i2 = 0; i2 < this._deepWildcards.length; i2++) {
|
|
3257
3578
|
if (matcher.matches(this._deepWildcards[i2])) return this._deepWildcards[i2];
|
|
3258
3579
|
}
|
|
@@ -3260,7 +3581,7 @@ var ExpressionSet = class {
|
|
|
3260
3581
|
}
|
|
3261
3582
|
};
|
|
3262
3583
|
|
|
3263
|
-
// ../node_modules/.bun/path-expression-matcher@1.
|
|
3584
|
+
// ../node_modules/.bun/path-expression-matcher@1.6.0/node_modules/path-expression-matcher/src/Matcher.js
|
|
3264
3585
|
var MatcherView = class {
|
|
3265
3586
|
/**
|
|
3266
3587
|
* @param {Matcher} matcher - The parent Matcher instance to read from.
|
|
@@ -3312,6 +3633,24 @@ var MatcherView = class {
|
|
|
3312
3633
|
const current = path[path.length - 1];
|
|
3313
3634
|
return current.values !== void 0 && attrName in current.values;
|
|
3314
3635
|
}
|
|
3636
|
+
/**
|
|
3637
|
+
* Get the value of a "kept" attribute from the nearest ancestor (or
|
|
3638
|
+
* current node) that declared it via `push(tag, attrs, ns, { keep: [...] })`.
|
|
3639
|
+
* @param {string} attrName
|
|
3640
|
+
* @returns {*}
|
|
3641
|
+
*/
|
|
3642
|
+
getAnyParentAttr(attrName) {
|
|
3643
|
+
return this._matcher.getAnyParentAttr(attrName);
|
|
3644
|
+
}
|
|
3645
|
+
/**
|
|
3646
|
+
* Check whether any ancestor (or the current node) kept the given
|
|
3647
|
+
* attribute via `push(tag, attrs, ns, { keep: [...] })`.
|
|
3648
|
+
* @param {string} attrName
|
|
3649
|
+
* @returns {boolean}
|
|
3650
|
+
*/
|
|
3651
|
+
hasAnyParentAttr(attrName) {
|
|
3652
|
+
return this._matcher.hasAnyParentAttr(attrName);
|
|
3653
|
+
}
|
|
3315
3654
|
/**
|
|
3316
3655
|
* Get current node's sibling position (child index in parent).
|
|
3317
3656
|
* @returns {number}
|
|
@@ -3390,14 +3729,17 @@ var Matcher = class {
|
|
|
3390
3729
|
this.siblingStacks = [];
|
|
3391
3730
|
this._pathStringCache = null;
|
|
3392
3731
|
this._view = new MatcherView(this);
|
|
3732
|
+
this._keptAttrs = [];
|
|
3393
3733
|
}
|
|
3394
3734
|
/**
|
|
3395
3735
|
* Push a new tag onto the path.
|
|
3396
3736
|
* @param {string} tagName
|
|
3397
3737
|
* @param {Object|null} [attrValues=null]
|
|
3398
3738
|
* @param {string|null} [namespace=null]
|
|
3739
|
+
* @param {Object|null} [options=null]
|
|
3740
|
+
* @param {string[]} [options.keep] - Names of attributes (from attrValues)
|
|
3399
3741
|
*/
|
|
3400
|
-
push(tagName, attrValues = null, namespace = null) {
|
|
3742
|
+
push(tagName, attrValues = null, namespace = null, options = null) {
|
|
3401
3743
|
this._pathStringCache = null;
|
|
3402
3744
|
if (this.path.length > 0) {
|
|
3403
3745
|
this.path[this.path.length - 1].values = void 0;
|
|
@@ -3426,6 +3768,16 @@ var Matcher = class {
|
|
|
3426
3768
|
node.values = attrValues;
|
|
3427
3769
|
}
|
|
3428
3770
|
this.path.push(node);
|
|
3771
|
+
const depth = this.path.length;
|
|
3772
|
+
const keep = options !== null ? options.keep : null;
|
|
3773
|
+
if (keep !== null && keep !== void 0 && keep.length > 0 && attrValues) {
|
|
3774
|
+
for (let i2 = 0; i2 < keep.length; i2++) {
|
|
3775
|
+
const name = keep[i2];
|
|
3776
|
+
if (attrValues[name] !== void 0) {
|
|
3777
|
+
this._keptAttrs.push({ depth, name, value: attrValues[name] });
|
|
3778
|
+
}
|
|
3779
|
+
}
|
|
3780
|
+
}
|
|
3429
3781
|
}
|
|
3430
3782
|
/**
|
|
3431
3783
|
* Pop the last tag from the path.
|
|
@@ -3438,6 +3790,10 @@ var Matcher = class {
|
|
|
3438
3790
|
if (this.siblingStacks.length > this.path.length + 1) {
|
|
3439
3791
|
this.siblingStacks.length = this.path.length + 1;
|
|
3440
3792
|
}
|
|
3793
|
+
const poppedDepth = this.path.length + 1;
|
|
3794
|
+
while (this._keptAttrs.length > 0 && this._keptAttrs[this._keptAttrs.length - 1].depth >= poppedDepth) {
|
|
3795
|
+
this._keptAttrs.pop();
|
|
3796
|
+
}
|
|
3441
3797
|
return node;
|
|
3442
3798
|
}
|
|
3443
3799
|
/**
|
|
@@ -3486,6 +3842,36 @@ var Matcher = class {
|
|
|
3486
3842
|
const current = this.path[this.path.length - 1];
|
|
3487
3843
|
return current.values !== void 0 && attrName in current.values;
|
|
3488
3844
|
}
|
|
3845
|
+
/**
|
|
3846
|
+
* Get the value of a "kept" attribute from the nearest ancestor (or
|
|
3847
|
+
* current node) that declared it via `push(tag, attrs, ns, { keep: [...] })`.
|
|
3848
|
+
* Unlike getAttrValue(), this works regardless of how deep the path has
|
|
3849
|
+
* gone since the attribute was pushed — but only for attribute names that
|
|
3850
|
+
* were explicitly marked with `keep` at push time. Cost is proportional to
|
|
3851
|
+
* the number of currently-kept attributes (typically 0-3), not path depth.
|
|
3852
|
+
* @param {string} attrName
|
|
3853
|
+
* @returns {*} the value, or undefined if no ancestor kept this attribute
|
|
3854
|
+
*/
|
|
3855
|
+
getAnyParentAttr(attrName) {
|
|
3856
|
+
const kept = this._keptAttrs;
|
|
3857
|
+
for (let i2 = kept.length - 1; i2 >= 0; i2--) {
|
|
3858
|
+
if (kept[i2].name === attrName) return kept[i2].value;
|
|
3859
|
+
}
|
|
3860
|
+
return void 0;
|
|
3861
|
+
}
|
|
3862
|
+
/**
|
|
3863
|
+
* Check whether any ancestor (or the current node) kept the given
|
|
3864
|
+
* attribute via `push(tag, attrs, ns, { keep: [...] })`.
|
|
3865
|
+
* @param {string} attrName
|
|
3866
|
+
* @returns {boolean}
|
|
3867
|
+
*/
|
|
3868
|
+
hasAnyParentAttr(attrName) {
|
|
3869
|
+
const kept = this._keptAttrs;
|
|
3870
|
+
for (let i2 = kept.length - 1; i2 >= 0; i2--) {
|
|
3871
|
+
if (kept[i2].name === attrName) return true;
|
|
3872
|
+
}
|
|
3873
|
+
return false;
|
|
3874
|
+
}
|
|
3489
3875
|
/**
|
|
3490
3876
|
* Get current node's sibling position (child index in parent).
|
|
3491
3877
|
* @returns {number}
|
|
@@ -3554,6 +3940,7 @@ var Matcher = class {
|
|
|
3554
3940
|
this._pathStringCache = null;
|
|
3555
3941
|
this.path = [];
|
|
3556
3942
|
this.siblingStacks = [];
|
|
3943
|
+
this._keptAttrs = [];
|
|
3557
3944
|
}
|
|
3558
3945
|
/**
|
|
3559
3946
|
* Match current path against an Expression.
|
|
@@ -3677,7 +4064,8 @@ var Matcher = class {
|
|
|
3677
4064
|
snapshot() {
|
|
3678
4065
|
return {
|
|
3679
4066
|
path: this.path.map((node) => ({ ...node })),
|
|
3680
|
-
siblingStacks: this.siblingStacks.map((map) => new Map(map))
|
|
4067
|
+
siblingStacks: this.siblingStacks.map((map) => new Map(map)),
|
|
4068
|
+
keptAttrs: this._keptAttrs.map((entry) => ({ ...entry }))
|
|
3681
4069
|
};
|
|
3682
4070
|
}
|
|
3683
4071
|
/**
|
|
@@ -3688,6 +4076,7 @@ var Matcher = class {
|
|
|
3688
4076
|
this._pathStringCache = null;
|
|
3689
4077
|
this.path = snapshot.path.map((node) => ({ ...node }));
|
|
3690
4078
|
this.siblingStacks = snapshot.siblingStacks.map((map) => new Map(map));
|
|
4079
|
+
this._keptAttrs = (snapshot.keptAttrs || []).map((entry) => ({ ...entry }));
|
|
3691
4080
|
}
|
|
3692
4081
|
/**
|
|
3693
4082
|
* Return the read-only {@link MatcherView} for this matcher.
|
|
@@ -4462,7 +4851,7 @@ var XMLParser = class {
|
|
|
4462
4851
|
}
|
|
4463
4852
|
};
|
|
4464
4853
|
|
|
4465
|
-
// ../node_modules/.bun/@aws-sdk+xml-builder@3.972.
|
|
4854
|
+
// ../node_modules/.bun/@aws-sdk+xml-builder@3.972.30/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js
|
|
4466
4855
|
var XML2 = {
|
|
4467
4856
|
amp: "&",
|
|
4468
4857
|
apos: "'",
|
|
@@ -4788,7 +5177,7 @@ var EntityDecoderImpl = class EntityDecoderImpl2 {
|
|
|
4788
5177
|
}
|
|
4789
5178
|
};
|
|
4790
5179
|
|
|
4791
|
-
// ../node_modules/.bun/@aws-sdk+xml-builder@3.972.
|
|
5180
|
+
// ../node_modules/.bun/@aws-sdk+xml-builder@3.972.30/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js
|
|
4792
5181
|
var entityDecoder = new EntityDecoderImpl({
|
|
4793
5182
|
namedEntities: { ...XML2, ...COMMON_HTML2, ...CURRENCY2 },
|
|
4794
5183
|
numericAllowed: true,
|
|
@@ -4832,7 +5221,7 @@ function parseXML(xmlString) {
|
|
|
4832
5221
|
return parser.parse(xmlString, true);
|
|
4833
5222
|
}
|
|
4834
5223
|
|
|
4835
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
5224
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js
|
|
4836
5225
|
var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
4837
5226
|
settings;
|
|
4838
5227
|
stringDeserializer;
|
|
@@ -4973,7 +5362,7 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
4973
5362
|
}
|
|
4974
5363
|
};
|
|
4975
5364
|
|
|
4976
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
5365
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js
|
|
4977
5366
|
var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
4978
5367
|
settings;
|
|
4979
5368
|
buffer;
|
|
@@ -5143,7 +5532,7 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
|
5143
5532
|
}
|
|
5144
5533
|
};
|
|
5145
5534
|
|
|
5146
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
5535
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js
|
|
5147
5536
|
var AwsQueryProtocol = class extends RpcProtocol {
|
|
5148
5537
|
options;
|
|
5149
5538
|
serializer;
|
|
@@ -5273,7 +5662,7 @@ var AwsQueryProtocol = class extends RpcProtocol {
|
|
|
5273
5662
|
}
|
|
5274
5663
|
};
|
|
5275
5664
|
|
|
5276
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
5665
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js
|
|
5277
5666
|
var STSServiceException = class _STSServiceException extends ServiceException {
|
|
5278
5667
|
constructor(options) {
|
|
5279
5668
|
super(options);
|
|
@@ -5281,7 +5670,7 @@ var STSServiceException = class _STSServiceException extends ServiceException {
|
|
|
5281
5670
|
}
|
|
5282
5671
|
};
|
|
5283
5672
|
|
|
5284
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
5673
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js
|
|
5285
5674
|
var ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {
|
|
5286
5675
|
name = "ExpiredTokenException";
|
|
5287
5676
|
$fault = "client";
|
|
@@ -5368,7 +5757,7 @@ var IDPCommunicationErrorException = class _IDPCommunicationErrorException exten
|
|
|
5368
5757
|
}
|
|
5369
5758
|
};
|
|
5370
5759
|
|
|
5371
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
5760
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js
|
|
5372
5761
|
var _A = "Arn";
|
|
5373
5762
|
var _AKI = "AccessKeyId";
|
|
5374
5763
|
var _AR = "AssumeRole";
|
|
@@ -5617,7 +6006,7 @@ var AssumeRoleWithWebIdentity$ = [
|
|
|
5617
6006
|
() => AssumeRoleWithWebIdentityResponse$
|
|
5618
6007
|
];
|
|
5619
6008
|
|
|
5620
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6009
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js
|
|
5621
6010
|
var getRuntimeConfig = (config) => {
|
|
5622
6011
|
return {
|
|
5623
6012
|
apiVersion: "2011-06-15",
|
|
@@ -5661,7 +6050,7 @@ var getRuntimeConfig = (config) => {
|
|
|
5661
6050
|
};
|
|
5662
6051
|
};
|
|
5663
6052
|
|
|
5664
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6053
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js
|
|
5665
6054
|
var getRuntimeConfig2 = (config) => {
|
|
5666
6055
|
emitWarningIfUnsupportedVersion2(process.version);
|
|
5667
6056
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -5713,7 +6102,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
5713
6102
|
};
|
|
5714
6103
|
};
|
|
5715
6104
|
|
|
5716
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6105
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
5717
6106
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5718
6107
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
5719
6108
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -5752,14 +6141,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
5752
6141
|
};
|
|
5753
6142
|
};
|
|
5754
6143
|
|
|
5755
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6144
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js
|
|
5756
6145
|
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
5757
6146
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
5758
6147
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
5759
6148
|
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
5760
6149
|
};
|
|
5761
6150
|
|
|
5762
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6151
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js
|
|
5763
6152
|
var STSClient = class extends Client {
|
|
5764
6153
|
config;
|
|
5765
6154
|
constructor(...[configuration]) {
|
|
@@ -5796,19 +6185,19 @@ var STSClient = class extends Client {
|
|
|
5796
6185
|
}
|
|
5797
6186
|
};
|
|
5798
6187
|
|
|
5799
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6188
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
|
|
5800
6189
|
var AssumeRoleCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
|
|
5801
6190
|
return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
|
|
5802
6191
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(AssumeRole$).build() {
|
|
5803
6192
|
};
|
|
5804
6193
|
|
|
5805
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6194
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js
|
|
5806
6195
|
var AssumeRoleWithWebIdentityCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
|
|
5807
6196
|
return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
|
|
5808
6197
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").sc(AssumeRoleWithWebIdentity$).build() {
|
|
5809
6198
|
};
|
|
5810
6199
|
|
|
5811
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6200
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js
|
|
5812
6201
|
var commands = {
|
|
5813
6202
|
AssumeRoleCommand,
|
|
5814
6203
|
AssumeRoleWithWebIdentityCommand
|
|
@@ -5817,7 +6206,7 @@ var STS = class extends STSClient {
|
|
|
5817
6206
|
};
|
|
5818
6207
|
createAggregatedClient(commands, STS);
|
|
5819
6208
|
|
|
5820
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6209
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
|
|
5821
6210
|
var getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
|
|
5822
6211
|
if (typeof assumedRoleUser?.Arn === "string") {
|
|
5823
6212
|
const arnComponents = assumedRoleUser.Arn.split(":");
|
|
@@ -5917,7 +6306,7 @@ var isH2 = (requestHandler) => {
|
|
|
5917
6306
|
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
5918
6307
|
};
|
|
5919
6308
|
|
|
5920
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
6309
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js
|
|
5921
6310
|
var getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
5922
6311
|
if (!customizations)
|
|
5923
6312
|
return baseCtor;
|