/* Metro module 15399; source: modules/frames/native/FrameWebView.tsx; dependencies: [31, 33, 10709, 8069, 2] */ function _fun117699(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#117699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15596:6, offset: 0x024be3ef, size: 142 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importAll(31) /* metro dependency 31 */; const env0_4 = (require(33) /* metro dependency 33 */).jsx; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/frames/native/FrameWebView.tsx'); exports.default = FrameWebView; } function FrameWebView(a0) { // fn#117700, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15596:126, offset: 0x024be47d, size: 230 bytes, params: 2, frame: 25 const applicationId = a0.applicationId; const value = Object.create(null); value.applicationId = 0; const value2 = copyDataProperties({}, a0, value, undefined); const {hasInvalidUrlError, setHasInvalidUrlError, hadInvalidUrlError} = (require(10709) /* metro dependency 10709: EmbeddedActivityWebView */).useHasInvalidUrlErrorState(); env0_3.useEffect(_fun117701, [hasInvalidUrlError, hadInvalidUrlError, applicationId]); const BaseActivityWebView = (require(10709) /* metro dependency 10709: EmbeddedActivityWebView */).BaseActivityWebView; return ( ); } function _fun117701() { // fn#117701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15596:307, offset: 0x024be563, size: 83 bytes, params: 1, frame: 12 var value4; if (!hadInvalidUrlError && hasInvalidUrlError && applicationId != null) { value4 = environment.__proto__; (importDefault(8069) /* metro dependency 8069: FramesNativeManager */).leaveFrame({applicationId: applicationId}); } } function FrameWebViewHasFrameId() { // fn#117702, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15596:419, owner: FrameWebView.hasFrameId, offset: 0x024be5b6, size: 37 bytes, params: 1, frame: 11 const value = environment.__proto__; return (importDefault(8069) /* metro dependency 8069: FramesNativeManager */).hasFrameId(); } function FrameWebViewGetOrCreateFrameId() { // fn#117703, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15596:463, owner: FrameWebView.getOrCreateFrameId, offset: 0x024be5db, size: 37 bytes, params: 1, frame: 11 const value = environment.__proto__; return (importDefault(8069) /* metro dependency 8069: FramesNativeManager */).getOrCreateFrameId(); } function FrameWebViewReleaseFrameId() { // fn#117704, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15596:511, owner: FrameWebView.releaseFrameId, offset: 0x024be600, size: 37 bytes, params: 1, frame: 11 const value = environment.__proto__; return (importDefault(8069) /* metro dependency 8069: FramesNativeManager */).releaseFrameId(); }