Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,40 @@
|
||||
/* Metro module 8551; source: design/components/Coachmark/native/AnimatedCoachmark.native.tsx; dependencies: [57, 31, 27, 33, 4017, 8552, 3875, 8548, 8549, 2] */
|
||||
function _fun67781(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8736:6, offset: 0x01c305a4, size: 191 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_4 = importAll(31) /* metro dependency 31 */;
|
||||
const env0_5 = (require(27) /* metro dependency 27 */).StyleSheet;
|
||||
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Coachmark/native/AnimatedCoachmark.native.tsx');
|
||||
exports.AnimatedCoachmark = AnimatedCoachmark;
|
||||
}
|
||||
|
||||
function renderTooltipItem_67782(a0, a1) { // fn#67782, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8736:169, offset: 0x01c30663, size: 159 bytes, params: 3, frame: 20
|
||||
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
|
||||
const value2 = null;
|
||||
return (
|
||||
<View style={[a1, StyleSheet.absoluteFill]} pointerEvents="box-none">
|
||||
{value2 != a0 ? ((CoachmarkContainer) => <CoachmarkContainer {...a0} {...{['enterExitAnimatedStyles']: a1}} />)((require(8552) /* metro dependency 8552: CoachmarkNative */).CoachmarkContainer) : value2}
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
function AnimatedCoachmark(a0) { // fn#67783, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8736:446, offset: 0x01c30702, size: 254 bytes, params: 2, frame: 23
|
||||
const visible = a0.visible;
|
||||
let value = Object.create(null);
|
||||
value.visible = 0;
|
||||
value = copyDataProperties({}, a0, value, undefined);
|
||||
const binding = env0_4;
|
||||
const useContext = binding.useContext;
|
||||
const value3 = undefined;
|
||||
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
|
||||
const enabled = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]).reducedMotion.enabled;
|
||||
const [property, env0_1] = env0_3(binding.useState(visible), 2);
|
||||
const tooltipConstantsNativeModule = require(8548) /* metro dependency 8548: TooltipConstantsNative */;
|
||||
const value6 = tooltipConstantsNativeModule.tooltipEnterExitAnimation(value.position);
|
||||
binding.useEffect(_fun67784, [visible]);
|
||||
return ((Component) => <Component useReducedMotion={enabled} item={property ? value : value3} entering={value6} exiting={value6} renderItem={renderTooltipItem_67782} />)(importDefault(8549) /* metro dependency 8549: AnimatedEnterExitItem */);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user