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