Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

41 lines
916 B
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: fd0220e4d10052af.701bdafa2d.js
* Module id: 36108
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
var t = e.i(358379);
let n = (0, t.createContext)(!1),
i = () => (0, t.useContext)(n);
function r(e, n) {
let r = i(),
a = (0, t.useRef)(void 0);
(0, t.useEffect)(() => {
if (r) {
a.current && (a.current(), (a.current = void 0));
return;
}
return (
(a.current = e()),
() => {
a.current && (a.current(), (a.current = void 0));
}
);
}, [r, ...n]);
}
e.s([
"NodeFreezeContext",
0,
n,
"useFrozenEffect",
() => r,
"useIsFrozen",
0,
i,
]);
};
export default moduleFactory;