swc/crates/swc_webpack_ast/tests/fixture/react-dom/scheduler-dev/output.js
Donny/강동윤 15ea98bf65
fix(webpack/ast): Fix webpackAST (#3040)
swc_webpack_ast:
 - `reducer`: Flatten safe statements.
 - `reducer`: Preserve variables.
2021-12-14 17:28:51 +09:00

123 lines
3.3 KiB
JavaScript

if (process.env.NODE_ENV !== "production") {
var enableSchedulerDebugging;
var enableProfiling;
var requestHostCallback;
var requestHostTimeout;
var cancelHostTimeout;
var requestPaint;
var hasPerformanceNow;
var localPerformance;
exports.unstable_now = null;
var localDate;
var initialTime;
exports.unstable_now = null;
var _callback;
var _timeoutID;
var _flushCallback = function() {
var currentTime = exports.unstable_now();
var hasRemainingTime;
};
exports.unstable_shouldYield = null;
exports.unstable_forceFrameRate = null;
var _setTimeout;
var _clearTimeout;
var requestAnimationFrame;
var cancelAnimationFrame;
var isMessageLoopRunning;
var scheduledHostCallback;
var taskTimeoutID;
var yieldInterval;
var deadline;
exports.unstable_shouldYield = function() {
exports.unstable_now();
};
exports.unstable_forceFrameRate = null;
var performWorkUntilDeadline = function() {
var currentTime = exports.unstable_now();
var hasTimeRemaining;
var hasMoreWork;
};
var channel;
var port;
(function() {
(function() {
exports.unstable_now();
});
});
var index;
var first;
var first1;
var last;
var index1;
var parentIndex;
var parent;
var index2;
var length;
var leftIndex;
var left;
var rightIndex;
var right;
var diff;
var ImmediatePriority;
var UserBlockingPriority;
var NormalPriority;
var LowPriority;
var IdlePriority;
var maxSigned31BitInt;
var IMMEDIATE_PRIORITY_TIMEOUT;
var USER_BLOCKING_PRIORITY_TIMEOUT;
var NORMAL_PRIORITY_TIMEOUT;
var LOW_PRIORITY_TIMEOUT;
var IDLE_PRIORITY_TIMEOUT;
var taskQueue;
var timerQueue;
var taskIdCounter;
var currentTask;
var currentPriorityLevel;
var isPerformingWork;
var isHostCallbackScheduled;
var isHostTimeoutScheduled;
var timer;
var firstTimer;
var previousPriorityLevel;
var currentTime = exports.unstable_now();
var currentTime1;
exports.unstable_shouldYield();
var callback;
var didUserCallbackTimeout;
var continuationCallback;
exports.unstable_now();
var firstTimer1;
var previousPriorityLevel1;
var priorityLevel;
var previousPriorityLevel2;
var parentPriorityLevel;
(function() {
var previousPriorityLevel;
});
var currentTime2 = exports.unstable_now();
var startTime;
var delay;
var timeout;
var expirationTime;
var newTask;
var unstable_requestPaint;
var unstable_Profiling;
exports.unstable_IdlePriority = null;
exports.unstable_ImmediatePriority = null;
exports.unstable_LowPriority = null;
exports.unstable_NormalPriority = null;
exports.unstable_Profiling = null;
exports.unstable_UserBlockingPriority = null;
exports.unstable_cancelCallback = null;
exports.unstable_continueExecution = null;
exports.unstable_getCurrentPriorityLevel = null;
exports.unstable_getFirstCallbackNode = null;
exports.unstable_next = null;
exports.unstable_pauseExecution = null;
exports.unstable_requestPaint = null;
exports.unstable_runWithPriority = null;
exports.unstable_scheduleCallback = null;
exports.unstable_wrapCallback = null;
}