decord/beta/source/modules/gateway/useRequestGatewaySocket.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

56 lines
1.7 KiB
TypeScript

// Module ID: 14843
// Function ID: 14844
// Name: useRequestGatewaySocket
// Dependencies: [19, 558, 568, 10585, 8004, 2]
// Module 14843 (useRequestGatewaySocket)
import RequestGatewaySocketAll from "RequestGatewaySocket" /* 8004 */;
import noop from "module_19" /* 19 */;
const require = globalThis.__r;
const require = fn;
const ReactCompilerGating = fn(558);
const size = fn(2);
const result = size.fileFinishedImporting("modules/gateway/useRequestGatewaySocket.tsx");
export const useRequestGatewaySocket = ReactCompilerGating.isReactCompilerEnabled() ? ((arg0) => {
_require = arg0;
const cResult = require("c").c(4);
const obj = require("c");
canUIRequestGatewaySocket = canUIRequestGatewaySocket(10585).useCanUIRequestGatewaySocket();
if (cResult[0] === canUIRequestGatewaySocket) {
if (cResult[1] === arg0) {
let tmp3 = cResult[2];
let tmp4 = cResult[3];
}
const effect = noop.useEffect(tmp3, tmp4);
}
const fn = function u() {
if (canUIRequestGatewaySocket) {
RequestGatewaySocketAll.setRequestedBy(closure_0);
return () => {
RequestGatewaySocketAll.stopRequest(closure_1_0);
};
}
};
const items = [arg0, canUIRequestGatewaySocket];
cResult[0] = canUIRequestGatewaySocket;
cResult[1] = arg0;
cResult[2] = fn;
cResult[3] = items;
tmp4 = items;
tmp3 = fn;
}) : ((arg0) => {
closure_0 = arg0;
canUIRequestGatewaySocket = canUIRequestGatewaySocket(10585).useCanUIRequestGatewaySocket();
const items = [arg0, canUIRequestGatewaySocket];
const effect = noop.useEffect(() => {
if (canUIRequestGatewaySocket) {
RequestGatewaySocketAll.setRequestedBy(closure_0);
return () => {
RequestGatewaySocketAll.stopRequest(closure_1_0);
};
}
}, items);
});