35 lines
2.3 KiB
TypeScript
35 lines
2.3 KiB
TypeScript
/* Metro module 8543; source: design/components/Coachmark/native/useCoachmark.native.tsx; dependencies: [31, 33, 491, 8544, 6519, 8551, 2] */
|
|
function _fun67725(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67725, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:6, offset: 0x01c2e809, size: 135 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importAll(31) /* metro dependency 31 */;
|
|
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Coachmark/native/useCoachmark.native.tsx');
|
|
exports.useCoachmark = useCoachmark;
|
|
}
|
|
|
|
function useCoachmark(a0, a1) { // fn#67726, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:227, offset: 0x01c2e890, size: 96 bytes, params: 3, frame: 17
|
|
var value;
|
|
value = env0_2.useRef(Reflect.apply((require(491) /* metro dependency 491 */).v4, value, []));
|
|
return (require(8544) /* metro dependency 8544: useTooltipNative */).useTooltipHelper(value, a0,
|
|
useAddCoachmark(a1));
|
|
}
|
|
|
|
function useAddCoachmark(a0) { // fn#67727, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:285, owner: useCoachmark.useAddCoachmark, offset: 0x01c2e8f0, size: 91 bytes, params: 2, frame: 16
|
|
var environment;
|
|
const env0_0 = a0;
|
|
const value = environment.__proto__;
|
|
const binding = env1_2;
|
|
const useContext = binding.useContext;
|
|
const LayerContext = (require(6519) /* metro dependency 6519: LayerContextNative */).LayerContext;
|
|
return binding.useCallback(_fun67728, [Reflect.apply(useContext, binding, [LayerContext]), a0]);
|
|
}
|
|
|
|
function _fun67728(a0, a1, a2) { // fn#67728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:376, offset: 0x01c2e94b, size: 101 bytes, params: 4, frame: 16
|
|
const AnimatedCoachmark = (require(8551) /* metro dependency 8551: AnimatedCoachmarkNative */).AnimatedCoachmark;
|
|
env0_1.add(a0,
|
|
<AnimatedCoachmark {...env0_0} {...{['targetMeasurements']: a1}} {...{['surfaceMeasurements']: a2}} />);
|
|
}
|
|
|