@alienplatform/sdk 3.3.38 → 3.3.40
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/dist.js +40 -51
- package/dist/native-bindings.js +1 -2
- package/dist/native.js +1 -2
- package/dist/worker-runtime/index.js +302 -490
- package/package.json +4 -4
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { _ as logSystemError, a as object, c as getCommands, h as setOnTaskRegistered, i as defineError, l as getEventHandlers, m as runCommand, o as string, t as AlienError, v as logSystemWarn } from "../dist.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { formatWithOptions } from "node:util";
|
|
4
|
-
|
|
5
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
4
|
+
// \0rolldown/runtime.js
|
|
5
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
6
6
|
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
7
|
-
|
|
8
|
-
//#region ../../node_modules/.pnpm/@js-sdsl+ordered-map@4.4.2/node_modules/@js-sdsl/ordered-map/dist/cjs/index.js
|
|
7
|
+
// ../../node_modules/.pnpm/@js-sdsl+ordered-map@4.4.2/node_modules/@js-sdsl/ordered-map/dist/cjs/index.js
|
|
9
8
|
var require_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
10
9
|
Object.defineProperty(exports, "t", { value: true });
|
|
11
10
|
var TreeNode = class {
|
|
@@ -702,8 +701,7 @@ var require_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
702
701
|
};
|
|
703
702
|
exports.OrderedMap = OrderedMap;
|
|
704
703
|
}));
|
|
705
|
-
|
|
706
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/connectivity-state.js
|
|
704
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/connectivity-state.js
|
|
707
705
|
var require_connectivity_state = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
708
706
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
709
707
|
exports.ConnectivityState = void 0;
|
|
@@ -716,8 +714,7 @@ var require_connectivity_state = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
716
714
|
ConnectivityState[ConnectivityState["SHUTDOWN"] = 4] = "SHUTDOWN";
|
|
717
715
|
})(ConnectivityState || (exports.ConnectivityState = ConnectivityState = {}));
|
|
718
716
|
}));
|
|
719
|
-
|
|
720
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/constants.js
|
|
717
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/constants.js
|
|
721
718
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
722
719
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
723
720
|
exports.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH = exports.DEFAULT_MAX_SEND_MESSAGE_LENGTH = exports.Propagate = exports.LogVerbosity = exports.Status = void 0;
|
|
@@ -763,8 +760,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
763
760
|
exports.DEFAULT_MAX_SEND_MESSAGE_LENGTH = -1;
|
|
764
761
|
exports.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH = 4194304;
|
|
765
762
|
}));
|
|
766
|
-
|
|
767
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-address.js
|
|
763
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-address.js
|
|
768
764
|
var require_subchannel_address = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
769
765
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
770
766
|
exports.EndpointMap = void 0;
|
|
@@ -775,7 +771,7 @@ var require_subchannel_address = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
775
771
|
exports.endpointEqual = endpointEqual;
|
|
776
772
|
exports.endpointToString = endpointToString;
|
|
777
773
|
exports.endpointHasAddress = endpointHasAddress;
|
|
778
|
-
const net_1
|
|
774
|
+
const net_1 = __require("net");
|
|
779
775
|
function isTcpSubchannelAddress(address) {
|
|
780
776
|
return "port" in address;
|
|
781
777
|
}
|
|
@@ -787,13 +783,13 @@ var require_subchannel_address = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
787
783
|
}
|
|
788
784
|
function subchannelAddressToString(address) {
|
|
789
785
|
if (isTcpSubchannelAddress(address)) {
|
|
790
|
-
if ((0, net_1
|
|
786
|
+
if ((0, net_1.isIPv6)(address.host)) return "[" + address.host + "]:" + address.port;
|
|
791
787
|
else return address.host + ":" + address.port;
|
|
792
788
|
} else return address.path;
|
|
793
789
|
}
|
|
794
790
|
const DEFAULT_PORT = 443;
|
|
795
791
|
function stringToSubchannelAddress(addressString, port) {
|
|
796
|
-
if ((0, net_1
|
|
792
|
+
if ((0, net_1.isIP)(addressString)) return {
|
|
797
793
|
host: addressString,
|
|
798
794
|
port: port !== null && port !== void 0 ? port : DEFAULT_PORT
|
|
799
795
|
};
|
|
@@ -887,8 +883,7 @@ var require_subchannel_address = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
887
883
|
};
|
|
888
884
|
exports.EndpointMap = EndpointMap;
|
|
889
885
|
}));
|
|
890
|
-
|
|
891
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/admin.js
|
|
886
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/admin.js
|
|
892
887
|
var require_admin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
893
888
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
894
889
|
exports.registerAdminService = registerAdminService;
|
|
@@ -904,14 +899,13 @@ var require_admin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
904
899
|
for (const { getServiceDefinition, getHandlers } of registeredAdminServices) server.addService(getServiceDefinition(), getHandlers());
|
|
905
900
|
}
|
|
906
901
|
}));
|
|
907
|
-
|
|
908
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call.js
|
|
902
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call.js
|
|
909
903
|
var require_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
910
904
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
911
905
|
exports.ClientDuplexStreamImpl = exports.ClientWritableStreamImpl = exports.ClientReadableStreamImpl = exports.ClientUnaryCallImpl = void 0;
|
|
912
906
|
exports.callErrorFromStatus = callErrorFromStatus;
|
|
913
|
-
const events_1
|
|
914
|
-
const stream_1
|
|
907
|
+
const events_1 = __require("events");
|
|
908
|
+
const stream_1 = __require("stream");
|
|
915
909
|
const constants_1 = require_constants();
|
|
916
910
|
/**
|
|
917
911
|
* Construct a ServiceError from a StatusObject. This function exists primarily
|
|
@@ -924,7 +918,7 @@ var require_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
924
918
|
const stack = `${new Error(message).stack}\nfor call at\n${callerStack}`;
|
|
925
919
|
return Object.assign(new Error(message), status, { stack });
|
|
926
920
|
}
|
|
927
|
-
var ClientUnaryCallImpl = class extends events_1
|
|
921
|
+
var ClientUnaryCallImpl = class extends events_1.EventEmitter {
|
|
928
922
|
constructor() {
|
|
929
923
|
super();
|
|
930
924
|
}
|
|
@@ -942,7 +936,7 @@ var require_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
942
936
|
}
|
|
943
937
|
};
|
|
944
938
|
exports.ClientUnaryCallImpl = ClientUnaryCallImpl;
|
|
945
|
-
var ClientReadableStreamImpl = class extends stream_1
|
|
939
|
+
var ClientReadableStreamImpl = class extends stream_1.Readable {
|
|
946
940
|
constructor(deserialize) {
|
|
947
941
|
super({ objectMode: true });
|
|
948
942
|
this.deserialize = deserialize;
|
|
@@ -965,7 +959,7 @@ var require_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
965
959
|
}
|
|
966
960
|
};
|
|
967
961
|
exports.ClientReadableStreamImpl = ClientReadableStreamImpl;
|
|
968
|
-
var ClientWritableStreamImpl = class extends stream_1
|
|
962
|
+
var ClientWritableStreamImpl = class extends stream_1.Writable {
|
|
969
963
|
constructor(serialize) {
|
|
970
964
|
super({ objectMode: true });
|
|
971
965
|
this.serialize = serialize;
|
|
@@ -996,7 +990,7 @@ var require_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
996
990
|
}
|
|
997
991
|
};
|
|
998
992
|
exports.ClientWritableStreamImpl = ClientWritableStreamImpl;
|
|
999
|
-
var ClientDuplexStreamImpl = class extends stream_1
|
|
993
|
+
var ClientDuplexStreamImpl = class extends stream_1.Duplex {
|
|
1000
994
|
constructor(serialize, deserialize) {
|
|
1001
995
|
super({ objectMode: true });
|
|
1002
996
|
this.serialize = serialize;
|
|
@@ -1033,8 +1027,7 @@ var require_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1033
1027
|
};
|
|
1034
1028
|
exports.ClientDuplexStreamImpl = ClientDuplexStreamImpl;
|
|
1035
1029
|
}));
|
|
1036
|
-
|
|
1037
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/package.json
|
|
1030
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/package.json
|
|
1038
1031
|
var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1039
1032
|
module.exports = {
|
|
1040
1033
|
"name": "@grpc/grpc-js",
|
|
@@ -1118,8 +1111,7 @@ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1118
1111
|
]
|
|
1119
1112
|
};
|
|
1120
1113
|
}));
|
|
1121
|
-
|
|
1122
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/logging.js
|
|
1114
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/logging.js
|
|
1123
1115
|
var require_logging = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1124
1116
|
var _a;
|
|
1125
1117
|
var _b;
|
|
@@ -1203,8 +1195,7 @@ var require_logging = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1203
1195
|
return !disabledTracers.has(tracer) && (allEnabled || enabledTracers.has(tracer));
|
|
1204
1196
|
}
|
|
1205
1197
|
}));
|
|
1206
|
-
|
|
1207
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/error.js
|
|
1198
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/error.js
|
|
1208
1199
|
var require_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1209
1200
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1210
1201
|
exports.getErrorMessage = getErrorMessage;
|
|
@@ -1218,8 +1209,7 @@ var require_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1218
1209
|
else return null;
|
|
1219
1210
|
}
|
|
1220
1211
|
}));
|
|
1221
|
-
|
|
1222
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/metadata.js
|
|
1212
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/metadata.js
|
|
1223
1213
|
var require_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1224
1214
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1225
1215
|
exports.Metadata = void 0;
|
|
@@ -1427,8 +1417,7 @@ var require_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1427
1417
|
return Buffer.isBuffer(val) ? val.toString("base64") : val;
|
|
1428
1418
|
};
|
|
1429
1419
|
}));
|
|
1430
|
-
|
|
1431
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-credentials.js
|
|
1420
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-credentials.js
|
|
1432
1421
|
var require_call_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1433
1422
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1434
1423
|
exports.CallCredentials = void 0;
|
|
@@ -1541,26 +1530,24 @@ var require_call_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1541
1530
|
}
|
|
1542
1531
|
};
|
|
1543
1532
|
}));
|
|
1544
|
-
|
|
1545
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/tls-helpers.js
|
|
1533
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/tls-helpers.js
|
|
1546
1534
|
var require_tls_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1547
1535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1548
1536
|
exports.CIPHER_SUITES = void 0;
|
|
1549
1537
|
exports.getDefaultRootsData = getDefaultRootsData;
|
|
1550
|
-
const fs
|
|
1538
|
+
const fs = __require("fs");
|
|
1551
1539
|
exports.CIPHER_SUITES = process.env.GRPC_SSL_CIPHER_SUITES;
|
|
1552
1540
|
const DEFAULT_ROOTS_FILE_PATH = process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH;
|
|
1553
1541
|
let defaultRootsData = null;
|
|
1554
1542
|
function getDefaultRootsData() {
|
|
1555
1543
|
if (DEFAULT_ROOTS_FILE_PATH) {
|
|
1556
|
-
if (defaultRootsData === null) defaultRootsData = fs
|
|
1544
|
+
if (defaultRootsData === null) defaultRootsData = fs.readFileSync(DEFAULT_ROOTS_FILE_PATH);
|
|
1557
1545
|
return defaultRootsData;
|
|
1558
1546
|
}
|
|
1559
1547
|
return null;
|
|
1560
1548
|
}
|
|
1561
1549
|
}));
|
|
1562
|
-
|
|
1563
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/uri-parser.js
|
|
1550
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/uri-parser.js
|
|
1564
1551
|
var require_uri_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1565
1552
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1566
1553
|
exports.parseUri = parseUri;
|
|
@@ -1618,8 +1605,7 @@ var require_uri_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1618
1605
|
return result;
|
|
1619
1606
|
}
|
|
1620
1607
|
}));
|
|
1621
|
-
|
|
1622
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver.js
|
|
1608
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver.js
|
|
1623
1609
|
var require_resolver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1624
1610
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1625
1611
|
exports.CHANNEL_ARGS_CONFIG_SELECTOR_KEY = void 0;
|
|
@@ -1681,13 +1667,12 @@ var require_resolver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1681
1667
|
return target;
|
|
1682
1668
|
}
|
|
1683
1669
|
}));
|
|
1684
|
-
|
|
1685
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel-credentials.js
|
|
1670
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel-credentials.js
|
|
1686
1671
|
var require_channel_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1687
1672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1688
1673
|
exports.ChannelCredentials = void 0;
|
|
1689
1674
|
exports.createCertificateProviderChannelCredentials = createCertificateProviderChannelCredentials;
|
|
1690
|
-
const tls_1
|
|
1675
|
+
const tls_1 = __require("tls");
|
|
1691
1676
|
const call_credentials_1 = require_call_credentials();
|
|
1692
1677
|
const tls_helpers_1 = require_tls_helpers();
|
|
1693
1678
|
const uri_parser_1 = require_uri_parser();
|
|
@@ -1728,7 +1713,7 @@ var require_channel_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1728
1713
|
verifyIsBufferOrNull(certChain, "Certificate chain");
|
|
1729
1714
|
if (privateKey && !certChain) throw new Error("Private key must be given with accompanying certificate chain");
|
|
1730
1715
|
if (!privateKey && certChain) throw new Error("Certificate chain must be given with accompanying private key");
|
|
1731
|
-
return new SecureChannelCredentialsImpl((0, tls_1
|
|
1716
|
+
return new SecureChannelCredentialsImpl((0, tls_1.createSecureContext)({
|
|
1732
1717
|
ca: (_a = rootCerts !== null && rootCerts !== void 0 ? rootCerts : (0, tls_helpers_1.getDefaultRootsData)()) !== null && _a !== void 0 ? _a : void 0,
|
|
1733
1718
|
key: privateKey !== null && privateKey !== void 0 ? privateKey : void 0,
|
|
1734
1719
|
cert: certChain !== null && certChain !== void 0 ? certChain : void 0,
|
|
@@ -1804,7 +1789,7 @@ var require_channel_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1804
1789
|
connectionOptions.ALPNProtocols = ["h2"];
|
|
1805
1790
|
if (options["grpc.ssl_target_name_override"]) {
|
|
1806
1791
|
const sslTargetNameOverride = options["grpc.ssl_target_name_override"];
|
|
1807
|
-
const originalCheckServerIdentity = (_b = connectionOptions.checkServerIdentity) !== null && _b !== void 0 ? _b : tls_1
|
|
1792
|
+
const originalCheckServerIdentity = (_b = connectionOptions.checkServerIdentity) !== null && _b !== void 0 ? _b : tls_1.checkServerIdentity;
|
|
1808
1793
|
connectionOptions.checkServerIdentity = (host, cert) => {
|
|
1809
1794
|
return originalCheckServerIdentity(sslTargetNameOverride, cert);
|
|
1810
1795
|
};
|
|
@@ -1821,7 +1806,7 @@ var require_channel_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1821
1806
|
connect(socket) {
|
|
1822
1807
|
const tlsConnectOptions = Object.assign({ socket }, this.connectionOptions);
|
|
1823
1808
|
return new Promise((resolve, reject) => {
|
|
1824
|
-
const tlsSocket = (0, tls_1
|
|
1809
|
+
const tlsSocket = (0, tls_1.connect)(tlsConnectOptions, () => {
|
|
1825
1810
|
var _a;
|
|
1826
1811
|
if (((_a = this.connectionOptions.rejectUnauthorized) !== null && _a !== void 0 ? _a : true) && !tlsSocket.authorized) {
|
|
1827
1812
|
reject(tlsSocket.authorizationError);
|
|
@@ -1943,7 +1928,7 @@ var require_channel_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1943
1928
|
if (!this.latestCaUpdate) return null;
|
|
1944
1929
|
if (this.identityCertificateProvider !== null && !this.latestIdentityUpdate) return null;
|
|
1945
1930
|
try {
|
|
1946
|
-
return (0, tls_1
|
|
1931
|
+
return (0, tls_1.createSecureContext)({
|
|
1947
1932
|
ca: this.latestCaUpdate.caCertificate,
|
|
1948
1933
|
key: (_a = this.latestIdentityUpdate) === null || _a === void 0 ? void 0 : _a.privateKey,
|
|
1949
1934
|
cert: (_b = this.latestIdentityUpdate) === null || _b === void 0 ? void 0 : _b.certificate,
|
|
@@ -1978,7 +1963,7 @@ var require_channel_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1978
1963
|
const errorCallback = (error) => {
|
|
1979
1964
|
reject(error);
|
|
1980
1965
|
};
|
|
1981
|
-
const tlsSocket = (0, tls_1
|
|
1966
|
+
const tlsSocket = (0, tls_1.connect)(tlsConnectOptions, () => {
|
|
1982
1967
|
var _a;
|
|
1983
1968
|
tlsSocket.removeListener("close", closeCallback);
|
|
1984
1969
|
tlsSocket.removeListener("error", errorCallback);
|
|
@@ -2033,8 +2018,7 @@ var require_channel_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2033
2018
|
}
|
|
2034
2019
|
};
|
|
2035
2020
|
}));
|
|
2036
|
-
|
|
2037
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer.js
|
|
2021
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer.js
|
|
2038
2022
|
var require_load_balancer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2039
2023
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2040
2024
|
exports.createChildChannelControlHelper = createChildChannelControlHelper;
|
|
@@ -2112,14 +2096,13 @@ var require_load_balancer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2112
2096
|
} else return null;
|
|
2113
2097
|
}
|
|
2114
2098
|
}));
|
|
2115
|
-
|
|
2116
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/service-config.js
|
|
2099
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/service-config.js
|
|
2117
2100
|
var require_service_config = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2118
2101
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2119
2102
|
exports.validateRetryThrottling = validateRetryThrottling;
|
|
2120
2103
|
exports.validateServiceConfig = validateServiceConfig;
|
|
2121
2104
|
exports.extractAndSelectServiceConfig = extractAndSelectServiceConfig;
|
|
2122
|
-
const os
|
|
2105
|
+
const os = __require("os");
|
|
2123
2106
|
const constants_1 = require_constants();
|
|
2124
2107
|
/**
|
|
2125
2108
|
* Recognizes a number with up to 9 digits after the decimal point, followed by
|
|
@@ -2291,7 +2274,7 @@ var require_service_config = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2291
2274
|
if (typeof validatedConfig.percentage === "number" && percentage > validatedConfig.percentage) continue;
|
|
2292
2275
|
if (Array.isArray(validatedConfig.clientHostname)) {
|
|
2293
2276
|
let hostnameMatched = false;
|
|
2294
|
-
for (const hostname of validatedConfig.clientHostname) if (hostname === os
|
|
2277
|
+
for (const hostname of validatedConfig.clientHostname) if (hostname === os.hostname()) hostnameMatched = true;
|
|
2295
2278
|
if (!hostnameMatched) continue;
|
|
2296
2279
|
}
|
|
2297
2280
|
if (Array.isArray(validatedConfig.clientLanguage)) {
|
|
@@ -2320,8 +2303,7 @@ var require_service_config = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2320
2303
|
return null;
|
|
2321
2304
|
}
|
|
2322
2305
|
}));
|
|
2323
|
-
|
|
2324
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/picker.js
|
|
2306
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/picker.js
|
|
2325
2307
|
var require_picker = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2326
2308
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2327
2309
|
exports.QueuePicker = exports.UnavailablePicker = exports.PickResultType = void 0;
|
|
@@ -2391,8 +2373,7 @@ var require_picker = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2391
2373
|
};
|
|
2392
2374
|
exports.QueuePicker = QueuePicker;
|
|
2393
2375
|
}));
|
|
2394
|
-
|
|
2395
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js
|
|
2376
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js
|
|
2396
2377
|
var require_backoff_timeout = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2397
2378
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2398
2379
|
exports.BackoffTimeout = void 0;
|
|
@@ -2556,8 +2537,7 @@ var require_backoff_timeout = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2556
2537
|
exports.BackoffTimeout = BackoffTimeout;
|
|
2557
2538
|
BackoffTimeout.nextId = 0;
|
|
2558
2539
|
}));
|
|
2559
|
-
|
|
2560
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js
|
|
2540
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js
|
|
2561
2541
|
var require_load_balancer_child_handler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2562
2542
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2563
2543
|
exports.ChildLoadBalancerHandler = void 0;
|
|
@@ -2666,8 +2646,7 @@ var require_load_balancer_child_handler = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2666
2646
|
};
|
|
2667
2647
|
exports.ChildLoadBalancerHandler = ChildLoadBalancerHandler;
|
|
2668
2648
|
}));
|
|
2669
|
-
|
|
2670
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js
|
|
2649
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js
|
|
2671
2650
|
var require_resolving_load_balancer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2672
2651
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2673
2652
|
exports.ResolvingLoadBalancer = void 0;
|
|
@@ -2887,8 +2866,7 @@ var require_resolving_load_balancer = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
2887
2866
|
};
|
|
2888
2867
|
exports.ResolvingLoadBalancer = ResolvingLoadBalancer;
|
|
2889
2868
|
}));
|
|
2890
|
-
|
|
2891
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel-options.js
|
|
2869
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel-options.js
|
|
2892
2870
|
var require_channel_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2893
2871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2894
2872
|
exports.recognizedOptions = void 0;
|
|
@@ -2940,8 +2918,7 @@ var require_channel_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2940
2918
|
return true;
|
|
2941
2919
|
}
|
|
2942
2920
|
}));
|
|
2943
|
-
|
|
2944
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-number.js
|
|
2921
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-number.js
|
|
2945
2922
|
var require_call_number = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2946
2923
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2947
2924
|
exports.getNextCallNumber = getNextCallNumber;
|
|
@@ -2950,8 +2927,7 @@ var require_call_number = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2950
2927
|
return nextCallNumber++;
|
|
2951
2928
|
}
|
|
2952
2929
|
}));
|
|
2953
|
-
|
|
2954
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js
|
|
2930
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js
|
|
2955
2931
|
var require_compression_algorithms = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2956
2932
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2957
2933
|
exports.CompressionAlgorithms = void 0;
|
|
@@ -2962,8 +2938,7 @@ var require_compression_algorithms = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
2962
2938
|
CompressionAlgorithms[CompressionAlgorithms["gzip"] = 2] = "gzip";
|
|
2963
2939
|
})(CompressionAlgorithms || (exports.CompressionAlgorithms = CompressionAlgorithms = {}));
|
|
2964
2940
|
}));
|
|
2965
|
-
|
|
2966
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/filter.js
|
|
2941
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/filter.js
|
|
2967
2942
|
var require_filter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2968
2943
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2969
2944
|
exports.BaseFilter = void 0;
|
|
@@ -2986,12 +2961,11 @@ var require_filter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2986
2961
|
};
|
|
2987
2962
|
exports.BaseFilter = BaseFilter;
|
|
2988
2963
|
}));
|
|
2989
|
-
|
|
2990
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/compression-filter.js
|
|
2964
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/compression-filter.js
|
|
2991
2965
|
var require_compression_filter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2992
2966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2993
2967
|
exports.CompressionFilterFactory = exports.CompressionFilter = void 0;
|
|
2994
|
-
const zlib
|
|
2968
|
+
const zlib = __require("zlib");
|
|
2995
2969
|
const compression_algorithms_1 = require_compression_algorithms();
|
|
2996
2970
|
const constants_1 = require_constants();
|
|
2997
2971
|
const filter_1 = require_filter();
|
|
@@ -3047,7 +3021,7 @@ var require_compression_filter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3047
3021
|
}
|
|
3048
3022
|
compressMessage(message) {
|
|
3049
3023
|
return new Promise((resolve, reject) => {
|
|
3050
|
-
zlib
|
|
3024
|
+
zlib.deflate(message, (err, output) => {
|
|
3051
3025
|
if (err) reject(err);
|
|
3052
3026
|
else resolve(output);
|
|
3053
3027
|
});
|
|
@@ -3057,7 +3031,7 @@ var require_compression_filter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3057
3031
|
return new Promise((resolve, reject) => {
|
|
3058
3032
|
let totalLength = 0;
|
|
3059
3033
|
const messageParts = [];
|
|
3060
|
-
const decompresser = zlib
|
|
3034
|
+
const decompresser = zlib.createInflate();
|
|
3061
3035
|
decompresser.on("error", (error) => {
|
|
3062
3036
|
reject({
|
|
3063
3037
|
code: constants_1.Status.INTERNAL,
|
|
@@ -3090,7 +3064,7 @@ var require_compression_filter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3090
3064
|
}
|
|
3091
3065
|
compressMessage(message) {
|
|
3092
3066
|
return new Promise((resolve, reject) => {
|
|
3093
|
-
zlib
|
|
3067
|
+
zlib.gzip(message, (err, output) => {
|
|
3094
3068
|
if (err) reject(err);
|
|
3095
3069
|
else resolve(output);
|
|
3096
3070
|
});
|
|
@@ -3100,7 +3074,7 @@ var require_compression_filter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3100
3074
|
return new Promise((resolve, reject) => {
|
|
3101
3075
|
let totalLength = 0;
|
|
3102
3076
|
const messageParts = [];
|
|
3103
|
-
const decompresser = zlib
|
|
3077
|
+
const decompresser = zlib.createGunzip();
|
|
3104
3078
|
decompresser.on("error", (error) => {
|
|
3105
3079
|
reject({
|
|
3106
3080
|
code: constants_1.Status.INTERNAL,
|
|
@@ -3232,8 +3206,7 @@ var require_compression_filter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3232
3206
|
};
|
|
3233
3207
|
exports.CompressionFilterFactory = CompressionFilterFactory;
|
|
3234
3208
|
}));
|
|
3235
|
-
|
|
3236
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/control-plane-status.js
|
|
3209
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/control-plane-status.js
|
|
3237
3210
|
var require_control_plane_status = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3238
3211
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3239
3212
|
exports.restrictControlPlaneStatusCode = restrictControlPlaneStatusCode;
|
|
@@ -3259,8 +3232,7 @@ var require_control_plane_status = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3259
3232
|
};
|
|
3260
3233
|
}
|
|
3261
3234
|
}));
|
|
3262
|
-
|
|
3263
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/deadline.js
|
|
3235
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/deadline.js
|
|
3264
3236
|
var require_deadline = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3265
3237
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3266
3238
|
exports.minDeadline = minDeadline;
|
|
@@ -3333,8 +3305,7 @@ var require_deadline = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3333
3305
|
return ((endDate.getTime() - startDate.getTime()) / 1e3).toFixed(3) + "s";
|
|
3334
3306
|
}
|
|
3335
3307
|
}));
|
|
3336
|
-
|
|
3337
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/filter-stack.js
|
|
3308
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/filter-stack.js
|
|
3338
3309
|
var require_filter_stack = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3339
3310
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3340
3311
|
exports.FilterStackFactory = exports.FilterStack = void 0;
|
|
@@ -3390,8 +3361,7 @@ var require_filter_stack = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3390
3361
|
}
|
|
3391
3362
|
};
|
|
3392
3363
|
}));
|
|
3393
|
-
|
|
3394
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js
|
|
3364
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js
|
|
3395
3365
|
var require_single_subchannel_channel = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3396
3366
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3397
3367
|
exports.SingleSubchannelChannel = void 0;
|
|
@@ -3580,8 +3550,7 @@ var require_single_subchannel_channel = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
3580
3550
|
};
|
|
3581
3551
|
exports.SingleSubchannelChannel = SingleSubchannelChannel;
|
|
3582
3552
|
}));
|
|
3583
|
-
|
|
3584
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel.js
|
|
3553
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel.js
|
|
3585
3554
|
var require_subchannel = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3586
3555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3587
3556
|
exports.Subchannel = void 0;
|
|
@@ -3890,8 +3859,7 @@ var require_subchannel = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3890
3859
|
};
|
|
3891
3860
|
exports.Subchannel = Subchannel;
|
|
3892
3861
|
}));
|
|
3893
|
-
|
|
3894
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js
|
|
3862
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js
|
|
3895
3863
|
var require_subchannel_pool = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3896
3864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3897
3865
|
exports.SubchannelPool = void 0;
|
|
@@ -3984,8 +3952,7 @@ var require_subchannel_pool = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3984
3952
|
else return new SubchannelPool();
|
|
3985
3953
|
}
|
|
3986
3954
|
}));
|
|
3987
|
-
|
|
3988
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-interface.js
|
|
3955
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-interface.js
|
|
3989
3956
|
var require_call_interface = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3990
3957
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3991
3958
|
exports.InterceptingListenerImpl = void 0;
|
|
@@ -4059,8 +4026,7 @@ var require_call_interface = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4059
4026
|
};
|
|
4060
4027
|
exports.InterceptingListenerImpl = InterceptingListenerImpl;
|
|
4061
4028
|
}));
|
|
4062
|
-
|
|
4063
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/environment.js
|
|
4029
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/environment.js
|
|
4064
4030
|
var require_environment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4065
4031
|
var _a;
|
|
4066
4032
|
var _b;
|
|
@@ -4069,8 +4035,7 @@ var require_environment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4069
4035
|
exports.GRPC_NODE_USE_ALTERNATIVE_RESOLVER = ((_a = process.env.GRPC_NODE_USE_ALTERNATIVE_RESOLVER) !== null && _a !== void 0 ? _a : "false") === "true";
|
|
4070
4036
|
exports.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS = ((_b = process.env.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS) !== null && _b !== void 0 ? _b : "false") === "true";
|
|
4071
4037
|
}));
|
|
4072
|
-
|
|
4073
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-dns.js
|
|
4038
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-dns.js
|
|
4074
4039
|
var require_resolver_dns = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4075
4040
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4076
4041
|
exports.DEFAULT_PORT = void 0;
|
|
@@ -4084,7 +4049,7 @@ var require_resolver_dns = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4084
4049
|
const logging = require_logging();
|
|
4085
4050
|
const constants_2 = require_constants();
|
|
4086
4051
|
const uri_parser_1 = require_uri_parser();
|
|
4087
|
-
const net_1
|
|
4052
|
+
const net_1 = __require("net");
|
|
4088
4053
|
const backoff_timeout_1 = require_backoff_timeout();
|
|
4089
4054
|
const environment_1 = require_environment();
|
|
4090
4055
|
const TRACER_NAME = "dns_resolver";
|
|
@@ -4120,7 +4085,7 @@ var require_resolver_dns = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4120
4085
|
this.ipResult = null;
|
|
4121
4086
|
this.dnsHostname = null;
|
|
4122
4087
|
this.port = null;
|
|
4123
|
-
} else if ((0, net_1
|
|
4088
|
+
} else if ((0, net_1.isIPv4)(hostPort.host) || (0, net_1.isIPv6)(hostPort.host)) {
|
|
4124
4089
|
this.ipResult = [{ addresses: [{
|
|
4125
4090
|
host: hostPort.host,
|
|
4126
4091
|
port: (_a = hostPort.port) !== null && _a !== void 0 ? _a : exports.DEFAULT_PORT
|
|
@@ -4321,8 +4286,7 @@ var require_resolver_dns = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4321
4286
|
(0, resolver_1.registerDefaultScheme)("dns");
|
|
4322
4287
|
}
|
|
4323
4288
|
}));
|
|
4324
|
-
|
|
4325
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/http_proxy.js
|
|
4289
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/http_proxy.js
|
|
4326
4290
|
var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4327
4291
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4328
4292
|
exports.parseCIDR = parseCIDR;
|
|
@@ -4330,7 +4294,7 @@ var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4330
4294
|
exports.getProxiedConnection = getProxiedConnection;
|
|
4331
4295
|
const logging_1 = require_logging();
|
|
4332
4296
|
const constants_1 = require_constants();
|
|
4333
|
-
const net_1
|
|
4297
|
+
const net_1 = __require("net");
|
|
4334
4298
|
const http = __require("http");
|
|
4335
4299
|
const logging = require_logging();
|
|
4336
4300
|
const subchannel_address_1 = require_subchannel_address();
|
|
@@ -4396,7 +4360,7 @@ var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4396
4360
|
const splitRange = cidrString.split("/");
|
|
4397
4361
|
if (splitRange.length !== 2) return null;
|
|
4398
4362
|
const prefixLength = parseInt(splitRange[1], 10);
|
|
4399
|
-
if (!(0, net_1
|
|
4363
|
+
if (!(0, net_1.isIPv4)(splitRange[0]) || Number.isNaN(prefixLength) || prefixLength < 0 || prefixLength > 32) return null;
|
|
4400
4364
|
return {
|
|
4401
4365
|
ip: ipToInt(splitRange[0]),
|
|
4402
4366
|
prefixLength
|
|
@@ -4413,7 +4377,7 @@ var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4413
4377
|
function hostMatchesNoProxyList(serverHost) {
|
|
4414
4378
|
for (const host of getNoProxyHostList()) {
|
|
4415
4379
|
const parsedCIDR = parseCIDR(host);
|
|
4416
|
-
if ((0, net_1
|
|
4380
|
+
if ((0, net_1.isIPv4)(serverHost) && parsedCIDR && isIpInCIDR(parsedCIDR, serverHost)) return true;
|
|
4417
4381
|
else if (serverHost.endsWith(host)) return true;
|
|
4418
4382
|
}
|
|
4419
4383
|
return false;
|
|
@@ -4491,8 +4455,7 @@ var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4491
4455
|
});
|
|
4492
4456
|
}
|
|
4493
4457
|
}));
|
|
4494
|
-
|
|
4495
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js
|
|
4458
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js
|
|
4496
4459
|
var require_load_balancing_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4497
4460
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4498
4461
|
exports.LoadBalancingCall = void 0;
|
|
@@ -4504,7 +4467,7 @@ var require_load_balancing_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4504
4467
|
const uri_parser_1 = require_uri_parser();
|
|
4505
4468
|
const logging = require_logging();
|
|
4506
4469
|
const control_plane_status_1 = require_control_plane_status();
|
|
4507
|
-
const http2
|
|
4470
|
+
const http2 = __require("http2");
|
|
4508
4471
|
const TRACER_NAME = "load_balancing_call";
|
|
4509
4472
|
var LoadBalancingCall = class {
|
|
4510
4473
|
constructor(channel, callConfig, methodName, host, credentials, deadline, callNumber) {
|
|
@@ -4611,7 +4574,7 @@ var require_load_balancing_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4611
4574
|
},
|
|
4612
4575
|
onReceiveStatus: (status) => {
|
|
4613
4576
|
this.trace("Received status");
|
|
4614
|
-
if (status.rstCode === http2
|
|
4577
|
+
if (status.rstCode === http2.constants.NGHTTP2_REFUSED_STREAM) this.outputStatus(status, "REFUSED");
|
|
4615
4578
|
else this.outputStatus(status, "PROCESSED");
|
|
4616
4579
|
}
|
|
4617
4580
|
}, this.callNumber);
|
|
@@ -4717,8 +4680,7 @@ var require_load_balancing_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4717
4680
|
};
|
|
4718
4681
|
exports.LoadBalancingCall = LoadBalancingCall;
|
|
4719
4682
|
}));
|
|
4720
|
-
|
|
4721
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolving-call.js
|
|
4683
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolving-call.js
|
|
4722
4684
|
var require_resolving_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4723
4685
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4724
4686
|
exports.ResolvingCall = void 0;
|
|
@@ -4960,8 +4922,7 @@ var require_resolving_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4960
4922
|
};
|
|
4961
4923
|
exports.ResolvingCall = ResolvingCall;
|
|
4962
4924
|
}));
|
|
4963
|
-
|
|
4964
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/retrying-call.js
|
|
4925
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/retrying-call.js
|
|
4965
4926
|
var require_retrying_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4966
4927
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4967
4928
|
exports.RetryingCall = exports.MessageBufferTracker = exports.RetryThrottler = void 0;
|
|
@@ -5489,8 +5450,7 @@ var require_retrying_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5489
5450
|
};
|
|
5490
5451
|
exports.RetryingCall = RetryingCall;
|
|
5491
5452
|
}));
|
|
5492
|
-
|
|
5493
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js
|
|
5453
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js
|
|
5494
5454
|
var require_subchannel_interface = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5495
5455
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5496
5456
|
exports.BaseSubchannelWrapper = void 0;
|
|
@@ -5575,8 +5535,7 @@ var require_subchannel_interface = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5575
5535
|
};
|
|
5576
5536
|
exports.BaseSubchannelWrapper = BaseSubchannelWrapper;
|
|
5577
5537
|
}));
|
|
5578
|
-
|
|
5579
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/internal-channel.js
|
|
5538
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/internal-channel.js
|
|
5580
5539
|
var require_internal_channel = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5581
5540
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5582
5541
|
exports.InternalChannel = exports.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX = void 0;
|
|
@@ -6014,8 +5973,7 @@ var require_internal_channel = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6014
5973
|
};
|
|
6015
5974
|
exports.InternalChannel = InternalChannel;
|
|
6016
5975
|
}));
|
|
6017
|
-
|
|
6018
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel.js
|
|
5976
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel.js
|
|
6019
5977
|
var require_channel$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6020
5978
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6021
5979
|
exports.ChannelImplementation = void 0;
|
|
@@ -6058,8 +6016,7 @@ var require_channel$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6058
6016
|
};
|
|
6059
6017
|
exports.ChannelImplementation = ChannelImplementation;
|
|
6060
6018
|
}));
|
|
6061
|
-
|
|
6062
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/client-interceptors.js
|
|
6019
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/client-interceptors.js
|
|
6063
6020
|
var require_client_interceptors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6064
6021
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6065
6022
|
exports.InterceptingCall = exports.RequesterBuilder = exports.ListenerBuilder = exports.InterceptorConfigurationError = void 0;
|
|
@@ -6407,8 +6364,7 @@ var require_client_interceptors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6407
6364
|
}, (finalOptions) => getBottomInterceptingCall(channel, finalOptions, methodDefinition))(interceptorOptions);
|
|
6408
6365
|
}
|
|
6409
6366
|
}));
|
|
6410
|
-
|
|
6411
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/client.js
|
|
6367
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/client.js
|
|
6412
6368
|
var require_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6413
6369
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6414
6370
|
exports.Client = void 0;
|
|
@@ -6754,8 +6710,7 @@ var require_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6754
6710
|
};
|
|
6755
6711
|
exports.Client = Client;
|
|
6756
6712
|
}));
|
|
6757
|
-
|
|
6758
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/make-client.js
|
|
6713
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/make-client.js
|
|
6759
6714
|
var require_make_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6760
6715
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6761
6716
|
exports.makeClientConstructor = makeClientConstructor;
|
|
@@ -6853,8 +6808,7 @@ var require_make_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6853
6808
|
return result;
|
|
6854
6809
|
}
|
|
6855
6810
|
}));
|
|
6856
|
-
|
|
6857
|
-
//#region ../../node_modules/.pnpm/lodash.camelcase@4.3.0/node_modules/lodash.camelcase/index.js
|
|
6811
|
+
// ../../node_modules/.pnpm/lodash.camelcase@4.3.0/node_modules/lodash.camelcase/index.js
|
|
6858
6812
|
var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6859
6813
|
/** `Object#toString` result references. */
|
|
6860
6814
|
var symbolTag = "[object Symbol]";
|
|
@@ -7521,8 +7475,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
7521
7475
|
}
|
|
7522
7476
|
module.exports = camelCase;
|
|
7523
7477
|
}));
|
|
7524
|
-
|
|
7525
|
-
//#region ../../node_modules/.pnpm/@protobufjs+aspromise@1.1.2/node_modules/@protobufjs/aspromise/index.js
|
|
7478
|
+
// ../../node_modules/.pnpm/@protobufjs+aspromise@1.1.2/node_modules/@protobufjs/aspromise/index.js
|
|
7526
7479
|
var require_aspromise = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7527
7480
|
module.exports = asPromise;
|
|
7528
7481
|
/**
|
|
@@ -7567,8 +7520,7 @@ var require_aspromise = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7567
7520
|
});
|
|
7568
7521
|
}
|
|
7569
7522
|
}));
|
|
7570
|
-
|
|
7571
|
-
//#region ../../node_modules/.pnpm/@protobufjs+base64@1.1.2/node_modules/@protobufjs/base64/index.js
|
|
7523
|
+
// ../../node_modules/.pnpm/@protobufjs+base64@1.1.2/node_modules/@protobufjs/base64/index.js
|
|
7572
7524
|
var require_base64 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7573
7525
|
/**
|
|
7574
7526
|
* A minimal base64 implementation for number arrays.
|
|
@@ -7683,8 +7635,7 @@ var require_base64 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7683
7635
|
return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(string);
|
|
7684
7636
|
};
|
|
7685
7637
|
}));
|
|
7686
|
-
|
|
7687
|
-
//#region ../../node_modules/.pnpm/@protobufjs+eventemitter@1.1.1/node_modules/@protobufjs/eventemitter/index.js
|
|
7638
|
+
// ../../node_modules/.pnpm/@protobufjs+eventemitter@1.1.1/node_modules/@protobufjs/eventemitter/index.js
|
|
7688
7639
|
var require_eventemitter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7689
7640
|
module.exports = EventEmitter;
|
|
7690
7641
|
/**
|
|
@@ -7755,8 +7706,7 @@ var require_eventemitter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7755
7706
|
return this;
|
|
7756
7707
|
};
|
|
7757
7708
|
}));
|
|
7758
|
-
|
|
7759
|
-
//#region ../../node_modules/.pnpm/@protobufjs+float@1.0.2/node_modules/@protobufjs/float/index.js
|
|
7709
|
+
// ../../node_modules/.pnpm/@protobufjs+float@1.0.2/node_modules/@protobufjs/float/index.js
|
|
7760
7710
|
var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7761
7711
|
module.exports = factory(factory);
|
|
7762
7712
|
/**
|
|
@@ -7832,7 +7782,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7832
7782
|
* @param {number} pos Source buffer offset
|
|
7833
7783
|
* @returns {number} Value read
|
|
7834
7784
|
*/
|
|
7835
|
-
function factory(exports
|
|
7785
|
+
function factory(exports) {
|
|
7836
7786
|
if (typeof Float32Array !== "undefined") (function() {
|
|
7837
7787
|
var f32 = new Float32Array([-0]), f8b = new Uint8Array(f32.buffer), le = f8b[3] === 128;
|
|
7838
7788
|
function writeFloat_f32_cpy(val, buf, pos) {
|
|
@@ -7850,9 +7800,9 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7850
7800
|
buf[pos + 3] = f8b[0];
|
|
7851
7801
|
}
|
|
7852
7802
|
/* istanbul ignore next */
|
|
7853
|
-
exports
|
|
7803
|
+
exports.writeFloatLE = le ? writeFloat_f32_cpy : writeFloat_f32_rev;
|
|
7854
7804
|
/* istanbul ignore next */
|
|
7855
|
-
exports
|
|
7805
|
+
exports.writeFloatBE = le ? writeFloat_f32_rev : writeFloat_f32_cpy;
|
|
7856
7806
|
function readFloat_f32_cpy(buf, pos) {
|
|
7857
7807
|
f8b[0] = buf[pos];
|
|
7858
7808
|
f8b[1] = buf[pos + 1];
|
|
@@ -7868,9 +7818,9 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7868
7818
|
return f32[0];
|
|
7869
7819
|
}
|
|
7870
7820
|
/* istanbul ignore next */
|
|
7871
|
-
exports
|
|
7821
|
+
exports.readFloatLE = le ? readFloat_f32_cpy : readFloat_f32_rev;
|
|
7872
7822
|
/* istanbul ignore next */
|
|
7873
|
-
exports
|
|
7823
|
+
exports.readFloatBE = le ? readFloat_f32_rev : readFloat_f32_cpy;
|
|
7874
7824
|
})();
|
|
7875
7825
|
else (function() {
|
|
7876
7826
|
function writeFloat_ieee754(writeUint, val, buf, pos) {
|
|
@@ -7885,14 +7835,14 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7885
7835
|
writeUint((sign << 31 | exponent + 127 << 23 | mantissa) >>> 0, buf, pos);
|
|
7886
7836
|
}
|
|
7887
7837
|
}
|
|
7888
|
-
exports
|
|
7889
|
-
exports
|
|
7838
|
+
exports.writeFloatLE = writeFloat_ieee754.bind(null, writeUintLE);
|
|
7839
|
+
exports.writeFloatBE = writeFloat_ieee754.bind(null, writeUintBE);
|
|
7890
7840
|
function readFloat_ieee754(readUint, buf, pos) {
|
|
7891
7841
|
var uint = readUint(buf, pos), sign = (uint >> 31) * 2 + 1, exponent = uint >>> 23 & 255, mantissa = uint & 8388607;
|
|
7892
7842
|
return exponent === 255 ? mantissa ? NaN : sign * Infinity : exponent === 0 ? sign * 1401298464324817e-60 * mantissa : sign * Math.pow(2, exponent - 150) * (mantissa + 8388608);
|
|
7893
7843
|
}
|
|
7894
|
-
exports
|
|
7895
|
-
exports
|
|
7844
|
+
exports.readFloatLE = readFloat_ieee754.bind(null, readUintLE);
|
|
7845
|
+
exports.readFloatBE = readFloat_ieee754.bind(null, readUintBE);
|
|
7896
7846
|
})();
|
|
7897
7847
|
if (typeof Float64Array !== "undefined") (function() {
|
|
7898
7848
|
var f64 = new Float64Array([-0]), f8b = new Uint8Array(f64.buffer), le = f8b[7] === 128;
|
|
@@ -7919,9 +7869,9 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7919
7869
|
buf[pos + 7] = f8b[0];
|
|
7920
7870
|
}
|
|
7921
7871
|
/* istanbul ignore next */
|
|
7922
|
-
exports
|
|
7872
|
+
exports.writeDoubleLE = le ? writeDouble_f64_cpy : writeDouble_f64_rev;
|
|
7923
7873
|
/* istanbul ignore next */
|
|
7924
|
-
exports
|
|
7874
|
+
exports.writeDoubleBE = le ? writeDouble_f64_rev : writeDouble_f64_cpy;
|
|
7925
7875
|
function readDouble_f64_cpy(buf, pos) {
|
|
7926
7876
|
f8b[0] = buf[pos];
|
|
7927
7877
|
f8b[1] = buf[pos + 1];
|
|
@@ -7945,9 +7895,9 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7945
7895
|
return f64[0];
|
|
7946
7896
|
}
|
|
7947
7897
|
/* istanbul ignore next */
|
|
7948
|
-
exports
|
|
7898
|
+
exports.readDoubleLE = le ? readDouble_f64_cpy : readDouble_f64_rev;
|
|
7949
7899
|
/* istanbul ignore next */
|
|
7950
|
-
exports
|
|
7900
|
+
exports.readDoubleBE = le ? readDouble_f64_rev : readDouble_f64_cpy;
|
|
7951
7901
|
})();
|
|
7952
7902
|
else (function() {
|
|
7953
7903
|
function writeDouble_ieee754(writeUint, off0, off1, val, buf, pos) {
|
|
@@ -7977,17 +7927,17 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7977
7927
|
}
|
|
7978
7928
|
}
|
|
7979
7929
|
}
|
|
7980
|
-
exports
|
|
7981
|
-
exports
|
|
7930
|
+
exports.writeDoubleLE = writeDouble_ieee754.bind(null, writeUintLE, 0, 4);
|
|
7931
|
+
exports.writeDoubleBE = writeDouble_ieee754.bind(null, writeUintBE, 4, 0);
|
|
7982
7932
|
function readDouble_ieee754(readUint, off0, off1, buf, pos) {
|
|
7983
7933
|
var lo = readUint(buf, pos + off0), hi = readUint(buf, pos + off1);
|
|
7984
7934
|
var sign = (hi >> 31) * 2 + 1, exponent = hi >>> 20 & 2047, mantissa = 4294967296 * (hi & 1048575) + lo;
|
|
7985
7935
|
return exponent === 2047 ? mantissa ? NaN : sign * Infinity : exponent === 0 ? sign * 5e-324 * mantissa : sign * Math.pow(2, exponent - 1075) * (mantissa + 4503599627370496);
|
|
7986
7936
|
}
|
|
7987
|
-
exports
|
|
7988
|
-
exports
|
|
7937
|
+
exports.readDoubleLE = readDouble_ieee754.bind(null, readUintLE, 0, 4);
|
|
7938
|
+
exports.readDoubleBE = readDouble_ieee754.bind(null, readUintBE, 4, 0);
|
|
7989
7939
|
})();
|
|
7990
|
-
return exports
|
|
7940
|
+
return exports;
|
|
7991
7941
|
}
|
|
7992
7942
|
function writeUintLE(val, buf, pos) {
|
|
7993
7943
|
buf[pos] = val & 255;
|
|
@@ -8008,8 +7958,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
8008
7958
|
return (buf[pos] << 24 | buf[pos + 1] << 16 | buf[pos + 2] << 8 | buf[pos + 3]) >>> 0;
|
|
8009
7959
|
}
|
|
8010
7960
|
}));
|
|
8011
|
-
|
|
8012
|
-
//#region ../../node_modules/.pnpm/@protobufjs+utf8@1.1.2/node_modules/@protobufjs/utf8/index.js
|
|
7961
|
+
// ../../node_modules/.pnpm/@protobufjs+utf8@1.1.2/node_modules/@protobufjs/utf8/index.js
|
|
8013
7962
|
var require_utf8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
8014
7963
|
/**
|
|
8015
7964
|
* A minimal UTF8 implementation for number arrays.
|
|
@@ -8106,8 +8055,7 @@ var require_utf8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8106
8055
|
return offset - start;
|
|
8107
8056
|
};
|
|
8108
8057
|
}));
|
|
8109
|
-
|
|
8110
|
-
//#region ../../node_modules/.pnpm/@protobufjs+pool@1.1.0/node_modules/@protobufjs/pool/index.js
|
|
8058
|
+
// ../../node_modules/.pnpm/@protobufjs+pool@1.1.0/node_modules/@protobufjs/pool/index.js
|
|
8111
8059
|
var require_pool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8112
8060
|
module.exports = pool;
|
|
8113
8061
|
/**
|
|
@@ -8152,8 +8100,7 @@ var require_pool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
8152
8100
|
};
|
|
8153
8101
|
}
|
|
8154
8102
|
}));
|
|
8155
|
-
|
|
8156
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util/longbits.js
|
|
8103
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util/longbits.js
|
|
8157
8104
|
var require_longbits = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8158
8105
|
module.exports = LongBits;
|
|
8159
8106
|
var util = require_minimal();
|
|
@@ -8303,27 +8250,26 @@ var require_longbits = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
8303
8250
|
return part2 === 0 ? part1 === 0 ? part0 < 16384 ? part0 < 128 ? 1 : 2 : part0 < 2097152 ? 3 : 4 : part1 < 16384 ? part1 < 128 ? 5 : 6 : part1 < 2097152 ? 7 : 8 : part2 < 128 ? 9 : 10;
|
|
8304
8251
|
};
|
|
8305
8252
|
}));
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
var require_umd = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8253
|
+
// ../../node_modules/.pnpm/long@5.3.2/node_modules/long/umd/index.js
|
|
8254
|
+
var require_umd = /* @__PURE__ */ __commonJSMin(((exports, module, this$7) => {
|
|
8309
8255
|
(function(global, factory) {
|
|
8310
|
-
function preferDefault(exports
|
|
8311
|
-
return exports
|
|
8256
|
+
function preferDefault(exports) {
|
|
8257
|
+
return exports.default || exports;
|
|
8312
8258
|
}
|
|
8313
8259
|
if (typeof define === "function" && define.amd) define([], function() {
|
|
8314
|
-
var exports
|
|
8315
|
-
factory(exports
|
|
8316
|
-
return preferDefault(exports
|
|
8260
|
+
var exports = {};
|
|
8261
|
+
factory(exports);
|
|
8262
|
+
return preferDefault(exports);
|
|
8317
8263
|
});
|
|
8318
8264
|
else if (typeof exports === "object") {
|
|
8319
8265
|
factory(exports);
|
|
8320
8266
|
if (typeof module === "object") module.exports = preferDefault(exports);
|
|
8321
8267
|
} else (function() {
|
|
8322
|
-
var exports
|
|
8323
|
-
factory(exports
|
|
8324
|
-
global.Long = preferDefault(exports
|
|
8268
|
+
var exports = {};
|
|
8269
|
+
factory(exports);
|
|
8270
|
+
global.Long = preferDefault(exports);
|
|
8325
8271
|
})();
|
|
8326
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self :
|
|
8272
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this$7, function(_exports) {
|
|
8327
8273
|
"use strict";
|
|
8328
8274
|
Object.defineProperty(_exports, "__esModule", { value: true });
|
|
8329
8275
|
_exports.default = void 0;
|
|
@@ -9783,9 +9729,8 @@ var require_umd = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9783
9729
|
_exports.default = Long;
|
|
9784
9730
|
});
|
|
9785
9731
|
}));
|
|
9786
|
-
|
|
9787
|
-
|
|
9788
|
-
var require_minimal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
9732
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util/minimal.js
|
|
9733
|
+
var require_minimal = /* @__PURE__ */ __commonJSMin(((exports, module, this$6) => {
|
|
9789
9734
|
var util = exports;
|
|
9790
9735
|
util.asPromise = require_aspromise();
|
|
9791
9736
|
util.base64 = require_base64();
|
|
@@ -9815,7 +9760,7 @@ var require_minimal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9815
9760
|
* @memberof util
|
|
9816
9761
|
* @type {Object}
|
|
9817
9762
|
*/
|
|
9818
|
-
util.global = util.isNode && global || typeof window !== "undefined" && window || typeof self !== "undefined" && self ||
|
|
9763
|
+
util.global = util.isNode && global || typeof window !== "undefined" && window || typeof self !== "undefined" && self || this$6;
|
|
9819
9764
|
/**
|
|
9820
9765
|
* An immuable empty array.
|
|
9821
9766
|
* @memberof util
|
|
@@ -10166,8 +10111,7 @@ var require_minimal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10166
10111
|
};
|
|
10167
10112
|
};
|
|
10168
10113
|
}));
|
|
10169
|
-
|
|
10170
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/writer.js
|
|
10114
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/writer.js
|
|
10171
10115
|
var require_writer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10172
10116
|
module.exports = Writer;
|
|
10173
10117
|
var util = require_minimal();
|
|
@@ -10550,8 +10494,7 @@ var require_writer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10550
10494
|
BufferWriter._configure();
|
|
10551
10495
|
};
|
|
10552
10496
|
}));
|
|
10553
|
-
|
|
10554
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/writer_buffer.js
|
|
10497
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/writer_buffer.js
|
|
10555
10498
|
var require_writer_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10556
10499
|
module.exports = BufferWriter;
|
|
10557
10500
|
var Writer = require_writer();
|
|
@@ -10613,8 +10556,7 @@ var require_writer_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
10613
10556
|
*/
|
|
10614
10557
|
BufferWriter._configure();
|
|
10615
10558
|
}));
|
|
10616
|
-
|
|
10617
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/reader.js
|
|
10559
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/reader.js
|
|
10618
10560
|
var require_reader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10619
10561
|
module.exports = Reader;
|
|
10620
10562
|
var util = require_minimal();
|
|
@@ -10947,8 +10889,7 @@ var require_reader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10947
10889
|
});
|
|
10948
10890
|
};
|
|
10949
10891
|
}));
|
|
10950
|
-
|
|
10951
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/reader_buffer.js
|
|
10892
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/reader_buffer.js
|
|
10952
10893
|
var require_reader_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10953
10894
|
module.exports = BufferReader;
|
|
10954
10895
|
var Reader = require_reader();
|
|
@@ -10988,8 +10929,7 @@ var require_reader_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
10988
10929
|
*/
|
|
10989
10930
|
BufferReader._configure();
|
|
10990
10931
|
}));
|
|
10991
|
-
|
|
10992
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/rpc/service.js
|
|
10932
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/rpc/service.js
|
|
10993
10933
|
var require_service$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10994
10934
|
module.exports = Service;
|
|
10995
10935
|
var util = require_minimal();
|
|
@@ -11106,8 +11046,7 @@ var require_service$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11106
11046
|
return this;
|
|
11107
11047
|
};
|
|
11108
11048
|
}));
|
|
11109
|
-
|
|
11110
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/rpc.js
|
|
11049
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/rpc.js
|
|
11111
11050
|
var require_rpc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11112
11051
|
/**
|
|
11113
11052
|
* Streaming RPC helpers.
|
|
@@ -11141,8 +11080,7 @@ var require_rpc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11141
11080
|
*/
|
|
11142
11081
|
rpc.Service = require_service$1();
|
|
11143
11082
|
}));
|
|
11144
|
-
|
|
11145
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/roots.js
|
|
11083
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/roots.js
|
|
11146
11084
|
var require_roots = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11147
11085
|
module.exports = Object.create(null);
|
|
11148
11086
|
}));
|
|
@@ -11161,8 +11099,7 @@ var require_roots = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11161
11099
|
* // in any subsequent module:
|
|
11162
11100
|
* var root = protobuf.roots["myroot"];
|
|
11163
11101
|
*/
|
|
11164
|
-
|
|
11165
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/index-minimal.js
|
|
11102
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/index-minimal.js
|
|
11166
11103
|
var require_index_minimal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11167
11104
|
var protobuf = exports;
|
|
11168
11105
|
/**
|
|
@@ -11192,8 +11129,7 @@ var require_index_minimal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11192
11129
|
}
|
|
11193
11130
|
configure();
|
|
11194
11131
|
}));
|
|
11195
|
-
|
|
11196
|
-
//#region ../../node_modules/.pnpm/@protobufjs+codegen@2.0.5/node_modules/@protobufjs/codegen/index.js
|
|
11132
|
+
// ../../node_modules/.pnpm/@protobufjs+codegen@2.0.5/node_modules/@protobufjs/codegen/index.js
|
|
11197
11133
|
var require_codegen = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11198
11134
|
module.exports = codegen;
|
|
11199
11135
|
var reservedRe = /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/;
|
|
@@ -11282,8 +11218,7 @@ var require_codegen = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11282
11218
|
return reservedRe.test(name) ? name + "_" : name;
|
|
11283
11219
|
}
|
|
11284
11220
|
}));
|
|
11285
|
-
|
|
11286
|
-
//#region ../../node_modules/.pnpm/@protobufjs+fetch@1.1.1/node_modules/@protobufjs/fetch/util/fs.js
|
|
11221
|
+
// ../../node_modules/.pnpm/@protobufjs+fetch@1.1.1/node_modules/@protobufjs/fetch/util/fs.js
|
|
11287
11222
|
var require_fs$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11288
11223
|
var fs = null;
|
|
11289
11224
|
try {
|
|
@@ -11295,8 +11230,7 @@ var require_fs$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11295
11230
|
} catch (e) {}
|
|
11296
11231
|
module.exports = fs;
|
|
11297
11232
|
}));
|
|
11298
|
-
|
|
11299
|
-
//#region ../../node_modules/.pnpm/@protobufjs+fetch@1.1.1/node_modules/@protobufjs/fetch/index.js
|
|
11233
|
+
// ../../node_modules/.pnpm/@protobufjs+fetch@1.1.1/node_modules/@protobufjs/fetch/index.js
|
|
11300
11234
|
var require_fetch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11301
11235
|
module.exports = fetch;
|
|
11302
11236
|
var asPromise = require_aspromise();
|
|
@@ -11375,8 +11309,7 @@ var require_fetch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11375
11309
|
xhr.send();
|
|
11376
11310
|
};
|
|
11377
11311
|
}));
|
|
11378
|
-
|
|
11379
|
-
//#region ../../node_modules/.pnpm/@protobufjs+path@1.1.2/node_modules/@protobufjs/path/index.js
|
|
11312
|
+
// ../../node_modules/.pnpm/@protobufjs+path@1.1.2/node_modules/@protobufjs/path/index.js
|
|
11380
11313
|
var require_path = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11381
11314
|
/**
|
|
11382
11315
|
* A minimal path module to resolve Unix, Windows and URL paths alike.
|
|
@@ -11413,16 +11346,14 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11413
11346
|
return (originPath = originPath.replace(/(?:\/|^)[^/]+$/, "")).length ? normalize(originPath + "/" + includePath) : includePath;
|
|
11414
11347
|
};
|
|
11415
11348
|
}));
|
|
11416
|
-
|
|
11417
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util/patterns.js
|
|
11349
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util/patterns.js
|
|
11418
11350
|
var require_patterns = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11419
11351
|
var patterns = exports;
|
|
11420
11352
|
patterns.numberRe = /^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/;
|
|
11421
11353
|
patterns.typeRefRe = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/;
|
|
11422
11354
|
patterns.reservedRe = /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/;
|
|
11423
11355
|
}));
|
|
11424
|
-
|
|
11425
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util/fs.js
|
|
11356
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util/fs.js
|
|
11426
11357
|
var require_fs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11427
11358
|
var fs = null;
|
|
11428
11359
|
try {
|
|
@@ -11434,8 +11365,7 @@ var require_fs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11434
11365
|
} catch (e) {}
|
|
11435
11366
|
module.exports = fs;
|
|
11436
11367
|
}));
|
|
11437
|
-
|
|
11438
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/namespace.js
|
|
11368
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/namespace.js
|
|
11439
11369
|
var require_namespace = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11440
11370
|
module.exports = Namespace;
|
|
11441
11371
|
var ReflectionObject = require_object();
|
|
@@ -11852,8 +11782,7 @@ var require_namespace = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11852
11782
|
Enum = Enum_;
|
|
11853
11783
|
};
|
|
11854
11784
|
}));
|
|
11855
|
-
|
|
11856
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/mapfield.js
|
|
11785
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/mapfield.js
|
|
11857
11786
|
var require_mapfield = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11858
11787
|
module.exports = MapField;
|
|
11859
11788
|
var Field = require_field();
|
|
@@ -11958,8 +11887,7 @@ var require_mapfield = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11958
11887
|
};
|
|
11959
11888
|
};
|
|
11960
11889
|
}));
|
|
11961
|
-
|
|
11962
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/method.js
|
|
11890
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/method.js
|
|
11963
11891
|
var require_method = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11964
11892
|
module.exports = Method;
|
|
11965
11893
|
var ReflectionObject = require_object();
|
|
@@ -12100,8 +12028,7 @@ var require_method = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12100
12028
|
return ReflectionObject.prototype.resolve.call(this);
|
|
12101
12029
|
};
|
|
12102
12030
|
}));
|
|
12103
|
-
|
|
12104
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/service.js
|
|
12031
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/service.js
|
|
12105
12032
|
var require_service = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12106
12033
|
module.exports = Service;
|
|
12107
12034
|
var Namespace = require_namespace();
|
|
@@ -12266,8 +12193,7 @@ var require_service = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12266
12193
|
return rpcService;
|
|
12267
12194
|
};
|
|
12268
12195
|
}));
|
|
12269
|
-
|
|
12270
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/message.js
|
|
12196
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/message.js
|
|
12271
12197
|
var require_message = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12272
12198
|
module.exports = Message;
|
|
12273
12199
|
var util = require_minimal();
|
|
@@ -12392,8 +12318,7 @@ var require_message = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12392
12318
|
return this.$type.toObject(this, util.toJSONOptions);
|
|
12393
12319
|
};
|
|
12394
12320
|
}));
|
|
12395
|
-
|
|
12396
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/decoder.js
|
|
12321
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/decoder.js
|
|
12397
12322
|
var require_decoder = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12398
12323
|
module.exports = decoder;
|
|
12399
12324
|
var Enum = require_enum();
|
|
@@ -12453,8 +12378,7 @@ var require_decoder = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12453
12378
|
return gen("return m");
|
|
12454
12379
|
}
|
|
12455
12380
|
}));
|
|
12456
|
-
|
|
12457
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/verifier.js
|
|
12381
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/verifier.js
|
|
12458
12382
|
var require_verifier = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12459
12383
|
module.exports = verifier;
|
|
12460
12384
|
var Enum = require_enum();
|
|
@@ -12568,8 +12492,7 @@ var require_verifier = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12568
12492
|
return gen("return null");
|
|
12569
12493
|
}
|
|
12570
12494
|
}));
|
|
12571
|
-
|
|
12572
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/converter.js
|
|
12495
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/converter.js
|
|
12573
12496
|
var require_converter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12574
12497
|
/**
|
|
12575
12498
|
* Runtime message from/to plain object converters.
|
|
@@ -12761,8 +12684,7 @@ var require_converter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
12761
12684
|
return gen("return d");
|
|
12762
12685
|
};
|
|
12763
12686
|
}));
|
|
12764
|
-
|
|
12765
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/wrappers.js
|
|
12687
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/wrappers.js
|
|
12766
12688
|
var require_wrappers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12767
12689
|
/**
|
|
12768
12690
|
* Wrappers for common types.
|
|
@@ -12839,8 +12761,7 @@ var require_wrappers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
12839
12761
|
}
|
|
12840
12762
|
};
|
|
12841
12763
|
}));
|
|
12842
|
-
|
|
12843
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/type.js
|
|
12764
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/type.js
|
|
12844
12765
|
var require_type$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12845
12766
|
module.exports = Type;
|
|
12846
12767
|
var Namespace = require_namespace();
|
|
@@ -13333,8 +13254,7 @@ var require_type$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13333
13254
|
};
|
|
13334
13255
|
};
|
|
13335
13256
|
}));
|
|
13336
|
-
|
|
13337
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/root.js
|
|
13257
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/root.js
|
|
13338
13258
|
var require_root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13339
13259
|
module.exports = Root;
|
|
13340
13260
|
var Namespace = require_namespace();
|
|
@@ -13627,8 +13547,7 @@ var require_root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13627
13547
|
common = common_;
|
|
13628
13548
|
};
|
|
13629
13549
|
}));
|
|
13630
|
-
|
|
13631
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util.js
|
|
13550
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/util.js
|
|
13632
13551
|
var require_util$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13633
13552
|
/**
|
|
13634
13553
|
* Various utility functions.
|
|
@@ -13819,8 +13738,7 @@ var require_util$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13819
13738
|
return roots["decorated"] || (roots["decorated"] = new (require_root())());
|
|
13820
13739
|
} });
|
|
13821
13740
|
}));
|
|
13822
|
-
|
|
13823
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/types.js
|
|
13741
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/types.js
|
|
13824
13742
|
var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13825
13743
|
/**
|
|
13826
13744
|
* Common type constants.
|
|
@@ -14009,8 +13927,7 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
14009
13927
|
0
|
|
14010
13928
|
]);
|
|
14011
13929
|
}));
|
|
14012
|
-
|
|
14013
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/field.js
|
|
13930
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/field.js
|
|
14014
13931
|
var require_field = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14015
13932
|
module.exports = Field;
|
|
14016
13933
|
var ReflectionObject = require_object();
|
|
@@ -14349,8 +14266,7 @@ var require_field = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14349
14266
|
Type = Type_;
|
|
14350
14267
|
};
|
|
14351
14268
|
}));
|
|
14352
|
-
|
|
14353
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/oneof.js
|
|
14269
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/oneof.js
|
|
14354
14270
|
var require_oneof = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14355
14271
|
module.exports = OneOf;
|
|
14356
14272
|
var ReflectionObject = require_object();
|
|
@@ -14531,8 +14447,7 @@ var require_oneof = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14531
14447
|
};
|
|
14532
14448
|
};
|
|
14533
14449
|
}));
|
|
14534
|
-
|
|
14535
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/object.js
|
|
14450
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/object.js
|
|
14536
14451
|
var require_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14537
14452
|
module.exports = ReflectionObject;
|
|
14538
14453
|
ReflectionObject.className = "ReflectionObject";
|
|
@@ -14837,8 +14752,7 @@ var require_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14837
14752
|
Root = Root_;
|
|
14838
14753
|
};
|
|
14839
14754
|
}));
|
|
14840
|
-
|
|
14841
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/enum.js
|
|
14755
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/enum.js
|
|
14842
14756
|
var require_enum = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14843
14757
|
module.exports = Enum;
|
|
14844
14758
|
var ReflectionObject = require_object();
|
|
@@ -15017,8 +14931,7 @@ var require_enum = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15017
14931
|
return Namespace.isReservedName(this.reserved, name);
|
|
15018
14932
|
};
|
|
15019
14933
|
}));
|
|
15020
|
-
|
|
15021
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/encoder.js
|
|
14934
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/encoder.js
|
|
15022
14935
|
var require_encoder = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15023
14936
|
module.exports = encoder;
|
|
15024
14937
|
var Enum = require_enum();
|
|
@@ -15075,8 +14988,7 @@ var require_encoder = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15075
14988
|
return gen("return w");
|
|
15076
14989
|
}
|
|
15077
14990
|
}));
|
|
15078
|
-
|
|
15079
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/index-light.js
|
|
14991
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/index-light.js
|
|
15080
14992
|
var require_index_light = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15081
14993
|
var protobuf = module.exports = require_index_minimal();
|
|
15082
14994
|
protobuf.build = "light";
|
|
@@ -15160,8 +15072,7 @@ var require_index_light = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15160
15072
|
protobuf.Root._configure(protobuf.Type);
|
|
15161
15073
|
protobuf.Field._configure(protobuf.Type);
|
|
15162
15074
|
}));
|
|
15163
|
-
|
|
15164
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/tokenize.js
|
|
15075
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/tokenize.js
|
|
15165
15076
|
var require_tokenize = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15166
15077
|
module.exports = tokenize;
|
|
15167
15078
|
var delimRe = /[\s{}=;:[\],'"()<>]/g;
|
|
@@ -15473,8 +15384,7 @@ var require_tokenize = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15473
15384
|
} });
|
|
15474
15385
|
}
|
|
15475
15386
|
}));
|
|
15476
|
-
|
|
15477
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/parse.js
|
|
15387
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/parse.js
|
|
15478
15388
|
var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15479
15389
|
module.exports = parse;
|
|
15480
15390
|
parse.filename = null;
|
|
@@ -16150,8 +16060,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16150
16060
|
* @property {IParseOptions} defaults Default {@link IParseOptions}
|
|
16151
16061
|
* @variation 2
|
|
16152
16062
|
*/
|
|
16153
|
-
|
|
16154
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/common.js
|
|
16063
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/common.js
|
|
16155
16064
|
var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16156
16065
|
module.exports = common;
|
|
16157
16066
|
var commonRe = /\/|\./;
|
|
@@ -16447,8 +16356,7 @@ FieldMask: { fields: { paths: {
|
|
|
16447
16356
|
return common[file] || null;
|
|
16448
16357
|
};
|
|
16449
16358
|
}));
|
|
16450
|
-
|
|
16451
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/index.js
|
|
16359
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/src/index.js
|
|
16452
16360
|
var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16453
16361
|
var protobuf = module.exports = require_index_light();
|
|
16454
16362
|
protobuf.build = "full";
|
|
@@ -16457,13 +16365,11 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16457
16365
|
protobuf.common = require_common();
|
|
16458
16366
|
protobuf.Root._configure(protobuf.Type, protobuf.parse, protobuf.common);
|
|
16459
16367
|
}));
|
|
16460
|
-
|
|
16461
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/index.js
|
|
16368
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/index.js
|
|
16462
16369
|
var require_protobufjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16463
16370
|
module.exports = require_src$2();
|
|
16464
16371
|
}));
|
|
16465
|
-
|
|
16466
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/google/protobuf/descriptor.json
|
|
16372
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/google/protobuf/descriptor.json
|
|
16467
16373
|
var require_descriptor$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16468
16374
|
module.exports = { "nested": { "google": { "nested": { "protobuf": {
|
|
16469
16375
|
"options": {
|
|
@@ -17620,8 +17526,7 @@ var require_descriptor$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
17620
17526
|
}
|
|
17621
17527
|
} } } } };
|
|
17622
17528
|
}));
|
|
17623
|
-
|
|
17624
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/ext/descriptor/index.js
|
|
17529
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/ext/descriptor/index.js
|
|
17625
17530
|
var require_descriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17626
17531
|
var $protobuf = require_protobufjs();
|
|
17627
17532
|
module.exports = exports = $protobuf.descriptor = $protobuf.Root.fromJSON(require_descriptor$1()).lookup(".google.protobuf");
|
|
@@ -18503,8 +18408,7 @@ var require_descriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
18503
18408
|
* Annotation: $protobuf.Type
|
|
18504
18409
|
* }
|
|
18505
18410
|
*/
|
|
18506
|
-
|
|
18507
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/google/protobuf/api.json
|
|
18411
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/google/protobuf/api.json
|
|
18508
18412
|
var require_api = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
18509
18413
|
module.exports = { "nested": { "google": { "nested": { "protobuf": { "nested": {
|
|
18510
18414
|
"Api": { "fields": {
|
|
@@ -18601,16 +18505,14 @@ var require_api = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
18601
18505
|
} }
|
|
18602
18506
|
} } } } } };
|
|
18603
18507
|
}));
|
|
18604
|
-
|
|
18605
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/google/protobuf/source_context.json
|
|
18508
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/google/protobuf/source_context.json
|
|
18606
18509
|
var require_source_context = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
18607
18510
|
module.exports = { "nested": { "google": { "nested": { "protobuf": { "nested": { "SourceContext": { "fields": { "fileName": {
|
|
18608
18511
|
"type": "string",
|
|
18609
18512
|
"id": 1
|
|
18610
18513
|
} } } } } } } } };
|
|
18611
18514
|
}));
|
|
18612
|
-
|
|
18613
|
-
//#region ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/google/protobuf/type.json
|
|
18515
|
+
// ../../node_modules/.pnpm/protobufjs@7.6.6/node_modules/protobufjs/google/protobuf/type.json
|
|
18614
18516
|
var require_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
18615
18517
|
module.exports = { "nested": { "google": { "nested": { "protobuf": { "nested": {
|
|
18616
18518
|
"Type": { "fields": {
|
|
@@ -18785,8 +18687,7 @@ var require_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
18785
18687
|
} } }
|
|
18786
18688
|
} } } } } };
|
|
18787
18689
|
}));
|
|
18788
|
-
|
|
18789
|
-
//#region ../../node_modules/.pnpm/@grpc+proto-loader@0.8.1/node_modules/@grpc/proto-loader/build/src/util.js
|
|
18690
|
+
// ../../node_modules/.pnpm/@grpc+proto-loader@0.8.1/node_modules/@grpc/proto-loader/build/src/util.js
|
|
18790
18691
|
var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18791
18692
|
/**
|
|
18792
18693
|
* @license
|
|
@@ -18807,7 +18708,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18807
18708
|
*/
|
|
18808
18709
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18809
18710
|
exports.addCommonProtos = exports.loadProtosWithOptionsSync = exports.loadProtosWithOptions = void 0;
|
|
18810
|
-
const fs
|
|
18711
|
+
const fs = __require("fs");
|
|
18811
18712
|
const path = __require("path");
|
|
18812
18713
|
const Protobuf = require_protobufjs();
|
|
18813
18714
|
function addIncludePathResolver(root, includePaths) {
|
|
@@ -18817,7 +18718,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18817
18718
|
for (const directory of includePaths) {
|
|
18818
18719
|
const fullPath = path.join(directory, target);
|
|
18819
18720
|
try {
|
|
18820
|
-
fs
|
|
18721
|
+
fs.accessSync(fullPath, fs.constants.R_OK);
|
|
18821
18722
|
return fullPath;
|
|
18822
18723
|
} catch (err) {
|
|
18823
18724
|
continue;
|
|
@@ -18866,8 +18767,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18866
18767
|
}
|
|
18867
18768
|
exports.addCommonProtos = addCommonProtos;
|
|
18868
18769
|
}));
|
|
18869
|
-
|
|
18870
|
-
//#region ../../node_modules/.pnpm/@grpc+proto-loader@0.8.1/node_modules/@grpc/proto-loader/build/src/index.js
|
|
18770
|
+
// ../../node_modules/.pnpm/@grpc+proto-loader@0.8.1/node_modules/@grpc/proto-loader/build/src/index.js
|
|
18871
18771
|
var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18872
18772
|
/**
|
|
18873
18773
|
* @license
|
|
@@ -19075,8 +18975,7 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19075
18975
|
exports.loadFileDescriptorSetFromObject = loadFileDescriptorSetFromObject;
|
|
19076
18976
|
(0, util_1.addCommonProtos)();
|
|
19077
18977
|
}));
|
|
19078
|
-
|
|
19079
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channelz.js
|
|
18978
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channelz.js
|
|
19080
18979
|
var require_channelz = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
19081
18980
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19082
18981
|
exports.registerChannelzSocket = exports.registerChannelzServer = exports.registerChannelzSubchannel = exports.registerChannelzChannel = exports.ChannelzCallTrackerStub = exports.ChannelzCallTracker = exports.ChannelzChildrenTrackerStub = exports.ChannelzChildrenTracker = exports.ChannelzTrace = exports.ChannelzTraceStub = void 0;
|
|
@@ -19084,7 +18983,7 @@ var require_channelz = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19084
18983
|
exports.getChannelzHandlers = getChannelzHandlers;
|
|
19085
18984
|
exports.getChannelzServiceDefinition = getChannelzServiceDefinition;
|
|
19086
18985
|
exports.setup = setup;
|
|
19087
|
-
const net_1
|
|
18986
|
+
const net_1 = __require("net");
|
|
19088
18987
|
const ordered_map_1 = require_cjs$1();
|
|
19089
18988
|
const connectivity_state_1 = require_connectivity_state();
|
|
19090
18989
|
const constants_1 = require_constants();
|
|
@@ -19295,7 +19194,7 @@ var require_channelz = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19295
19194
|
return [].concat(...bytePairs);
|
|
19296
19195
|
}
|
|
19297
19196
|
function isIPv6MappedIPv4(ipAddress) {
|
|
19298
|
-
return (0, net_1
|
|
19197
|
+
return (0, net_1.isIPv6)(ipAddress) && ipAddress.toLowerCase().startsWith("::ffff:") && (0, net_1.isIPv4)(ipAddress.substring(7));
|
|
19299
19198
|
}
|
|
19300
19199
|
/**
|
|
19301
19200
|
* Prerequisite: isIPv4(ipAddress)
|
|
@@ -19312,9 +19211,9 @@ var require_channelz = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19312
19211
|
* @returns
|
|
19313
19212
|
*/
|
|
19314
19213
|
function ipAddressStringToBuffer(ipAddress) {
|
|
19315
|
-
if ((0, net_1
|
|
19214
|
+
if ((0, net_1.isIPv4)(ipAddress)) return ipv4AddressStringToBuffer(ipAddress);
|
|
19316
19215
|
else if (isIPv6MappedIPv4(ipAddress)) return ipv4AddressStringToBuffer(ipAddress.substring(7));
|
|
19317
|
-
else if ((0, net_1
|
|
19216
|
+
else if ((0, net_1.isIPv6)(ipAddress)) {
|
|
19318
19217
|
let leftSection;
|
|
19319
19218
|
let rightSection;
|
|
19320
19219
|
const doubleColonIndex = ipAddress.indexOf("::");
|
|
@@ -19582,8 +19481,7 @@ var require_channelz = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19582
19481
|
(0, admin_1.registerAdminService)(getChannelzServiceDefinition, getChannelzHandlers);
|
|
19583
19482
|
}
|
|
19584
19483
|
}));
|
|
19585
|
-
|
|
19586
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/stream-decoder.js
|
|
19484
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/stream-decoder.js
|
|
19587
19485
|
var require_stream_decoder = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
19588
19486
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19589
19487
|
exports.StreamDecoder = void 0;
|
|
@@ -19655,12 +19553,11 @@ var require_stream_decoder = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19655
19553
|
};
|
|
19656
19554
|
exports.StreamDecoder = StreamDecoder;
|
|
19657
19555
|
}));
|
|
19658
|
-
|
|
19659
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-call.js
|
|
19556
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-call.js
|
|
19660
19557
|
var require_subchannel_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
19661
19558
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19662
19559
|
exports.Http2SubchannelCall = void 0;
|
|
19663
|
-
const http2
|
|
19560
|
+
const http2 = __require("http2");
|
|
19664
19561
|
const os = __require("os");
|
|
19665
19562
|
const constants_1 = require_constants();
|
|
19666
19563
|
const metadata_1 = require_metadata();
|
|
@@ -19739,7 +19636,7 @@ var require_subchannel_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19739
19636
|
this.trace("Received server headers:\n" + headersString);
|
|
19740
19637
|
}
|
|
19741
19638
|
this.httpStatusCode = headers[":status"];
|
|
19742
|
-
if (flags & http2
|
|
19639
|
+
if (flags & http2.constants.NGHTTP2_FLAG_END_STREAM) this.handleTrailers(headers);
|
|
19743
19640
|
else {
|
|
19744
19641
|
let metadata;
|
|
19745
19642
|
try {
|
|
@@ -19790,7 +19687,7 @@ var require_subchannel_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19790
19687
|
let code;
|
|
19791
19688
|
let details = "";
|
|
19792
19689
|
switch (http2Stream.rstCode) {
|
|
19793
|
-
case http2
|
|
19690
|
+
case http2.constants.NGHTTP2_NO_ERROR:
|
|
19794
19691
|
if (this.finalStatus !== null) return;
|
|
19795
19692
|
if (this.httpStatusCode && this.httpStatusCode !== 200) {
|
|
19796
19693
|
const mappedStatus = mapHttpStatusCode(this.httpStatusCode);
|
|
@@ -19801,11 +19698,11 @@ var require_subchannel_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19801
19698
|
details = `Received RST_STREAM with code ${http2Stream.rstCode} (Call ended without gRPC status)`;
|
|
19802
19699
|
}
|
|
19803
19700
|
break;
|
|
19804
|
-
case http2
|
|
19701
|
+
case http2.constants.NGHTTP2_REFUSED_STREAM:
|
|
19805
19702
|
code = constants_1.Status.UNAVAILABLE;
|
|
19806
19703
|
details = "Stream refused by server";
|
|
19807
19704
|
break;
|
|
19808
|
-
case http2
|
|
19705
|
+
case http2.constants.NGHTTP2_CANCEL:
|
|
19809
19706
|
if (this.connectionDropped) {
|
|
19810
19707
|
code = constants_1.Status.UNAVAILABLE;
|
|
19811
19708
|
details = "Connection dropped";
|
|
@@ -19814,15 +19711,15 @@ var require_subchannel_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19814
19711
|
details = "Call cancelled";
|
|
19815
19712
|
}
|
|
19816
19713
|
break;
|
|
19817
|
-
case http2
|
|
19714
|
+
case http2.constants.NGHTTP2_ENHANCE_YOUR_CALM:
|
|
19818
19715
|
code = constants_1.Status.RESOURCE_EXHAUSTED;
|
|
19819
19716
|
details = "Bandwidth exhausted or memory limit exceeded";
|
|
19820
19717
|
break;
|
|
19821
|
-
case http2
|
|
19718
|
+
case http2.constants.NGHTTP2_INADEQUATE_SECURITY:
|
|
19822
19719
|
code = constants_1.Status.PERMISSION_DENIED;
|
|
19823
19720
|
details = "Protocol not secure enough";
|
|
19824
19721
|
break;
|
|
19825
|
-
case http2
|
|
19722
|
+
case http2.constants.NGHTTP2_INTERNAL_ERROR:
|
|
19826
19723
|
code = constants_1.Status.INTERNAL;
|
|
19827
19724
|
if (this.internalError === null) details = `Received RST_STREAM with code ${http2Stream.rstCode} (Internal server error)`;
|
|
19828
19725
|
else if (this.internalError.code === "ECONNRESET" || this.internalError.code === "ETIMEDOUT") {
|
|
@@ -19969,8 +19866,8 @@ var require_subchannel_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19969
19866
|
if (!this.http2Stream.writableEnded) this.http2Stream.end();
|
|
19970
19867
|
} else {
|
|
19971
19868
|
let code;
|
|
19972
|
-
if (((_a = this.finalStatus) === null || _a === void 0 ? void 0 : _a.code) === constants_1.Status.OK) code = http2
|
|
19973
|
-
else code = http2
|
|
19869
|
+
if (((_a = this.finalStatus) === null || _a === void 0 ? void 0 : _a.code) === constants_1.Status.OK) code = http2.constants.NGHTTP2_NO_ERROR;
|
|
19870
|
+
else code = http2.constants.NGHTTP2_CANCEL;
|
|
19974
19871
|
if (this.traceEnabled) this.trace("close http2 stream with code " + code);
|
|
19975
19872
|
this.http2Stream.close(code);
|
|
19976
19873
|
}
|
|
@@ -20041,13 +19938,12 @@ var require_subchannel_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20041
19938
|
};
|
|
20042
19939
|
exports.Http2SubchannelCall = Http2SubchannelCall;
|
|
20043
19940
|
}));
|
|
20044
|
-
|
|
20045
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/transport.js
|
|
19941
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/transport.js
|
|
20046
19942
|
var require_transport = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20047
19943
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20048
19944
|
exports.Http2SubchannelConnector = void 0;
|
|
20049
|
-
const http2
|
|
20050
|
-
const tls_1
|
|
19945
|
+
const http2 = __require("http2");
|
|
19946
|
+
const tls_1 = __require("tls");
|
|
20051
19947
|
const channelz_1 = require_channelz();
|
|
20052
19948
|
const constants_1 = require_constants();
|
|
20053
19949
|
const http_proxy_1 = require_http_proxy();
|
|
@@ -20061,7 +19957,7 @@ var require_transport = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20061
19957
|
const TRACER_NAME = "transport";
|
|
20062
19958
|
const FLOW_CONTROL_TRACER_NAME = "transport_flowctrl";
|
|
20063
19959
|
const clientVersion = require_package().version;
|
|
20064
|
-
const { HTTP2_HEADER_AUTHORITY, HTTP2_HEADER_CONTENT_TYPE, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_TE, HTTP2_HEADER_USER_AGENT } = http2
|
|
19960
|
+
const { HTTP2_HEADER_AUTHORITY, HTTP2_HEADER_CONTENT_TYPE, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_TE, HTTP2_HEADER_USER_AGENT } = http2.constants;
|
|
20065
19961
|
const KEEPALIVE_TIMEOUT_MS = 2e4;
|
|
20066
19962
|
const tooManyPingsData = Buffer.from("too_many_pings", "ascii");
|
|
20067
19963
|
var Http2Transport = class {
|
|
@@ -20110,7 +20006,7 @@ var require_transport = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20110
20006
|
});
|
|
20111
20007
|
session.once("goaway", (errorCode, lastStreamID, opaqueData) => {
|
|
20112
20008
|
let tooManyPings = false;
|
|
20113
|
-
if (errorCode === http2
|
|
20009
|
+
if (errorCode === http2.constants.NGHTTP2_ENHANCE_YOUR_CALM && opaqueData && opaqueData.equals(tooManyPingsData)) tooManyPings = true;
|
|
20114
20010
|
if (this.traceEnabled) this.trace("connection closed by GOAWAY with code " + errorCode + " and data " + (opaqueData === null || opaqueData === void 0 ? void 0 : opaqueData.toString()));
|
|
20115
20011
|
this.reportDisconnectToOwner(tooManyPings);
|
|
20116
20012
|
});
|
|
@@ -20131,7 +20027,7 @@ var require_transport = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20131
20027
|
});
|
|
20132
20028
|
}
|
|
20133
20029
|
if (this.keepaliveWithoutCalls) this.maybeStartKeepalivePingTimer();
|
|
20134
|
-
if (session.socket instanceof tls_1
|
|
20030
|
+
if (session.socket instanceof tls_1.TLSSocket && session.socket.authorized) this.authContext = {
|
|
20135
20031
|
transportSecurityType: "ssl",
|
|
20136
20032
|
sslPeerCertificate: session.socket.getPeerCertificate()
|
|
20137
20033
|
};
|
|
@@ -20447,12 +20343,12 @@ var require_transport = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20447
20343
|
createConnection: (authority, option) => {
|
|
20448
20344
|
return secureConnectResult.socket;
|
|
20449
20345
|
},
|
|
20450
|
-
settings: { initialWindowSize: (_d = (_a = options["grpc-node.flow_control_window"]) !== null && _a !== void 0 ? _a : (_c = (_b = http2
|
|
20346
|
+
settings: { initialWindowSize: (_d = (_a = options["grpc-node.flow_control_window"]) !== null && _a !== void 0 ? _a : (_c = (_b = http2.getDefaultSettings) === null || _b === void 0 ? void 0 : _b.call(http2)) === null || _c === void 0 ? void 0 : _c.initialWindowSize) !== null && _d !== void 0 ? _d : 65535 },
|
|
20451
20347
|
maxSendHeaderBlockLength: Number.MAX_SAFE_INTEGER,
|
|
20452
20348
|
maxSessionMemory: (_e = options["grpc-node.max_session_memory"]) !== null && _e !== void 0 ? _e : Number.MAX_SAFE_INTEGER
|
|
20453
20349
|
};
|
|
20454
|
-
const session = http2
|
|
20455
|
-
const defaultWin = (_h = (_g = (_f = http2
|
|
20350
|
+
const session = http2.connect(`${scheme}://${targetPath}`, sessionOptions);
|
|
20351
|
+
const defaultWin = (_h = (_g = (_f = http2.getDefaultSettings) === null || _f === void 0 ? void 0 : _f.call(http2)) === null || _g === void 0 ? void 0 : _g.initialWindowSize) !== null && _h !== void 0 ? _h : 65535;
|
|
20456
20352
|
const connWin = options["grpc-node.flow_control_window"];
|
|
20457
20353
|
this.session = session;
|
|
20458
20354
|
let errorMessage = "Failed to connect";
|
|
@@ -20528,8 +20424,7 @@ var require_transport = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20528
20424
|
};
|
|
20529
20425
|
exports.Http2SubchannelConnector = Http2SubchannelConnector;
|
|
20530
20426
|
}));
|
|
20531
|
-
|
|
20532
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/connectTimeoutPatch.js
|
|
20427
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/connectTimeoutPatch.js
|
|
20533
20428
|
var require_connectTimeoutPatch = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20534
20429
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20535
20430
|
exports.applyConnectTimeoutPatch = applyConnectTimeoutPatch;
|
|
@@ -20635,8 +20530,7 @@ var require_connectTimeoutPatch = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20635
20530
|
return true;
|
|
20636
20531
|
}
|
|
20637
20532
|
}));
|
|
20638
|
-
|
|
20639
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/Metadata.js
|
|
20533
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/Metadata.js
|
|
20640
20534
|
var require_Metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20641
20535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20642
20536
|
exports.Metadata = void 0;
|
|
@@ -20713,8 +20607,7 @@ var require_Metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20713
20607
|
return Symbol.iterator in value;
|
|
20714
20608
|
}
|
|
20715
20609
|
}));
|
|
20716
|
-
|
|
20717
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/Status.js
|
|
20610
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/Status.js
|
|
20718
20611
|
var require_Status = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20719
20612
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20720
20613
|
exports.Status = void 0;
|
|
@@ -20872,23 +20765,19 @@ var require_Status = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20872
20765
|
Status[Status["UNAUTHENTICATED"] = 16] = "UNAUTHENTICATED";
|
|
20873
20766
|
})(Status || (exports.Status = Status = {}));
|
|
20874
20767
|
}));
|
|
20875
|
-
|
|
20876
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/MethodDescriptor.js
|
|
20768
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/MethodDescriptor.js
|
|
20877
20769
|
var require_MethodDescriptor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20878
20770
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20879
20771
|
}));
|
|
20880
|
-
|
|
20881
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/client/CallOptions.js
|
|
20772
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/client/CallOptions.js
|
|
20882
20773
|
var require_CallOptions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20883
20774
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20884
20775
|
}));
|
|
20885
|
-
|
|
20886
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/client/ClientMiddleware.js
|
|
20776
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/client/ClientMiddleware.js
|
|
20887
20777
|
var require_ClientMiddleware = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20888
20778
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20889
20779
|
}));
|
|
20890
|
-
|
|
20891
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/client/composeClientMiddleware.js
|
|
20780
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/client/composeClientMiddleware.js
|
|
20892
20781
|
var require_composeClientMiddleware = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20893
20782
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20894
20783
|
exports.composeClientMiddleware = composeClientMiddleware;
|
|
@@ -20900,8 +20789,7 @@ var require_composeClientMiddleware = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
20900
20789
|
};
|
|
20901
20790
|
}
|
|
20902
20791
|
}));
|
|
20903
|
-
|
|
20904
|
-
//#region ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/helpers.js
|
|
20792
|
+
// ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/helpers.js
|
|
20905
20793
|
var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20906
20794
|
exports.__esModule = void 0;
|
|
20907
20795
|
exports.__esModule = true;
|
|
@@ -20947,8 +20835,7 @@ var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
20947
20835
|
}
|
|
20948
20836
|
};
|
|
20949
20837
|
}));
|
|
20950
|
-
|
|
20951
|
-
//#region ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/cjs.js
|
|
20838
|
+
// ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/cjs.js
|
|
20952
20839
|
var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20953
20840
|
exports.__esModule = void 0;
|
|
20954
20841
|
exports.__esModule = true;
|
|
@@ -21011,8 +20898,7 @@ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21011
20898
|
exports.ExtendableError = ExtendableError;
|
|
21012
20899
|
exports["default"] = exports.ExtendableError;
|
|
21013
20900
|
}));
|
|
21014
|
-
|
|
21015
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/client/ClientError.js
|
|
20901
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/client/ClientError.js
|
|
21016
20902
|
var require_ClientError = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21017
20903
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21018
20904
|
exports.ClientError = void 0;
|
|
@@ -21034,18 +20920,15 @@ var require_ClientError = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21034
20920
|
}
|
|
21035
20921
|
};
|
|
21036
20922
|
}));
|
|
21037
|
-
|
|
21038
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/server/CallContext.js
|
|
20923
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/server/CallContext.js
|
|
21039
20924
|
var require_CallContext = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21040
20925
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21041
20926
|
}));
|
|
21042
|
-
|
|
21043
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/server/ServerMiddleware.js
|
|
20927
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/server/ServerMiddleware.js
|
|
21044
20928
|
var require_ServerMiddleware = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21045
20929
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21046
20930
|
}));
|
|
21047
|
-
|
|
21048
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/server/composeServerMiddleware.js
|
|
20931
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/server/composeServerMiddleware.js
|
|
21049
20932
|
var require_composeServerMiddleware = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21050
20933
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21051
20934
|
exports.composeServerMiddleware = composeServerMiddleware;
|
|
@@ -21057,8 +20940,7 @@ var require_composeServerMiddleware = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
21057
20940
|
};
|
|
21058
20941
|
}
|
|
21059
20942
|
}));
|
|
21060
|
-
|
|
21061
|
-
//#region ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/server/ServerError.js
|
|
20943
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/server/ServerError.js
|
|
21062
20944
|
var require_ServerError = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21063
20945
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21064
20946
|
exports.ServerError = void 0;
|
|
@@ -21079,10 +20961,9 @@ var require_ServerError = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21079
20961
|
}
|
|
21080
20962
|
};
|
|
21081
20963
|
}));
|
|
21082
|
-
|
|
21083
|
-
|
|
21084
|
-
var
|
|
21085
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
20964
|
+
// ../../node_modules/.pnpm/nice-grpc-common@2.0.4/node_modules/nice-grpc-common/lib/index.js
|
|
20965
|
+
var require_lib$2 = /* @__PURE__ */ __commonJSMin(((exports, module, this$5) => {
|
|
20966
|
+
var __createBinding = this$5 && this$5.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
21086
20967
|
if (k2 === void 0) k2 = k;
|
|
21087
20968
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
21088
20969
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
|
|
@@ -21096,8 +20977,8 @@ var require_lib$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21096
20977
|
if (k2 === void 0) k2 = k;
|
|
21097
20978
|
o[k2] = m[k];
|
|
21098
20979
|
}));
|
|
21099
|
-
var __exportStar =
|
|
21100
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
20980
|
+
var __exportStar = this$5 && this$5.__exportStar || function(m, exports) {
|
|
20981
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
21101
20982
|
};
|
|
21102
20983
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21103
20984
|
__exportStar(require_Metadata(), exports);
|
|
@@ -21112,8 +20993,7 @@ var require_lib$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21112
20993
|
__exportStar(require_composeServerMiddleware(), exports);
|
|
21113
20994
|
__exportStar(require_ServerError(), exports);
|
|
21114
20995
|
}));
|
|
21115
|
-
|
|
21116
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-call.js
|
|
20996
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-call.js
|
|
21117
20997
|
var require_server_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21118
20998
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21119
20999
|
exports.ServerDuplexStreamImpl = exports.ServerWritableStreamImpl = exports.ServerReadableStreamImpl = exports.ServerUnaryCallImpl = void 0;
|
|
@@ -21310,8 +21190,7 @@ var require_server_call = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21310
21190
|
};
|
|
21311
21191
|
exports.ServerDuplexStreamImpl = ServerDuplexStreamImpl;
|
|
21312
21192
|
}));
|
|
21313
|
-
|
|
21314
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-credentials.js
|
|
21193
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-credentials.js
|
|
21315
21194
|
var require_server_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21316
21195
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21317
21196
|
exports.ServerCredentials = void 0;
|
|
@@ -21529,8 +21408,7 @@ var require_server_credentials = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21529
21408
|
return new InterceptorServerCredentials(credentials, interceptors);
|
|
21530
21409
|
}
|
|
21531
21410
|
}));
|
|
21532
|
-
|
|
21533
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/duration.js
|
|
21411
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/duration.js
|
|
21534
21412
|
var require_duration = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21535
21413
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21536
21414
|
exports.durationMessageToDuration = durationMessageToDuration;
|
|
@@ -21579,8 +21457,7 @@ var require_duration = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21579
21457
|
return `${duration.seconds}.${duration.nanos / scaleFactor}s`;
|
|
21580
21458
|
}
|
|
21581
21459
|
}));
|
|
21582
|
-
|
|
21583
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/orca.js
|
|
21460
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/orca.js
|
|
21584
21461
|
var require_orca = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21585
21462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21586
21463
|
exports.OrcaOobMetricsSubchannelWrapper = exports.GRPC_METRICS_HEADER = exports.ServerMetricRecorder = exports.PerRequestMetricRecorder = void 0;
|
|
@@ -21853,8 +21730,7 @@ var require_orca = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21853
21730
|
return new OobMetricsDataProducer(subchannel);
|
|
21854
21731
|
}
|
|
21855
21732
|
}));
|
|
21856
|
-
|
|
21857
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-interceptors.js
|
|
21733
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-interceptors.js
|
|
21858
21734
|
var require_server_interceptors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21859
21735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21860
21736
|
exports.BaseServerInterceptingCall = exports.ServerInterceptingCall = exports.ResponderBuilder = exports.ServerListenerBuilder = void 0;
|
|
@@ -21862,7 +21738,7 @@ var require_server_interceptors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21862
21738
|
exports.getServerInterceptingCall = getServerInterceptingCall;
|
|
21863
21739
|
const metadata_1 = require_metadata();
|
|
21864
21740
|
const constants_1 = require_constants();
|
|
21865
|
-
const http2
|
|
21741
|
+
const http2 = __require("http2");
|
|
21866
21742
|
const error_1 = require_error();
|
|
21867
21743
|
const zlib = __require("zlib");
|
|
21868
21744
|
const stream_decoder_1 = require_stream_decoder();
|
|
@@ -22146,8 +22022,8 @@ var require_server_interceptors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
22146
22022
|
[GRPC_ENCODING_HEADER]: "identity"
|
|
22147
22023
|
};
|
|
22148
22024
|
const defaultResponseHeaders = {
|
|
22149
|
-
[http2
|
|
22150
|
-
[http2
|
|
22025
|
+
[http2.constants.HTTP2_HEADER_STATUS]: http2.constants.HTTP_STATUS_OK,
|
|
22026
|
+
[http2.constants.HTTP2_HEADER_CONTENT_TYPE]: "application/grpc+proto"
|
|
22151
22027
|
};
|
|
22152
22028
|
const defaultResponseOptions = { waitForTrailers: true };
|
|
22153
22029
|
var BaseServerInterceptingCall = class {
|
|
@@ -22205,9 +22081,9 @@ var require_server_interceptors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
22205
22081
|
metadata.remove(GRPC_TIMEOUT_HEADER);
|
|
22206
22082
|
metadata.remove(GRPC_ENCODING_HEADER);
|
|
22207
22083
|
metadata.remove(GRPC_ACCEPT_ENCODING_HEADER);
|
|
22208
|
-
metadata.remove(http2
|
|
22209
|
-
metadata.remove(http2
|
|
22210
|
-
metadata.remove(http2
|
|
22084
|
+
metadata.remove(http2.constants.HTTP2_HEADER_ACCEPT_ENCODING);
|
|
22085
|
+
metadata.remove(http2.constants.HTTP2_HEADER_TE);
|
|
22086
|
+
metadata.remove(http2.constants.HTTP2_HEADER_CONTENT_TYPE);
|
|
22211
22087
|
this.metadata = metadata;
|
|
22212
22088
|
const socket = (_b = stream.session) === null || _b === void 0 ? void 0 : _b.socket;
|
|
22213
22089
|
this.connectionInfo = {
|
|
@@ -22529,15 +22405,14 @@ var require_server_interceptors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
22529
22405
|
}, baseCall);
|
|
22530
22406
|
}
|
|
22531
22407
|
}));
|
|
22532
|
-
|
|
22533
|
-
|
|
22534
|
-
var
|
|
22535
|
-
var __runInitializers = exports && exports.__runInitializers || function(thisArg, initializers, value) {
|
|
22408
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server.js
|
|
22409
|
+
var require_server = /* @__PURE__ */ __commonJSMin(((exports, module, this$4) => {
|
|
22410
|
+
var __runInitializers = this$4 && this$4.__runInitializers || function(thisArg, initializers, value) {
|
|
22536
22411
|
var useValue = arguments.length > 2;
|
|
22537
22412
|
for (var i = 0; i < initializers.length; i++) value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
22538
22413
|
return useValue ? value : void 0;
|
|
22539
22414
|
};
|
|
22540
|
-
var __esDecorate =
|
|
22415
|
+
var __esDecorate = this$4 && this$4.__esDecorate || function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
22541
22416
|
function accept(f) {
|
|
22542
22417
|
if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected");
|
|
22543
22418
|
return f;
|
|
@@ -23849,8 +23724,7 @@ var require_server = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23849
23724
|
});
|
|
23850
23725
|
}
|
|
23851
23726
|
}));
|
|
23852
|
-
|
|
23853
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/status-builder.js
|
|
23727
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/status-builder.js
|
|
23854
23728
|
var require_status_builder = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
23855
23729
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23856
23730
|
exports.StatusBuilder = void 0;
|
|
@@ -23897,8 +23771,7 @@ var require_status_builder = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23897
23771
|
};
|
|
23898
23772
|
exports.StatusBuilder = StatusBuilder;
|
|
23899
23773
|
}));
|
|
23900
|
-
|
|
23901
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js
|
|
23774
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js
|
|
23902
23775
|
var require_load_balancer_pick_first = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
23903
23776
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23904
23777
|
exports.LeafLoadBalancer = exports.PickFirstLoadBalancer = exports.PickFirstLoadBalancingConfig = void 0;
|
|
@@ -23911,7 +23784,7 @@ var require_load_balancer_pick_first = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
23911
23784
|
const logging = require_logging();
|
|
23912
23785
|
const constants_1 = require_constants();
|
|
23913
23786
|
const subchannel_address_2 = require_subchannel_address();
|
|
23914
|
-
const net_1
|
|
23787
|
+
const net_1 = __require("net");
|
|
23915
23788
|
const call_interface_1 = require_call_interface();
|
|
23916
23789
|
const TRACER_NAME = "pick_first";
|
|
23917
23790
|
function trace(text) {
|
|
@@ -23985,8 +23858,8 @@ var require_load_balancer_pick_first = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
23985
23858
|
const result = [];
|
|
23986
23859
|
const ipv6Addresses = [];
|
|
23987
23860
|
const ipv4Addresses = [];
|
|
23988
|
-
const ipv6First = (0, subchannel_address_2.isTcpSubchannelAddress)(addressList[0]) && (0, net_1
|
|
23989
|
-
for (const address of addressList) if ((0, subchannel_address_2.isTcpSubchannelAddress)(address) && (0, net_1
|
|
23861
|
+
const ipv6First = (0, subchannel_address_2.isTcpSubchannelAddress)(addressList[0]) && (0, net_1.isIPv6)(addressList[0].host);
|
|
23862
|
+
for (const address of addressList) if ((0, subchannel_address_2.isTcpSubchannelAddress)(address) && (0, net_1.isIPv6)(address.host)) ipv6Addresses.push(address);
|
|
23990
23863
|
else ipv4Addresses.push(address);
|
|
23991
23864
|
const firstList = ipv6First ? ipv6Addresses : ipv4Addresses;
|
|
23992
23865
|
const secondList = ipv6First ? ipv4Addresses : ipv6Addresses;
|
|
@@ -24298,8 +24171,7 @@ var require_load_balancer_pick_first = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
24298
24171
|
(0, load_balancer_1.registerDefaultLoadBalancerType)(TYPE_NAME);
|
|
24299
24172
|
}
|
|
24300
24173
|
}));
|
|
24301
|
-
|
|
24302
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/certificate-provider.js
|
|
24174
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/certificate-provider.js
|
|
24303
24175
|
var require_certificate_provider = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24304
24176
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24305
24177
|
exports.FileWatcherCertificateProvider = void 0;
|
|
@@ -24392,8 +24264,7 @@ var require_certificate_provider = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24392
24264
|
};
|
|
24393
24265
|
exports.FileWatcherCertificateProvider = FileWatcherCertificateProvider;
|
|
24394
24266
|
}));
|
|
24395
|
-
|
|
24396
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/experimental.js
|
|
24267
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/experimental.js
|
|
24397
24268
|
var require_experimental = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24398
24269
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24399
24270
|
exports.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX = exports.createCertificateProviderChannelCredentials = exports.FileWatcherCertificateProvider = exports.createCertificateProviderServerCredentials = exports.createServerCredentialsWithInterceptors = exports.BaseSubchannelWrapper = exports.registerAdminService = exports.FilterStackFactory = exports.BaseFilter = exports.statusOrFromError = exports.statusOrFromValue = exports.PickResultType = exports.QueuePicker = exports.UnavailablePicker = exports.ChildLoadBalancerHandler = exports.EndpointMap = exports.endpointHasAddress = exports.endpointToString = exports.subchannelAddressToString = exports.LeafLoadBalancer = exports.isLoadBalancerNameRegistered = exports.parseLoadBalancingConfig = exports.selectLbConfigFromList = exports.registerLoadBalancerType = exports.createChildChannelControlHelper = exports.BackoffTimeout = exports.parseDuration = exports.durationToMs = exports.splitHostPort = exports.uriToString = exports.CHANNEL_ARGS_CONFIG_SELECTOR_KEY = exports.createResolver = exports.registerResolver = exports.log = exports.trace = void 0;
|
|
@@ -24627,8 +24498,7 @@ var require_experimental = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24627
24498
|
}
|
|
24628
24499
|
});
|
|
24629
24500
|
}));
|
|
24630
|
-
|
|
24631
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-uds.js
|
|
24501
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-uds.js
|
|
24632
24502
|
var require_resolver_uds = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24633
24503
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24634
24504
|
exports.setup = setup;
|
|
@@ -24661,8 +24531,7 @@ var require_resolver_uds = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24661
24531
|
(0, resolver_1.registerResolver)("unix", UdsResolver);
|
|
24662
24532
|
}
|
|
24663
24533
|
}));
|
|
24664
|
-
|
|
24665
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-ip.js
|
|
24534
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-ip.js
|
|
24666
24535
|
var require_resolver_ip = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24667
24536
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24668
24537
|
exports.setup = setup;
|
|
@@ -24749,8 +24618,7 @@ var require_resolver_ip = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24749
24618
|
(0, resolver_1.registerResolver)(IPV6_SCHEME, IpResolver);
|
|
24750
24619
|
}
|
|
24751
24620
|
}));
|
|
24752
|
-
|
|
24753
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js
|
|
24621
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js
|
|
24754
24622
|
var require_load_balancer_round_robin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24755
24623
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24756
24624
|
exports.RoundRobinLoadBalancer = void 0;
|
|
@@ -24885,8 +24753,7 @@ var require_load_balancer_round_robin = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
24885
24753
|
(0, load_balancer_1.registerLoadBalancerType)(TYPE_NAME, RoundRobinLoadBalancer, RoundRobinLoadBalancingConfig);
|
|
24886
24754
|
}
|
|
24887
24755
|
}));
|
|
24888
|
-
|
|
24889
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js
|
|
24756
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js
|
|
24890
24757
|
var require_load_balancer_outlier_detection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24891
24758
|
var _a;
|
|
24892
24759
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -25298,8 +25165,7 @@ var require_load_balancer_outlier_detection = /* @__PURE__ */ __commonJSMin(((ex
|
|
|
25298
25165
|
if (OUTLIER_DETECTION_ENABLED) (0, experimental_1.registerLoadBalancerType)(TYPE_NAME, OutlierDetectionLoadBalancer, OutlierDetectionLoadBalancingConfig);
|
|
25299
25166
|
}
|
|
25300
25167
|
}));
|
|
25301
|
-
|
|
25302
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/priority-queue.js
|
|
25168
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/priority-queue.js
|
|
25303
25169
|
var require_priority_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
25304
25170
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25305
25171
|
exports.PriorityQueue = void 0;
|
|
@@ -25401,8 +25267,7 @@ var require_priority_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
25401
25267
|
};
|
|
25402
25268
|
exports.PriorityQueue = PriorityQueue;
|
|
25403
25269
|
}));
|
|
25404
|
-
|
|
25405
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js
|
|
25270
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js
|
|
25406
25271
|
var require_load_balancer_weighted_round_robin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
25407
25272
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25408
25273
|
exports.WeightedRoundRobinLoadBalancingConfig = void 0;
|
|
@@ -25673,8 +25538,7 @@ var require_load_balancer_weighted_round_robin = /* @__PURE__ */ __commonJSMin((
|
|
|
25673
25538
|
(0, load_balancer_1.registerLoadBalancerType)(TYPE_NAME, WeightedRoundRobinLoadBalancer, WeightedRoundRobinLoadBalancingConfig);
|
|
25674
25539
|
}
|
|
25675
25540
|
}));
|
|
25676
|
-
|
|
25677
|
-
//#region ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/index.js
|
|
25541
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/index.js
|
|
25678
25542
|
var require_src = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
25679
25543
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25680
25544
|
exports.experimental = exports.ServerMetricRecorder = exports.ServerInterceptingCall = exports.ResponderBuilder = exports.ServerListenerBuilder = exports.addAdminServicesToServer = exports.getChannelzHandlers = exports.getChannelzServiceDefinition = exports.InterceptorConfigurationError = exports.InterceptingCall = exports.RequesterBuilder = exports.ListenerBuilder = exports.StatusBuilder = exports.getClientChannel = exports.ServerCredentials = exports.Server = exports.setLogVerbosity = exports.setLogger = exports.load = exports.loadObject = exports.CallCredentials = exports.ChannelCredentials = exports.waitForClientReady = exports.closeClient = exports.Channel = exports.makeGenericClientConstructor = exports.makeClientConstructor = exports.loadPackageDefinition = exports.Client = exports.compressionAlgorithms = exports.propagate = exports.connectivityState = exports.status = exports.logVerbosity = exports.Metadata = exports.credentials = void 0;
|
|
@@ -25936,8 +25800,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
25936
25800
|
channelz.setup();
|
|
25937
25801
|
})();
|
|
25938
25802
|
}));
|
|
25939
|
-
|
|
25940
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/service-definitions/grpc-js.js
|
|
25803
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/service-definitions/grpc-js.js
|
|
25941
25804
|
var require_grpc_js = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
25942
25805
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25943
25806
|
exports.fromGrpcJsServiceDefinition = fromGrpcJsServiceDefinition;
|
|
@@ -25960,8 +25823,7 @@ var require_grpc_js = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
25960
25823
|
return Object.values(definition).every((value) => typeof value === "object" && value != null && typeof value.path === "string");
|
|
25961
25824
|
}
|
|
25962
25825
|
}));
|
|
25963
|
-
|
|
25964
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/service-definitions/ts-proto.js
|
|
25826
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/service-definitions/ts-proto.js
|
|
25965
25827
|
var require_ts_proto = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
25966
25828
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25967
25829
|
exports.fromTsProtoServiceDefinition = fromTsProtoServiceDefinition;
|
|
@@ -25990,8 +25852,7 @@ var require_ts_proto = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
25990
25852
|
return "name" in definition && "fullName" in definition && "methods" in definition;
|
|
25991
25853
|
}
|
|
25992
25854
|
}));
|
|
25993
|
-
|
|
25994
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/service-definitions/index.js
|
|
25855
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/service-definitions/index.js
|
|
25995
25856
|
var require_service_definitions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
25996
25857
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25997
25858
|
exports.normalizeServiceDefinition = normalizeServiceDefinition;
|
|
@@ -26024,8 +25885,7 @@ var require_service_definitions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26024
25885
|
};
|
|
26025
25886
|
}
|
|
26026
25887
|
}));
|
|
26027
|
-
|
|
26028
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/AbortError.js
|
|
25888
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/AbortError.js
|
|
26029
25889
|
var require_AbortError = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26030
25890
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26031
25891
|
exports.catchAbortError = exports.rethrowAbortError = exports.throwIfAborted = exports.isAbortError = exports.AbortError = void 0;
|
|
@@ -26095,8 +25955,7 @@ var require_AbortError = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26095
25955
|
}
|
|
26096
25956
|
exports.catchAbortError = catchAbortError;
|
|
26097
25957
|
}));
|
|
26098
|
-
|
|
26099
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/execute.js
|
|
25958
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/execute.js
|
|
26100
25959
|
var require_execute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26101
25960
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26102
25961
|
exports.execute = void 0;
|
|
@@ -26152,8 +26011,7 @@ var require_execute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26152
26011
|
}
|
|
26153
26012
|
exports.execute = execute;
|
|
26154
26013
|
}));
|
|
26155
|
-
|
|
26156
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/abortable.js
|
|
26014
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/abortable.js
|
|
26157
26015
|
var require_abortable = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26158
26016
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26159
26017
|
exports.abortable = void 0;
|
|
@@ -26176,8 +26034,7 @@ var require_abortable = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26176
26034
|
}
|
|
26177
26035
|
exports.abortable = abortable;
|
|
26178
26036
|
}));
|
|
26179
|
-
|
|
26180
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/delay.js
|
|
26037
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/delay.js
|
|
26181
26038
|
var require_delay = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26182
26039
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26183
26040
|
exports.delay = void 0;
|
|
@@ -26222,8 +26079,7 @@ var require_delay = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26222
26079
|
}
|
|
26223
26080
|
exports.delay = delay;
|
|
26224
26081
|
}));
|
|
26225
|
-
|
|
26226
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/forever.js
|
|
26082
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/forever.js
|
|
26227
26083
|
var require_forever = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26228
26084
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26229
26085
|
exports.forever = void 0;
|
|
@@ -26237,8 +26093,7 @@ var require_forever = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26237
26093
|
}
|
|
26238
26094
|
exports.forever = forever;
|
|
26239
26095
|
}));
|
|
26240
|
-
|
|
26241
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/waitForEvent.js
|
|
26096
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/waitForEvent.js
|
|
26242
26097
|
var require_waitForEvent = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26243
26098
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26244
26099
|
exports.waitForEvent = void 0;
|
|
@@ -26306,8 +26161,7 @@ var require_waitForEvent = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26306
26161
|
}
|
|
26307
26162
|
const isFunction = (obj) => typeof obj === "function";
|
|
26308
26163
|
}));
|
|
26309
|
-
|
|
26310
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/all.js
|
|
26164
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/all.js
|
|
26311
26165
|
var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26312
26166
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26313
26167
|
exports.all = void 0;
|
|
@@ -26351,8 +26205,7 @@ var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26351
26205
|
}
|
|
26352
26206
|
exports.all = all;
|
|
26353
26207
|
}));
|
|
26354
|
-
|
|
26355
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/race.js
|
|
26208
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/race.js
|
|
26356
26209
|
var require_race = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26357
26210
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26358
26211
|
exports.race = void 0;
|
|
@@ -26425,8 +26278,7 @@ var require_race = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26425
26278
|
}
|
|
26426
26279
|
exports.race = race;
|
|
26427
26280
|
}));
|
|
26428
|
-
|
|
26429
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/retry.js
|
|
26281
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/retry.js
|
|
26430
26282
|
var require_retry = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26431
26283
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26432
26284
|
exports.retry = void 0;
|
|
@@ -26463,8 +26315,7 @@ var require_retry = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26463
26315
|
}
|
|
26464
26316
|
exports.retry = retry;
|
|
26465
26317
|
}));
|
|
26466
|
-
|
|
26467
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/spawn.js
|
|
26318
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/spawn.js
|
|
26468
26319
|
var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26469
26320
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26470
26321
|
exports.spawn = void 0;
|
|
@@ -26633,8 +26484,7 @@ var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26633
26484
|
}
|
|
26634
26485
|
exports.spawn = spawn;
|
|
26635
26486
|
}));
|
|
26636
|
-
|
|
26637
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/run.js
|
|
26487
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/run.js
|
|
26638
26488
|
var require_run = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26639
26489
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26640
26490
|
exports.run = void 0;
|
|
@@ -26674,8 +26524,7 @@ var require_run = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26674
26524
|
}
|
|
26675
26525
|
exports.run = run;
|
|
26676
26526
|
}));
|
|
26677
|
-
|
|
26678
|
-
//#region ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/proactiveRetry.js
|
|
26527
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/proactiveRetry.js
|
|
26679
26528
|
var require_proactiveRetry = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26680
26529
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26681
26530
|
exports.proactiveRetry = void 0;
|
|
@@ -26736,10 +26585,9 @@ var require_proactiveRetry = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26736
26585
|
}
|
|
26737
26586
|
exports.proactiveRetry = proactiveRetry;
|
|
26738
26587
|
}));
|
|
26739
|
-
|
|
26740
|
-
|
|
26741
|
-
var
|
|
26742
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
26588
|
+
// ../../node_modules/.pnpm/abort-controller-x@0.5.0/node_modules/abort-controller-x/lib/index.js
|
|
26589
|
+
var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module, this$3) => {
|
|
26590
|
+
var __createBinding = this$3 && this$3.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
26743
26591
|
if (k2 === void 0) k2 = k;
|
|
26744
26592
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
26745
26593
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
|
|
@@ -26753,8 +26601,8 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26753
26601
|
if (k2 === void 0) k2 = k;
|
|
26754
26602
|
o[k2] = m[k];
|
|
26755
26603
|
}));
|
|
26756
|
-
var __exportStar =
|
|
26757
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
26604
|
+
var __exportStar = this$3 && this$3.__exportStar || function(m, exports) {
|
|
26605
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26758
26606
|
};
|
|
26759
26607
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26760
26608
|
__exportStar(require_abortable(), exports);
|
|
@@ -26770,10 +26618,9 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26770
26618
|
__exportStar(require_run(), exports);
|
|
26771
26619
|
__exportStar(require_proactiveRetry(), exports);
|
|
26772
26620
|
}));
|
|
26773
|
-
|
|
26774
|
-
|
|
26775
|
-
var
|
|
26776
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
26621
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/utils/convertMetadata.js
|
|
26622
|
+
var require_convertMetadata = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
|
|
26623
|
+
var __createBinding = this$2 && this$2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
26777
26624
|
if (k2 === void 0) k2 = k;
|
|
26778
26625
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
26779
26626
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
|
|
@@ -26787,7 +26634,7 @@ var require_convertMetadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26787
26634
|
if (k2 === void 0) k2 = k;
|
|
26788
26635
|
o[k2] = m[k];
|
|
26789
26636
|
}));
|
|
26790
|
-
var __setModuleDefault =
|
|
26637
|
+
var __setModuleDefault = this$2 && this$2.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
26791
26638
|
Object.defineProperty(o, "default", {
|
|
26792
26639
|
enumerable: true,
|
|
26793
26640
|
value: v
|
|
@@ -26795,7 +26642,7 @@ var require_convertMetadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26795
26642
|
}) : function(o, v) {
|
|
26796
26643
|
o["default"] = v;
|
|
26797
26644
|
});
|
|
26798
|
-
var __importStar =
|
|
26645
|
+
var __importStar = this$2 && this$2.__importStar || (function() {
|
|
26799
26646
|
var ownKeys = function(o) {
|
|
26800
26647
|
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
26801
26648
|
var ar = [];
|
|
@@ -26835,8 +26682,7 @@ var require_convertMetadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26835
26682
|
return metadata;
|
|
26836
26683
|
}
|
|
26837
26684
|
}));
|
|
26838
|
-
|
|
26839
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/utils/isAsyncIterable.js
|
|
26685
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/utils/isAsyncIterable.js
|
|
26840
26686
|
var require_isAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26841
26687
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26842
26688
|
exports.isAsyncIterable = isAsyncIterable;
|
|
@@ -26845,8 +26691,7 @@ var require_isAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26845
26691
|
return value != null && Symbol.asyncIterator in value;
|
|
26846
26692
|
}
|
|
26847
26693
|
}));
|
|
26848
|
-
|
|
26849
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/utils/readableToAsyncIterable.js
|
|
26694
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/utils/readableToAsyncIterable.js
|
|
26850
26695
|
var require_readableToAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26851
26696
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26852
26697
|
exports.readableToAsyncIterable = readableToAsyncIterable;
|
|
@@ -26911,8 +26756,7 @@ var require_readableToAsyncIterable = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
26911
26756
|
}
|
|
26912
26757
|
const nop = () => {};
|
|
26913
26758
|
}));
|
|
26914
|
-
|
|
26915
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/createCallContext.js
|
|
26759
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/createCallContext.js
|
|
26916
26760
|
var require_createCallContext = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26917
26761
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26918
26762
|
exports.createCallContext = createCallContext;
|
|
@@ -26966,8 +26810,7 @@ var require_createCallContext = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26966
26810
|
return true;
|
|
26967
26811
|
}
|
|
26968
26812
|
}));
|
|
26969
|
-
|
|
26970
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/createErrorStatusObject.js
|
|
26813
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/createErrorStatusObject.js
|
|
26971
26814
|
var require_createErrorStatusObject = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
26972
26815
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26973
26816
|
exports.createErrorStatusObject = createErrorStatusObject;
|
|
@@ -26996,8 +26839,7 @@ var require_createErrorStatusObject = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
26996
26839
|
}
|
|
26997
26840
|
}
|
|
26998
26841
|
}));
|
|
26999
|
-
|
|
27000
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/handleBidiStreamingCall.js
|
|
26842
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/handleBidiStreamingCall.js
|
|
27001
26843
|
var require_handleBidiStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27002
26844
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27003
26845
|
exports.createBidiStreamingMethodHandler = createBidiStreamingMethodHandler;
|
|
@@ -27062,8 +26904,7 @@ var require_handleBidiStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
27062
26904
|
};
|
|
27063
26905
|
}
|
|
27064
26906
|
}));
|
|
27065
|
-
|
|
27066
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/handleClientStreamingCall.js
|
|
26907
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/handleClientStreamingCall.js
|
|
27067
26908
|
var require_handleClientStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27068
26909
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27069
26910
|
exports.createClientStreamingMethodHandler = createClientStreamingMethodHandler;
|
|
@@ -27120,8 +26961,7 @@ var require_handleClientStreamingCall = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
27120
26961
|
};
|
|
27121
26962
|
}
|
|
27122
26963
|
}));
|
|
27123
|
-
|
|
27124
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/handleServerStreamingCall.js
|
|
26964
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/handleServerStreamingCall.js
|
|
27125
26965
|
var require_handleServerStreamingCall = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27126
26966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27127
26967
|
exports.createServerStreamingMethodHandler = createServerStreamingMethodHandler;
|
|
@@ -27185,8 +27025,7 @@ var require_handleServerStreamingCall = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
27185
27025
|
};
|
|
27186
27026
|
}
|
|
27187
27027
|
}));
|
|
27188
|
-
|
|
27189
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/handleUnaryCall.js
|
|
27028
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/handleUnaryCall.js
|
|
27190
27029
|
var require_handleUnaryCall = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27191
27030
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27192
27031
|
exports.createUnaryMethodHandler = createUnaryMethodHandler;
|
|
@@ -27242,8 +27081,7 @@ var require_handleUnaryCall = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27242
27081
|
};
|
|
27243
27082
|
}
|
|
27244
27083
|
}));
|
|
27245
|
-
|
|
27246
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/Server.js
|
|
27084
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/Server.js
|
|
27247
27085
|
var require_Server = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27248
27086
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27249
27087
|
exports.createServer = createServer;
|
|
@@ -27330,13 +27168,11 @@ var require_Server = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27330
27168
|
};
|
|
27331
27169
|
}
|
|
27332
27170
|
}));
|
|
27333
|
-
|
|
27334
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/ServiceImplementation.js
|
|
27171
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/server/ServiceImplementation.js
|
|
27335
27172
|
var require_ServiceImplementation = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27336
27173
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27337
27174
|
}));
|
|
27338
|
-
|
|
27339
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/channel.js
|
|
27175
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/channel.js
|
|
27340
27176
|
var require_channel = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27341
27177
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27342
27178
|
exports.createChannel = createChannel;
|
|
@@ -27389,8 +27225,7 @@ var require_channel = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27389
27225
|
}
|
|
27390
27226
|
}
|
|
27391
27227
|
}));
|
|
27392
|
-
|
|
27393
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/wrapClientError.js
|
|
27228
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/wrapClientError.js
|
|
27394
27229
|
var require_wrapClientError = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27395
27230
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27396
27231
|
exports.wrapClientError = wrapClientError;
|
|
@@ -27405,8 +27240,7 @@ var require_wrapClientError = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27405
27240
|
return typeof obj === "object" && obj !== null && typeof obj.code === "number" && typeof obj.details === "string" && obj.metadata instanceof grpc_js_1.Metadata;
|
|
27406
27241
|
}
|
|
27407
27242
|
}));
|
|
27408
|
-
|
|
27409
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/createBidiStreamingMethod.js
|
|
27243
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/createBidiStreamingMethod.js
|
|
27410
27244
|
var require_createBidiStreamingMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27411
27245
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27412
27246
|
exports.createBidiStreamingMethod = createBidiStreamingMethod;
|
|
@@ -27500,8 +27334,7 @@ var require_createBidiStreamingMethod = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
27500
27334
|
}
|
|
27501
27335
|
}
|
|
27502
27336
|
}));
|
|
27503
|
-
|
|
27504
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/createClientStreamingMethod.js
|
|
27337
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/createClientStreamingMethod.js
|
|
27505
27338
|
var require_createClientStreamingMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27506
27339
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27507
27340
|
exports.createClientStreamingMethod = createClientStreamingMethod;
|
|
@@ -27583,8 +27416,7 @@ var require_createClientStreamingMethod = /* @__PURE__ */ __commonJSMin(((export
|
|
|
27583
27416
|
}
|
|
27584
27417
|
}
|
|
27585
27418
|
}));
|
|
27586
|
-
|
|
27587
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/createServerStreamingMethod.js
|
|
27419
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/createServerStreamingMethod.js
|
|
27588
27420
|
var require_createServerStreamingMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27589
27421
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27590
27422
|
exports.createServerStreamingMethod = createServerStreamingMethod;
|
|
@@ -27659,8 +27491,7 @@ var require_createServerStreamingMethod = /* @__PURE__ */ __commonJSMin(((export
|
|
|
27659
27491
|
};
|
|
27660
27492
|
}
|
|
27661
27493
|
}));
|
|
27662
|
-
|
|
27663
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/createUnaryMethod.js
|
|
27494
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/createUnaryMethod.js
|
|
27664
27495
|
var require_createUnaryMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27665
27496
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27666
27497
|
exports.createUnaryMethod = createUnaryMethod;
|
|
@@ -27725,8 +27556,7 @@ var require_createUnaryMethod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27725
27556
|
};
|
|
27726
27557
|
}
|
|
27727
27558
|
}));
|
|
27728
|
-
|
|
27729
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/ClientFactory.js
|
|
27559
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/ClientFactory.js
|
|
27730
27560
|
var require_ClientFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27731
27561
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27732
27562
|
exports.createClientFactory = createClientFactory;
|
|
@@ -27777,15 +27607,13 @@ var require_ClientFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27777
27607
|
};
|
|
27778
27608
|
}
|
|
27779
27609
|
}));
|
|
27780
|
-
|
|
27781
|
-
//#region ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/Client.js
|
|
27610
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.17/node_modules/nice-grpc/lib/client/Client.js
|
|
27782
27611
|
var require_Client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27783
27612
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27784
27613
|
}));
|
|
27785
|
-
|
|
27786
|
-
|
|
27787
|
-
var
|
|
27788
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
27614
|
+
// src/worker-runtime/errors.ts
|
|
27615
|
+
var import_lib = (/* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
|
|
27616
|
+
var __createBinding = this$1 && this$1.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
27789
27617
|
if (k2 === void 0) k2 = k;
|
|
27790
27618
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
27791
27619
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
|
|
@@ -27799,8 +27627,8 @@ var import_lib = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27799
27627
|
if (k2 === void 0) k2 = k;
|
|
27800
27628
|
o[k2] = m[k];
|
|
27801
27629
|
}));
|
|
27802
|
-
var __exportStar =
|
|
27803
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
27630
|
+
var __exportStar = this$1 && this$1.__exportStar || function(m, exports) {
|
|
27631
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27804
27632
|
};
|
|
27805
27633
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27806
27634
|
exports.ChannelCredentials = exports.Channel = exports.waitForChannelReady = exports.createChannel = void 0;
|
|
@@ -27890,8 +27718,7 @@ const MissingEnvVarError = defineError({
|
|
|
27890
27718
|
internal: false,
|
|
27891
27719
|
httpStatusCode: 500
|
|
27892
27720
|
});
|
|
27893
|
-
|
|
27894
|
-
//#region src/worker-runtime/channel.ts
|
|
27721
|
+
// src/worker-runtime/channel.ts
|
|
27895
27722
|
/**
|
|
27896
27723
|
* gRPC channel management for the Alien Worker runtime.
|
|
27897
27724
|
*/
|
|
@@ -27949,8 +27776,7 @@ async function getOrCreateChannel(address) {
|
|
|
27949
27776
|
}
|
|
27950
27777
|
return channel;
|
|
27951
27778
|
}
|
|
27952
|
-
|
|
27953
|
-
//#region src/worker-runtime/console.ts
|
|
27779
|
+
// src/worker-runtime/console.ts
|
|
27954
27780
|
const FORMAT_OPTIONS = {
|
|
27955
27781
|
breakLength: Number.POSITIVE_INFINITY,
|
|
27956
27782
|
colors: false,
|
|
@@ -27984,8 +27810,7 @@ function installWorkerConsole() {
|
|
|
27984
27810
|
console.warn = (...args) => warn(formatWorkerConsoleLine(args));
|
|
27985
27811
|
console.error = (...args) => error(formatWorkerConsoleLine(args));
|
|
27986
27812
|
}
|
|
27987
|
-
|
|
27988
|
-
//#region src/worker-runtime/grpc-utils.ts
|
|
27813
|
+
// src/worker-runtime/grpc-utils.ts
|
|
27989
27814
|
/**
|
|
27990
27815
|
* gRPC utility functions for the Worker runtime's control-plane calls.
|
|
27991
27816
|
*
|
|
@@ -28027,8 +27852,7 @@ async function wrapGrpcCall(service, method, call) {
|
|
|
28027
27852
|
throw await grpcErrorToAlienError(error, service, method);
|
|
28028
27853
|
}
|
|
28029
27854
|
}
|
|
28030
|
-
|
|
28031
|
-
//#region src/worker-runtime/event-loop.ts
|
|
27855
|
+
// src/worker-runtime/event-loop.ts
|
|
28032
27856
|
const MAX_LOG_ERROR_LENGTH = 1e3;
|
|
28033
27857
|
/** @internal exported for tests */
|
|
28034
27858
|
function formatEventLoopError(error) {
|
|
@@ -28311,8 +28135,7 @@ var EventLoop = class {
|
|
|
28311
28135
|
};
|
|
28312
28136
|
}
|
|
28313
28137
|
};
|
|
28314
|
-
|
|
28315
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.14.0/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js
|
|
28138
|
+
// ../../node_modules/.pnpm/@bufbuild+protobuf@2.14.0/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js
|
|
28316
28139
|
/**
|
|
28317
28140
|
* Read a 64 bit varint as two JS numbers.
|
|
28318
28141
|
*
|
|
@@ -28499,8 +28322,7 @@ function varint32read() {
|
|
|
28499
28322
|
this.assertBounds();
|
|
28500
28323
|
return result >>> 0;
|
|
28501
28324
|
}
|
|
28502
|
-
|
|
28503
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.14.0/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js
|
|
28325
|
+
// ../../node_modules/.pnpm/@bufbuild+protobuf@2.14.0/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js
|
|
28504
28326
|
/**
|
|
28505
28327
|
* Int64Support for the current environment.
|
|
28506
28328
|
*/
|
|
@@ -28588,8 +28410,7 @@ function assertInt64String(value) {
|
|
|
28588
28410
|
function assertUInt64String(value) {
|
|
28589
28411
|
if (!/^[0-9]+$/.test(value)) throw new Error("invalid uint64: " + value);
|
|
28590
28412
|
}
|
|
28591
|
-
|
|
28592
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.14.0/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js
|
|
28413
|
+
// ../../node_modules/.pnpm/@bufbuild+protobuf@2.14.0/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js
|
|
28593
28414
|
const symbol = Symbol.for("@bufbuild/protobuf/text-encoding");
|
|
28594
28415
|
/**
|
|
28595
28416
|
* Protobuf-ES requires the Text Encoding API to convert UTF-8 from and to
|
|
@@ -28654,8 +28475,7 @@ function emulateEncodeInto(encodeUtf8) {
|
|
|
28654
28475
|
return { written: bytes.byteLength };
|
|
28655
28476
|
};
|
|
28656
28477
|
}
|
|
28657
|
-
|
|
28658
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.14.0/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js
|
|
28478
|
+
// ../../node_modules/.pnpm/@bufbuild+protobuf@2.14.0/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js
|
|
28659
28479
|
/**
|
|
28660
28480
|
* Protobuf binary format wire types.
|
|
28661
28481
|
*
|
|
@@ -29252,8 +29072,7 @@ function assertFloat32(arg) {
|
|
|
29252
29072
|
} else if (typeof arg != "number") throw new Error("invalid float32: " + typeof arg);
|
|
29253
29073
|
if (Number.isFinite(arg) && (arg > 34028234663852886e22 || arg < -34028234663852886e22)) throw new Error("invalid float32: " + arg);
|
|
29254
29074
|
}
|
|
29255
|
-
|
|
29256
|
-
//#region src/worker-runtime/generated/google/protobuf/timestamp.ts
|
|
29075
|
+
// src/worker-runtime/generated/google/protobuf/timestamp.ts
|
|
29257
29076
|
function createBaseTimestamp() {
|
|
29258
29077
|
return {
|
|
29259
29078
|
seconds: 0,
|
|
@@ -29325,8 +29144,7 @@ function longToNumber$2(int64) {
|
|
|
29325
29144
|
function isSet$3(value) {
|
|
29326
29145
|
return value !== null && value !== void 0;
|
|
29327
29146
|
}
|
|
29328
|
-
|
|
29329
|
-
//#region src/worker-runtime/generated/control.ts
|
|
29147
|
+
// src/worker-runtime/generated/control.ts
|
|
29330
29148
|
function queueDeliveryOutcome_DispositionFromJSON(object) {
|
|
29331
29149
|
switch (object) {
|
|
29332
29150
|
case 0:
|
|
@@ -30873,8 +30691,7 @@ function isObject(value) {
|
|
|
30873
30691
|
function isSet$2(value) {
|
|
30874
30692
|
return value !== null && value !== void 0;
|
|
30875
30693
|
}
|
|
30876
|
-
|
|
30877
|
-
//#region src/worker-runtime/generated/google/protobuf/duration.ts
|
|
30694
|
+
// src/worker-runtime/generated/google/protobuf/duration.ts
|
|
30878
30695
|
function createBaseDuration() {
|
|
30879
30696
|
return {
|
|
30880
30697
|
seconds: 0,
|
|
@@ -30946,8 +30763,7 @@ function longToNumber(int64) {
|
|
|
30946
30763
|
function isSet$1(value) {
|
|
30947
30764
|
return value !== null && value !== void 0;
|
|
30948
30765
|
}
|
|
30949
|
-
|
|
30950
|
-
//#region src/worker-runtime/generated/wait_until.ts
|
|
30766
|
+
// src/worker-runtime/generated/wait_until.ts
|
|
30951
30767
|
function createBaseNotifyTaskRegisteredRequest() {
|
|
30952
30768
|
return {
|
|
30953
30769
|
applicationId: "",
|
|
@@ -31467,8 +31283,7 @@ const WaitUntilServiceDefinition = {
|
|
|
31467
31283
|
function isSet(value) {
|
|
31468
31284
|
return value !== null && value !== void 0;
|
|
31469
31285
|
}
|
|
31470
|
-
|
|
31471
|
-
//#region src/worker-runtime/service-definitions.ts
|
|
31286
|
+
// src/worker-runtime/service-definitions.ts
|
|
31472
31287
|
const LegacyControlServiceDefinition = {
|
|
31473
31288
|
...ControlServiceDefinition,
|
|
31474
31289
|
fullName: "alien_bindings.control.ControlService"
|
|
@@ -31483,8 +31298,7 @@ function getControlServiceDefinition(generation = getGrpcEndpointConfig().genera
|
|
|
31483
31298
|
function getWaitUntilServiceDefinition(generation = getGrpcEndpointConfig().generation) {
|
|
31484
31299
|
return generation === "legacy" ? LegacyWaitUntilServiceDefinition : WaitUntilServiceDefinition;
|
|
31485
31300
|
}
|
|
31486
|
-
|
|
31487
|
-
//#region src/worker-runtime/wait-until-manager.ts
|
|
31301
|
+
// src/worker-runtime/wait-until-manager.ts
|
|
31488
31302
|
/**
|
|
31489
31303
|
* WaitUntil coordination.
|
|
31490
31304
|
*
|
|
@@ -31532,8 +31346,7 @@ var WaitUntilManager = class {
|
|
|
31532
31346
|
});
|
|
31533
31347
|
}
|
|
31534
31348
|
};
|
|
31535
|
-
|
|
31536
|
-
//#region src/worker-runtime/index.ts
|
|
31349
|
+
// src/worker-runtime/index.ts
|
|
31537
31350
|
/**
|
|
31538
31351
|
* `@alienplatform/sdk/worker-runtime` — the Worker protocol runtime.
|
|
31539
31352
|
*
|
|
@@ -31608,5 +31421,4 @@ async function registerHttpServer(channel, port, service) {
|
|
|
31608
31421
|
await client.registerHttpServer({ port });
|
|
31609
31422
|
});
|
|
31610
31423
|
}
|
|
31611
|
-
//#endregion
|
|
31612
31424
|
export { runWorker };
|