50 lines
2.8 KiB
TypeScript
50 lines
2.8 KiB
TypeScript
/* Metro module 14365; source: modules/panels/native/PanelsConfig.tsx; dependencies: [1305, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as NativeModule from '../../../design/void/native.tsx'; /* Metro dependency 1305 */
|
|
|
|
function _fun108726(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108726, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14562:6, offset: 0x0232bc10, size: 368 bytes, params: 8, frame: 27
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {code: 'function isTimingConfig_PanelsConfigTsx1(obj){return obj!=null&&obj.duration!=null;}'};
|
|
const value = _fun108727();
|
|
object = {'mass': 1, 'stiffness': 250, 'overshootClamping': true, 'restSpeedThreshold': 0.001,
|
|
'restDisplacementThreshold': 0.001};
|
|
const object2 = {damping: 30};
|
|
copyDataProperties(object2, object, undefined);
|
|
const object3 = {damping: 20};
|
|
copyDataProperties(object3, object, undefined);
|
|
object = {duration: 250};
|
|
const STANDARD_EASING = (NativeModule).STANDARD_EASING;
|
|
object.easing = STANDARD_EASING;
|
|
const object4 = {duration: 200};
|
|
object4.easing = STANDARD_EASING;
|
|
const object5 = {swipeSidePanelOpen: object2, swipeSidePanelClose: object3, nonSwipeSidePanelOpen: object,
|
|
nonSwipeSidePanelClose: object4, touchSlopForPanGesture: 8, minFlingVelocityX: 240};
|
|
const object6 = {};
|
|
const DECELERATED_EASING = (NativeModule).DECELERATED_EASING;
|
|
object6.swipeSidePanelOpen = {duration: 250, easing: DECELERATED_EASING};
|
|
object6.swipeSidePanelClose = {duration: 200, easing: DECELERATED_EASING};
|
|
object6.nonSwipeSidePanelOpen = object;
|
|
object6.nonSwipeSidePanelClose = object4;
|
|
object6.touchSlopForPanGesture = 8;
|
|
object6.minFlingVelocityX = 240;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/panels/native/PanelsConfig.tsx');
|
|
exports.isTimingConfig = value;
|
|
exports.SIDE_PANEL_OPEN_DURATION_MS = 250;
|
|
exports.SIDE_PANEL_CLOSE_DURATION_MS = 200;
|
|
exports.DEFAULT_PANELS_ANIMATION_CONFIG = object5;
|
|
exports.ANDROID_PANELS_ANIMATION_CONFIG = object6;
|
|
function _fun108727() { // fn#108727, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14562:194, offset: 0x0232bd80, size: 48 bytes, params: 1, frame: 2
|
|
const closure = function(a0) {
|
|
return a0 != null && a0.duration != null;
|
|
};
|
|
closure.__closure = {};
|
|
closure.__workletHash = 14033676769786;
|
|
closure.__initData = env0_0;
|
|
return closure;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun108726, 14365, [1305, 2]) /* metro module 14365, dependencies: [1305, 2] */;
|