80 lines
2.2 KiB
JavaScript
80 lines
2.2 KiB
JavaScript
// Metro module 1198 (f1199).
|
|
import { getClient } from "./Module817";
|
|
import { MOBILE_FEEDBACK_INTEGRATION_NAME, feedbackIntegration } from "./Module1133";
|
|
const name = "AutoInjectMobileFeedback";
|
|
const name2 = "AutoInjectMobileFeedbackButton";
|
|
const name3 = "AutoInjectMobileScreenshotButton";
|
|
export function lazyLoadFeedbackIntegration() {
|
|
const client = getClient();
|
|
let r10 = client !== null ? client !== void 0 ? client.getIntegrationByName(MOBILE_FEEDBACK_INTEGRATION_NAME) : void 0 : void 0;
|
|
let r14 = void 0;
|
|
if (!r10) {
|
|
const client2 = getClient();
|
|
r10 = client2 === null;
|
|
r14 = client2;
|
|
}
|
|
if (!r10) {
|
|
r10 = r14 === void 0;
|
|
}
|
|
if (!r10) {
|
|
r14.addIntegration(feedbackIntegration());
|
|
}
|
|
}
|
|
export const AUTO_INJECT_FEEDBACK_INTEGRATION_NAME = "AutoInjectMobileFeedback";
|
|
export function lazyLoadAutoInjectFeedbackIntegration() {
|
|
const client = getClient();
|
|
let r10 = client !== null ? client !== void 0 ? client.getIntegrationByName(name) : void 0 : void 0;
|
|
let r12 = void 0;
|
|
if (!r10) {
|
|
const client2 = getClient();
|
|
r10 = client2 === null;
|
|
r12 = client2;
|
|
}
|
|
if (!r10) {
|
|
r10 = r12 === void 0;
|
|
}
|
|
if (!r10) {
|
|
r12.addIntegration({
|
|
name
|
|
});
|
|
}
|
|
}
|
|
export const AUTO_INJECT_FEEDBACK_BUTTON_INTEGRATION_NAME = "AutoInjectMobileFeedbackButton";
|
|
export function lazyLoadAutoInjectFeedbackButtonIntegration() {
|
|
const client = getClient();
|
|
let r10 = client !== null ? client !== void 0 ? client.getIntegrationByName(name2) : void 0 : void 0;
|
|
let r12 = void 0;
|
|
if (!r10) {
|
|
const client2 = getClient();
|
|
r10 = client2 === null;
|
|
r12 = client2;
|
|
}
|
|
if (!r10) {
|
|
r10 = r12 === void 0;
|
|
}
|
|
if (!r10) {
|
|
r12.addIntegration({
|
|
name: name2
|
|
});
|
|
}
|
|
}
|
|
export const AUTO_INJECT_SCREENSHOT_BUTTON_INTEGRATION_NAME = "AutoInjectMobileScreenshotButton";
|
|
export function lazyLoadAutoInjectScreenshotButtonIntegration() {
|
|
const client = getClient();
|
|
let r10 = client !== null ? client !== void 0 ? client.getIntegrationByName(name3) : void 0 : void 0;
|
|
let r12 = void 0;
|
|
if (!r10) {
|
|
const client2 = getClient();
|
|
r10 = client2 === null;
|
|
r12 = client2;
|
|
}
|
|
if (!r10) {
|
|
r10 = r12 === void 0;
|
|
}
|
|
if (!r10) {
|
|
r12.addIntegration({
|
|
name: name3
|
|
});
|
|
}
|
|
}
|