39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
// Module ID: 14666
|
|
// Function ID: 14667
|
|
// Dependencies: [4380, 1943, 1945, 4763, 14667, 1896, 4527, 14668, 14670, 2]
|
|
|
|
// Module 14666
|
|
import set from "set" /* 2 */;
|
|
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
|
|
import DismissibleContent from "DismissibleContent" /* 1943 */;
|
|
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4527 */;
|
|
import _modDef4763 from "module_4763" /* 4763 */;
|
|
|
|
const PASSKEY_UPSELL_KEY = "PASSKEY_UPSELL_KEY";
|
|
let result = set.fileFinishedImporting("modules/webauthn/native/PasskeyUpsellActionCreators.tsx");
|
|
|
|
export default {
|
|
openPasskeyUpsell() {
|
|
if (!obj.UNSAFE_isDismissibleContentDismissed(DismissibleContent.DismissibleContent.PASSWORDLESS_UPSELL)) {
|
|
const self = this;
|
|
const markDismissibleContentAsShown = tmp(1945).requestMarkDismissibleContentAsShown(tmp(1943).DismissibleContent.PASSWORDLESS_UPSELL);
|
|
const result = this.openPasskeyUpsellPromoSheet();
|
|
const tmpResult = tmp(1945);
|
|
}
|
|
},
|
|
openPasskeyUpsellModal() {
|
|
_modDef4763.pushLazy(asyncRequireImpl(14667, dependencyMap.paths), undefined, PASSKEY_UPSELL_KEY);
|
|
},
|
|
closePasskeyUpsellModal() {
|
|
_modDef4763.popWithKey(PASSKEY_UPSELL_KEY);
|
|
},
|
|
openPasskeyUpsellPromoSheet() {
|
|
ACTION_SHEET_HEIGHT_HALFDefault.openLazy(asyncRequireImpl(14668, dependencyMap.paths), PASSKEY_UPSELL_KEY);
|
|
},
|
|
closePasskeyUpsellPromoSheet() {
|
|
ACTION_SHEET_HEIGHT_HALFDefault.hideActionSheet(PASSKEY_UPSELL_KEY);
|
|
},
|
|
openPasskeyUpsellPromoModal(closure_0) {
|
|
_modDef4763.pushLazy(asyncRequireImpl(14670, dependencyMap.paths), closure_0, PASSKEY_UPSELL_KEY);
|
|
}
|
|
};
|