decord/source/5556__isNativeReflectConstruct.js

498 lines
18 KiB
JavaScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 5556
// Function ID: 47192
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-24 07:16:23 +00:00
// Dependencies: [29, 6, 7, 15, 17, 18, 31, 27, 33, 5557, 5558, 5522, 5554, 5559, 5567, 5568, 5569]
2026-07-22 07:54:56 +00:00
// Exports: getIsModalPresentation
2026-07-20 16:05:17 +00:00
2026-07-24 07:16:23 +00:00
// Module 5556 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _objectWithoutProperties from "_objectWithoutProperties";
import result from "result";
import getActivityIndicator from "get ActivityIndicator";
2026-07-24 07:16:23 +00:00
import module_5568 from "module_5568";
2026-07-23 10:11:24 +00:00
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
import importAllResult from "result";
import get_ActivityIndicator from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-20 16:05:17 +00:00
let Platform;
let StyleSheet;
2026-07-23 10:11:24 +00:00
let closure_11;
let closure_12;
let closure_15;
let closure_16;
const require = arg1;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
let closure_3 = ["styleInterpolator", "interpolationIndex", "current", "gesture", "next", "layout", "insets", "overlay", "overlayEnabled", "shadowEnabled", "gestureEnabled", "gestureDirection", "pageOverflowEnabled", "headerDarkContent", "children", "containerStyle", "contentStyle"];
({ Animated: closure_11, InteractionManager: closure_12, Platform, StyleSheet } = get_ActivityIndicator);
const View = get_ActivityIndicator.View;
({ jsx: closure_15, jsxs: closure_16 } = jsxProd);
2026-07-22 07:54:56 +00:00
function hasOpacityStyle(arg0) {
let tmp2 = !tmp;
if (!!arg0) {
tmp2 = null != StyleSheet.flatten(arg0).opacity;
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
return tmp2;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let tmp5 = ((Component) => {
2026-07-22 07:54:56 +00:00
class Card {
constructor() {
2026-07-20 16:05:17 +00:00
self = this;
2026-07-23 10:11:24 +00:00
tmp = outer1_5(this, apply);
2026-07-22 07:54:56 +00:00
length = arguments.length;
array = new Array(length);
for (let num = 0; num < length; num = num + 1) {
array[num] = arguments[num];
}
2026-07-20 16:05:17 +00:00
items = [];
2026-07-22 07:54:56 +00:00
combined = items.concat(array);
2026-07-23 10:11:24 +00:00
obj = outer1_8(apply);
tmp4 = outer1_7;
if (outer1_19()) {
2026-07-22 07:54:56 +00:00
items1 = combined;
if (!combined) {
items1 = [];
}
2026-07-23 10:11:24 +00:00
tmp6 = outer1_8;
constructResult = Reflect.construct(obj, items1, outer1_8(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
2026-07-22 07:54:56 +00:00
constructResult = obj.apply(self, combined);
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
tmp4Result = tmp4(self, constructResult);
2026-07-23 10:11:24 +00:00
apply = tmp4Result;
2026-07-22 07:54:56 +00:00
tmp4Result.isCurrentlyMounted = false;
2026-07-23 10:11:24 +00:00
value = new outer1_11.Value(0);
2026-07-22 07:54:56 +00:00
tmp4Result.isClosing = value;
2026-07-23 10:11:24 +00:00
value1 = new outer1_11.Value(outer1_1(outer1_2[9])(tmp4Result.props.gestureDirection));
2026-07-22 07:54:56 +00:00
tmp4Result.inverted = value1;
obj = {};
2026-07-23 10:11:24 +00:00
value2 = new outer1_11.Value(tmp4Result.props.layout.width);
2026-07-22 07:54:56 +00:00
obj.width = value2;
2026-07-23 10:11:24 +00:00
value3 = new outer1_11.Value(tmp4Result.props.layout.height);
2026-07-22 07:54:56 +00:00
obj.height = value3;
tmp4Result.layout = obj;
2026-07-23 10:11:24 +00:00
value4 = new outer1_11.Value(0);
2026-07-22 07:54:56 +00:00
tmp4Result.isSwiping = value4;
tmp4Result.animate = (closing) => {
2026-07-23 10:11:24 +00:00
let closure_1;
let closure_2;
2026-07-22 07:54:56 +00:00
let onTransition;
let transitionSpec;
closing = closing.closing;
const velocity = closing.velocity;
2026-07-23 10:11:24 +00:00
const props = closing.props;
2026-07-22 07:54:56 +00:00
({ transitionSpec, onOpen: closure_1, onClose: closure_2, onTransition } = props);
2026-07-23 10:11:24 +00:00
const animateToValue = closing.getAnimateToValue(Object.assign({}, closing.props, { closing }));
2026-07-22 07:54:56 +00:00
closing.lastToValue = animateToValue;
2026-07-23 10:11:24 +00:00
const isClosing = closing.isClosing;
2026-07-22 07:54:56 +00:00
let num = 0;
if (closing) {
num = 1;
}
isClosing.setValue(num);
const tmp3 = closing ? transitionSpec.close : transitionSpec.open;
if ("spring" === tmp3.animation) {
2026-07-23 10:11:24 +00:00
let timing = outer2_11.spring;
2026-07-22 07:54:56 +00:00
} else {
2026-07-23 10:11:24 +00:00
timing = outer2_11.timing;
2026-07-22 07:54:56 +00:00
}
2026-07-23 10:11:24 +00:00
const result = closing.setPointerEventsEnabled(!closing);
const result1 = closing.handleStartInteraction();
2026-07-22 07:54:56 +00:00
clearTimeout(closing.pendingGestureCallback);
if (null != onTransition) {
const obj = { closing, gesture: undefined !== velocity };
onTransition(obj);
}
timing(props.gesture, Object.assign({}, tmp3.config, { velocity, toValue: animateToValue, useNativeDriver: true, isInteraction: false })).start((finished) => {
closing.handleEndInteraction();
clearTimeout(closing.pendingGestureCallback);
if (finished.finished) {
if (closing) {
callback2();
} else {
callback();
}
if (closing.isCurrentlyMounted) {
closing.forceUpdate();
}
2026-07-20 16:05:17 +00:00
}
});
};
2026-07-22 07:54:56 +00:00
tmp4Result.getAnimateToValue = (closing) => {
let num = 0;
if (closing.closing) {
2026-07-23 10:11:24 +00:00
num = outer2_1(outer2_2[10])(tmp, tmp2);
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
return num;
2026-07-20 16:05:17 +00:00
};
2026-07-22 07:54:56 +00:00
tmp4Result.setPointerEventsEnabled = (arg0) => {
let str = "none";
if (arg0) {
str = "box-none";
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
const current = tmp4Result.ref.current;
if (null != current) {
current.setPointerEvents(str);
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
};
tmp4Result.handleStartInteraction = () => {
if (undefined === tmp4Result.interactionHandle) {
2026-07-23 10:11:24 +00:00
tmp4Result.interactionHandle = outer2_12.createInteractionHandle();
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
};
tmp4Result.handleEndInteraction = () => {
if (undefined !== tmp4Result.interactionHandle) {
2026-07-23 10:11:24 +00:00
const result = outer2_12.clearInteractionHandle(tmp4Result.interactionHandle);
2026-07-22 07:54:56 +00:00
tmp4Result.interactionHandle = undefined;
}
};
tmp4Result.handleGestureStateChange = (nativeEvent) => {
2026-07-23 10:11:24 +00:00
let closure_0;
2026-07-22 07:54:56 +00:00
let gestureDirection;
let layout;
let onGestureBegin;
let onGestureCanceled;
let onGestureEnd;
let translationY;
let velocityY;
nativeEvent = nativeEvent.nativeEvent;
const props = tmp4Result.props;
({ layout, onClose: closure_0, onGestureBegin, onGestureCanceled, onGestureEnd, gestureDirection } = props);
const state = nativeEvent.state;
2026-07-23 10:11:24 +00:00
if (Card(outer2_2[11]).GestureState.ACTIVE === state) {
2026-07-22 07:54:56 +00:00
const isSwiping2 = tmp4Result.isSwiping;
isSwiping2.setValue(1);
const result = tmp4Result.handleStartInteraction();
if (null != onGestureBegin) {
onGestureBegin();
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
} else if (Card(outer2_2[11]).GestureState.CANCELLED === state) {
2026-07-22 07:54:56 +00:00
const isSwiping = tmp4Result.isSwiping;
isSwiping.setValue(0);
tmp4Result.handleEndInteraction();
if ("vertical" !== gestureDirection) {
if ("vertical-inverted" !== gestureDirection) {
let velocityY2 = nativeEvent.velocityX;
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
let obj = { closing: tmp4Result.props.closing, velocity: velocityY2 };
tmp4Result.animate(obj);
if (null != onGestureCanceled) {
onGestureCanceled();
2026-07-20 16:05:17 +00:00
}
}
2026-07-22 07:54:56 +00:00
velocityY2 = nativeEvent.velocityY;
2026-07-23 10:11:24 +00:00
} else if (Card(outer2_2[11]).GestureState.END === state) {
2026-07-22 07:54:56 +00:00
const isSwiping3 = tmp4Result.isSwiping;
isSwiping3.setValue(0);
if ("vertical" !== gestureDirection) {
if ("vertical-inverted" !== gestureDirection) {
let height = layout.width;
({ translationX: translationY, velocityX: velocityY } = nativeEvent);
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
const sum = translationY + velocityY * props.gestureVelocityImpact;
2026-07-23 10:11:24 +00:00
if (sum * outer2_1(outer2_2[9])(gestureDirection) > height / 2) {
2026-07-22 07:54:56 +00:00
let closing = 0 !== velocityY || 0 !== translationY;
const tmp5 = 0 !== velocityY || 0 !== translationY;
2026-07-20 16:05:17 +00:00
} else {
2026-07-22 07:54:56 +00:00
closing = tmp4Result.props.closing;
}
obj = { closing, velocity: velocityY };
tmp4Result.animate(obj);
if (closing) {
const _setTimeout = setTimeout;
tmp4Result.pendingGestureCallback = setTimeout(() => {
2026-07-23 10:11:24 +00:00
callback();
outer1_0.forceUpdate();
2026-07-22 07:54:56 +00:00
}, 32);
}
if (null != onGestureEnd) {
onGestureEnd();
2026-07-20 16:05:17 +00:00
}
}
2026-07-22 07:54:56 +00:00
height = layout.height;
({ translationY, velocityY } = nativeEvent);
}
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
tmp4Result.getInterpolatedStyle = outer1_1(outer1_2[12])((arg0, arg1) => arg0(arg1));
tmp4Result.getCardAnimation = outer1_1(outer1_2[12])((index, progress, progress2, screen, top, right, bottom, left) => {
obj = { index, current: obj };
2026-07-22 07:54:56 +00:00
obj = { progress };
let tmp = progress2;
if (progress2) {
obj = { progress: progress2 };
tmp = obj;
}
obj.next = tmp;
obj.closing = tmp4Result.isClosing;
obj.swiping = tmp4Result.isSwiping;
obj.inverted = tmp4Result.inverted;
obj.layouts = { screen };
obj.insets = { top, right, bottom, left };
return obj;
});
2026-07-23 10:11:24 +00:00
tmp4Result.ref = outer1_10.createRef();
2026-07-22 07:54:56 +00:00
return tmp4Result;
}
}
callback2(Card, Component);
let obj = {
key: "componentDidMount",
value: function componentDidMount() {
this.animate({ closing: this.props.closing });
this.isCurrentlyMounted = true;
}
};
2026-07-23 10:11:24 +00:00
let items = [obj, , , , ];
2026-07-22 07:54:56 +00:00
obj = {
key: "componentDidUpdate",
value: function componentDidUpdate(layout) {
let gestureDirection;
let height;
let width;
const self = this;
const props = this.props;
({ layout, gestureDirection } = props);
({ width, height } = layout);
if (width !== layout.layout.width) {
const width2 = self.layout.width;
width2.setValue(width);
}
if (height !== layout.layout.height) {
const height2 = self.layout.height;
height2.setValue(height);
}
if (gestureDirection !== layout.gestureDirection) {
const inverted = self.inverted;
2026-07-23 10:11:24 +00:00
inverted.setValue(outer1_1(outer1_2[9])(gestureDirection));
2026-07-22 07:54:56 +00:00
}
const animateToValue = self.getAnimateToValue(self.props);
if (!tmp7) {
const obj = { closing: props.closing };
self.animate(obj);
2026-07-20 16:05:17 +00:00
}
}
};
2026-07-22 07:54:56 +00:00
items[1] = obj;
2026-07-20 16:05:17 +00:00
obj = {
2026-07-22 07:54:56 +00:00
key: "componentWillUnmount",
value: function componentWillUnmount() {
const gesture = this.props.gesture;
gesture.stopAnimation();
this.isCurrentlyMounted = false;
this.handleEndInteraction();
}
};
items[2] = obj;
items[3] = {
key: "gestureActivationCriteria",
value: function gestureActivationCriteria() {
let gestureDirection;
let gestureResponseDistance;
let layout;
({ layout, gestureDirection, gestureResponseDistance } = this.props);
if (undefined === gestureResponseDistance) {
if ("vertical" === gestureDirection) {
let num = 135;
} else {
num = 50;
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
gestureResponseDistance = num;
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
if ("vertical" === gestureDirection) {
2026-07-23 10:11:24 +00:00
let obj = { maxDeltaX: 15, minOffsetY: 5, hitSlop: null, enableTrackpadTwoFingerGesture: true };
2026-07-22 07:54:56 +00:00
obj = { bottom: -layout.height + gestureResponseDistance };
obj.hitSlop = obj;
return obj;
} else if ("vertical-inverted" === gestureDirection) {
2026-07-23 10:11:24 +00:00
const obj1 = { maxDeltaX: 15, minOffsetY: -5, hitSlop: null, enableTrackpadTwoFingerGesture: true };
2026-07-22 07:54:56 +00:00
const obj2 = { top: -layout.height + gestureResponseDistance };
obj1.hitSlop = obj2;
return obj1;
} else {
const sum = -layout.width + gestureResponseDistance;
2026-07-23 10:11:24 +00:00
if (1 === outer1_1(outer1_2[9])(gestureDirection)) {
const obj3 = { minOffsetX: 5, maxDeltaY: 20, hitSlop: null, enableTrackpadTwoFingerGesture: true };
2026-07-22 07:54:56 +00:00
const obj4 = { right: sum };
obj3.hitSlop = obj4;
obj = obj3;
} else {
2026-07-23 10:11:24 +00:00
obj = { minOffsetX: -5, maxDeltaY: 20, hitSlop: null, enableTrackpadTwoFingerGesture: true };
2026-07-22 07:54:56 +00:00
const obj5 = { left: sum };
obj.hitSlop = obj5;
}
return obj;
}
}
};
items[4] = {
key: "render",
value: function render() {
let cardStyle;
let children;
let containerStyle;
let contentStyle;
let current;
let gesture;
let gestureDirection;
let gestureEnabled;
let headerDarkContent;
let insets;
let interpolationIndex;
let layout;
let next;
let overlay;
let overlayEnabled;
let pageOverflowEnabled;
let shadowEnabled;
let shadowStyle;
let styleInterpolator;
const self = this;
const props = this.props;
({ interpolationIndex, current, gesture, layout, insets, gestureEnabled, gestureDirection, headerDarkContent, contentStyle } = props);
({ styleInterpolator, next, overlay, overlayEnabled, shadowEnabled, pageOverflowEnabled, children, containerStyle } = props);
const cardAnimation = this.getCardAnimation(interpolationIndex, current, next, layout, insets.top, insets.right, insets.bottom, insets.left);
const interpolatedStyle = this.getInterpolatedStyle(styleInterpolator, cardAnimation);
({ cardStyle, shadowStyle } = interpolatedStyle);
if (!gestureEnabled) {
let obj = contentStyle;
if (!contentStyle) {
obj = {};
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
const backgroundColor = outer1_13.flatten(obj).backgroundColor;
2026-07-22 07:54:56 +00:00
let tmp10 = "string" === typeof backgroundColor;
if (tmp10) {
2026-07-23 10:11:24 +00:00
let obj4 = outer1_1(outer1_2[13])(backgroundColor);
2026-07-22 07:54:56 +00:00
tmp10 = 0 === obj4.alpha();
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
obj = { value: cardAnimation };
const obj1 = {};
const obj2 = { opacity: current };
obj1.style = obj2;
obj1.collapsable = false;
2026-07-23 10:11:24 +00:00
const items = [null, outer1_15(outer1_11.View, obj1)];
2026-07-22 07:54:56 +00:00
const obj3 = {};
let tmp20 = null;
if (overlayEnabled) {
2026-07-23 10:11:24 +00:00
obj4 = { pointerEvents: "box-none", style: outer1_13.absoluteFill };
2026-07-22 07:54:56 +00:00
const obj5 = { style: tmp5 };
obj4.children = overlay(obj5);
2026-07-23 10:11:24 +00:00
tmp20 = outer1_15(outer1_14, obj4);
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
const items1 = [tmp20, ];
const obj6 = {};
2026-07-23 10:11:24 +00:00
const items2 = [outer1_18.container, tmp4, containerStyle];
2026-07-22 07:54:56 +00:00
obj6.style = items2;
obj6.pointerEvents = "box-none";
const obj7 = {};
let tmp29 = 0 !== layout.width;
if (tmp29) {
tmp29 = gestureEnabled;
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
obj7.enabled = tmp29;
obj7.onGestureEvent = undefined;
obj7.onHandlerStateChange = self.handleGestureStateChange;
const obj8 = {};
const obj9 = {};
const result = self.gestureActivationCriteria();
2026-07-23 10:11:24 +00:00
obj9.needsOffscreenAlphaCompositing = outer1_17(cardStyle);
const items3 = [outer1_18.container, cardStyle];
2026-07-22 07:54:56 +00:00
obj9.style = items3;
let tmp35 = null;
if (shadowEnabled) {
tmp35 = null;
if (shadowStyle) {
tmp35 = null;
if (!tmp10) {
const obj10 = {};
2026-07-23 10:11:24 +00:00
let str5 = [outer1_18.shadow, , , ];
2026-07-22 07:54:56 +00:00
if ("horizontal" === gestureDirection) {
2026-07-23 10:11:24 +00:00
const items4 = [outer1_18.shadowHorizontal, outer1_18.shadowLeft];
2026-07-22 07:54:56 +00:00
let items7 = items4;
} else if ("horizontal-inverted" === gestureDirection) {
2026-07-23 10:11:24 +00:00
const items5 = [outer1_18.shadowHorizontal, outer1_18.shadowRight];
2026-07-22 07:54:56 +00:00
items7 = items5;
} else if ("vertical" === gestureDirection) {
2026-07-23 10:11:24 +00:00
const items6 = [outer1_18.shadowVertical, outer1_18.shadowTop];
2026-07-22 07:54:56 +00:00
items7 = items6;
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
items7 = [outer1_18.shadowVertical, outer1_18.shadowBottom];
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
str5[1] = items7;
const obj11 = { backgroundColor };
str5[2] = obj11;
str5[3] = shadowStyle;
obj10.style = str5;
str5 = "none";
obj10.pointerEvents = "none";
2026-07-23 10:11:24 +00:00
outer1_15(outer1_11.View, obj10);
const tmp36 = outer1_15;
2026-07-20 16:05:17 +00:00
}
}
}
2026-07-22 07:54:56 +00:00
const items8 = [tmp35, ];
const obj12 = { ref: self.ref, enabled: pageOverflowEnabled, layout, style: contentStyle, children };
2026-07-23 10:11:24 +00:00
items8[1] = outer1_15(outer1_1(outer1_2[15]), obj12);
2026-07-22 07:54:56 +00:00
obj9.children = items8;
2026-07-23 10:11:24 +00:00
obj8.children = outer1_16(outer1_11.View, obj9);
obj6.children = outer1_15(Card(outer1_2[11]).PanGestureHandler, Object.assign(obj7, result, obj8));
items1[1] = outer1_15(outer1_11.View, obj6);
2026-07-22 07:54:56 +00:00
obj3.children = items1;
2026-07-23 10:11:24 +00:00
items[2] = outer1_16(outer1_14, Object.assign({ pointerEvents: "box-none", collapsable: false }, tmp, obj3));
2026-07-22 07:54:56 +00:00
obj.children = items;
2026-07-23 10:11:24 +00:00
return outer1_16(outer1_1(outer1_2[14]).Provider, obj);
2026-07-22 07:54:56 +00:00
} else {
obj = {};
if ("vertical" !== gestureDirection) {
if ("vertical-inverted" !== gestureDirection) {
let obj13 = { translationX: gesture };
}
obj.nativeEvent = obj13;
const items9 = [obj];
obj = { useNativeDriver: true };
tmp7(items9, obj);
}
const obj14 = { translationY: gesture };
obj13 = obj14;
}
2026-07-20 16:05:17 +00:00
}
};
2026-07-22 07:54:56 +00:00
return callback(Card, items);
2026-07-23 10:11:24 +00:00
})(importAllResult.Component);
let obj = {
shadowEnabled: false,
gestureEnabled: true,
gestureVelocityImpact: 0.3,
2026-07-22 07:54:56 +00:00
overlay(style) {
style = style.style;
let tmp = null;
if (style) {
const obj = { pointerEvents: "none" };
const items = [overlay.overlay, style];
obj.style = items;
tmp = callback3(RN.View, obj);
}
return tmp;
}
};
2026-07-23 10:11:24 +00:00
tmp5.defaultProps = obj;
obj = { top: 0, bottom: 0, width: 3, shadowOffset: { width: -1, height: 1 } };
obj = { left: 0, right: 0, height: 3, shadowOffset: { width: 1, height: -1 } };
const styles = StyleSheet.create({ container: { flex: 1 }, overlay: { flex: 1, backgroundColor: "#000" }, shadow: { position: "absolute", shadowRadius: 5, shadowColor: "#000", shadowOpacity: 0.3 }, shadowHorizontal: obj, shadowLeft: { left: 0 }, shadowRight: { right: 0 }, shadowVertical: obj, shadowTop: { top: 0 }, shadowBottom: { bottom: 0 } });
2026-07-22 07:54:56 +00:00
export default tmp5;
export const getIsModalPresentation = function getIsModalPresentation(cardStyleInterpolator) {
2026-07-24 07:16:23 +00:00
let tmp = cardStyleInterpolator === require(5569) /* Animated */.forModalPresentationIOS;
2026-07-22 07:54:56 +00:00
if (!tmp) {
tmp = "forModalPresentationIOS" === cardStyleInterpolator.name;
}
return tmp;
};