@apps-in-toss/web-framework 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/prebuilt/dev.android.js +1045 -362
- package/dist/prebuilt/dev.ios.js +1045 -362
- package/dist/prebuilt/prod.android.js +2174 -544
- package/dist/prebuilt/prod.ios.js +2176 -546
- package/dist/prebuilt/prod.json +4 -4
- package/package.json +8 -8
- package/dist/cli/chunk-34QS4NNF.js +0 -173587
- package/dist/cli/chunk-HDRFXOPA.js +0 -63
- package/dist/cli/chunk-RUDG2MMT.js +0 -173587
- package/dist/cli/lib-NMFBQRQ2.js +0 -1007
- package/dist/cli/typescript-THSIDFIK.js +0 -6
- package/dist/cli/typescript-YVXHBAAI.js +0 -6
|
@@ -21584,14 +21584,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
21584
21584
|
// ../../.yarn/cache/@toss-design-system-spring-easing-npm-0.0.1-e5bc41bd72-fa9b42ff5e.zip/node_modules/@toss-design-system/spring-easing/dist/esm/getSpringEasing.js
|
|
21585
21585
|
function getSpringEasing(param) {
|
|
21586
21586
|
var _param_stiffness = param.stiffness, stiffness = _param_stiffness === void 0 ? 100 : _param_stiffness, _param_damping = param.damping, damping = _param_damping === void 0 ? 10 : _param_damping, _param_mass = param.mass, mass = _param_mass === void 0 ? 1 : _param_mass, _param_velocity = param.velocity, velocity = _param_velocity === void 0 ? 0 : _param_velocity;
|
|
21587
|
-
var
|
|
21587
|
+
var spring5 = new Spring({
|
|
21588
21588
|
stiffness,
|
|
21589
21589
|
damping,
|
|
21590
21590
|
mass,
|
|
21591
21591
|
velocity
|
|
21592
21592
|
});
|
|
21593
|
-
var duration =
|
|
21594
|
-
var easeFunction =
|
|
21593
|
+
var duration = spring5.totalDuration;
|
|
21594
|
+
var easeFunction = spring5.getEaseFunction();
|
|
21595
21595
|
return {
|
|
21596
21596
|
duration,
|
|
21597
21597
|
easeFunction
|
|
@@ -21661,8 +21661,8 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
21661
21661
|
}
|
|
21662
21662
|
};
|
|
21663
21663
|
springEaseWithDuration = Object.fromEntries(Object.entries(spring).map(function(param) {
|
|
21664
|
-
var _param = _sliced_to_array(param, 2), springType = _param[0],
|
|
21665
|
-
var springEasing = getSpringEasing(
|
|
21664
|
+
var _param = _sliced_to_array(param, 2), springType = _param[0], spring5 = _param[1];
|
|
21665
|
+
var springEasing = getSpringEasing(spring5);
|
|
21666
21666
|
return [
|
|
21667
21667
|
springType,
|
|
21668
21668
|
_object_spread_props(_object_spread({}, springEasing), {
|
|
@@ -30720,7 +30720,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
30720
30720
|
};
|
|
30721
30721
|
overlay.open(function(param2) {
|
|
30722
30722
|
var isOpen = param2.isOpen, exit = param2.exit, close = param2.close;
|
|
30723
|
-
var
|
|
30723
|
+
var overlayStyle2 = function() {
|
|
30724
30724
|
if (placement === "bottom-start") {
|
|
30725
30725
|
var _targetLayout_LayoutKey_pageY, _targetLayout_LayoutKey_height;
|
|
30726
30726
|
return {
|
|
@@ -30754,7 +30754,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
30754
30754
|
children: isOpen ? (0, import_jsx_runtime102.jsx)(FloatingOverlay, {
|
|
30755
30755
|
ref: dropdownTmpRef,
|
|
30756
30756
|
style: [
|
|
30757
|
-
|
|
30757
|
+
overlayStyle2
|
|
30758
30758
|
],
|
|
30759
30759
|
placement,
|
|
30760
30760
|
children: dropdown
|
|
@@ -32705,19 +32705,299 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
32705
32705
|
}
|
|
32706
32706
|
});
|
|
32707
32707
|
|
|
32708
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/loader/Loader.js
|
|
32709
|
+
function _Loader(param) {
|
|
32710
|
+
var _param_size = param.size, size = _param_size === void 0 ? DEFAULT_PROPS.size : _param_size, _param_type = param.type, type = _param_type === void 0 ? DEFAULT_PROPS.type : _param_type, customStrokeColor = param.customStrokeColor, customSize = param.customSize;
|
|
32711
|
+
var rotationRef = (0, import_react123.useRef)(new import_react_native102.Animated.Value(0)).current;
|
|
32712
|
+
var turnRef = (0, import_react123.useRef)(new import_react_native102.Animated.Value(0)).current;
|
|
32713
|
+
var progressRef = (0, import_react123.useRef)(new import_react_native102.Animated.Value(0)).current;
|
|
32714
|
+
var rotationAnim = rotationRef.interpolate({
|
|
32715
|
+
inputRange: [
|
|
32716
|
+
0,
|
|
32717
|
+
1
|
|
32718
|
+
],
|
|
32719
|
+
outputRange: [
|
|
32720
|
+
"0deg",
|
|
32721
|
+
"360deg"
|
|
32722
|
+
]
|
|
32723
|
+
});
|
|
32724
|
+
var circleAnim = progressRef.interpolate({
|
|
32725
|
+
inputRange: [
|
|
32726
|
+
0,
|
|
32727
|
+
1,
|
|
32728
|
+
2
|
|
32729
|
+
],
|
|
32730
|
+
outputRange: [
|
|
32731
|
+
180,
|
|
32732
|
+
45,
|
|
32733
|
+
180
|
|
32734
|
+
]
|
|
32735
|
+
});
|
|
32736
|
+
var turnAnim = turnRef.interpolate({
|
|
32737
|
+
inputRange: [
|
|
32738
|
+
0,
|
|
32739
|
+
1,
|
|
32740
|
+
2
|
|
32741
|
+
],
|
|
32742
|
+
outputRange: [
|
|
32743
|
+
"0deg",
|
|
32744
|
+
"108deg",
|
|
32745
|
+
"360deg"
|
|
32746
|
+
]
|
|
32747
|
+
});
|
|
32748
|
+
var strokeColor = customStrokeColor !== null && customStrokeColor !== void 0 ? customStrokeColor : strokeColorByType[type];
|
|
32749
|
+
var svgSize = customSize !== null && customSize !== void 0 ? customSize : sizeMap[size];
|
|
32750
|
+
(0, import_react123.useEffect)(function() {
|
|
32751
|
+
import_react_native102.Animated.loop(import_react_native102.Animated.sequence([
|
|
32752
|
+
import_react_native102.Animated.timing(progressRef, {
|
|
32753
|
+
toValue: 1,
|
|
32754
|
+
duration: 900,
|
|
32755
|
+
useNativeDriver: true,
|
|
32756
|
+
easing: import_react_native102.Easing.inOut(import_react_native102.Easing.ease)
|
|
32757
|
+
}),
|
|
32758
|
+
import_react_native102.Animated.timing(progressRef, {
|
|
32759
|
+
toValue: 2,
|
|
32760
|
+
useNativeDriver: true,
|
|
32761
|
+
duration: 900,
|
|
32762
|
+
easing: import_react_native102.Easing.inOut(import_react_native102.Easing.ease)
|
|
32763
|
+
})
|
|
32764
|
+
]), {
|
|
32765
|
+
iterations: Infinity
|
|
32766
|
+
}).start();
|
|
32767
|
+
import_react_native102.Animated.loop(import_react_native102.Animated.sequence([
|
|
32768
|
+
import_react_native102.Animated.timing(turnRef, {
|
|
32769
|
+
toValue: 1,
|
|
32770
|
+
duration: 900,
|
|
32771
|
+
useNativeDriver: true,
|
|
32772
|
+
easing: import_react_native102.Easing.inOut(import_react_native102.Easing.ease)
|
|
32773
|
+
}),
|
|
32774
|
+
import_react_native102.Animated.timing(turnRef, {
|
|
32775
|
+
toValue: 2,
|
|
32776
|
+
useNativeDriver: true,
|
|
32777
|
+
duration: 900,
|
|
32778
|
+
easing: import_react_native102.Easing.inOut(import_react_native102.Easing.ease)
|
|
32779
|
+
})
|
|
32780
|
+
]), {
|
|
32781
|
+
iterations: Infinity
|
|
32782
|
+
}).start();
|
|
32783
|
+
import_react_native102.Animated.loop(import_react_native102.Animated.sequence([
|
|
32784
|
+
import_react_native102.Animated.timing(rotationRef, {
|
|
32785
|
+
toValue: 0,
|
|
32786
|
+
duration: 0,
|
|
32787
|
+
useNativeDriver: true,
|
|
32788
|
+
easing: import_react_native102.Easing.linear
|
|
32789
|
+
}),
|
|
32790
|
+
import_react_native102.Animated.timing(rotationRef, {
|
|
32791
|
+
toValue: 1,
|
|
32792
|
+
duration: 1800,
|
|
32793
|
+
useNativeDriver: true,
|
|
32794
|
+
easing: import_react_native102.Easing.linear
|
|
32795
|
+
})
|
|
32796
|
+
]), {
|
|
32797
|
+
iterations: Infinity
|
|
32798
|
+
}).start();
|
|
32799
|
+
}, [
|
|
32800
|
+
progressRef,
|
|
32801
|
+
rotationRef,
|
|
32802
|
+
turnRef
|
|
32803
|
+
]);
|
|
32804
|
+
return (0, import_jsx_runtime142.jsx)(AnimatedView, {
|
|
32805
|
+
style: {
|
|
32806
|
+
width: svgSize,
|
|
32807
|
+
height: svgSize,
|
|
32808
|
+
transform: [
|
|
32809
|
+
{
|
|
32810
|
+
rotate: turnAnim
|
|
32811
|
+
}
|
|
32812
|
+
]
|
|
32813
|
+
},
|
|
32814
|
+
children: (0, import_jsx_runtime142.jsx)(AnimatedSvg3, {
|
|
32815
|
+
width: svgSize,
|
|
32816
|
+
height: svgSize,
|
|
32817
|
+
viewBox: "0 0 66 66",
|
|
32818
|
+
stroke: strokeColor,
|
|
32819
|
+
style: [
|
|
32820
|
+
{
|
|
32821
|
+
transform: [
|
|
32822
|
+
{
|
|
32823
|
+
rotate: rotationAnim
|
|
32824
|
+
}
|
|
32825
|
+
]
|
|
32826
|
+
}
|
|
32827
|
+
],
|
|
32828
|
+
children: (0, import_jsx_runtime142.jsx)(AnimatedCircle, {
|
|
32829
|
+
fill: "none",
|
|
32830
|
+
strokeWidth: "6",
|
|
32831
|
+
strokeLinecap: "round",
|
|
32832
|
+
cx: "33",
|
|
32833
|
+
cy: "33",
|
|
32834
|
+
r: "30",
|
|
32835
|
+
strokeDashoffset: circleAnim,
|
|
32836
|
+
strokeDasharray: 180
|
|
32837
|
+
})
|
|
32838
|
+
})
|
|
32839
|
+
});
|
|
32840
|
+
}
|
|
32841
|
+
function DelayLoader(_param) {
|
|
32842
|
+
var _param_delay = _param.delay, delay2 = _param_delay === void 0 ? 700 : _param_delay, props = _object_without_properties(_param, [
|
|
32843
|
+
"delay"
|
|
32844
|
+
]);
|
|
32845
|
+
var opacityRef = (0, import_react123.useRef)(new import_react_native102.Animated.Value(0)).current;
|
|
32846
|
+
(0, import_react123.useEffect)(function() {
|
|
32847
|
+
import_react_native102.Animated.timing(opacityRef, {
|
|
32848
|
+
toValue: 1,
|
|
32849
|
+
delay: delay2,
|
|
32850
|
+
duration: 0,
|
|
32851
|
+
useNativeDriver: true
|
|
32852
|
+
}).start();
|
|
32853
|
+
}, [
|
|
32854
|
+
delay2,
|
|
32855
|
+
opacityRef
|
|
32856
|
+
]);
|
|
32857
|
+
return (0, import_jsx_runtime142.jsx)(AnimatedView, {
|
|
32858
|
+
style: {
|
|
32859
|
+
opacity: opacityRef
|
|
32860
|
+
},
|
|
32861
|
+
children: (0, import_jsx_runtime142.jsx)(_Loader, _object_spread({}, props))
|
|
32862
|
+
});
|
|
32863
|
+
}
|
|
32864
|
+
function Loader(_param) {
|
|
32865
|
+
var delay2 = _param.delay, label = _param.label, _param_size = _param.size, size = _param_size === void 0 ? DEFAULT_PROPS.size : _param_size, _param_type = _param.type, type = _param_type === void 0 ? DEFAULT_PROPS.type : _param_type, style = _param.style, props = _object_without_properties(_param, [
|
|
32866
|
+
"delay",
|
|
32867
|
+
"label",
|
|
32868
|
+
"size",
|
|
32869
|
+
"type",
|
|
32870
|
+
"style"
|
|
32871
|
+
]);
|
|
32872
|
+
var adaptive2 = useAdaptive();
|
|
32873
|
+
var labelColorByType = (0, import_react123.useMemo)(function() {
|
|
32874
|
+
return getLabelColorByType({
|
|
32875
|
+
grey800: adaptive2.grey800
|
|
32876
|
+
});
|
|
32877
|
+
}, [
|
|
32878
|
+
adaptive2.grey800
|
|
32879
|
+
]);
|
|
32880
|
+
return (0, import_jsx_runtime142.jsxs)(import_react_native102.View, {
|
|
32881
|
+
style: [
|
|
32882
|
+
{
|
|
32883
|
+
alignItems: "center"
|
|
32884
|
+
},
|
|
32885
|
+
style
|
|
32886
|
+
],
|
|
32887
|
+
children: [
|
|
32888
|
+
delay2 != null ? (0, import_jsx_runtime142.jsx)(DelayLoader, _object_spread({
|
|
32889
|
+
delay: delay2,
|
|
32890
|
+
size,
|
|
32891
|
+
type
|
|
32892
|
+
}, props)) : (0, import_jsx_runtime142.jsx)(_Loader, _object_spread({
|
|
32893
|
+
size,
|
|
32894
|
+
type
|
|
32895
|
+
}, props)),
|
|
32896
|
+
label != null ? (0, import_jsx_runtime142.jsx)(Txt_default, {
|
|
32897
|
+
typography: "t6",
|
|
32898
|
+
color: labelColorByType[type],
|
|
32899
|
+
style: {
|
|
32900
|
+
marginTop: spacingBySize[size]
|
|
32901
|
+
},
|
|
32902
|
+
children: label
|
|
32903
|
+
}) : null
|
|
32904
|
+
]
|
|
32905
|
+
});
|
|
32906
|
+
}
|
|
32907
|
+
function CenteredLoader(_param) {
|
|
32908
|
+
var style = _param.style, props = _object_without_properties(_param, [
|
|
32909
|
+
"style"
|
|
32910
|
+
]);
|
|
32911
|
+
return (0, import_jsx_runtime142.jsx)(import_react_native102.View, {
|
|
32912
|
+
style: [
|
|
32913
|
+
{
|
|
32914
|
+
padding: 40,
|
|
32915
|
+
alignItems: "center"
|
|
32916
|
+
},
|
|
32917
|
+
style
|
|
32918
|
+
],
|
|
32919
|
+
children: (0, import_jsx_runtime142.jsx)(_Loader, _object_spread({}, props))
|
|
32920
|
+
});
|
|
32921
|
+
}
|
|
32922
|
+
function FullScreenLoader(_param) {
|
|
32923
|
+
var style = _param.style, props = _object_without_properties(_param, [
|
|
32924
|
+
"style"
|
|
32925
|
+
]);
|
|
32926
|
+
return (0, import_jsx_runtime142.jsx)(import_react_native102.View, {
|
|
32927
|
+
style: [
|
|
32928
|
+
{
|
|
32929
|
+
flex: 1,
|
|
32930
|
+
justifyContent: "center",
|
|
32931
|
+
alignItems: "center"
|
|
32932
|
+
},
|
|
32933
|
+
style
|
|
32934
|
+
],
|
|
32935
|
+
children: (0, import_jsx_runtime142.jsx)(Loader, _object_spread({}, props))
|
|
32936
|
+
});
|
|
32937
|
+
}
|
|
32938
|
+
var import_jsx_runtime142, import_react123, import_react_native102, AnimatedView, AnimatedSvg3, AnimatedCircle, DEFAULT_PROPS, sizeMap, strokeColorByType, spacingBySize, getLabelColorByType, Loader_default;
|
|
32939
|
+
var init_Loader = __esm({
|
|
32940
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/loader/Loader.js"() {
|
|
32941
|
+
init_object_spread();
|
|
32942
|
+
init_object_without_properties();
|
|
32943
|
+
import_jsx_runtime142 = __toESM(require_jsx_runtime());
|
|
32944
|
+
init_react_native_svg();
|
|
32945
|
+
init_esm();
|
|
32946
|
+
init_core();
|
|
32947
|
+
init_txt();
|
|
32948
|
+
import_react123 = __toESM(require_react());
|
|
32949
|
+
import_react_native102 = __toESM(require_react_native());
|
|
32950
|
+
AnimatedView = import_react_native102.Animated.createAnimatedComponent(import_react_native102.View);
|
|
32951
|
+
AnimatedSvg3 = import_react_native102.Animated.createAnimatedComponent(import_react_native_svg.default);
|
|
32952
|
+
AnimatedCircle = import_react_native102.Animated.createAnimatedComponent(react_native_svg_exports.Circle);
|
|
32953
|
+
DEFAULT_PROPS = {
|
|
32954
|
+
size: "large",
|
|
32955
|
+
type: "primary"
|
|
32956
|
+
};
|
|
32957
|
+
sizeMap = {
|
|
32958
|
+
small: 24,
|
|
32959
|
+
medium: 36,
|
|
32960
|
+
large: 48
|
|
32961
|
+
};
|
|
32962
|
+
strokeColorByType = {
|
|
32963
|
+
primary: "#3188ff",
|
|
32964
|
+
dark: colors.grey600,
|
|
32965
|
+
light: colors.white
|
|
32966
|
+
};
|
|
32967
|
+
spacingBySize = {
|
|
32968
|
+
small: 12,
|
|
32969
|
+
medium: 12,
|
|
32970
|
+
large: 16
|
|
32971
|
+
};
|
|
32972
|
+
getLabelColorByType = function(param) {
|
|
32973
|
+
var grey8004 = param.grey800;
|
|
32974
|
+
return {
|
|
32975
|
+
primary: grey8004,
|
|
32976
|
+
dark: grey8004,
|
|
32977
|
+
light: colors.white
|
|
32978
|
+
};
|
|
32979
|
+
};
|
|
32980
|
+
Loader.Delay = DelayLoader;
|
|
32981
|
+
Loader.FullScreen = FullScreenLoader;
|
|
32982
|
+
Loader.Centered = CenteredLoader;
|
|
32983
|
+
Loader_default = Loader;
|
|
32984
|
+
}
|
|
32985
|
+
});
|
|
32986
|
+
|
|
32708
32987
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/loader/index.js
|
|
32709
32988
|
var init_loader = __esm({
|
|
32710
32989
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/loader/index.js"() {
|
|
32990
|
+
init_Loader();
|
|
32711
32991
|
}
|
|
32712
32992
|
});
|
|
32713
32993
|
|
|
32714
32994
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/prevent-font-scaling/PreventFontScaling.ios.js
|
|
32715
32995
|
function PreventFontScaling(param) {
|
|
32716
32996
|
var limit = param.limit, children = param.children;
|
|
32717
|
-
var currentfontScale = (0,
|
|
32997
|
+
var currentfontScale = (0, import_react_native103.useWindowDimensions)().fontScale;
|
|
32718
32998
|
var normalizedCurrentFontScale = iosWindowFontScaleToNormalizeFontScale[currentfontScale];
|
|
32719
32999
|
var preventedTypographyLevel = getLimitedNormalizeFontScale(Math.min(normalizedCurrentFontScale, limit));
|
|
32720
|
-
return (0,
|
|
33000
|
+
return (0, import_jsx_runtime143.jsx)(TypographyThemeProvider, {
|
|
32721
33001
|
typographyLevel: preventedTypographyLevel,
|
|
32722
33002
|
children
|
|
32723
33003
|
});
|
|
@@ -32749,13 +33029,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
32749
33029
|
}
|
|
32750
33030
|
return "A11y_xxxLarge";
|
|
32751
33031
|
}
|
|
32752
|
-
var
|
|
33032
|
+
var import_jsx_runtime143, import_react_native103;
|
|
32753
33033
|
var init_PreventFontScaling_ios = __esm({
|
|
32754
33034
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/prevent-font-scaling/PreventFontScaling.ios.js"() {
|
|
32755
|
-
|
|
33035
|
+
import_jsx_runtime143 = __toESM(require_jsx_runtime());
|
|
32756
33036
|
init_constants3();
|
|
32757
33037
|
init_core();
|
|
32758
|
-
|
|
33038
|
+
import_react_native103 = __toESM(require_react_native());
|
|
32759
33039
|
}
|
|
32760
33040
|
});
|
|
32761
33041
|
|
|
@@ -32847,15 +33127,678 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
32847
33127
|
}
|
|
32848
33128
|
});
|
|
32849
33129
|
|
|
32850
|
-
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/table-row/index.js
|
|
32851
|
-
var init_table_row = __esm({
|
|
32852
|
-
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/table-row/index.js"() {
|
|
33130
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/table-row/index.js
|
|
33131
|
+
var init_table_row = __esm({
|
|
33132
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/table-row/index.js"() {
|
|
33133
|
+
}
|
|
33134
|
+
});
|
|
33135
|
+
|
|
33136
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/useTextLine.js
|
|
33137
|
+
var import_react124, useTextLine;
|
|
33138
|
+
var init_useTextLine = __esm({
|
|
33139
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/useTextLine.js"() {
|
|
33140
|
+
init_sliced_to_array();
|
|
33141
|
+
import_react124 = __toESM(require_react());
|
|
33142
|
+
useTextLine = function() {
|
|
33143
|
+
var _useState = _sliced_to_array((0, import_react124.useState)("single"), 2), textLine = _useState[0], setTextLine = _useState[1];
|
|
33144
|
+
var updateTextLine = function(param) {
|
|
33145
|
+
var lines = param.nativeEvent.lines;
|
|
33146
|
+
if (lines.length >= 2) {
|
|
33147
|
+
setTextLine("multiple");
|
|
33148
|
+
} else {
|
|
33149
|
+
setTextLine("single");
|
|
33150
|
+
}
|
|
33151
|
+
};
|
|
33152
|
+
return {
|
|
33153
|
+
textLine,
|
|
33154
|
+
updateTextLine
|
|
33155
|
+
};
|
|
33156
|
+
};
|
|
33157
|
+
}
|
|
33158
|
+
});
|
|
33159
|
+
|
|
33160
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/useTimer.js
|
|
33161
|
+
var import_react125, useTimer;
|
|
33162
|
+
var init_useTimer = __esm({
|
|
33163
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/useTimer.js"() {
|
|
33164
|
+
import_react125 = __toESM(require_react());
|
|
33165
|
+
useTimer = function(param) {
|
|
33166
|
+
var duration = param.duration, callback = param.callback;
|
|
33167
|
+
(0, import_react125.useEffect)(function() {
|
|
33168
|
+
var timeoutId = setTimeout(function() {
|
|
33169
|
+
callback();
|
|
33170
|
+
}, duration * 1e3);
|
|
33171
|
+
return function() {
|
|
33172
|
+
clearTimeout(timeoutId);
|
|
33173
|
+
};
|
|
33174
|
+
}, []);
|
|
33175
|
+
};
|
|
33176
|
+
}
|
|
33177
|
+
});
|
|
33178
|
+
|
|
33179
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/useToastAnimation.js
|
|
33180
|
+
var import_react126, useToastAnimation;
|
|
33181
|
+
var init_useToastAnimation = __esm({
|
|
33182
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/useToastAnimation.js"() {
|
|
33183
|
+
init_object_spread();
|
|
33184
|
+
import_react126 = __toESM(require_react());
|
|
33185
|
+
init_esm5();
|
|
33186
|
+
init_animated();
|
|
33187
|
+
useToastAnimation = function(param) {
|
|
33188
|
+
var position = param.position, initialY = param.initialY;
|
|
33189
|
+
var opacity = (0, import_react126.useRef)(new Animated20.Value(0)).current;
|
|
33190
|
+
var translateY = (0, import_react126.useRef)(new Animated20.Value(initialY !== null && initialY !== void 0 ? initialY : 0)).current;
|
|
33191
|
+
var enterAnimationStartedRef = (0, import_react126.useRef)(false);
|
|
33192
|
+
var enter = (0, import_react126.useCallback)(function() {
|
|
33193
|
+
return new Promise(function(resolve) {
|
|
33194
|
+
if (initialY === void 0) {
|
|
33195
|
+
resolve();
|
|
33196
|
+
return;
|
|
33197
|
+
}
|
|
33198
|
+
translateY.setValue(initialY);
|
|
33199
|
+
enterAnimationStartedRef.current = true;
|
|
33200
|
+
Animated20.parallel([
|
|
33201
|
+
Animated20.spring(opacity, _object_spread({
|
|
33202
|
+
toValue: 1,
|
|
33203
|
+
useNativeDriver: true
|
|
33204
|
+
}, position === "bottom" ? spring.quick : spring.small)),
|
|
33205
|
+
Animated20.spring(translateY, _object_spread({
|
|
33206
|
+
toValue: 0,
|
|
33207
|
+
useNativeDriver: true
|
|
33208
|
+
}, position === "bottom" ? spring.quick : spring.small))
|
|
33209
|
+
]).start(function() {
|
|
33210
|
+
resolve();
|
|
33211
|
+
});
|
|
33212
|
+
});
|
|
33213
|
+
}, [
|
|
33214
|
+
initialY,
|
|
33215
|
+
opacity,
|
|
33216
|
+
position,
|
|
33217
|
+
translateY
|
|
33218
|
+
]);
|
|
33219
|
+
(0, import_react126.useEffect)(function() {
|
|
33220
|
+
if (!enterAnimationStartedRef.current && initialY != null) {
|
|
33221
|
+
enter();
|
|
33222
|
+
}
|
|
33223
|
+
}, [
|
|
33224
|
+
initialY,
|
|
33225
|
+
enter
|
|
33226
|
+
]);
|
|
33227
|
+
var exit = function() {
|
|
33228
|
+
return new Promise(function(resolve) {
|
|
33229
|
+
if (initialY == null) {
|
|
33230
|
+
resolve();
|
|
33231
|
+
return;
|
|
33232
|
+
}
|
|
33233
|
+
Animated20.parallel([
|
|
33234
|
+
Animated20.spring(opacity, _object_spread({
|
|
33235
|
+
toValue: 0,
|
|
33236
|
+
useNativeDriver: true
|
|
33237
|
+
}, spring.quick)),
|
|
33238
|
+
Animated20.spring(translateY, _object_spread({
|
|
33239
|
+
toValue: initialY,
|
|
33240
|
+
useNativeDriver: true
|
|
33241
|
+
}, spring.quick))
|
|
33242
|
+
]).start(function() {
|
|
33243
|
+
resolve();
|
|
33244
|
+
});
|
|
33245
|
+
});
|
|
33246
|
+
};
|
|
33247
|
+
var animatedStyle = {
|
|
33248
|
+
opacity,
|
|
33249
|
+
transform: [
|
|
33250
|
+
{
|
|
33251
|
+
translateY
|
|
33252
|
+
}
|
|
33253
|
+
]
|
|
33254
|
+
};
|
|
33255
|
+
return {
|
|
33256
|
+
enter,
|
|
33257
|
+
exit,
|
|
33258
|
+
animatedStyle
|
|
33259
|
+
};
|
|
33260
|
+
};
|
|
33261
|
+
}
|
|
33262
|
+
});
|
|
33263
|
+
|
|
33264
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/useKeyboardAnimatedHeight.js
|
|
33265
|
+
function getInitialKeyboardHeight() {
|
|
33266
|
+
if (import_react_native104.Platform.OS !== "ios") {
|
|
33267
|
+
return 0;
|
|
33268
|
+
}
|
|
33269
|
+
if (typeof (import_react_native104.Keyboard === null || import_react_native104.Keyboard === void 0 ? void 0 : import_react_native104.Keyboard.metrics) === "function") {
|
|
33270
|
+
var _Keyboard_metrics;
|
|
33271
|
+
var _Keyboard_metrics_height;
|
|
33272
|
+
return (_Keyboard_metrics_height = (_Keyboard_metrics = import_react_native104.Keyboard.metrics()) === null || _Keyboard_metrics === void 0 ? void 0 : _Keyboard_metrics.height) !== null && _Keyboard_metrics_height !== void 0 ? _Keyboard_metrics_height : 0;
|
|
33273
|
+
} else {
|
|
33274
|
+
return 0;
|
|
33275
|
+
}
|
|
33276
|
+
}
|
|
33277
|
+
function useKeyboardAnimatedHeight2() {
|
|
33278
|
+
var keyboardHeight = (0, import_react127.useRef)(new import_react_native104.Animated.Value(getInitialKeyboardHeight())).current;
|
|
33279
|
+
(0, import_react127.useEffect)(function() {
|
|
33280
|
+
if (import_react_native104.Platform.OS === "ios") {
|
|
33281
|
+
var willShowSubscription = import_react_native104.Keyboard.addListener("keyboardWillShow", function(event) {
|
|
33282
|
+
var height = event.endCoordinates.height;
|
|
33283
|
+
import_react_native104.Animated.spring(keyboardHeight, _object_spread({
|
|
33284
|
+
toValue: height,
|
|
33285
|
+
useNativeDriver: true
|
|
33286
|
+
}, spring4.quick)).start();
|
|
33287
|
+
});
|
|
33288
|
+
var willHideSubscription = import_react_native104.Keyboard.addListener("keyboardWillHide", function() {
|
|
33289
|
+
import_react_native104.Animated.spring(keyboardHeight, _object_spread({
|
|
33290
|
+
toValue: 0,
|
|
33291
|
+
useNativeDriver: true
|
|
33292
|
+
}, spring4.quick)).start();
|
|
33293
|
+
});
|
|
33294
|
+
return function() {
|
|
33295
|
+
willShowSubscription.remove();
|
|
33296
|
+
willHideSubscription.remove();
|
|
33297
|
+
};
|
|
33298
|
+
} else {
|
|
33299
|
+
return;
|
|
33300
|
+
}
|
|
33301
|
+
}, [
|
|
33302
|
+
keyboardHeight
|
|
33303
|
+
]);
|
|
33304
|
+
return keyboardHeight;
|
|
33305
|
+
}
|
|
33306
|
+
var import_react127, import_react_native104, spring4;
|
|
33307
|
+
var init_useKeyboardAnimatedHeight2 = __esm({
|
|
33308
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/useKeyboardAnimatedHeight.js"() {
|
|
33309
|
+
init_object_spread();
|
|
33310
|
+
import_react127 = __toESM(require_react());
|
|
33311
|
+
import_react_native104 = __toESM(require_react_native());
|
|
33312
|
+
spring4 = {
|
|
33313
|
+
quick: {
|
|
33314
|
+
stiffness: 800,
|
|
33315
|
+
damping: 55,
|
|
33316
|
+
mass: 1
|
|
33317
|
+
}
|
|
33318
|
+
};
|
|
33319
|
+
}
|
|
33320
|
+
});
|
|
33321
|
+
|
|
33322
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/index.js
|
|
33323
|
+
var init_hooks2 = __esm({
|
|
33324
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/hooks/index.js"() {
|
|
33325
|
+
init_useTextLine();
|
|
33326
|
+
init_useTimer();
|
|
33327
|
+
init_useToastAnimation();
|
|
33328
|
+
init_useKeyboardAnimatedHeight2();
|
|
33329
|
+
}
|
|
33330
|
+
});
|
|
33331
|
+
|
|
33332
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastBottom.js
|
|
33333
|
+
var import_jsx_runtime144, import_react128, import_react_native105, AnimatedPressable, ToastBottom, marginHorizontal, styles26;
|
|
33334
|
+
var init_ToastBottom = __esm({
|
|
33335
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastBottom.js"() {
|
|
33336
|
+
init_sliced_to_array();
|
|
33337
|
+
import_jsx_runtime144 = __toESM(require_jsx_runtime());
|
|
33338
|
+
import_react128 = __toESM(require_react());
|
|
33339
|
+
import_react_native105 = __toESM(require_react_native());
|
|
33340
|
+
init_esm();
|
|
33341
|
+
init_core();
|
|
33342
|
+
init_animated();
|
|
33343
|
+
init_utils3();
|
|
33344
|
+
init_txt();
|
|
33345
|
+
init_hooks2();
|
|
33346
|
+
AnimatedPressable = Animated20.createAnimatedComponent(import_react_native105.Pressable);
|
|
33347
|
+
ToastBottom = function(param) {
|
|
33348
|
+
var open = param.open, text = param.text, icon = param.icon, button = param.button, _param_duration = param.duration, duration = _param_duration === void 0 ? button ? 5 : 3 : _param_duration, _param_bottomOffset = param.bottomOffset, bottomOffset = _param_bottomOffset === void 0 ? 20 : _param_bottomOffset, onClose = param.onClose, _param_onExited = param.onExited, onExited = _param_onExited === void 0 ? function() {
|
|
33349
|
+
} : _param_onExited, _param_onEntered = param.onEntered, onEntered = _param_onEntered === void 0 ? function() {
|
|
33350
|
+
} : _param_onEntered;
|
|
33351
|
+
var _animatedStyle_transform_;
|
|
33352
|
+
var _useWindowDimensions = (0, import_react_native105.useWindowDimensions)(), windowWidth = _useWindowDimensions.width;
|
|
33353
|
+
var _useState = _sliced_to_array((0, import_react128.useState)(), 2), height = _useState[0], setHeight = _useState[1];
|
|
33354
|
+
var safeAreaBottom = useSafeAreaBottom();
|
|
33355
|
+
var initialY = height ? bottomOffset + height + safeAreaBottom : void 0;
|
|
33356
|
+
var keyboardHeight = useKeyboardAnimatedHeight2();
|
|
33357
|
+
var _useTextLine = useTextLine(), textLine = _useTextLine.textLine, updateTextLine = _useTextLine.updateTextLine;
|
|
33358
|
+
var colorPreference = useColorPreference().colorPreference;
|
|
33359
|
+
var typographyLevel = useTypographyTheme().typographyLevel;
|
|
33360
|
+
var isLargeFontScale = import_react_native105.Platform.OS === "android" ? typographyLevel > 200 : typographyLevel === null || typographyLevel === void 0 ? void 0 : typographyLevel.startsWith("A11y_x");
|
|
33361
|
+
var _useToastAnimation = useToastAnimation({
|
|
33362
|
+
position: "bottom",
|
|
33363
|
+
initialY
|
|
33364
|
+
}), enter = _useToastAnimation.enter, exit = _useToastAnimation.exit, animatedStyle = _useToastAnimation.animatedStyle;
|
|
33365
|
+
var presenceState = useAnimatePresence(open, {
|
|
33366
|
+
enter,
|
|
33367
|
+
exit,
|
|
33368
|
+
onExited,
|
|
33369
|
+
onEntered
|
|
33370
|
+
}).presenceState;
|
|
33371
|
+
useTimer({
|
|
33372
|
+
duration,
|
|
33373
|
+
callback: onClose
|
|
33374
|
+
});
|
|
33375
|
+
if (presenceState === "invisible") {
|
|
33376
|
+
return null;
|
|
33377
|
+
}
|
|
33378
|
+
var _animatedStyle_transform__translateY;
|
|
33379
|
+
return (0, import_jsx_runtime144.jsxs)(AnimatedPressable, {
|
|
33380
|
+
onPress: onClose,
|
|
33381
|
+
onLayout: function(event) {
|
|
33382
|
+
setHeight(event.nativeEvent.layout.height);
|
|
33383
|
+
},
|
|
33384
|
+
style: [
|
|
33385
|
+
styles26.container,
|
|
33386
|
+
{
|
|
33387
|
+
opacity: animatedStyle.opacity,
|
|
33388
|
+
transform: [
|
|
33389
|
+
{
|
|
33390
|
+
translateY: Animated20.subtract((_animatedStyle_transform__translateY = (_animatedStyle_transform_ = animatedStyle.transform[0]) === null || _animatedStyle_transform_ === void 0 ? void 0 : _animatedStyle_transform_.translateY) !== null && _animatedStyle_transform__translateY !== void 0 ? _animatedStyle_transform__translateY : 0, keyboardHeight)
|
|
33391
|
+
}
|
|
33392
|
+
]
|
|
33393
|
+
},
|
|
33394
|
+
{
|
|
33395
|
+
flexDirection: isLargeFontScale ? "column" : "row",
|
|
33396
|
+
alignItems: isLargeFontScale ? "flex-start" : "center",
|
|
33397
|
+
gap: isLargeFontScale ? 10 : 0,
|
|
33398
|
+
width: button ? windowWidth - marginHorizontal * 2 : "auto",
|
|
33399
|
+
bottom: bottomOffset + safeAreaBottom,
|
|
33400
|
+
paddingLeft: icon ? 16 : 20,
|
|
33401
|
+
paddingRight: button ? 14 : 20,
|
|
33402
|
+
borderRadius: textLine === "single" ? 100 : 20,
|
|
33403
|
+
backgroundColor: colorPreference === "light" ? colors.grey500 : colors.darkThemeGrey200
|
|
33404
|
+
}
|
|
33405
|
+
],
|
|
33406
|
+
children: [
|
|
33407
|
+
(0, import_jsx_runtime144.jsxs)(import_react_native105.View, {
|
|
33408
|
+
style: [
|
|
33409
|
+
styles26.iconTextContainer,
|
|
33410
|
+
isLargeFontScale ? {
|
|
33411
|
+
width: "100%"
|
|
33412
|
+
} : {
|
|
33413
|
+
flexGrow: button ? 1 : 0,
|
|
33414
|
+
width: button ? 0 : "auto"
|
|
33415
|
+
}
|
|
33416
|
+
],
|
|
33417
|
+
children: [
|
|
33418
|
+
icon && (0, import_jsx_runtime144.jsx)(import_react_native105.View, {
|
|
33419
|
+
style: styles26.icon,
|
|
33420
|
+
children: icon
|
|
33421
|
+
}),
|
|
33422
|
+
(0, import_jsx_runtime144.jsx)(Txt_default, {
|
|
33423
|
+
onTextLayout: updateTextLine,
|
|
33424
|
+
typography: "t6",
|
|
33425
|
+
fontWeight: "semiBold",
|
|
33426
|
+
color: colors.white,
|
|
33427
|
+
children: text
|
|
33428
|
+
})
|
|
33429
|
+
]
|
|
33430
|
+
}),
|
|
33431
|
+
button ? (0, import_jsx_runtime144.jsx)(import_react_native105.View, {
|
|
33432
|
+
style: styles26.button,
|
|
33433
|
+
children: button
|
|
33434
|
+
}) : null
|
|
33435
|
+
]
|
|
33436
|
+
});
|
|
33437
|
+
};
|
|
33438
|
+
marginHorizontal = 20;
|
|
33439
|
+
styles26 = import_react_native105.StyleSheet.create({
|
|
33440
|
+
container: {
|
|
33441
|
+
position: "absolute",
|
|
33442
|
+
alignSelf: "center",
|
|
33443
|
+
zIndex: 100,
|
|
33444
|
+
flexDirection: "row",
|
|
33445
|
+
paddingVertical: 14,
|
|
33446
|
+
marginHorizontal
|
|
33447
|
+
},
|
|
33448
|
+
iconTextContainer: {
|
|
33449
|
+
flexDirection: "row",
|
|
33450
|
+
alignItems: "center"
|
|
33451
|
+
},
|
|
33452
|
+
icon: {
|
|
33453
|
+
marginRight: 12
|
|
33454
|
+
},
|
|
33455
|
+
button: {
|
|
33456
|
+
marginLeft: 20,
|
|
33457
|
+
flexShrink: 0
|
|
33458
|
+
}
|
|
33459
|
+
});
|
|
33460
|
+
}
|
|
33461
|
+
});
|
|
33462
|
+
|
|
33463
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastButton.js
|
|
33464
|
+
var import_jsx_runtime145, import_react129, import_react_native106, ToastButton, styles27;
|
|
33465
|
+
var init_ToastButton = __esm({
|
|
33466
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastButton.js"() {
|
|
33467
|
+
init_object_spread();
|
|
33468
|
+
init_object_spread_props();
|
|
33469
|
+
init_object_without_properties();
|
|
33470
|
+
import_jsx_runtime145 = __toESM(require_jsx_runtime());
|
|
33471
|
+
import_react129 = __toESM(require_react());
|
|
33472
|
+
import_react_native106 = __toESM(require_react_native());
|
|
33473
|
+
init_esm();
|
|
33474
|
+
init_animated();
|
|
33475
|
+
init_core();
|
|
33476
|
+
init_txt();
|
|
33477
|
+
ToastButton = function(_param) {
|
|
33478
|
+
var children = _param.children, props = _object_without_properties(_param, [
|
|
33479
|
+
"children"
|
|
33480
|
+
]);
|
|
33481
|
+
var colorPreference = useColorPreference().colorPreference;
|
|
33482
|
+
var overlayOpacityAnim = (0, import_react129.useRef)(new Animated20.Value(0)).current;
|
|
33483
|
+
return (0, import_jsx_runtime145.jsxs)(import_react_native106.Pressable, _object_spread_props(_object_spread({
|
|
33484
|
+
accessibilityRole: "button",
|
|
33485
|
+
onPressIn: function() {
|
|
33486
|
+
overlayOpacityAnim.setValue(0.1);
|
|
33487
|
+
},
|
|
33488
|
+
onPressOut: function() {
|
|
33489
|
+
overlayOpacityAnim.setValue(0);
|
|
33490
|
+
},
|
|
33491
|
+
style: [
|
|
33492
|
+
styles27.button,
|
|
33493
|
+
{
|
|
33494
|
+
backgroundColor: colorPreference === "light" ? colors.greyOpacity400 : colors.whiteOpacity100
|
|
33495
|
+
}
|
|
33496
|
+
]
|
|
33497
|
+
}, props), {
|
|
33498
|
+
children: [
|
|
33499
|
+
(0, import_jsx_runtime145.jsx)(Animated20.View, {
|
|
33500
|
+
style: _object_spread_props(_object_spread({}, import_react_native106.StyleSheet.absoluteFillObject), {
|
|
33501
|
+
backgroundColor: colors.black,
|
|
33502
|
+
opacity: overlayOpacityAnim
|
|
33503
|
+
})
|
|
33504
|
+
}),
|
|
33505
|
+
(0, import_jsx_runtime145.jsx)(Txt_default, {
|
|
33506
|
+
typography: "t7",
|
|
33507
|
+
fontWeight: "semiBold",
|
|
33508
|
+
color: colors.floatBackground,
|
|
33509
|
+
children
|
|
33510
|
+
})
|
|
33511
|
+
]
|
|
33512
|
+
}));
|
|
33513
|
+
};
|
|
33514
|
+
styles27 = import_react_native106.StyleSheet.create({
|
|
33515
|
+
button: {
|
|
33516
|
+
marginLeft: "auto",
|
|
33517
|
+
borderRadius: 100,
|
|
33518
|
+
paddingHorizontal: 12,
|
|
33519
|
+
paddingVertical: 6,
|
|
33520
|
+
overflow: "hidden"
|
|
33521
|
+
}
|
|
33522
|
+
});
|
|
33523
|
+
}
|
|
33524
|
+
});
|
|
33525
|
+
|
|
33526
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastIcon.js
|
|
33527
|
+
var import_jsx_runtime146, ToastIcon;
|
|
33528
|
+
var init_ToastIcon = __esm({
|
|
33529
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastIcon.js"() {
|
|
33530
|
+
init_object_spread();
|
|
33531
|
+
import_jsx_runtime146 = __toESM(require_jsx_runtime());
|
|
33532
|
+
init_icon();
|
|
33533
|
+
ToastIcon = function(props) {
|
|
33534
|
+
return (0, import_jsx_runtime146.jsx)(Icon_default, _object_spread({
|
|
33535
|
+
type: "circle",
|
|
33536
|
+
size: 24
|
|
33537
|
+
}, props));
|
|
33538
|
+
};
|
|
33539
|
+
}
|
|
33540
|
+
});
|
|
33541
|
+
|
|
33542
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastLottieIcon/CustomToastLottieIcon.js
|
|
33543
|
+
var import_jsx_runtime147, import_react130, import_react_native107, CustomToastLottieIcon;
|
|
33544
|
+
var init_CustomToastLottieIcon = __esm({
|
|
33545
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastLottieIcon/CustomToastLottieIcon.js"() {
|
|
33546
|
+
init_async_to_generator();
|
|
33547
|
+
init_object_spread();
|
|
33548
|
+
init_object_without_properties();
|
|
33549
|
+
init_sliced_to_array();
|
|
33550
|
+
init_ts_generator();
|
|
33551
|
+
import_jsx_runtime147 = __toESM(require_jsx_runtime());
|
|
33552
|
+
init_lottie_react_native();
|
|
33553
|
+
import_react130 = __toESM(require_react());
|
|
33554
|
+
import_react_native107 = __toESM(require_react_native());
|
|
33555
|
+
CustomToastLottieIcon = function(_param) {
|
|
33556
|
+
var src = _param.src, _param_play = _param.play, play = _param_play === void 0 ? true : _param_play, _param_loop = _param.loop, loop = _param_loop === void 0 ? false : _param_loop, onFinish = _param.onFinish, style = _param.style, props = _object_without_properties(_param, [
|
|
33557
|
+
"src",
|
|
33558
|
+
"play",
|
|
33559
|
+
"loop",
|
|
33560
|
+
"onFinish",
|
|
33561
|
+
"style"
|
|
33562
|
+
]);
|
|
33563
|
+
var lottie = (0, import_react130.useRef)(null);
|
|
33564
|
+
var _useState = _sliced_to_array((0, import_react130.useState)(), 2), jsonData = _useState[0], setData = _useState[1];
|
|
33565
|
+
(0, import_react130.useEffect)(function() {
|
|
33566
|
+
var fetchLottie = function fetchLottie2() {
|
|
33567
|
+
return _fetchLottie.apply(this, arguments);
|
|
33568
|
+
};
|
|
33569
|
+
function _fetchLottie() {
|
|
33570
|
+
_fetchLottie = _async_to_generator(function() {
|
|
33571
|
+
var response;
|
|
33572
|
+
return __generator(this, function(_state) {
|
|
33573
|
+
switch (_state.label) {
|
|
33574
|
+
case 0:
|
|
33575
|
+
return [
|
|
33576
|
+
4,
|
|
33577
|
+
fetch(src)
|
|
33578
|
+
];
|
|
33579
|
+
case 1:
|
|
33580
|
+
response = _state.sent();
|
|
33581
|
+
return [
|
|
33582
|
+
4,
|
|
33583
|
+
response.json()
|
|
33584
|
+
];
|
|
33585
|
+
case 2:
|
|
33586
|
+
setData.apply(void 0, [
|
|
33587
|
+
_state.sent()
|
|
33588
|
+
]);
|
|
33589
|
+
return [
|
|
33590
|
+
2
|
|
33591
|
+
];
|
|
33592
|
+
}
|
|
33593
|
+
});
|
|
33594
|
+
});
|
|
33595
|
+
return _fetchLottie.apply(this, arguments);
|
|
33596
|
+
}
|
|
33597
|
+
fetchLottie();
|
|
33598
|
+
}, [
|
|
33599
|
+
src
|
|
33600
|
+
]);
|
|
33601
|
+
(0, import_react130.useEffect)(function() {
|
|
33602
|
+
var _lottie_current, _lottie_current1;
|
|
33603
|
+
play ? (_lottie_current = lottie.current) === null || _lottie_current === void 0 ? void 0 : _lottie_current.play() : (_lottie_current1 = lottie.current) === null || _lottie_current1 === void 0 ? void 0 : _lottie_current1.pause();
|
|
33604
|
+
}, [
|
|
33605
|
+
jsonData,
|
|
33606
|
+
play
|
|
33607
|
+
]);
|
|
33608
|
+
if (jsonData == null) {
|
|
33609
|
+
return (0, import_jsx_runtime147.jsx)(import_react_native107.View, {
|
|
33610
|
+
style: {
|
|
33611
|
+
opacity: 1
|
|
33612
|
+
}
|
|
33613
|
+
});
|
|
33614
|
+
}
|
|
33615
|
+
return (0, import_jsx_runtime147.jsx)(import_lottie_react_native.default, _object_spread({
|
|
33616
|
+
ref: lottie,
|
|
33617
|
+
source: jsonData,
|
|
33618
|
+
autoPlay: false,
|
|
33619
|
+
loop,
|
|
33620
|
+
style: [
|
|
33621
|
+
{
|
|
33622
|
+
width: 24,
|
|
33623
|
+
height: 24
|
|
33624
|
+
},
|
|
33625
|
+
style
|
|
33626
|
+
],
|
|
33627
|
+
onAnimationFinish: onFinish
|
|
33628
|
+
}, props));
|
|
33629
|
+
};
|
|
33630
|
+
}
|
|
33631
|
+
});
|
|
33632
|
+
|
|
33633
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastLottieIcon/PresetToastLottieIcon.js
|
|
33634
|
+
var import_jsx_runtime148, PresetToastLottieIcon;
|
|
33635
|
+
var init_PresetToastLottieIcon = __esm({
|
|
33636
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastLottieIcon/PresetToastLottieIcon.js"() {
|
|
33637
|
+
init_object_spread();
|
|
33638
|
+
init_object_without_properties();
|
|
33639
|
+
import_jsx_runtime148 = __toESM(require_jsx_runtime());
|
|
33640
|
+
init_CustomToastLottieIcon();
|
|
33641
|
+
PresetToastLottieIcon = function(_param) {
|
|
33642
|
+
var type = _param.type, props = _object_without_properties(_param, [
|
|
33643
|
+
"type"
|
|
33644
|
+
]);
|
|
33645
|
+
return (0, import_jsx_runtime148.jsx)(CustomToastLottieIcon, _object_spread({
|
|
33646
|
+
src: type === "complete" ? "https://static.toss.im/lotties-common/check-green-spot.json" : "https://static.toss.im/lotties-common/error-yellow-spot.json"
|
|
33647
|
+
}, props));
|
|
33648
|
+
};
|
|
33649
|
+
}
|
|
33650
|
+
});
|
|
33651
|
+
|
|
33652
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastLottieIcon/ToastLottieIcon.js
|
|
33653
|
+
function isPresetToastLottieIconProps(props) {
|
|
33654
|
+
return "type" in props && props.preset === true;
|
|
33655
|
+
}
|
|
33656
|
+
var import_jsx_runtime149, ToastLottieIcon;
|
|
33657
|
+
var init_ToastLottieIcon = __esm({
|
|
33658
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastLottieIcon/ToastLottieIcon.js"() {
|
|
33659
|
+
init_object_spread();
|
|
33660
|
+
import_jsx_runtime149 = __toESM(require_jsx_runtime());
|
|
33661
|
+
init_CustomToastLottieIcon();
|
|
33662
|
+
init_PresetToastLottieIcon();
|
|
33663
|
+
ToastLottieIcon = function(props) {
|
|
33664
|
+
return isPresetToastLottieIconProps(props) ? (0, import_jsx_runtime149.jsx)(PresetToastLottieIcon, _object_spread({}, props)) : (0, import_jsx_runtime149.jsx)(CustomToastLottieIcon, _object_spread({}, props));
|
|
33665
|
+
};
|
|
33666
|
+
}
|
|
33667
|
+
});
|
|
33668
|
+
|
|
33669
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastLottieIcon/index.js
|
|
33670
|
+
var init_ToastLottieIcon2 = __esm({
|
|
33671
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastLottieIcon/index.js"() {
|
|
33672
|
+
init_ToastLottieIcon();
|
|
33673
|
+
}
|
|
33674
|
+
});
|
|
33675
|
+
|
|
33676
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastTop.js
|
|
33677
|
+
var import_jsx_runtime150, import_react131, import_react_native108, AnimatedPressable2, ToastTop, styles28;
|
|
33678
|
+
var init_ToastTop = __esm({
|
|
33679
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/components/ToastTop.js"() {
|
|
33680
|
+
init_sliced_to_array();
|
|
33681
|
+
import_jsx_runtime150 = __toESM(require_jsx_runtime());
|
|
33682
|
+
import_react131 = __toESM(require_react());
|
|
33683
|
+
import_react_native108 = __toESM(require_react_native());
|
|
33684
|
+
init_esm();
|
|
33685
|
+
init_animated();
|
|
33686
|
+
init_core();
|
|
33687
|
+
init_txt();
|
|
33688
|
+
init_utils3();
|
|
33689
|
+
init_hooks2();
|
|
33690
|
+
AnimatedPressable2 = Animated20.createAnimatedComponent(import_react_native108.Pressable);
|
|
33691
|
+
ToastTop = function(param) {
|
|
33692
|
+
var open = param.open, text = param.text, icon = param.icon, _param_duration = param.duration, duration = _param_duration === void 0 ? 3 : _param_duration, onClose = param.onClose, _param_onExited = param.onExited, onExited = _param_onExited === void 0 ? function() {
|
|
33693
|
+
} : _param_onExited, _param_onEntered = param.onEntered, onEntered = _param_onEntered === void 0 ? function() {
|
|
33694
|
+
} : _param_onEntered;
|
|
33695
|
+
var safeAreaTop = useSafeAreaTop();
|
|
33696
|
+
var _useState = _sliced_to_array((0, import_react131.useState)(), 2), height = _useState[0], setHeight = _useState[1];
|
|
33697
|
+
var initialY = height ? -(safeAreaTop + height) : void 0;
|
|
33698
|
+
var _useTextLine = useTextLine(), textLine = _useTextLine.textLine, updateTextLine = _useTextLine.updateTextLine;
|
|
33699
|
+
var adaptive2 = useAdaptive();
|
|
33700
|
+
var colorPreference = useColorPreference().colorPreference;
|
|
33701
|
+
var _useToastAnimation = useToastAnimation({
|
|
33702
|
+
position: "top",
|
|
33703
|
+
initialY
|
|
33704
|
+
}), enter = _useToastAnimation.enter, exit = _useToastAnimation.exit, animatedStyle = _useToastAnimation.animatedStyle;
|
|
33705
|
+
var presenceState = useAnimatePresence(open, {
|
|
33706
|
+
enter,
|
|
33707
|
+
exit,
|
|
33708
|
+
onExited,
|
|
33709
|
+
onEntered
|
|
33710
|
+
}).presenceState;
|
|
33711
|
+
useTimer({
|
|
33712
|
+
duration,
|
|
33713
|
+
callback: onClose
|
|
33714
|
+
});
|
|
33715
|
+
if (presenceState === "invisible") {
|
|
33716
|
+
return null;
|
|
33717
|
+
}
|
|
33718
|
+
return (0, import_jsx_runtime150.jsxs)(AnimatedPressable2, {
|
|
33719
|
+
onPress: onClose,
|
|
33720
|
+
onLayout: function(event) {
|
|
33721
|
+
setHeight(event.nativeEvent.layout.height);
|
|
33722
|
+
},
|
|
33723
|
+
style: [
|
|
33724
|
+
styles28.container,
|
|
33725
|
+
animatedStyle,
|
|
33726
|
+
{
|
|
33727
|
+
top: safeAreaTop,
|
|
33728
|
+
paddingLeft: icon ? 12 : 16,
|
|
33729
|
+
borderRadius: textLine === "single" ? 100 : 20,
|
|
33730
|
+
backgroundColor: colorPreference === "light" ? colors.white : colors.darkThemeGrey200,
|
|
33731
|
+
shadowColor: colorPreference === "light" ? colors.greyOpacity200 : colors.darkThemeGrey50
|
|
33732
|
+
}
|
|
33733
|
+
],
|
|
33734
|
+
children: [
|
|
33735
|
+
icon && (0, import_jsx_runtime150.jsx)(import_react_native108.View, {
|
|
33736
|
+
style: styles28.icon,
|
|
33737
|
+
children: icon
|
|
33738
|
+
}),
|
|
33739
|
+
(0, import_jsx_runtime150.jsx)(Txt_default, {
|
|
33740
|
+
onTextLayout: updateTextLine,
|
|
33741
|
+
typography: "t6",
|
|
33742
|
+
fontWeight: "semiBold",
|
|
33743
|
+
color: adaptive2.opacity800,
|
|
33744
|
+
children: text
|
|
33745
|
+
})
|
|
33746
|
+
]
|
|
33747
|
+
});
|
|
33748
|
+
};
|
|
33749
|
+
styles28 = import_react_native108.StyleSheet.create({
|
|
33750
|
+
container: {
|
|
33751
|
+
position: "absolute",
|
|
33752
|
+
alignSelf: "center",
|
|
33753
|
+
zIndex: 100,
|
|
33754
|
+
flexDirection: "row",
|
|
33755
|
+
alignItems: "center",
|
|
33756
|
+
paddingVertical: 12,
|
|
33757
|
+
paddingRight: 16,
|
|
33758
|
+
marginHorizontal: import_react_native108.Platform.OS === "ios" ? 18 : import_react_native108.Platform.OS === "android" ? 12 : 0,
|
|
33759
|
+
shadowOffset: {
|
|
33760
|
+
width: 0,
|
|
33761
|
+
height: 2
|
|
33762
|
+
},
|
|
33763
|
+
shadowRadius: 30,
|
|
33764
|
+
shadowOpacity: 1,
|
|
33765
|
+
elevation: 50
|
|
33766
|
+
},
|
|
33767
|
+
icon: {
|
|
33768
|
+
marginRight: 10
|
|
33769
|
+
}
|
|
33770
|
+
});
|
|
33771
|
+
}
|
|
33772
|
+
});
|
|
33773
|
+
|
|
33774
|
+
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/Toast.js
|
|
33775
|
+
var import_jsx_runtime151, Toast;
|
|
33776
|
+
var init_Toast = __esm({
|
|
33777
|
+
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/Toast.js"() {
|
|
33778
|
+
init_object_spread();
|
|
33779
|
+
init_object_without_properties();
|
|
33780
|
+
import_jsx_runtime151 = __toESM(require_jsx_runtime());
|
|
33781
|
+
init_ToastBottom();
|
|
33782
|
+
init_ToastButton();
|
|
33783
|
+
init_ToastIcon();
|
|
33784
|
+
init_ToastLottieIcon2();
|
|
33785
|
+
init_ToastTop();
|
|
33786
|
+
Toast = function(_param) {
|
|
33787
|
+
var _param_position = _param.position, position = _param_position === void 0 ? "bottom" : _param_position, props = _object_without_properties(_param, [
|
|
33788
|
+
"position"
|
|
33789
|
+
]);
|
|
33790
|
+
return position === "bottom" ? (0, import_jsx_runtime151.jsx)(ToastBottom, _object_spread({}, props)) : (0, import_jsx_runtime151.jsx)(ToastTop, _object_spread({}, props));
|
|
33791
|
+
};
|
|
33792
|
+
Toast.Icon = ToastIcon;
|
|
33793
|
+
Toast.LottieIcon = ToastLottieIcon;
|
|
33794
|
+
Toast.Button = ToastButton;
|
|
32853
33795
|
}
|
|
32854
33796
|
});
|
|
32855
33797
|
|
|
32856
33798
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/index.js
|
|
32857
33799
|
var init_toast = __esm({
|
|
32858
33800
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/toast/index.js"() {
|
|
33801
|
+
init_Toast();
|
|
32859
33802
|
}
|
|
32860
33803
|
});
|
|
32861
33804
|
|
|
@@ -32884,23 +33827,23 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
32884
33827
|
});
|
|
32885
33828
|
|
|
32886
33829
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/keypad/FullSecureKeypad/index.js
|
|
32887
|
-
var
|
|
33830
|
+
var import_jsx_runtime152, import_react132, import_react_native109;
|
|
32888
33831
|
var init_FullSecureKeypad = __esm({
|
|
32889
33832
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/keypad/FullSecureKeypad/index.js"() {
|
|
32890
|
-
|
|
32891
|
-
|
|
32892
|
-
|
|
33833
|
+
import_jsx_runtime152 = __toESM(require_jsx_runtime());
|
|
33834
|
+
import_react132 = __toESM(require_react());
|
|
33835
|
+
import_react_native109 = __toESM(require_react_native());
|
|
32893
33836
|
}
|
|
32894
33837
|
});
|
|
32895
33838
|
|
|
32896
33839
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/keypad/NumberKeypad/NumberKeypad.js
|
|
32897
|
-
var
|
|
33840
|
+
var import_jsx_runtime153, import_react133;
|
|
32898
33841
|
var init_NumberKeypad = __esm({
|
|
32899
33842
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/keypad/NumberKeypad/NumberKeypad.js"() {
|
|
32900
33843
|
init_object_spread();
|
|
32901
33844
|
init_object_spread_props();
|
|
32902
|
-
|
|
32903
|
-
|
|
33845
|
+
import_jsx_runtime153 = __toESM(require_jsx_runtime());
|
|
33846
|
+
import_react133 = __toESM(require_react());
|
|
32904
33847
|
}
|
|
32905
33848
|
});
|
|
32906
33849
|
|
|
@@ -32920,18 +33863,18 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
32920
33863
|
});
|
|
32921
33864
|
|
|
32922
33865
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/chart/BarChart.js
|
|
32923
|
-
var
|
|
33866
|
+
var import_jsx_runtime154, import_react134, import_react_native110, _Dimensions_get, WINDOW_WIDTH;
|
|
32924
33867
|
var init_BarChart = __esm({
|
|
32925
33868
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/chart/BarChart.js"() {
|
|
32926
33869
|
init_object_spread();
|
|
32927
33870
|
init_object_spread_props();
|
|
32928
33871
|
init_object_without_properties();
|
|
32929
33872
|
init_to_consumable_array();
|
|
32930
|
-
|
|
33873
|
+
import_jsx_runtime154 = __toESM(require_jsx_runtime());
|
|
32931
33874
|
init_src4();
|
|
32932
|
-
|
|
32933
|
-
|
|
32934
|
-
_Dimensions_get =
|
|
33875
|
+
import_react134 = __toESM(require_react());
|
|
33876
|
+
import_react_native110 = __toESM(require_react_native());
|
|
33877
|
+
_Dimensions_get = import_react_native110.Dimensions.get("window");
|
|
32935
33878
|
WINDOW_WIDTH = _Dimensions_get.width;
|
|
32936
33879
|
}
|
|
32937
33880
|
});
|
|
@@ -32972,7 +33915,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
32972
33915
|
var prefixedName = name2.startsWith("icn-") || name2.startsWith("icon-") ? name2 : "icn-".concat(name2);
|
|
32973
33916
|
return "".concat(ICON_URL_PREFIX2, "/").concat(prefixedName, ".svg");
|
|
32974
33917
|
}
|
|
32975
|
-
var
|
|
33918
|
+
var import_jsx_runtime155, import_react135, ICON_URL_PREFIX2, cache2, fillAttributesRe, strokeAttributesRe, Icon4, SvgIconClass, SvgIcon;
|
|
32976
33919
|
var init_SvgIcon = __esm({
|
|
32977
33920
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/icon/private/SvgIcon.js"() {
|
|
32978
33921
|
init_async_to_generator();
|
|
@@ -32985,15 +33928,15 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
32985
33928
|
init_sliced_to_array();
|
|
32986
33929
|
init_create_super();
|
|
32987
33930
|
init_ts_generator();
|
|
32988
|
-
|
|
33931
|
+
import_jsx_runtime155 = __toESM(require_jsx_runtime());
|
|
32989
33932
|
init_react_native_svg();
|
|
32990
|
-
|
|
33933
|
+
import_react135 = __toESM(require_react());
|
|
32991
33934
|
init_useCachedData();
|
|
32992
33935
|
ICON_URL_PREFIX2 = "https://static.toss.im/icons/svg";
|
|
32993
33936
|
cache2 = {};
|
|
32994
33937
|
fillAttributesRe = /fill="#[0-9a-fA-F]{6}"/g;
|
|
32995
33938
|
strokeAttributesRe = /stroke="#[0-9a-fA-F]{6}"/g;
|
|
32996
|
-
Icon4 = /* @__PURE__ */ (0,
|
|
33939
|
+
Icon4 = /* @__PURE__ */ (0, import_react135.forwardRef)(function Icon5(_param, ref) {
|
|
32997
33940
|
var name2 = _param.name, color = _param.color, _param_size = _param.size, size = _param_size === void 0 ? 24 : _param_size, accessible = _param.accessible, accessibilityLabel = _param.accessibilityLabel, _param_type = _param.type, type = _param_type === void 0 ? "default" : _param_type, children = _param.children, restProps = _object_without_properties(_param, [
|
|
32998
33941
|
"name",
|
|
32999
33942
|
"color",
|
|
@@ -33006,7 +33949,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33006
33949
|
var _useCachedData = useCachedData(cache2, name2, fetchIcon2, [
|
|
33007
33950
|
name2
|
|
33008
33951
|
]), iconXml = _useCachedData.data, showFallback = _useCachedData.showFallback;
|
|
33009
|
-
var jsxAST = (0,
|
|
33952
|
+
var jsxAST = (0, import_react135.useMemo)(function() {
|
|
33010
33953
|
if (iconXml === void 0) {
|
|
33011
33954
|
return null;
|
|
33012
33955
|
}
|
|
@@ -33018,7 +33961,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33018
33961
|
iconXml,
|
|
33019
33962
|
color
|
|
33020
33963
|
]);
|
|
33021
|
-
var svgColorProps = (0,
|
|
33964
|
+
var svgColorProps = (0, import_react135.useMemo)(function() {
|
|
33022
33965
|
if (iconXml === void 0 || color === void 0) {
|
|
33023
33966
|
return {};
|
|
33024
33967
|
}
|
|
@@ -33038,14 +33981,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33038
33981
|
accessible
|
|
33039
33982
|
}, svgColorProps, restProps);
|
|
33040
33983
|
if (jsxAST == null) {
|
|
33041
|
-
return (0,
|
|
33984
|
+
return (0, import_jsx_runtime155.jsx)(react_native_svg_exports.Svg, _object_spread_props(_object_spread({
|
|
33042
33985
|
ref
|
|
33043
33986
|
}, commonProps), {
|
|
33044
33987
|
children
|
|
33045
33988
|
}));
|
|
33046
33989
|
}
|
|
33047
33990
|
if (showFallback) {
|
|
33048
|
-
return (0,
|
|
33991
|
+
return (0, import_jsx_runtime155.jsx)(react_native_svg_exports.SvgUri, _object_spread_props(_object_spread({
|
|
33049
33992
|
uri: getIconUrl2(name2)
|
|
33050
33993
|
}, commonProps), {
|
|
33051
33994
|
children
|
|
@@ -33057,21 +34000,21 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33057
34000
|
var cx = viewBoxWidth / 2;
|
|
33058
34001
|
var cy = viewBoxHeight / 2;
|
|
33059
34002
|
var r2 = Math.min(viewBoxWidth, viewBoxHeight) / 2;
|
|
33060
|
-
return (0,
|
|
34003
|
+
return (0, import_jsx_runtime155.jsxs)(react_native_svg_exports.Svg, _object_spread_props(_object_spread({
|
|
33061
34004
|
ref
|
|
33062
34005
|
}, jsxAST.props, commonProps), {
|
|
33063
34006
|
children: [
|
|
33064
|
-
(0,
|
|
33065
|
-
children: (0,
|
|
34007
|
+
(0, import_jsx_runtime155.jsx)(react_native_svg_exports.Defs, {
|
|
34008
|
+
children: (0, import_jsx_runtime155.jsx)(react_native_svg_exports.ClipPath, {
|
|
33066
34009
|
id: "clip",
|
|
33067
|
-
children: (0,
|
|
34010
|
+
children: (0, import_jsx_runtime155.jsx)(react_native_svg_exports.Circle, {
|
|
33068
34011
|
cx,
|
|
33069
34012
|
cy,
|
|
33070
34013
|
r: r2
|
|
33071
34014
|
})
|
|
33072
34015
|
})
|
|
33073
34016
|
}),
|
|
33074
|
-
(0,
|
|
34017
|
+
(0, import_jsx_runtime155.jsx)(react_native_svg_exports.G, {
|
|
33075
34018
|
clipPath: "url(#clip)",
|
|
33076
34019
|
children: jsxAST.children
|
|
33077
34020
|
}),
|
|
@@ -33079,11 +34022,11 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33079
34022
|
]
|
|
33080
34023
|
}));
|
|
33081
34024
|
}
|
|
33082
|
-
return (0,
|
|
34025
|
+
return (0, import_jsx_runtime155.jsxs)(react_native_svg_exports.Svg, _object_spread_props(_object_spread({
|
|
33083
34026
|
ref
|
|
33084
34027
|
}, jsxAST.props, commonProps), {
|
|
33085
34028
|
children: [
|
|
33086
|
-
(0,
|
|
34029
|
+
(0, import_jsx_runtime155.jsx)(react_native_svg_exports.G, {
|
|
33087
34030
|
children: jsxAST.children
|
|
33088
34031
|
}),
|
|
33089
34032
|
children
|
|
@@ -33102,12 +34045,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33102
34045
|
{
|
|
33103
34046
|
key: "render",
|
|
33104
34047
|
value: function render() {
|
|
33105
|
-
return (0,
|
|
34048
|
+
return (0, import_jsx_runtime155.jsx)(Icon4, _object_spread({}, this.props));
|
|
33106
34049
|
}
|
|
33107
34050
|
}
|
|
33108
34051
|
]);
|
|
33109
34052
|
return SvgIconClass2;
|
|
33110
|
-
}(
|
|
34053
|
+
}(import_react135.Component);
|
|
33111
34054
|
SvgIcon = Object.assign(SvgIconClass, {
|
|
33112
34055
|
Root: SvgIconClass,
|
|
33113
34056
|
prefetchIcon: function() {
|
|
@@ -33151,23 +34094,23 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33151
34094
|
});
|
|
33152
34095
|
|
|
33153
34096
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/icon-button/IconButton.js
|
|
33154
|
-
var
|
|
34097
|
+
var import_jsx_runtime156, import_react136, import_react_native111, AnimatedSvg4, AnimatedRect, AnimatedPressable3;
|
|
33155
34098
|
var init_IconButton = __esm({
|
|
33156
34099
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/icon-button/IconButton.js"() {
|
|
33157
34100
|
init_object_spread();
|
|
33158
34101
|
init_object_spread_props();
|
|
33159
34102
|
init_object_without_properties();
|
|
33160
34103
|
init_to_consumable_array();
|
|
33161
|
-
|
|
34104
|
+
import_jsx_runtime156 = __toESM(require_jsx_runtime());
|
|
33162
34105
|
init_react_native_svg();
|
|
33163
34106
|
init_esm5();
|
|
33164
34107
|
init_animated();
|
|
33165
34108
|
init_src4();
|
|
33166
|
-
|
|
33167
|
-
|
|
33168
|
-
|
|
34109
|
+
import_react136 = __toESM(require_react());
|
|
34110
|
+
import_react_native111 = __toESM(require_react_native());
|
|
34111
|
+
AnimatedSvg4 = Animated20.createAnimatedComponent(react_native_svg_exports.Svg);
|
|
33169
34112
|
AnimatedRect = Animated20.createAnimatedComponent(react_native_svg_exports.Rect);
|
|
33170
|
-
|
|
34113
|
+
AnimatedPressable3 = Animated20.createAnimatedComponent(import_react_native111.Pressable);
|
|
33171
34114
|
}
|
|
33172
34115
|
});
|
|
33173
34116
|
|
|
@@ -33187,12 +34130,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33187
34130
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/fixed-bottom-cta/providers/FixedBottomCTAContext.js
|
|
33188
34131
|
function FixedBottomCTAConsumer(param) {
|
|
33189
34132
|
var children = param.children;
|
|
33190
|
-
var controls = (0,
|
|
34133
|
+
var controls = (0, import_react137.useContext)(FixedBottomCTAContext);
|
|
33191
34134
|
if (controls == null) {
|
|
33192
34135
|
throw new Error("FixedBottomCTAContext \uB294 FixedBottomCTAProvider \uC5D0\uC11C \uC2E4\uD589\uD574\uC57C\uD569\uB2C8\uB2E4.");
|
|
33193
34136
|
}
|
|
33194
34137
|
var render = controls.render, cleanup = controls.cleanup;
|
|
33195
|
-
(0,
|
|
34138
|
+
(0, import_react137.useEffect)(function() {
|
|
33196
34139
|
render(children);
|
|
33197
34140
|
return function() {
|
|
33198
34141
|
cleanup();
|
|
@@ -33204,54 +34147,54 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33204
34147
|
]);
|
|
33205
34148
|
return null;
|
|
33206
34149
|
}
|
|
33207
|
-
var
|
|
34150
|
+
var import_jsx_runtime157, import_react137, import_react_native112, FixedBottomCTAContext;
|
|
33208
34151
|
var init_FixedBottomCTAContext = __esm({
|
|
33209
34152
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/fixed-bottom-cta/providers/FixedBottomCTAContext.js"() {
|
|
33210
34153
|
init_object_spread();
|
|
33211
34154
|
init_object_spread_props();
|
|
33212
34155
|
init_sliced_to_array();
|
|
33213
|
-
|
|
34156
|
+
import_jsx_runtime157 = __toESM(require_jsx_runtime());
|
|
33214
34157
|
init_src4();
|
|
33215
|
-
|
|
33216
|
-
|
|
33217
|
-
FixedBottomCTAContext = /* @__PURE__ */ (0,
|
|
34158
|
+
import_react137 = __toESM(require_react());
|
|
34159
|
+
import_react_native112 = __toESM(require_react_native());
|
|
34160
|
+
FixedBottomCTAContext = /* @__PURE__ */ (0, import_react137.createContext)(null);
|
|
33218
34161
|
}
|
|
33219
34162
|
});
|
|
33220
34163
|
|
|
33221
34164
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/fixed-bottom-cta/FixedBottomCTA.js
|
|
33222
34165
|
function FixedBottomCTAWithoutConsumer(props) {
|
|
33223
34166
|
var adaptive2 = useAdaptive();
|
|
33224
|
-
return (0,
|
|
34167
|
+
return (0, import_jsx_runtime158.jsx)(BottomCTA.Single, _object_spread({
|
|
33225
34168
|
keyboardStyleEnabled: true,
|
|
33226
|
-
gradient: (0,
|
|
34169
|
+
gradient: (0, import_jsx_runtime158.jsx)(BottomCTAGradient, {
|
|
33227
34170
|
stopColor: adaptive2.background
|
|
33228
34171
|
})
|
|
33229
34172
|
}, props));
|
|
33230
34173
|
}
|
|
33231
34174
|
function FixedBottomCTADoubleWithoutConsumer(props) {
|
|
33232
34175
|
var adaptive2 = useAdaptive();
|
|
33233
|
-
return (0,
|
|
34176
|
+
return (0, import_jsx_runtime158.jsx)(BottomCTA.Double, _object_spread({
|
|
33234
34177
|
keyboardStyleEnabled: true,
|
|
33235
|
-
gradient: (0,
|
|
34178
|
+
gradient: (0, import_jsx_runtime158.jsx)(BottomCTAGradient, {
|
|
33236
34179
|
stopColor: adaptive2.background
|
|
33237
34180
|
})
|
|
33238
34181
|
}, props));
|
|
33239
34182
|
}
|
|
33240
34183
|
function FixedBottomCTA(props) {
|
|
33241
|
-
return (0,
|
|
33242
|
-
children: (0,
|
|
34184
|
+
return (0, import_jsx_runtime158.jsx)(FixedBottomCTAConsumer, {
|
|
34185
|
+
children: (0, import_jsx_runtime158.jsx)(FixedBottomCTAWithoutConsumer, _object_spread({}, props))
|
|
33243
34186
|
});
|
|
33244
34187
|
}
|
|
33245
34188
|
function FixedBottomCTADouble(props) {
|
|
33246
|
-
return (0,
|
|
33247
|
-
children: (0,
|
|
34189
|
+
return (0, import_jsx_runtime158.jsx)(FixedBottomCTAConsumer, {
|
|
34190
|
+
children: (0, import_jsx_runtime158.jsx)(FixedBottomCTADoubleWithoutConsumer, _object_spread({}, props))
|
|
33248
34191
|
});
|
|
33249
34192
|
}
|
|
33250
|
-
var
|
|
34193
|
+
var import_jsx_runtime158;
|
|
33251
34194
|
var init_FixedBottomCTA = __esm({
|
|
33252
34195
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/fixed-bottom-cta/FixedBottomCTA.js"() {
|
|
33253
34196
|
init_object_spread();
|
|
33254
|
-
|
|
34197
|
+
import_jsx_runtime158 = __toESM(require_jsx_runtime());
|
|
33255
34198
|
init_bottom_cta();
|
|
33256
34199
|
init_core();
|
|
33257
34200
|
init_FixedBottomCTAContext();
|
|
@@ -33304,11 +34247,11 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33304
34247
|
});
|
|
33305
34248
|
|
|
33306
34249
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/shadow/generateShadowStyle.js
|
|
33307
|
-
var
|
|
34250
|
+
var import_react_native113, generateShadowStyle;
|
|
33308
34251
|
var init_generateShadowStyle = __esm({
|
|
33309
34252
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/shadow/generateShadowStyle.js"() {
|
|
33310
34253
|
init_object_without_properties();
|
|
33311
|
-
|
|
34254
|
+
import_react_native113 = __toESM(require_react_native());
|
|
33312
34255
|
init_calculateElevation();
|
|
33313
34256
|
generateShadowStyle = function(_param) {
|
|
33314
34257
|
var _param_offset = _param.offset, offset = _param_offset === void 0 ? {
|
|
@@ -33322,7 +34265,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33322
34265
|
]);
|
|
33323
34266
|
var shadowColor = "color" in colorProps ? colorProps.color : colorPreference === "light" ? colorProps.lightColor : colorProps.darkColor;
|
|
33324
34267
|
var _offset_x, _offset_y;
|
|
33325
|
-
return
|
|
34268
|
+
return import_react_native113.Platform.OS === "ios" ? {
|
|
33326
34269
|
shadowColor,
|
|
33327
34270
|
shadowOffset: {
|
|
33328
34271
|
width: (_offset_x = offset.x) !== null && _offset_x !== void 0 ? _offset_x : 0,
|
|
@@ -33370,11 +34313,11 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33370
34313
|
});
|
|
33371
34314
|
|
|
33372
34315
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/error-page/ErrorPage.js
|
|
33373
|
-
var
|
|
34316
|
+
var import_jsx_runtime159, import_react_native114;
|
|
33374
34317
|
var init_ErrorPage = __esm({
|
|
33375
34318
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/error-page/ErrorPage.js"() {
|
|
33376
|
-
|
|
33377
|
-
|
|
34319
|
+
import_jsx_runtime159 = __toESM(require_jsx_runtime());
|
|
34320
|
+
import_react_native114 = __toESM(require_react_native());
|
|
33378
34321
|
}
|
|
33379
34322
|
});
|
|
33380
34323
|
|
|
@@ -33389,13 +34332,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33389
34332
|
function useDialog() {
|
|
33390
34333
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
33391
34334
|
var overlay = useOverlay();
|
|
33392
|
-
var close = (0,
|
|
34335
|
+
var close = (0, import_react138.useCallback)(function() {
|
|
33393
34336
|
overlay.close();
|
|
33394
34337
|
}, [
|
|
33395
34338
|
overlay
|
|
33396
34339
|
]);
|
|
33397
34340
|
var _options_closeOnDestroy = options.closeOnDestroy, closeOnDestroy = _options_closeOnDestroy === void 0 ? true : _options_closeOnDestroy;
|
|
33398
|
-
var openAlert = (0,
|
|
34341
|
+
var openAlert = (0, import_react138.useCallback)(function(_param) {
|
|
33399
34342
|
var _param_closeOnDimmerClick = _param.closeOnDimmerClick, closeOnDimmerClick = _param_closeOnDimmerClick === void 0 ? false : _param_closeOnDimmerClick, onEntered = _param.onEntered, onButtonPress = _param.onButtonPress, otherOptions = _object_without_properties(_param, [
|
|
33400
34343
|
"closeOnDimmerClick",
|
|
33401
34344
|
"onEntered",
|
|
@@ -33404,7 +34347,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33404
34347
|
return new Promise(function(resolve) {
|
|
33405
34348
|
overlay.open(function(param) {
|
|
33406
34349
|
var isOpen = param.isOpen, close2 = param.close, exit = param.exit;
|
|
33407
|
-
return (0,
|
|
34350
|
+
return (0, import_jsx_runtime160.jsx)(AlertDialog_default, _object_spread_props(_object_spread({}, otherOptions), {
|
|
33408
34351
|
open: isOpen,
|
|
33409
34352
|
onEntered,
|
|
33410
34353
|
onClose: function() {
|
|
@@ -33426,23 +34369,23 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33426
34369
|
}, [
|
|
33427
34370
|
overlay
|
|
33428
34371
|
]);
|
|
33429
|
-
var openConfirm = (0,
|
|
34372
|
+
var openConfirm = (0, import_react138.useCallback)(function(_param) {
|
|
33430
34373
|
var _param_rightButton = _param.rightButton, rightButton = _param_rightButton === void 0 ? "\uD655\uC778" : _param_rightButton, _param_leftButton = _param.leftButton, leftButton = _param_leftButton === void 0 ? "\uCDE8\uC18C" : _param_leftButton, _param_closeOnDimmerClick = _param.closeOnDimmerClick, closeOnDimmerClick = _param_closeOnDimmerClick === void 0 ? false : _param_closeOnDimmerClick, onEntered = _param.onEntered, otherOptions = _object_without_properties(_param, [
|
|
33431
34374
|
"rightButton",
|
|
33432
34375
|
"leftButton",
|
|
33433
34376
|
"closeOnDimmerClick",
|
|
33434
34377
|
"onEntered"
|
|
33435
34378
|
]);
|
|
33436
|
-
var _rightButton = typeof rightButton === "string" ? (0,
|
|
34379
|
+
var _rightButton = typeof rightButton === "string" ? (0, import_jsx_runtime160.jsx)(ConfirmDialog_default.Button, {
|
|
33437
34380
|
children: rightButton
|
|
33438
34381
|
}) : rightButton;
|
|
33439
|
-
var _leftButton = typeof leftButton === "string" ? (0,
|
|
34382
|
+
var _leftButton = typeof leftButton === "string" ? (0, import_jsx_runtime160.jsx)(ConfirmDialog_default.Button, {
|
|
33440
34383
|
children: leftButton
|
|
33441
34384
|
}) : leftButton;
|
|
33442
34385
|
return new Promise(function(resolve) {
|
|
33443
34386
|
overlay.open(function(param) {
|
|
33444
34387
|
var isOpen = param.isOpen, close2 = param.close, exit = param.exit;
|
|
33445
|
-
return (0,
|
|
34388
|
+
return (0, import_jsx_runtime160.jsx)(ConfirmDialog_default, _object_spread_props(_object_spread({}, otherOptions), {
|
|
33446
34389
|
open: isOpen,
|
|
33447
34390
|
onEntered,
|
|
33448
34391
|
onClose: function() {
|
|
@@ -33452,7 +34395,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33452
34395
|
onExited: function() {
|
|
33453
34396
|
exit();
|
|
33454
34397
|
},
|
|
33455
|
-
rightButton: /* @__PURE__ */ (0,
|
|
34398
|
+
rightButton: /* @__PURE__ */ (0, import_react138.cloneElement)(_rightButton, _object_spread_props(_object_spread({}, _rightButton.props), {
|
|
33456
34399
|
onPress: function(event) {
|
|
33457
34400
|
resolve(true);
|
|
33458
34401
|
if (_rightButton.props.onPress === void 0) {
|
|
@@ -33462,7 +34405,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33462
34405
|
}
|
|
33463
34406
|
}
|
|
33464
34407
|
})),
|
|
33465
|
-
leftButton: /* @__PURE__ */ (0,
|
|
34408
|
+
leftButton: /* @__PURE__ */ (0, import_react138.cloneElement)(_leftButton, _object_spread_props(_object_spread({}, _leftButton.props), {
|
|
33466
34409
|
type: "dark",
|
|
33467
34410
|
style: "weak",
|
|
33468
34411
|
onPress: function(event) {
|
|
@@ -33481,7 +34424,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33481
34424
|
}, [
|
|
33482
34425
|
overlay
|
|
33483
34426
|
]);
|
|
33484
|
-
var controls = (0,
|
|
34427
|
+
var controls = (0, import_react138.useMemo)(function() {
|
|
33485
34428
|
return {
|
|
33486
34429
|
close,
|
|
33487
34430
|
openAlert,
|
|
@@ -33492,7 +34435,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33492
34435
|
openAlert,
|
|
33493
34436
|
openConfirm
|
|
33494
34437
|
]);
|
|
33495
|
-
(0,
|
|
34438
|
+
(0, import_react138.useEffect)(function() {
|
|
33496
34439
|
return function() {
|
|
33497
34440
|
if (closeOnDestroy) {
|
|
33498
34441
|
controls === null || controls === void 0 ? void 0 : controls.close();
|
|
@@ -33504,21 +34447,21 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33504
34447
|
]);
|
|
33505
34448
|
return controls;
|
|
33506
34449
|
}
|
|
33507
|
-
var
|
|
34450
|
+
var import_jsx_runtime160, import_react138;
|
|
33508
34451
|
var init_useDialog = __esm({
|
|
33509
34452
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/overlay-extension/hooks/useDialog.js"() {
|
|
33510
34453
|
init_object_spread();
|
|
33511
34454
|
init_object_spread_props();
|
|
33512
34455
|
init_object_without_properties();
|
|
33513
|
-
|
|
33514
|
-
|
|
34456
|
+
import_jsx_runtime160 = __toESM(require_jsx_runtime());
|
|
34457
|
+
import_react138 = __toESM(require_react());
|
|
33515
34458
|
init_dialog();
|
|
33516
34459
|
init_core();
|
|
33517
34460
|
}
|
|
33518
34461
|
});
|
|
33519
34462
|
|
|
33520
34463
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/overlay-extension/hooks/index.js
|
|
33521
|
-
var
|
|
34464
|
+
var init_hooks3 = __esm({
|
|
33522
34465
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/overlay-extension/hooks/index.js"() {
|
|
33523
34466
|
init_useDialog();
|
|
33524
34467
|
}
|
|
@@ -33527,7 +34470,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33527
34470
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/overlay-extension/index.js
|
|
33528
34471
|
var init_overlay_extension = __esm({
|
|
33529
34472
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/overlay-extension/index.js"() {
|
|
33530
|
-
|
|
34473
|
+
init_hooks3();
|
|
33531
34474
|
}
|
|
33532
34475
|
});
|
|
33533
34476
|
|
|
@@ -33541,14 +34484,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33541
34484
|
function BackButton2(param) {
|
|
33542
34485
|
var tintColor = param.tintColor, onPress = param.onPress;
|
|
33543
34486
|
var adaptive2 = useAdaptive();
|
|
33544
|
-
return (0,
|
|
34487
|
+
return (0, import_jsx_runtime161.jsx)(NavbarBackButton2, {
|
|
33545
34488
|
onPress,
|
|
33546
34489
|
color: tintColor !== null && tintColor !== void 0 ? tintColor : adaptive2.grey900
|
|
33547
34490
|
});
|
|
33548
34491
|
}
|
|
33549
34492
|
function NavbarBackButton2(param) {
|
|
33550
34493
|
var onPress = param.onPress, color = param.color;
|
|
33551
|
-
return (0,
|
|
34494
|
+
return (0, import_jsx_runtime161.jsx)(import_react_native115.TouchableOpacity, {
|
|
33552
34495
|
hitSlop: {
|
|
33553
34496
|
top: 10,
|
|
33554
34497
|
right: 10,
|
|
@@ -33563,12 +34506,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33563
34506
|
accessible: true,
|
|
33564
34507
|
accessibilityLabel: "\uB4A4\uB85C\uAC00\uAE30",
|
|
33565
34508
|
accessibilityRole: "button",
|
|
33566
|
-
children: (0,
|
|
34509
|
+
children: (0, import_jsx_runtime161.jsx)(import_react_native115.View, {
|
|
33567
34510
|
style: {
|
|
33568
34511
|
width: 24,
|
|
33569
34512
|
height: 24
|
|
33570
34513
|
},
|
|
33571
|
-
children: (0,
|
|
34514
|
+
children: (0, import_jsx_runtime161.jsx)(react_native_svg_exports.SvgXml, {
|
|
33572
34515
|
width: 24,
|
|
33573
34516
|
height: 24,
|
|
33574
34517
|
xml: BACK_BUTTON_XML2.replace(/fill="#[0-9a-fA-F]{6}"/g, 'fill="'.concat(color, '"')),
|
|
@@ -33579,21 +34522,21 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33579
34522
|
})
|
|
33580
34523
|
});
|
|
33581
34524
|
}
|
|
33582
|
-
var
|
|
34525
|
+
var import_jsx_runtime161, import_react_native115, ANDROID_BACK_BUTTON2, IOS_BACK_BUTTON2, BACK_BUTTON_XML2, BACK_BUTTON_MARGIN2;
|
|
33583
34526
|
var init_BackButton2 = __esm({
|
|
33584
34527
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/BackButton.js"() {
|
|
33585
|
-
|
|
34528
|
+
import_jsx_runtime161 = __toESM(require_jsx_runtime());
|
|
33586
34529
|
init_react_native_svg();
|
|
33587
34530
|
init_core();
|
|
33588
|
-
|
|
34531
|
+
import_react_native115 = __toESM(require_react_native());
|
|
33589
34532
|
ANDROID_BACK_BUTTON2 = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="line-icon">\n<path fill="#B0B8C1" fill-rule="evenodd" d="M20.966 10.8H6.93l5.451-5.451a1.2 1.2 0 10-1.697-1.697l-7.5 7.5c-.003.002-.004.006-.007.009a1.2 1.2 0 00-.252 1.298c.06.143.145.27.252.38l.007.01 7.5 7.5c.235.234.542.35.848.35a1.2 1.2 0 00.849-2.048L6.931 13.2h14.036a1.2 1.2 0 100-2.4"/>\n</svg>';
|
|
33590
34533
|
IOS_BACK_BUTTON2 = '<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n<path d="m20.8 20.7c-.3 0-.6-.1-.8-.4l-7.5-7.5c-.5-.5-.5-1.2 0-1.7l7.5-7.5c.5-.5 1.2-.5 1.7 0s.5 1.2 0 1.7l-6.8 6.7 6.7 6.7c.5.5.5 1.2 0 1.7-.2.2-.5.3-.8.3z" fill="#b0b8c1"/>\n</svg>';
|
|
33591
|
-
BACK_BUTTON_XML2 =
|
|
34534
|
+
BACK_BUTTON_XML2 = import_react_native115.Platform.select({
|
|
33592
34535
|
android: ANDROID_BACK_BUTTON2,
|
|
33593
34536
|
ios: IOS_BACK_BUTTON2,
|
|
33594
34537
|
default: IOS_BACK_BUTTON2
|
|
33595
34538
|
});
|
|
33596
|
-
BACK_BUTTON_MARGIN2 =
|
|
34539
|
+
BACK_BUTTON_MARGIN2 = import_react_native115.Platform.select({
|
|
33597
34540
|
android: 0,
|
|
33598
34541
|
ios: -12,
|
|
33599
34542
|
default: -12
|
|
@@ -33623,7 +34566,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33623
34566
|
]);
|
|
33624
34567
|
var adaptive2 = useAdaptive();
|
|
33625
34568
|
var typography = useTypographyTheme().typography;
|
|
33626
|
-
var titleTextStyle = (0,
|
|
34569
|
+
var titleTextStyle = (0, import_react139.useMemo)(function() {
|
|
33627
34570
|
return {
|
|
33628
34571
|
fontSize: Math.min(typography[TEXT_BUTTON_TYPOGRAPHY].fontSize, MAX_FONT_SIZE),
|
|
33629
34572
|
lineHeight: Math.min(typography[TEXT_BUTTON_TYPOGRAPHY].lineHeight, MAX_LINE_HEIGHT)
|
|
@@ -33631,14 +34574,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33631
34574
|
}, [
|
|
33632
34575
|
typography
|
|
33633
34576
|
]);
|
|
33634
|
-
return (0,
|
|
34577
|
+
return (0, import_jsx_runtime162.jsx)(import_react_native116.TouchableOpacity, _object_spread_props(_object_spread({
|
|
33635
34578
|
style: [
|
|
33636
|
-
|
|
33637
|
-
|
|
34579
|
+
styles29.common,
|
|
34580
|
+
styles29.textButton
|
|
33638
34581
|
],
|
|
33639
34582
|
hitSlop: HIT_SLOP
|
|
33640
34583
|
}, props), {
|
|
33641
|
-
children: (0,
|
|
34584
|
+
children: (0, import_jsx_runtime162.jsx)(Txt_default, {
|
|
33642
34585
|
typography: TEXT_BUTTON_TYPOGRAPHY,
|
|
33643
34586
|
color: adaptive2.grey800,
|
|
33644
34587
|
fontWeight: "semiBold",
|
|
@@ -33647,32 +34590,32 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33647
34590
|
})
|
|
33648
34591
|
}));
|
|
33649
34592
|
}
|
|
33650
|
-
var
|
|
34593
|
+
var import_jsx_runtime162, import_react139, import_react_native116, RightIconButton, TEXT_BUTTON_TYPOGRAPHY, styles29, HIT_SLOP;
|
|
33651
34594
|
var init_Right = __esm({
|
|
33652
34595
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/Right.js"() {
|
|
33653
34596
|
init_object_spread();
|
|
33654
34597
|
init_object_spread_props();
|
|
33655
34598
|
init_object_without_properties();
|
|
33656
|
-
|
|
34599
|
+
import_jsx_runtime162 = __toESM(require_jsx_runtime());
|
|
33657
34600
|
init_core();
|
|
33658
34601
|
init_icon();
|
|
33659
34602
|
init_txt();
|
|
33660
|
-
|
|
33661
|
-
|
|
34603
|
+
import_react139 = __toESM(require_react());
|
|
34604
|
+
import_react_native116 = __toESM(require_react_native());
|
|
33662
34605
|
init_constants11();
|
|
33663
|
-
RightIconButton = /* @__PURE__ */ (0,
|
|
34606
|
+
RightIconButton = /* @__PURE__ */ (0, import_react139.forwardRef)(function RightIconButton2(_param, ref) {
|
|
33664
34607
|
var name2 = _param.name, accessibilityLabel = _param.accessibilityLabel, type = _param.type, pressableProps = _object_without_properties(_param, [
|
|
33665
34608
|
"name",
|
|
33666
34609
|
"accessibilityLabel",
|
|
33667
34610
|
"type"
|
|
33668
34611
|
]);
|
|
33669
34612
|
var adaptive2 = useAdaptive();
|
|
33670
|
-
return (0,
|
|
34613
|
+
return (0, import_jsx_runtime162.jsx)(import_react_native116.TouchableOpacity, _object_spread_props(_object_spread({
|
|
33671
34614
|
ref,
|
|
33672
|
-
style:
|
|
34615
|
+
style: styles29.common,
|
|
33673
34616
|
hitSlop: HIT_SLOP
|
|
33674
34617
|
}, pressableProps), {
|
|
33675
|
-
children: (0,
|
|
34618
|
+
children: (0, import_jsx_runtime162.jsx)(Icon_default, {
|
|
33676
34619
|
color: adaptive2.grey400,
|
|
33677
34620
|
size: 24,
|
|
33678
34621
|
name: name2,
|
|
@@ -33682,7 +34625,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33682
34625
|
}));
|
|
33683
34626
|
});
|
|
33684
34627
|
TEXT_BUTTON_TYPOGRAPHY = "st10";
|
|
33685
|
-
|
|
34628
|
+
styles29 = import_react_native116.StyleSheet.create({
|
|
33686
34629
|
common: {
|
|
33687
34630
|
marginLeft: 24
|
|
33688
34631
|
},
|
|
@@ -33706,7 +34649,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33706
34649
|
]);
|
|
33707
34650
|
var adaptive2 = useAdaptive();
|
|
33708
34651
|
var typography = useTypographyTheme().typography;
|
|
33709
|
-
var titleTextStyle = (0,
|
|
34652
|
+
var titleTextStyle = (0, import_react140.useMemo)(function() {
|
|
33710
34653
|
var maxFontSize = preventFontScalingA11y ? defaultTypographyMap[TITLE_TYPOGRAPHY].fontSize : MAX_FONT_SIZE;
|
|
33711
34654
|
var maxLineHeight = preventFontScalingA11y ? defaultTypographyMap[TITLE_TYPOGRAPHY].lineHeight : MAX_LINE_HEIGHT;
|
|
33712
34655
|
return {
|
|
@@ -33717,7 +34660,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33717
34660
|
preventFontScalingA11y,
|
|
33718
34661
|
typography
|
|
33719
34662
|
]);
|
|
33720
|
-
return (0,
|
|
34663
|
+
return (0, import_jsx_runtime163.jsx)(Txt_default, _object_spread({
|
|
33721
34664
|
typography: TITLE_TYPOGRAPHY,
|
|
33722
34665
|
color: color !== null && color !== void 0 ? color : adaptive2.grey900,
|
|
33723
34666
|
fontWeight,
|
|
@@ -33733,7 +34676,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33733
34676
|
]);
|
|
33734
34677
|
var adaptive2 = useAdaptive();
|
|
33735
34678
|
var typography = useTypographyTheme().typography;
|
|
33736
|
-
var titleTextStyle = (0,
|
|
34679
|
+
var titleTextStyle = (0, import_react140.useMemo)(function() {
|
|
33737
34680
|
var maxFontSize = preventFontScalingA11y ? defaultTypographyMap[SUBTITLE_TYPOGRAPHY].fontSize : MAX_FONT_SIZE;
|
|
33738
34681
|
var maxLineHeight = preventFontScalingA11y ? defaultTypographyMap[SUBTITLE_TYPOGRAPHY].lineHeight : MAX_LINE_HEIGHT;
|
|
33739
34682
|
return {
|
|
@@ -33744,7 +34687,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33744
34687
|
preventFontScalingA11y,
|
|
33745
34688
|
typography
|
|
33746
34689
|
]);
|
|
33747
|
-
return (0,
|
|
34690
|
+
return (0, import_jsx_runtime163.jsx)(Txt_default, _object_spread({
|
|
33748
34691
|
typography: SUBTITLE_TYPOGRAPHY,
|
|
33749
34692
|
color: color !== null && color !== void 0 ? color : adaptive2.grey600,
|
|
33750
34693
|
fontWeight: "regular",
|
|
@@ -33755,28 +34698,28 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33755
34698
|
}
|
|
33756
34699
|
function Title(param) {
|
|
33757
34700
|
var upper = param.upper, lower = param.lower;
|
|
33758
|
-
return (0,
|
|
33759
|
-
style:
|
|
34701
|
+
return (0, import_jsx_runtime163.jsxs)(import_react_native117.View, {
|
|
34702
|
+
style: styles30.title,
|
|
33760
34703
|
children: [
|
|
33761
34704
|
upper,
|
|
33762
34705
|
lower
|
|
33763
34706
|
]
|
|
33764
34707
|
});
|
|
33765
34708
|
}
|
|
33766
|
-
var
|
|
34709
|
+
var import_jsx_runtime163, import_react140, import_react_native117, TITLE_TYPOGRAPHY, SUBTITLE_TYPOGRAPHY, styles30;
|
|
33767
34710
|
var init_Title = __esm({
|
|
33768
34711
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/Title.js"() {
|
|
33769
34712
|
init_object_spread();
|
|
33770
34713
|
init_object_without_properties();
|
|
33771
|
-
|
|
34714
|
+
import_jsx_runtime163 = __toESM(require_jsx_runtime());
|
|
33772
34715
|
init_core();
|
|
33773
34716
|
init_txt();
|
|
33774
|
-
|
|
33775
|
-
|
|
34717
|
+
import_react140 = __toESM(require_react());
|
|
34718
|
+
import_react_native117 = __toESM(require_react_native());
|
|
33776
34719
|
init_constants11();
|
|
33777
34720
|
TITLE_TYPOGRAPHY = "t5";
|
|
33778
34721
|
SUBTITLE_TYPOGRAPHY = "t7";
|
|
33779
|
-
|
|
34722
|
+
styles30 = import_react_native117.StyleSheet.create({
|
|
33780
34723
|
title: {
|
|
33781
34724
|
alignItems: "center"
|
|
33782
34725
|
}
|
|
@@ -33788,14 +34731,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33788
34731
|
function byPlatform(_param) {
|
|
33789
34732
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
33790
34733
|
var _props_Platform_OS;
|
|
33791
|
-
return ((_props_Platform_OS = props[
|
|
34734
|
+
return ((_props_Platform_OS = props[import_react_native118.Platform.OS]) !== null && _props_Platform_OS !== void 0 ? _props_Platform_OS : props.fallback)();
|
|
33792
34735
|
}
|
|
33793
|
-
var
|
|
34736
|
+
var import_react_native118;
|
|
33794
34737
|
var init_byPlatform = __esm({
|
|
33795
34738
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/byPlatform.js"() {
|
|
33796
34739
|
init_extends();
|
|
33797
34740
|
init_object_destructuring_empty();
|
|
33798
|
-
|
|
34741
|
+
import_react_native118 = __toESM(require_react_native());
|
|
33799
34742
|
}
|
|
33800
34743
|
});
|
|
33801
34744
|
|
|
@@ -33804,12 +34747,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33804
34747
|
var _param_marginLeft = _param.marginLeft, marginLeft = _param_marginLeft === void 0 ? IOS_LEFT_MARGIN : _param_marginLeft, props = _object_without_properties(_param, [
|
|
33805
34748
|
"marginLeft"
|
|
33806
34749
|
]);
|
|
33807
|
-
return (0,
|
|
34750
|
+
return (0, import_jsx_runtime164.jsx)(import_react_native119.View, _object_spread({
|
|
33808
34751
|
style: [
|
|
33809
34752
|
{
|
|
33810
34753
|
marginLeft: -IOS_DEFAULT_MARGIN + marginLeft
|
|
33811
34754
|
},
|
|
33812
|
-
|
|
34755
|
+
styles31.ios
|
|
33813
34756
|
]
|
|
33814
34757
|
}, props));
|
|
33815
34758
|
}
|
|
@@ -33817,38 +34760,38 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33817
34760
|
var _param_marginLeft = _param.marginLeft, marginLeft = _param_marginLeft === void 0 ? ANDROID_LEFT_MARGIN : _param_marginLeft, props = _object_without_properties(_param, [
|
|
33818
34761
|
"marginLeft"
|
|
33819
34762
|
]);
|
|
33820
|
-
return (0,
|
|
34763
|
+
return (0, import_jsx_runtime164.jsx)(import_react_native119.View, _object_spread({
|
|
33821
34764
|
style: [
|
|
33822
34765
|
{
|
|
33823
34766
|
marginLeft: -ANDROID_DEFAULT_MARGIN + marginLeft
|
|
33824
34767
|
},
|
|
33825
|
-
|
|
34768
|
+
styles31.android
|
|
33826
34769
|
]
|
|
33827
34770
|
}, props));
|
|
33828
34771
|
}
|
|
33829
34772
|
function HeaderLeft(props) {
|
|
33830
34773
|
return byPlatform({
|
|
33831
34774
|
ios: function() {
|
|
33832
|
-
return (0,
|
|
34775
|
+
return (0, import_jsx_runtime164.jsx)(IOSHeaderLeft, _object_spread({}, props));
|
|
33833
34776
|
},
|
|
33834
34777
|
android: function() {
|
|
33835
|
-
return (0,
|
|
34778
|
+
return (0, import_jsx_runtime164.jsx)(AndroidHeaderLeft, _object_spread({}, props));
|
|
33836
34779
|
},
|
|
33837
34780
|
fallback: function() {
|
|
33838
|
-
return (0,
|
|
34781
|
+
return (0, import_jsx_runtime164.jsx)(IOSHeaderLeft, _object_spread({}, props));
|
|
33839
34782
|
}
|
|
33840
34783
|
});
|
|
33841
34784
|
}
|
|
33842
|
-
var
|
|
34785
|
+
var import_jsx_runtime164, import_react_native119, styles31;
|
|
33843
34786
|
var init_HeaderLeft = __esm({
|
|
33844
34787
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/HeaderLeft.js"() {
|
|
33845
34788
|
init_object_spread();
|
|
33846
34789
|
init_object_without_properties();
|
|
33847
|
-
|
|
33848
|
-
|
|
34790
|
+
import_jsx_runtime164 = __toESM(require_jsx_runtime());
|
|
34791
|
+
import_react_native119 = __toESM(require_react_native());
|
|
33849
34792
|
init_byPlatform();
|
|
33850
34793
|
init_constants11();
|
|
33851
|
-
|
|
34794
|
+
styles31 = import_react_native119.StyleSheet.create({
|
|
33852
34795
|
ios: {},
|
|
33853
34796
|
android: {
|
|
33854
34797
|
marginRight: 32
|
|
@@ -33859,37 +34802,37 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33859
34802
|
|
|
33860
34803
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/HeaderRight.js
|
|
33861
34804
|
function IOSHeaderRight(props) {
|
|
33862
|
-
return (0,
|
|
33863
|
-
style:
|
|
34805
|
+
return (0, import_jsx_runtime165.jsx)(import_react_native120.View, _object_spread({
|
|
34806
|
+
style: styles32.ios
|
|
33864
34807
|
}, props));
|
|
33865
34808
|
}
|
|
33866
34809
|
function AndroidHeaderRight(props) {
|
|
33867
|
-
return (0,
|
|
33868
|
-
style:
|
|
34810
|
+
return (0, import_jsx_runtime165.jsx)(import_react_native120.View, _object_spread({
|
|
34811
|
+
style: styles32.android
|
|
33869
34812
|
}, props));
|
|
33870
34813
|
}
|
|
33871
34814
|
function HeaderRight(props) {
|
|
33872
34815
|
return byPlatform({
|
|
33873
34816
|
ios: function() {
|
|
33874
|
-
return (0,
|
|
34817
|
+
return (0, import_jsx_runtime165.jsx)(IOSHeaderRight, _object_spread({}, props));
|
|
33875
34818
|
},
|
|
33876
34819
|
android: function() {
|
|
33877
|
-
return (0,
|
|
34820
|
+
return (0, import_jsx_runtime165.jsx)(AndroidHeaderRight, _object_spread({}, props));
|
|
33878
34821
|
},
|
|
33879
34822
|
fallback: function() {
|
|
33880
|
-
return (0,
|
|
34823
|
+
return (0, import_jsx_runtime165.jsx)(IOSHeaderRight, _object_spread({}, props));
|
|
33881
34824
|
}
|
|
33882
34825
|
});
|
|
33883
34826
|
}
|
|
33884
|
-
var
|
|
34827
|
+
var import_jsx_runtime165, import_react_native120, styles32;
|
|
33885
34828
|
var init_HeaderRight = __esm({
|
|
33886
34829
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/HeaderRight.js"() {
|
|
33887
34830
|
init_object_spread();
|
|
33888
|
-
|
|
33889
|
-
|
|
34831
|
+
import_jsx_runtime165 = __toESM(require_jsx_runtime());
|
|
34832
|
+
import_react_native120 = __toESM(require_react_native());
|
|
33890
34833
|
init_byPlatform();
|
|
33891
34834
|
init_constants11();
|
|
33892
|
-
|
|
34835
|
+
styles32 = import_react_native120.StyleSheet.create({
|
|
33893
34836
|
ios: {
|
|
33894
34837
|
marginRight: -IOS_DEFAULT_MARGIN + RIGHT_MARGIN,
|
|
33895
34838
|
flexDirection: "row"
|
|
@@ -33908,7 +34851,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33908
34851
|
"style",
|
|
33909
34852
|
"withHeaderLeft"
|
|
33910
34853
|
]);
|
|
33911
|
-
return (0,
|
|
34854
|
+
return (0, import_jsx_runtime166.jsx)(import_react_native121.View, _object_spread({
|
|
33912
34855
|
style
|
|
33913
34856
|
}, props));
|
|
33914
34857
|
}
|
|
@@ -33917,7 +34860,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33917
34860
|
"style",
|
|
33918
34861
|
"withHeaderLeft"
|
|
33919
34862
|
]);
|
|
33920
|
-
return (0,
|
|
34863
|
+
return (0, import_jsx_runtime166.jsx)(import_react_native121.View, _object_spread({
|
|
33921
34864
|
style: [
|
|
33922
34865
|
{
|
|
33923
34866
|
marginLeft: withHeaderLeft ? 0 : -ANDROID_DEFAULT_MARGIN + 24
|
|
@@ -33929,23 +34872,23 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33929
34872
|
function HeaderTitle(props) {
|
|
33930
34873
|
return byPlatform({
|
|
33931
34874
|
ios: function() {
|
|
33932
|
-
return (0,
|
|
34875
|
+
return (0, import_jsx_runtime166.jsx)(IOSHeaderTitle, _object_spread({}, props));
|
|
33933
34876
|
},
|
|
33934
34877
|
android: function() {
|
|
33935
|
-
return (0,
|
|
34878
|
+
return (0, import_jsx_runtime166.jsx)(AndroidHeaderTitle, _object_spread({}, props));
|
|
33936
34879
|
},
|
|
33937
34880
|
fallback: function() {
|
|
33938
|
-
return (0,
|
|
34881
|
+
return (0, import_jsx_runtime166.jsx)(IOSHeaderTitle, _object_spread({}, props));
|
|
33939
34882
|
}
|
|
33940
34883
|
});
|
|
33941
34884
|
}
|
|
33942
|
-
var
|
|
34885
|
+
var import_jsx_runtime166, import_react_native121;
|
|
33943
34886
|
var init_HeaderTitle = __esm({
|
|
33944
34887
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/HeaderTitle.js"() {
|
|
33945
34888
|
init_object_spread();
|
|
33946
34889
|
init_object_without_properties();
|
|
33947
|
-
|
|
33948
|
-
|
|
34890
|
+
import_jsx_runtime166 = __toESM(require_jsx_runtime());
|
|
34891
|
+
import_react_native121 = __toESM(require_react_native());
|
|
33949
34892
|
init_byPlatform();
|
|
33950
34893
|
init_constants11();
|
|
33951
34894
|
}
|
|
@@ -33955,14 +34898,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33955
34898
|
function CloseButton(param) {
|
|
33956
34899
|
var tintColor = param.tintColor, onPress = param.onPress;
|
|
33957
34900
|
var adaptive2 = useAdaptive();
|
|
33958
|
-
return (0,
|
|
34901
|
+
return (0, import_jsx_runtime167.jsx)(NavbarCloseButton, {
|
|
33959
34902
|
onPress,
|
|
33960
34903
|
color: tintColor !== null && tintColor !== void 0 ? tintColor : adaptive2.grey900
|
|
33961
34904
|
});
|
|
33962
34905
|
}
|
|
33963
34906
|
function NavbarCloseButton(param) {
|
|
33964
34907
|
var onPress = param.onPress, color = param.color;
|
|
33965
|
-
return (0,
|
|
34908
|
+
return (0, import_jsx_runtime167.jsx)(import_react_native122.TouchableOpacity, {
|
|
33966
34909
|
hitSlop: {
|
|
33967
34910
|
top: 10,
|
|
33968
34911
|
right: 10,
|
|
@@ -33977,12 +34920,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33977
34920
|
accessible: true,
|
|
33978
34921
|
accessibilityLabel: "\uB2EB\uAE30",
|
|
33979
34922
|
accessibilityRole: "button",
|
|
33980
|
-
children: (0,
|
|
34923
|
+
children: (0, import_jsx_runtime167.jsx)(import_react_native122.View, {
|
|
33981
34924
|
style: {
|
|
33982
34925
|
width: 24,
|
|
33983
34926
|
height: 24
|
|
33984
34927
|
},
|
|
33985
|
-
children: (0,
|
|
34928
|
+
children: (0, import_jsx_runtime167.jsx)(react_native_svg_exports.SvgXml, {
|
|
33986
34929
|
width: 24,
|
|
33987
34930
|
height: 24,
|
|
33988
34931
|
xml: CLOSE_ICON.replace(/fill="#[0-9a-fA-F]{6}"/g, 'fill="'.concat(color, '"'))
|
|
@@ -33990,12 +34933,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
33990
34933
|
})
|
|
33991
34934
|
});
|
|
33992
34935
|
}
|
|
33993
|
-
var
|
|
34936
|
+
var import_jsx_runtime167, import_react_native122, CLOSE_ICON;
|
|
33994
34937
|
var init_CloseButton = __esm({
|
|
33995
34938
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/navbar/ReactNavigationHelper/CloseButton.js"() {
|
|
33996
|
-
|
|
34939
|
+
import_jsx_runtime167 = __toESM(require_jsx_runtime());
|
|
33997
34940
|
init_react_native_svg();
|
|
33998
|
-
|
|
34941
|
+
import_react_native122 = __toESM(require_react_native());
|
|
33999
34942
|
init_core();
|
|
34000
34943
|
CLOSE_ICON = '<svg fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m13.8151 11.9999 5.651-5.65096c.1114-.11143.1999-.24373.2603-.38934.0603-.14561.0914-.30168.0915-.45931 0-.15763-.031-.31372-.0913-.45937-.0602-.14564-.1486-.27799-.26-.38948-.1115-.1115-.2438-.19995-.3894-.26031-.1456-.06037-.3017-.09146-.4593-.09151-.1576-.00004-.3137.03096-.4594.09123-.1456.06028-.278.14866-.3894.26009l-5.651 5.65196-5.65205-5.65196c-.22764-.21263-.52899-.32849-.84044-.32313-.31145.00535-.60863.13151-.82883.35184-.2202.22032-.34618.51758-.35135.82903-.00517.31146.11087.61274.32362.84026l5.65205 5.65096-5.65205 5.651c-.16704.1682-.28062.3821-.32645.6146-.04583.2326-.02187.4736.06887.6926s.24421.4062.44111.5382c.19689.132.42842.2029.66547.2036.307 0 .614-.117.848-.351l5.65205-5.652 5.651 5.652c.1112.1117.2435.2003.3891.2607.1456.0605.3017.0916.4594.0916.1576 0 .3137-.0311.4593-.0916.1456-.0604.2779-.149.3892-.2607.1115-.1114.2-.2438.2604-.3894.0604-.1457.0915-.3019.0915-.4596s-.0311-.3138-.0915-.4595-.1489-.278-.2604-.3895z" fill="#b0b8c1" fill-rule="evenodd"/></svg>';
|
|
34001
34944
|
}
|
|
@@ -34040,22 +34983,22 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34040
34983
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/page-navbar/CompatAccessoryButton.js
|
|
34041
34984
|
function CompatAccessoryButton(props) {
|
|
34042
34985
|
if (props.type === "text") {
|
|
34043
|
-
return (0,
|
|
34986
|
+
return (0, import_jsx_runtime168.jsx)(ReactNavigationNavbar.RightTextButton, {
|
|
34044
34987
|
onPress: props.onClick,
|
|
34045
34988
|
children: props.title
|
|
34046
34989
|
});
|
|
34047
34990
|
}
|
|
34048
|
-
return (0,
|
|
34991
|
+
return (0, import_jsx_runtime168.jsx)(ReactNavigationNavbar.RightIconButton, {
|
|
34049
34992
|
onPress: props.onClick,
|
|
34050
34993
|
type: props.iconType,
|
|
34051
34994
|
name: props.name,
|
|
34052
34995
|
accessibilityLabel: props.alt
|
|
34053
34996
|
});
|
|
34054
34997
|
}
|
|
34055
|
-
var
|
|
34998
|
+
var import_jsx_runtime168;
|
|
34056
34999
|
var init_CompatAccessoryButton = __esm({
|
|
34057
35000
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/page-navbar/CompatAccessoryButton.js"() {
|
|
34058
|
-
|
|
35001
|
+
import_jsx_runtime168 = __toESM(require_jsx_runtime());
|
|
34059
35002
|
init_navbar();
|
|
34060
35003
|
}
|
|
34061
35004
|
});
|
|
@@ -34160,20 +35103,20 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34160
35103
|
});
|
|
34161
35104
|
|
|
34162
35105
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/page-navbar/components/TransparentNavigationBar/TransparentNavigationScrollView.js
|
|
34163
|
-
var
|
|
35106
|
+
var import_jsx_runtime169, import_react141, import_react_native123, TransparentNavigationScrollView;
|
|
34164
35107
|
var init_TransparentNavigationScrollView = __esm({
|
|
34165
35108
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/page-navbar/components/TransparentNavigationBar/TransparentNavigationScrollView.js"() {
|
|
34166
35109
|
init_object_spread();
|
|
34167
35110
|
init_object_spread_props();
|
|
34168
35111
|
init_object_without_properties();
|
|
34169
|
-
|
|
35112
|
+
import_jsx_runtime169 = __toESM(require_jsx_runtime());
|
|
34170
35113
|
init_src4();
|
|
34171
35114
|
init_elements();
|
|
34172
35115
|
init_esm5();
|
|
34173
35116
|
init_core();
|
|
34174
|
-
|
|
34175
|
-
|
|
34176
|
-
TransparentNavigationScrollView = /* @__PURE__ */ (0,
|
|
35117
|
+
import_react141 = __toESM(require_react());
|
|
35118
|
+
import_react_native123 = __toESM(require_react_native());
|
|
35119
|
+
TransparentNavigationScrollView = /* @__PURE__ */ (0, import_react141.forwardRef)(function TransparentNavigationScrollView2(_param, ref) {
|
|
34177
35120
|
var scrollEventThrottle = _param.scrollEventThrottle, onScroll = _param.onScroll, props = _object_without_properties(_param, [
|
|
34178
35121
|
"scrollEventThrottle",
|
|
34179
35122
|
"onScroll"
|
|
@@ -34181,22 +35124,22 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34181
35124
|
var height = useHeaderHeight();
|
|
34182
35125
|
var adaptive2 = useAdaptive();
|
|
34183
35126
|
var colorPreference = useColorPreference().colorPreference;
|
|
34184
|
-
var opacity = (0,
|
|
35127
|
+
var opacity = (0, import_react141.useRef)(new import_react_native123.Animated.Value(0)).current;
|
|
34185
35128
|
var animatedStyle = {
|
|
34186
35129
|
opacity
|
|
34187
35130
|
};
|
|
34188
|
-
var runOpacityAnimation = (0,
|
|
35131
|
+
var runOpacityAnimation = (0, import_react141.useCallback)(function(param) {
|
|
34189
35132
|
var isBlur = param.isBlur;
|
|
34190
|
-
|
|
35133
|
+
import_react_native123.Animated.spring(opacity, _object_spread({
|
|
34191
35134
|
toValue: isBlur ? 1 : 0,
|
|
34192
35135
|
useNativeDriver: true
|
|
34193
35136
|
}, spring.quick)).start();
|
|
34194
35137
|
}, [
|
|
34195
35138
|
opacity
|
|
34196
35139
|
]);
|
|
34197
|
-
return (0,
|
|
35140
|
+
return (0, import_jsx_runtime169.jsxs)(import_jsx_runtime169.Fragment, {
|
|
34198
35141
|
children: [
|
|
34199
|
-
(0,
|
|
35142
|
+
(0, import_jsx_runtime169.jsx)(IOScrollView, _object_spread_props(_object_spread({}, props), {
|
|
34200
35143
|
ref,
|
|
34201
35144
|
scrollEventThrottle: scrollEventThrottle !== null && scrollEventThrottle !== void 0 ? scrollEventThrottle : 300,
|
|
34202
35145
|
onScroll: function(e4) {
|
|
@@ -34207,15 +35150,15 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34207
35150
|
onScroll === null || onScroll === void 0 ? void 0 : onScroll(e4);
|
|
34208
35151
|
}
|
|
34209
35152
|
})),
|
|
34210
|
-
(0,
|
|
35153
|
+
(0, import_jsx_runtime169.jsx)(import_react_native123.Animated.View, {
|
|
34211
35154
|
style: [
|
|
34212
|
-
|
|
35155
|
+
import_react_native123.StyleSheet.absoluteFill,
|
|
34213
35156
|
{
|
|
34214
35157
|
height
|
|
34215
35158
|
},
|
|
34216
35159
|
animatedStyle
|
|
34217
35160
|
],
|
|
34218
|
-
children: (0,
|
|
35161
|
+
children: (0, import_jsx_runtime169.jsx)(BlurView, {
|
|
34219
35162
|
blurType: colorPreference,
|
|
34220
35163
|
blurAmount: 10,
|
|
34221
35164
|
vibrancyEffect: true,
|
|
@@ -34257,10 +35200,10 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34257
35200
|
function PageAccessoryButtons(param) {
|
|
34258
35201
|
var children = param.children;
|
|
34259
35202
|
var navigation = (0, native_exports.useNavigation)();
|
|
34260
|
-
(0,
|
|
35203
|
+
(0, import_react142.useLayoutEffect)(function() {
|
|
34261
35204
|
navigation.setOptions({
|
|
34262
35205
|
headerRight: function() {
|
|
34263
|
-
return (0,
|
|
35206
|
+
return (0, import_jsx_runtime170.jsx)(ReactNavigationNavbar.HeaderRight, {
|
|
34264
35207
|
children
|
|
34265
35208
|
});
|
|
34266
35209
|
}
|
|
@@ -34271,13 +35214,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34271
35214
|
]);
|
|
34272
35215
|
return null;
|
|
34273
35216
|
}
|
|
34274
|
-
var
|
|
35217
|
+
var import_jsx_runtime170, import_react142;
|
|
34275
35218
|
var init_PageAccessoryButtons = __esm({
|
|
34276
35219
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/page-navbar/PageAccessoryButtons.js"() {
|
|
34277
|
-
|
|
35220
|
+
import_jsx_runtime170 = __toESM(require_jsx_runtime());
|
|
34278
35221
|
init_native();
|
|
34279
35222
|
init_navbar();
|
|
34280
|
-
|
|
35223
|
+
import_react142 = __toESM(require_react());
|
|
34281
35224
|
}
|
|
34282
35225
|
});
|
|
34283
35226
|
|
|
@@ -34289,7 +35232,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34289
35232
|
"style"
|
|
34290
35233
|
]);
|
|
34291
35234
|
var navigation = (0, native_exports.useNavigation)();
|
|
34292
|
-
(0,
|
|
35235
|
+
(0, import_react143.useLayoutEffect)(function() {
|
|
34293
35236
|
navigation.setOptions({
|
|
34294
35237
|
/**
|
|
34295
35238
|
* headerTitle을 설정하면 뒤로가기 자체 정의한 headerLeft를 무시하고
|
|
@@ -34298,10 +35241,10 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34298
35241
|
*/
|
|
34299
35242
|
headerBackVisible: false,
|
|
34300
35243
|
headerTitle: function() {
|
|
34301
|
-
return (0,
|
|
35244
|
+
return (0, import_jsx_runtime171.jsx)(ReactNavigationNavbar.HeaderTitle, {
|
|
34302
35245
|
withHeaderLeft,
|
|
34303
35246
|
style,
|
|
34304
|
-
children: typeof children === "string" ? (0,
|
|
35247
|
+
children: typeof children === "string" ? (0, import_jsx_runtime171.jsx)(ReactNavigationNavbar.TitleTxt, _object_spread_props(_object_spread({}, titleTxtProps), {
|
|
34305
35248
|
children
|
|
34306
35249
|
})) : children
|
|
34307
35250
|
});
|
|
@@ -34316,16 +35259,16 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34316
35259
|
]);
|
|
34317
35260
|
return null;
|
|
34318
35261
|
}
|
|
34319
|
-
var
|
|
35262
|
+
var import_jsx_runtime171, import_react143;
|
|
34320
35263
|
var init_PageTitle = __esm({
|
|
34321
35264
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/page-navbar/PageTitle.js"() {
|
|
34322
35265
|
init_object_spread();
|
|
34323
35266
|
init_object_spread_props();
|
|
34324
35267
|
init_object_without_properties();
|
|
34325
|
-
|
|
35268
|
+
import_jsx_runtime171 = __toESM(require_jsx_runtime());
|
|
34326
35269
|
init_native();
|
|
34327
35270
|
init_navbar();
|
|
34328
|
-
|
|
35271
|
+
import_react143 = __toESM(require_react());
|
|
34329
35272
|
}
|
|
34330
35273
|
});
|
|
34331
35274
|
|
|
@@ -34335,7 +35278,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34335
35278
|
type: "showAlways"
|
|
34336
35279
|
} : _param_preference;
|
|
34337
35280
|
var navigation = (0, native_exports.useNavigation)();
|
|
34338
|
-
(0,
|
|
35281
|
+
(0, import_react144.useLayoutEffect)(function() {
|
|
34339
35282
|
navigation.setOptions({
|
|
34340
35283
|
headerStyle: {
|
|
34341
35284
|
backgroundColor: colors.background
|
|
@@ -34347,23 +35290,23 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34347
35290
|
navigation
|
|
34348
35291
|
]);
|
|
34349
35292
|
if (preference.type === "transparent") {
|
|
34350
|
-
return (0,
|
|
35293
|
+
return (0, import_jsx_runtime172.jsx)(TransparentPage, {
|
|
34351
35294
|
children
|
|
34352
35295
|
});
|
|
34353
35296
|
}
|
|
34354
35297
|
if (preference.type === "none") {
|
|
34355
|
-
return (0,
|
|
35298
|
+
return (0, import_jsx_runtime172.jsx)(NoneHeaderPage, {
|
|
34356
35299
|
children
|
|
34357
35300
|
});
|
|
34358
35301
|
}
|
|
34359
|
-
return (0,
|
|
35302
|
+
return (0, import_jsx_runtime172.jsx)(import_jsx_runtime172.Fragment, {
|
|
34360
35303
|
children
|
|
34361
35304
|
});
|
|
34362
35305
|
}
|
|
34363
35306
|
function NoneHeaderPage(param) {
|
|
34364
35307
|
var children = param.children;
|
|
34365
35308
|
var navigation = (0, native_exports.useNavigation)();
|
|
34366
|
-
(0,
|
|
35309
|
+
(0, import_react144.useLayoutEffect)(function() {
|
|
34367
35310
|
navigation.setOptions({
|
|
34368
35311
|
headerShown: false,
|
|
34369
35312
|
headerLeft: function() {
|
|
@@ -34379,29 +35322,29 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34379
35322
|
}, [
|
|
34380
35323
|
navigation
|
|
34381
35324
|
]);
|
|
34382
|
-
return (0,
|
|
35325
|
+
return (0, import_jsx_runtime172.jsx)(import_jsx_runtime172.Fragment, {
|
|
34383
35326
|
children
|
|
34384
35327
|
});
|
|
34385
35328
|
}
|
|
34386
35329
|
function TransparentPage(param) {
|
|
34387
35330
|
var children = param.children;
|
|
34388
35331
|
var navigation = (0, native_exports.useNavigation)();
|
|
34389
|
-
(0,
|
|
35332
|
+
(0, import_react144.useLayoutEffect)(function() {
|
|
34390
35333
|
navigation.setOptions(TransparentNavigation.screenOptions);
|
|
34391
35334
|
}, [
|
|
34392
35335
|
navigation
|
|
34393
35336
|
]);
|
|
34394
|
-
return (0,
|
|
35337
|
+
return (0, import_jsx_runtime172.jsx)(import_jsx_runtime172.Fragment, {
|
|
34395
35338
|
children
|
|
34396
35339
|
});
|
|
34397
35340
|
}
|
|
34398
|
-
var
|
|
35341
|
+
var import_jsx_runtime172, import_react144;
|
|
34399
35342
|
var init_PageNavbar = __esm({
|
|
34400
35343
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/page-navbar/PageNavbar.js"() {
|
|
34401
|
-
|
|
35344
|
+
import_jsx_runtime172 = __toESM(require_jsx_runtime());
|
|
34402
35345
|
init_native();
|
|
34403
35346
|
init_esm();
|
|
34404
|
-
|
|
35347
|
+
import_react144 = __toESM(require_react());
|
|
34405
35348
|
init_navbar();
|
|
34406
35349
|
init_CompatAccessoryButton();
|
|
34407
35350
|
init_TransparentNavigationBar();
|
|
@@ -34468,7 +35411,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34468
35411
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/external-web-view-screen/Navigation.js
|
|
34469
35412
|
function useAdaptive2() {
|
|
34470
35413
|
var colorPreference = useColorPreference().colorPreference;
|
|
34471
|
-
var adaptive2 = (0,
|
|
35414
|
+
var adaptive2 = (0, import_react145.useMemo)(function() {
|
|
34472
35415
|
return {
|
|
34473
35416
|
adaptive: colorsByPreference[colorPreference]
|
|
34474
35417
|
};
|
|
@@ -34478,7 +35421,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34478
35421
|
return adaptive2;
|
|
34479
35422
|
}
|
|
34480
35423
|
function hasValidChild(children) {
|
|
34481
|
-
return
|
|
35424
|
+
return import_react145.Children.toArray(children).length > 0;
|
|
34482
35425
|
}
|
|
34483
35426
|
function Navigation(param) {
|
|
34484
35427
|
var children = param.children;
|
|
@@ -34486,7 +35429,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34486
35429
|
var adaptive2 = useAdaptive2();
|
|
34487
35430
|
var colorPreference = useColorPreference().colorPreference;
|
|
34488
35431
|
var isValidChild = hasValidChild(children);
|
|
34489
|
-
(0,
|
|
35432
|
+
(0, import_react145.useLayoutEffect)(function() {
|
|
34490
35433
|
var clearHeaderStyle = function clearHeaderStyle2() {
|
|
34491
35434
|
navigation.setOptions({
|
|
34492
35435
|
headerStyle: null,
|
|
@@ -34512,13 +35455,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34512
35455
|
isValidChild,
|
|
34513
35456
|
adaptive2.background
|
|
34514
35457
|
]);
|
|
34515
|
-
return (0,
|
|
35458
|
+
return (0, import_jsx_runtime173.jsx)(import_jsx_runtime173.Fragment, {
|
|
34516
35459
|
children
|
|
34517
35460
|
});
|
|
34518
35461
|
}
|
|
34519
35462
|
function useBackOrCloseNavigation() {
|
|
34520
35463
|
var navigation = (0, native_exports.useNavigation)();
|
|
34521
|
-
return (0,
|
|
35464
|
+
return (0, import_react145.useCallback)(function() {
|
|
34522
35465
|
if (navigation.canGoBack()) {
|
|
34523
35466
|
navigation.goBack();
|
|
34524
35467
|
} else {
|
|
@@ -34551,7 +35494,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34551
35494
|
adaptive2.greyOpacity300,
|
|
34552
35495
|
adaptive2.greyOpacity100
|
|
34553
35496
|
];
|
|
34554
|
-
return (0,
|
|
35497
|
+
return (0, import_jsx_runtime173.jsxs)(import_react_native124.View, {
|
|
34555
35498
|
pointerEvents: "none",
|
|
34556
35499
|
style: [
|
|
34557
35500
|
{
|
|
@@ -34565,7 +35508,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34565
35508
|
}
|
|
34566
35509
|
],
|
|
34567
35510
|
children: [
|
|
34568
|
-
(0,
|
|
35511
|
+
(0, import_jsx_runtime173.jsx)(import_react_native124.View, {
|
|
34569
35512
|
pointerEvents: "none",
|
|
34570
35513
|
style: [
|
|
34571
35514
|
{
|
|
@@ -34580,7 +35523,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34580
35523
|
shadowStyle
|
|
34581
35524
|
]
|
|
34582
35525
|
}),
|
|
34583
|
-
(0,
|
|
35526
|
+
(0, import_jsx_runtime173.jsx)(LinearGradient2, {
|
|
34584
35527
|
degree: 90,
|
|
34585
35528
|
easing: "linear",
|
|
34586
35529
|
positions: [
|
|
@@ -34596,7 +35539,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34596
35539
|
function NavigationLeft(param) {
|
|
34597
35540
|
var children = param.children, _param_visible = param.visible, visible = _param_visible === void 0 ? true : _param_visible;
|
|
34598
35541
|
var navigation = (0, native_exports.useNavigation)();
|
|
34599
|
-
(0,
|
|
35542
|
+
(0, import_react145.useLayoutEffect)(function() {
|
|
34600
35543
|
if (!hasValidChild(children) || !visible) {
|
|
34601
35544
|
navigation.setOptions({
|
|
34602
35545
|
headerLeft: null
|
|
@@ -34605,7 +35548,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34605
35548
|
}
|
|
34606
35549
|
navigation.setOptions({
|
|
34607
35550
|
headerLeft: function() {
|
|
34608
|
-
return (0,
|
|
35551
|
+
return (0, import_jsx_runtime173.jsx)(import_jsx_runtime173.Fragment, {
|
|
34609
35552
|
children
|
|
34610
35553
|
});
|
|
34611
35554
|
}
|
|
@@ -34620,7 +35563,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34620
35563
|
function NavigationRight(param) {
|
|
34621
35564
|
var children = param.children, _param_visible = param.visible, visible = _param_visible === void 0 ? true : _param_visible;
|
|
34622
35565
|
var navigation = (0, native_exports.useNavigation)();
|
|
34623
|
-
(0,
|
|
35566
|
+
(0, import_react145.useLayoutEffect)(function() {
|
|
34624
35567
|
if (!hasValidChild(children) || !visible) {
|
|
34625
35568
|
navigation.setOptions({
|
|
34626
35569
|
headerRight: null
|
|
@@ -34629,7 +35572,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34629
35572
|
}
|
|
34630
35573
|
navigation.setOptions({
|
|
34631
35574
|
headerRight: function() {
|
|
34632
|
-
return (0,
|
|
35575
|
+
return (0, import_jsx_runtime173.jsx)(import_react_native124.View, {
|
|
34633
35576
|
style: {
|
|
34634
35577
|
marginRight: 4,
|
|
34635
35578
|
flexDirection: "row"
|
|
@@ -34649,7 +35592,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34649
35592
|
var children = param.children, _param_visible = param.visible, visible = _param_visible === void 0 ? true : _param_visible;
|
|
34650
35593
|
var TITLE_HORIZONTAL_MARGIN = 100;
|
|
34651
35594
|
var navigation = (0, native_exports.useNavigation)();
|
|
34652
|
-
(0,
|
|
35595
|
+
(0, import_react145.useLayoutEffect)(function() {
|
|
34653
35596
|
if (!hasValidChild(children) || !visible) {
|
|
34654
35597
|
navigation.setOptions({
|
|
34655
35598
|
headerBackVisible: false,
|
|
@@ -34666,7 +35609,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34666
35609
|
*/
|
|
34667
35610
|
headerBackVisible: false,
|
|
34668
35611
|
headerTitle: function() {
|
|
34669
|
-
return (0,
|
|
35612
|
+
return (0, import_jsx_runtime173.jsx)(import_react_native124.View, {
|
|
34670
35613
|
style: [
|
|
34671
35614
|
{
|
|
34672
35615
|
maxWidth: DEVICE_WIDTH - TITLE_HORIZONTAL_MARGIN,
|
|
@@ -34695,12 +35638,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34695
35638
|
radius: 5
|
|
34696
35639
|
};
|
|
34697
35640
|
if (props.name !== void 0) {
|
|
34698
|
-
return (0,
|
|
35641
|
+
return (0, import_jsx_runtime173.jsx)(Asset2.Icon, {
|
|
34699
35642
|
name: props.name,
|
|
34700
35643
|
frameShape: frameShape2
|
|
34701
35644
|
});
|
|
34702
35645
|
}
|
|
34703
|
-
return (0,
|
|
35646
|
+
return (0, import_jsx_runtime173.jsx)(import_react_native124.Image, {
|
|
34704
35647
|
source: props.source,
|
|
34705
35648
|
style: {
|
|
34706
35649
|
overflow: "hidden",
|
|
@@ -34715,9 +35658,9 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34715
35658
|
"style"
|
|
34716
35659
|
]);
|
|
34717
35660
|
var adaptive2 = useAdaptive2();
|
|
34718
|
-
return (0,
|
|
35661
|
+
return (0, import_jsx_runtime173.jsx)(PreventFontScaling, {
|
|
34719
35662
|
limit: 100,
|
|
34720
|
-
children: (0,
|
|
35663
|
+
children: (0, import_jsx_runtime173.jsx)(Txt_default, _object_spread({
|
|
34721
35664
|
typography: "st10",
|
|
34722
35665
|
fontWeight: "semibold",
|
|
34723
35666
|
color: adaptive2.grey900,
|
|
@@ -34732,7 +35675,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34732
35675
|
var adaptive2 = useAdaptive2();
|
|
34733
35676
|
var tintColor = colorPreference === "light" ? adaptive2.greyOpacity400 : adaptive2.greyOpacity500;
|
|
34734
35677
|
var handleBack = useBackOrCloseNavigation();
|
|
34735
|
-
return (0,
|
|
35678
|
+
return (0, import_jsx_runtime173.jsx)(ReactNavigationNavbar.BackButton, {
|
|
34736
35679
|
tintColor,
|
|
34737
35680
|
onPress: function() {
|
|
34738
35681
|
onPress === null || onPress === void 0 ? void 0 : onPress();
|
|
@@ -34747,7 +35690,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34747
35690
|
var colorPreference = useColorPreference().colorPreference;
|
|
34748
35691
|
var adaptive2 = useAdaptive2();
|
|
34749
35692
|
var tintColor = colorPreference === "light" ? adaptive2.greyOpacity400 : adaptive2.greyOpacity500;
|
|
34750
|
-
return (0,
|
|
35693
|
+
return (0, import_jsx_runtime173.jsx)(ReactNavigationNavbar.CloseButton, {
|
|
34751
35694
|
tintColor,
|
|
34752
35695
|
onPress: function() {
|
|
34753
35696
|
onPress === null || onPress === void 0 ? void 0 : onPress();
|
|
@@ -34755,17 +35698,17 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34755
35698
|
}
|
|
34756
35699
|
});
|
|
34757
35700
|
}
|
|
34758
|
-
var
|
|
35701
|
+
var import_jsx_runtime173, import_react145, import_react_native124, BACKDROP_SHADOW_COLOR, DEVICE_WIDTH;
|
|
34759
35702
|
var init_Navigation = __esm({
|
|
34760
35703
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/external-web-view-screen/Navigation.js"() {
|
|
34761
35704
|
init_object_spread();
|
|
34762
35705
|
init_object_without_properties();
|
|
34763
|
-
|
|
35706
|
+
import_jsx_runtime173 = __toESM(require_jsx_runtime());
|
|
34764
35707
|
init_elements();
|
|
34765
35708
|
init_native();
|
|
34766
35709
|
init_esm();
|
|
34767
|
-
|
|
34768
|
-
|
|
35710
|
+
import_react145 = __toESM(require_react());
|
|
35711
|
+
import_react_native124 = __toESM(require_react_native());
|
|
34769
35712
|
init_src4();
|
|
34770
35713
|
init_asset();
|
|
34771
35714
|
init_gradient();
|
|
@@ -34774,39 +35717,39 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34774
35717
|
init_txt();
|
|
34775
35718
|
init_ColorPreferenceProvider();
|
|
34776
35719
|
init_prevent_font_scaling();
|
|
34777
|
-
BACKDROP_SHADOW_COLOR =
|
|
35720
|
+
BACKDROP_SHADOW_COLOR = import_react_native124.Platform.select({
|
|
34778
35721
|
android: colors.greyOpacity400,
|
|
34779
35722
|
ios: colors.greyOpacity100,
|
|
34780
35723
|
default: colors.greyOpacity100
|
|
34781
35724
|
});
|
|
34782
|
-
DEVICE_WIDTH =
|
|
35725
|
+
DEVICE_WIDTH = import_react_native124.Dimensions.get("window").width;
|
|
34783
35726
|
}
|
|
34784
35727
|
});
|
|
34785
35728
|
|
|
34786
35729
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/external-web-view-screen/ExternalWebViewScreen.js
|
|
34787
|
-
var
|
|
35730
|
+
var import_jsx_runtime174, import_react146, import_react_native125, ExternalWebViewScreen;
|
|
34788
35731
|
var init_ExternalWebViewScreen = __esm({
|
|
34789
35732
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/external-web-view-screen/ExternalWebViewScreen.js"() {
|
|
34790
35733
|
init_object_spread();
|
|
34791
35734
|
init_object_spread_props();
|
|
34792
35735
|
init_object_without_properties();
|
|
34793
|
-
|
|
35736
|
+
import_jsx_runtime174 = __toESM(require_jsx_runtime());
|
|
34794
35737
|
init_react_native_webview();
|
|
34795
|
-
|
|
34796
|
-
|
|
35738
|
+
import_react146 = __toESM(require_react());
|
|
35739
|
+
import_react_native125 = __toESM(require_react_native());
|
|
34797
35740
|
init_mergeRefs2();
|
|
34798
35741
|
init_Navigation();
|
|
34799
|
-
ExternalWebViewScreen = /* @__PURE__ */ (0,
|
|
35742
|
+
ExternalWebViewScreen = /* @__PURE__ */ (0, import_react146.forwardRef)(function ExternalWebViewScreen2(_param, ref) {
|
|
34800
35743
|
var _param_header = _param.header, header = _param_header === void 0 ? {} : _param_header, onNavigationStateChange = _param.onNavigationStateChange, webViewProps = _object_without_properties(_param, [
|
|
34801
35744
|
"header",
|
|
34802
35745
|
"onNavigationStateChange"
|
|
34803
35746
|
]);
|
|
34804
35747
|
var title = header.title, icon = header.icon, _header_withBackButton = header.withBackButton, withBackButton = _header_withBackButton === void 0 ? false : _header_withBackButton;
|
|
34805
|
-
var webviewCanGoBack = (0,
|
|
34806
|
-
var webViewRef = (0,
|
|
35748
|
+
var webviewCanGoBack = (0, import_react146.useRef)(false);
|
|
35749
|
+
var webViewRef = (0, import_react146.useRef)(null);
|
|
34807
35750
|
var refs = mergeRefs2(ref, webViewRef);
|
|
34808
35751
|
var handleBack = useBackOrCloseNavigation();
|
|
34809
|
-
var handleBackButton = (0,
|
|
35752
|
+
var handleBackButton = (0, import_react146.useCallback)(function handleBackButton2() {
|
|
34810
35753
|
if (webViewRef.current != null && webviewCanGoBack.current) {
|
|
34811
35754
|
var _webViewRef_current;
|
|
34812
35755
|
(_webViewRef_current = webViewRef.current) === null || _webViewRef_current === void 0 ? void 0 : _webViewRef_current.goBack();
|
|
@@ -34816,31 +35759,31 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34816
35759
|
}, [
|
|
34817
35760
|
handleBack
|
|
34818
35761
|
]);
|
|
34819
|
-
return (0,
|
|
35762
|
+
return (0, import_jsx_runtime174.jsxs)(import_jsx_runtime174.Fragment, {
|
|
34820
35763
|
children: [
|
|
34821
|
-
(0,
|
|
35764
|
+
(0, import_jsx_runtime174.jsxs)(Navigation, {
|
|
34822
35765
|
children: [
|
|
34823
|
-
(0,
|
|
35766
|
+
(0, import_jsx_runtime174.jsx)(NavigationLeft, {
|
|
34824
35767
|
visible: withBackButton,
|
|
34825
|
-
children: (0,
|
|
35768
|
+
children: (0, import_jsx_runtime174.jsx)(NavigationBackButton, {
|
|
34826
35769
|
onPress: handleBackButton,
|
|
34827
35770
|
canGoBack: false
|
|
34828
35771
|
})
|
|
34829
35772
|
}),
|
|
34830
|
-
(0,
|
|
35773
|
+
(0, import_jsx_runtime174.jsxs)(NavigationCenter, {
|
|
34831
35774
|
children: [
|
|
34832
|
-
icon != null && (0,
|
|
34833
|
-
title != null && (0,
|
|
35775
|
+
icon != null && (0, import_jsx_runtime174.jsx)(NavigationTitleIcon, _object_spread({}, icon)),
|
|
35776
|
+
title != null && (0, import_jsx_runtime174.jsx)(NavigationTitleText, {
|
|
34834
35777
|
children: title
|
|
34835
35778
|
})
|
|
34836
35779
|
]
|
|
34837
35780
|
}),
|
|
34838
|
-
(0,
|
|
34839
|
-
children: (0,
|
|
35781
|
+
(0, import_jsx_runtime174.jsx)(NavigationRight, {
|
|
35782
|
+
children: (0, import_jsx_runtime174.jsx)(NavigationCloseButton, {})
|
|
34840
35783
|
})
|
|
34841
35784
|
]
|
|
34842
35785
|
}),
|
|
34843
|
-
(0,
|
|
35786
|
+
(0, import_jsx_runtime174.jsxs)(import_react_native125.View, {
|
|
34844
35787
|
style: {
|
|
34845
35788
|
display: "flex",
|
|
34846
35789
|
flexDirection: "column",
|
|
@@ -34848,8 +35791,8 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34848
35791
|
position: "relative"
|
|
34849
35792
|
},
|
|
34850
35793
|
children: [
|
|
34851
|
-
(0,
|
|
34852
|
-
(0,
|
|
35794
|
+
(0, import_jsx_runtime174.jsx)(NavigationBackdrop, {}),
|
|
35795
|
+
(0, import_jsx_runtime174.jsx)(react_native_webview_exports.WebView, _object_spread_props(_object_spread({
|
|
34853
35796
|
ref: refs
|
|
34854
35797
|
}, webViewProps), {
|
|
34855
35798
|
onNavigationStateChange: function(event) {
|
|
@@ -34877,7 +35820,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34877
35820
|
|
|
34878
35821
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/navigation/Navigation.js
|
|
34879
35822
|
function hasValidChild2(children) {
|
|
34880
|
-
return
|
|
35823
|
+
return import_react147.Children.toArray(children).length > 0;
|
|
34881
35824
|
}
|
|
34882
35825
|
function Navigation2(param) {
|
|
34883
35826
|
var children = param.children;
|
|
@@ -34885,7 +35828,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34885
35828
|
var adaptive2 = useAdaptive();
|
|
34886
35829
|
var colorPreference = useColorPreference().colorPreference;
|
|
34887
35830
|
var isValidChild = hasValidChild2(children);
|
|
34888
|
-
(0,
|
|
35831
|
+
(0, import_react147.useLayoutEffect)(function() {
|
|
34889
35832
|
var clearHeaderStyle = function clearHeaderStyle2() {
|
|
34890
35833
|
navigation.setOptions({
|
|
34891
35834
|
headerStyle: null,
|
|
@@ -34912,13 +35855,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34912
35855
|
isValidChild,
|
|
34913
35856
|
navigation
|
|
34914
35857
|
]);
|
|
34915
|
-
return (0,
|
|
35858
|
+
return (0, import_jsx_runtime175.jsx)(import_jsx_runtime175.Fragment, {
|
|
34916
35859
|
children
|
|
34917
35860
|
});
|
|
34918
35861
|
}
|
|
34919
35862
|
function useBackOrCloseNavigation2() {
|
|
34920
35863
|
var navigation = (0, native_exports.useNavigation)();
|
|
34921
|
-
return (0,
|
|
35864
|
+
return (0, import_react147.useCallback)(function() {
|
|
34922
35865
|
if (navigation.canGoBack()) {
|
|
34923
35866
|
navigation.goBack();
|
|
34924
35867
|
} else {
|
|
@@ -34931,7 +35874,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34931
35874
|
function NavigationLeft2(param) {
|
|
34932
35875
|
var children = param.children, _param_visible = param.visible, visible = _param_visible === void 0 ? true : _param_visible;
|
|
34933
35876
|
var navigation = (0, native_exports.useNavigation)();
|
|
34934
|
-
(0,
|
|
35877
|
+
(0, import_react147.useLayoutEffect)(function() {
|
|
34935
35878
|
if (!hasValidChild2(children) || !visible) {
|
|
34936
35879
|
navigation.setOptions({
|
|
34937
35880
|
headerLeft: null
|
|
@@ -34940,7 +35883,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34940
35883
|
}
|
|
34941
35884
|
navigation.setOptions({
|
|
34942
35885
|
headerLeft: function() {
|
|
34943
|
-
return (0,
|
|
35886
|
+
return (0, import_jsx_runtime175.jsx)(import_jsx_runtime175.Fragment, {
|
|
34944
35887
|
children
|
|
34945
35888
|
});
|
|
34946
35889
|
}
|
|
@@ -34955,7 +35898,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34955
35898
|
function NavigationRight2(param) {
|
|
34956
35899
|
var children = param.children, _param_visible = param.visible, visible = _param_visible === void 0 ? true : _param_visible;
|
|
34957
35900
|
var navigation = (0, native_exports.useNavigation)();
|
|
34958
|
-
(0,
|
|
35901
|
+
(0, import_react147.useLayoutEffect)(function() {
|
|
34959
35902
|
if (!hasValidChild2(children) || !visible) {
|
|
34960
35903
|
navigation.setOptions({
|
|
34961
35904
|
headerRight: null
|
|
@@ -34964,7 +35907,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34964
35907
|
}
|
|
34965
35908
|
navigation.setOptions({
|
|
34966
35909
|
headerRight: function() {
|
|
34967
|
-
return (0,
|
|
35910
|
+
return (0, import_jsx_runtime175.jsx)(import_react_native126.View, {
|
|
34968
35911
|
style: {
|
|
34969
35912
|
marginRight: 4,
|
|
34970
35913
|
flexDirection: "row",
|
|
@@ -34986,7 +35929,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
34986
35929
|
function NavigationCenter2(param) {
|
|
34987
35930
|
var children = param.children, _param_visible = param.visible, visible = _param_visible === void 0 ? true : _param_visible, _param_horizontalSafeMargin = param.horizontalSafeMargin, horizontalSafeMargin = _param_horizontalSafeMargin === void 0 ? 100 : _param_horizontalSafeMargin;
|
|
34988
35931
|
var navigation = (0, native_exports.useNavigation)();
|
|
34989
|
-
(0,
|
|
35932
|
+
(0, import_react147.useLayoutEffect)(function() {
|
|
34990
35933
|
if (!hasValidChild2(children) || !visible) {
|
|
34991
35934
|
navigation.setOptions({
|
|
34992
35935
|
headerBackVisible: false,
|
|
@@ -35003,7 +35946,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35003
35946
|
*/
|
|
35004
35947
|
headerBackVisible: false,
|
|
35005
35948
|
headerTitle: function() {
|
|
35006
|
-
return (0,
|
|
35949
|
+
return (0, import_jsx_runtime175.jsx)(import_react_native126.View, {
|
|
35007
35950
|
style: [
|
|
35008
35951
|
{
|
|
35009
35952
|
maxWidth: DEVICE_WIDTH2 - horizontalSafeMargin,
|
|
@@ -35034,12 +35977,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35034
35977
|
radius: 5
|
|
35035
35978
|
};
|
|
35036
35979
|
if (props.name !== void 0) {
|
|
35037
|
-
return (0,
|
|
35980
|
+
return (0, import_jsx_runtime175.jsx)(Asset2.Icon, {
|
|
35038
35981
|
name: props.name,
|
|
35039
35982
|
frameShape: frameShape2
|
|
35040
35983
|
});
|
|
35041
35984
|
}
|
|
35042
|
-
return (0,
|
|
35985
|
+
return (0, import_jsx_runtime175.jsx)(import_react_native126.Image, {
|
|
35043
35986
|
source: props.source,
|
|
35044
35987
|
style: {
|
|
35045
35988
|
overflow: "hidden",
|
|
@@ -35054,9 +35997,9 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35054
35997
|
"style"
|
|
35055
35998
|
]);
|
|
35056
35999
|
var adaptive2 = useAdaptive();
|
|
35057
|
-
return (0,
|
|
36000
|
+
return (0, import_jsx_runtime175.jsx)(PreventFontScaling, {
|
|
35058
36001
|
limit: 100,
|
|
35059
|
-
children: (0,
|
|
36002
|
+
children: (0, import_jsx_runtime175.jsx)(Txt_default, _object_spread({
|
|
35060
36003
|
typography: "st10",
|
|
35061
36004
|
fontWeight: "semibold",
|
|
35062
36005
|
color: adaptive2.grey900,
|
|
@@ -35069,7 +36012,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35069
36012
|
var onPress = param.onPress, _param_canGoBack = param.canGoBack, canGoBack = _param_canGoBack === void 0 ? true : _param_canGoBack;
|
|
35070
36013
|
var adaptive2 = useAdaptive();
|
|
35071
36014
|
var handleBack = useBackOrCloseNavigation2();
|
|
35072
|
-
return (0,
|
|
36015
|
+
return (0, import_jsx_runtime175.jsx)(ReactNavigationNavbar.BackButton, {
|
|
35073
36016
|
tintColor: adaptive2.grey900,
|
|
35074
36017
|
accessibilityRole: "button",
|
|
35075
36018
|
accessible: true,
|
|
@@ -35087,7 +36030,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35087
36030
|
var colorPreference = useColorPreference().colorPreference;
|
|
35088
36031
|
var adaptive2 = useAdaptive();
|
|
35089
36032
|
var tintColor = colorPreference === "light" ? adaptive2.greyOpacity400 : adaptive2.greyOpacity500;
|
|
35090
|
-
return (0,
|
|
36033
|
+
return (0, import_jsx_runtime175.jsx)(ReactNavigationNavbar.CloseButton, {
|
|
35091
36034
|
tintColor,
|
|
35092
36035
|
onPress: function() {
|
|
35093
36036
|
onPress === null || onPress === void 0 ? void 0 : onPress();
|
|
@@ -35103,13 +36046,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35103
36046
|
return null;
|
|
35104
36047
|
}
|
|
35105
36048
|
if (icon.name !== void 0) {
|
|
35106
|
-
return (0,
|
|
36049
|
+
return (0, import_jsx_runtime175.jsx)(Icon_default, {
|
|
35107
36050
|
name: icon.name,
|
|
35108
36051
|
size: 20
|
|
35109
36052
|
});
|
|
35110
36053
|
}
|
|
35111
36054
|
if (icon.source !== void 0) {
|
|
35112
|
-
return (0,
|
|
36055
|
+
return (0, import_jsx_runtime175.jsx)(Asset2.Image, _object_spread_props(_object_spread({}, icon), {
|
|
35113
36056
|
frameShape: {
|
|
35114
36057
|
width: 20,
|
|
35115
36058
|
height: 20
|
|
@@ -35118,10 +36061,10 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35118
36061
|
}
|
|
35119
36062
|
return null;
|
|
35120
36063
|
}();
|
|
35121
|
-
return (0,
|
|
36064
|
+
return (0, import_jsx_runtime175.jsx)(PressableEffect, {
|
|
35122
36065
|
onPress,
|
|
35123
36066
|
disabled,
|
|
35124
|
-
children: (0,
|
|
36067
|
+
children: (0, import_jsx_runtime175.jsxs)(import_react_native126.View, {
|
|
35125
36068
|
style: [
|
|
35126
36069
|
{
|
|
35127
36070
|
flexDirection: "row",
|
|
@@ -35134,7 +36077,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35134
36077
|
}
|
|
35135
36078
|
],
|
|
35136
36079
|
children: [
|
|
35137
|
-
(0,
|
|
36080
|
+
(0, import_jsx_runtime175.jsx)(Txt_default, {
|
|
35138
36081
|
typography: "t5",
|
|
35139
36082
|
color: adaptive2.grey700,
|
|
35140
36083
|
children: title
|
|
@@ -35146,13 +36089,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35146
36089
|
}
|
|
35147
36090
|
function NavigationDropdownMenu(param) {
|
|
35148
36091
|
var items = param.items;
|
|
35149
|
-
return (0,
|
|
36092
|
+
return (0, import_jsx_runtime175.jsx)(Trigger, {
|
|
35150
36093
|
strategy: "fixed",
|
|
35151
36094
|
placement: "bottom-end",
|
|
35152
36095
|
defaultOpen: false,
|
|
35153
|
-
dropdown: (0,
|
|
36096
|
+
dropdown: (0, import_jsx_runtime175.jsx)(Dropdown, {
|
|
35154
36097
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
35155
|
-
return (0,
|
|
36098
|
+
return (0, import_jsx_runtime175.jsx)(DropdownItem2, {
|
|
35156
36099
|
title: item.title,
|
|
35157
36100
|
icon: item.icon,
|
|
35158
36101
|
onPress: item.onPress,
|
|
@@ -35160,22 +36103,22 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35160
36103
|
}, item.title);
|
|
35161
36104
|
})
|
|
35162
36105
|
}),
|
|
35163
|
-
children: (0,
|
|
36106
|
+
children: (0, import_jsx_runtime175.jsx)(ReactNavigationNavbar.RightIconButton, {
|
|
35164
36107
|
name: "icon-navigation-menu-mono"
|
|
35165
36108
|
})
|
|
35166
36109
|
});
|
|
35167
36110
|
}
|
|
35168
|
-
var
|
|
36111
|
+
var import_jsx_runtime175, import_react147, import_react_native126, DEVICE_WIDTH2, NavigationIconButton;
|
|
35169
36112
|
var init_Navigation2 = __esm({
|
|
35170
36113
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/navigation/Navigation.js"() {
|
|
35171
36114
|
init_object_spread();
|
|
35172
36115
|
init_object_spread_props();
|
|
35173
36116
|
init_object_without_properties();
|
|
35174
|
-
|
|
36117
|
+
import_jsx_runtime175 = __toESM(require_jsx_runtime());
|
|
35175
36118
|
init_native();
|
|
35176
36119
|
init_esm();
|
|
35177
|
-
|
|
35178
|
-
|
|
36120
|
+
import_react147 = __toESM(require_react());
|
|
36121
|
+
import_react_native126 = __toESM(require_react_native());
|
|
35179
36122
|
init_src4();
|
|
35180
36123
|
init_asset();
|
|
35181
36124
|
init_dropdown();
|
|
@@ -35185,9 +36128,9 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35185
36128
|
init_core();
|
|
35186
36129
|
init_prevent_font_scaling();
|
|
35187
36130
|
init_pressable_effect();
|
|
35188
|
-
DEVICE_WIDTH2 =
|
|
35189
|
-
NavigationIconButton = /* @__PURE__ */ (0,
|
|
35190
|
-
return (0,
|
|
36131
|
+
DEVICE_WIDTH2 = import_react_native126.Dimensions.get("window").width;
|
|
36132
|
+
NavigationIconButton = /* @__PURE__ */ (0, import_react147.forwardRef)(function NavigationIconButton2(props, ref) {
|
|
36133
|
+
return (0, import_jsx_runtime175.jsx)(ReactNavigationNavbar.RightIconButton, _object_spread({
|
|
35191
36134
|
ref
|
|
35192
36135
|
}, props));
|
|
35193
36136
|
});
|
|
@@ -35211,65 +36154,65 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35211
36154
|
case 1: {
|
|
35212
36155
|
var _rightButtons_;
|
|
35213
36156
|
var _ref = (_rightButtons_ = rightButtons[0]) !== null && _rightButtons_ !== void 0 ? _rightButtons_ : {}, title2 = _ref.title, icon2 = _ref.icon, onPress = _ref.onPress, disabled = _ref.disabled;
|
|
35214
|
-
return (0,
|
|
36157
|
+
return (0, import_jsx_runtime176.jsx)(NavigationIconButton, _object_spread_props(_object_spread({}, icon2), {
|
|
35215
36158
|
accessibilityLabel: title2,
|
|
35216
36159
|
onPress,
|
|
35217
36160
|
disabled
|
|
35218
36161
|
}));
|
|
35219
36162
|
}
|
|
35220
36163
|
default:
|
|
35221
|
-
return (0,
|
|
36164
|
+
return (0, import_jsx_runtime176.jsx)(NavigationDropdownMenu, {
|
|
35222
36165
|
items: rightButtons
|
|
35223
36166
|
});
|
|
35224
36167
|
}
|
|
35225
36168
|
};
|
|
35226
36169
|
var navigationTitleHorizontalSafeMargin = rightButtons.length > 0 ? 240 : 100;
|
|
35227
|
-
return (0,
|
|
36170
|
+
return (0, import_jsx_runtime176.jsxs)(Navigation2, {
|
|
35228
36171
|
children: [
|
|
35229
|
-
(0,
|
|
36172
|
+
(0, import_jsx_runtime176.jsxs)(NavigationCenter2, {
|
|
35230
36173
|
horizontalSafeMargin: navigationTitleHorizontalSafeMargin,
|
|
35231
36174
|
children: [
|
|
35232
|
-
icon != null && (0,
|
|
35233
|
-
title != null && (0,
|
|
36175
|
+
icon != null && (0, import_jsx_runtime176.jsx)(NavigationTitleIcon2, _object_spread({}, icon)),
|
|
36176
|
+
title != null && (0, import_jsx_runtime176.jsx)(NavigationTitleText2, {
|
|
35234
36177
|
children: title
|
|
35235
36178
|
})
|
|
35236
36179
|
]
|
|
35237
36180
|
}),
|
|
35238
|
-
(0,
|
|
36181
|
+
(0, import_jsx_runtime176.jsxs)(NavigationRight2, {
|
|
35239
36182
|
children: [
|
|
35240
36183
|
renderRightButtons(),
|
|
35241
|
-
(0,
|
|
36184
|
+
(0, import_jsx_runtime176.jsx)(NavigationCloseButton2, {})
|
|
35242
36185
|
]
|
|
35243
36186
|
}),
|
|
35244
36187
|
children
|
|
35245
36188
|
]
|
|
35246
36189
|
});
|
|
35247
36190
|
}
|
|
35248
|
-
var
|
|
36191
|
+
var import_jsx_runtime176;
|
|
35249
36192
|
var init_PartnerNavigation = __esm({
|
|
35250
36193
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/partner-navigation/PartnerNavigation.js"() {
|
|
35251
36194
|
init_object_spread();
|
|
35252
36195
|
init_object_spread_props();
|
|
35253
|
-
|
|
36196
|
+
import_jsx_runtime176 = __toESM(require_jsx_runtime());
|
|
35254
36197
|
init_navigation();
|
|
35255
36198
|
}
|
|
35256
36199
|
});
|
|
35257
36200
|
|
|
35258
36201
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/partner-web-view-screen/PartnerWebViewScreen.js
|
|
35259
|
-
var
|
|
36202
|
+
var import_jsx_runtime177, import_react148, PartnerWebViewScreen;
|
|
35260
36203
|
var init_PartnerWebViewScreen = __esm({
|
|
35261
36204
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/partner-web-view-screen/PartnerWebViewScreen.js"() {
|
|
35262
36205
|
init_object_spread();
|
|
35263
36206
|
init_object_spread_props();
|
|
35264
36207
|
init_object_without_properties();
|
|
35265
|
-
|
|
36208
|
+
import_jsx_runtime177 = __toESM(require_jsx_runtime());
|
|
35266
36209
|
init_react_native_webview();
|
|
35267
|
-
|
|
36210
|
+
import_react148 = __toESM(require_react());
|
|
35268
36211
|
init_src4();
|
|
35269
36212
|
init_mergeRefs2();
|
|
35270
36213
|
init_navigation();
|
|
35271
36214
|
init_PartnerNavigation();
|
|
35272
|
-
PartnerWebViewScreen = /* @__PURE__ */ (0,
|
|
36215
|
+
PartnerWebViewScreen = /* @__PURE__ */ (0, import_react148.forwardRef)(function PartnerWebViewScreen2(_param, ref) {
|
|
35273
36216
|
var header = _param.header, onNavigationStateChange = _param.onNavigationStateChange, webViewProps = _object_without_properties(_param, [
|
|
35274
36217
|
"header",
|
|
35275
36218
|
"onNavigationStateChange"
|
|
@@ -35277,14 +36220,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35277
36220
|
var _header_withBackButton = header.withBackButton, withBackButton = _header_withBackButton === void 0 ? true : _header_withBackButton, partnerNavigationProps = _object_without_properties(header, [
|
|
35278
36221
|
"withBackButton"
|
|
35279
36222
|
]);
|
|
35280
|
-
var webviewCanGoBack = (0,
|
|
36223
|
+
var webviewCanGoBack = (0, import_react148.useRef)(false);
|
|
35281
36224
|
var backEventContext = useBackEventContext();
|
|
35282
|
-
var webViewRef = (0,
|
|
36225
|
+
var webViewRef = (0, import_react148.useRef)(null);
|
|
35283
36226
|
var refs = mergeRefs2(ref, webViewRef);
|
|
35284
36227
|
var overrideCanGoBack = !backEventContext.hasBackEvent;
|
|
35285
36228
|
var onGoBack = backEventContext.onGoBack;
|
|
35286
36229
|
var handleBack = useBackOrCloseNavigation2();
|
|
35287
|
-
var handleBackButton = (0,
|
|
36230
|
+
var handleBackButton = (0, import_react148.useCallback)(function handleBackButton2() {
|
|
35288
36231
|
if (!overrideCanGoBack) {
|
|
35289
36232
|
onGoBack();
|
|
35290
36233
|
return;
|
|
@@ -35300,18 +36243,18 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35300
36243
|
onGoBack,
|
|
35301
36244
|
handleBack
|
|
35302
36245
|
]);
|
|
35303
|
-
return (0,
|
|
36246
|
+
return (0, import_jsx_runtime177.jsxs)(import_jsx_runtime177.Fragment, {
|
|
35304
36247
|
children: [
|
|
35305
|
-
(0,
|
|
35306
|
-
children: (0,
|
|
36248
|
+
(0, import_jsx_runtime177.jsx)(PartnerNavigation, _object_spread_props(_object_spread({}, partnerNavigationProps), {
|
|
36249
|
+
children: (0, import_jsx_runtime177.jsx)(NavigationLeft2, {
|
|
35307
36250
|
visible: withBackButton,
|
|
35308
|
-
children: (0,
|
|
36251
|
+
children: (0, import_jsx_runtime177.jsx)(NavigationBackButton2, {
|
|
35309
36252
|
onPress: handleBackButton,
|
|
35310
36253
|
canGoBack: false
|
|
35311
36254
|
})
|
|
35312
36255
|
})
|
|
35313
36256
|
})),
|
|
35314
|
-
(0,
|
|
36257
|
+
(0, import_jsx_runtime177.jsx)(react_native_webview_exports.WebView, _object_spread_props(_object_spread({
|
|
35315
36258
|
ref: refs
|
|
35316
36259
|
}, webViewProps), {
|
|
35317
36260
|
onNavigationStateChange: function(event) {
|
|
@@ -35572,29 +36515,29 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35572
36515
|
});
|
|
35573
36516
|
|
|
35574
36517
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/bridge/components/Icon.js
|
|
35575
|
-
var
|
|
36518
|
+
var import_jsx_runtime178, import_react149, import_react_native127, Icon6;
|
|
35576
36519
|
var init_Icon3 = __esm({
|
|
35577
36520
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/bridge/components/Icon.js"() {
|
|
35578
36521
|
init_object_spread();
|
|
35579
36522
|
init_object_spread_props();
|
|
35580
36523
|
init_object_without_properties();
|
|
35581
|
-
|
|
35582
|
-
|
|
35583
|
-
|
|
36524
|
+
import_jsx_runtime178 = __toESM(require_jsx_runtime());
|
|
36525
|
+
import_react149 = __toESM(require_react());
|
|
36526
|
+
import_react_native127 = __toESM(require_react_native());
|
|
35584
36527
|
init_src4();
|
|
35585
36528
|
init_icon();
|
|
35586
|
-
Icon6 = /* @__PURE__ */ (0,
|
|
36529
|
+
Icon6 = /* @__PURE__ */ (0, import_react149.forwardRef)(function Icon7(_param, ref) {
|
|
35587
36530
|
var name2 = _param.name, source = _param.source, restProps = _object_without_properties(_param, [
|
|
35588
36531
|
"name",
|
|
35589
36532
|
"source"
|
|
35590
36533
|
]);
|
|
35591
|
-
var content = name2 !== void 0 ? (0,
|
|
36534
|
+
var content = name2 !== void 0 ? (0, import_jsx_runtime178.jsx)(Icon_default, {
|
|
35592
36535
|
name: name2,
|
|
35593
36536
|
style: {
|
|
35594
36537
|
width: "100%",
|
|
35595
36538
|
aspectRatio: 1
|
|
35596
36539
|
}
|
|
35597
|
-
}) : (0,
|
|
36540
|
+
}) : (0, import_jsx_runtime178.jsx)(Image, {
|
|
35598
36541
|
source,
|
|
35599
36542
|
style: {
|
|
35600
36543
|
width: "100%",
|
|
@@ -35603,7 +36546,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35603
36546
|
resizeMode: "contain",
|
|
35604
36547
|
accessibilityRole: "image"
|
|
35605
36548
|
});
|
|
35606
|
-
return (0,
|
|
36549
|
+
return (0, import_jsx_runtime178.jsx)(import_react_native127.View, _object_spread_props(_object_spread({
|
|
35607
36550
|
ref
|
|
35608
36551
|
}, restProps), {
|
|
35609
36552
|
children: content
|
|
@@ -35619,28 +36562,28 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35619
36562
|
"children"
|
|
35620
36563
|
]);
|
|
35621
36564
|
if (shadows.length === 0) {
|
|
35622
|
-
return (0,
|
|
36565
|
+
return (0, import_jsx_runtime179.jsx)(import_jsx_runtime179.Fragment, {
|
|
35623
36566
|
children
|
|
35624
36567
|
});
|
|
35625
36568
|
}
|
|
35626
36569
|
var nestedView = shadows.reduceRight(function(acc, shadow) {
|
|
35627
|
-
return (0,
|
|
36570
|
+
return (0, import_jsx_runtime179.jsx)(import_react_native128.View, {
|
|
35628
36571
|
style: generateShadowStyle(shadow),
|
|
35629
36572
|
children: acc
|
|
35630
36573
|
});
|
|
35631
36574
|
}, children);
|
|
35632
|
-
return (0,
|
|
36575
|
+
return (0, import_jsx_runtime179.jsx)(import_react_native128.View, _object_spread_props(_object_spread({}, restProps), {
|
|
35633
36576
|
children: nestedView
|
|
35634
36577
|
}));
|
|
35635
36578
|
}
|
|
35636
|
-
var
|
|
36579
|
+
var import_jsx_runtime179, import_react_native128;
|
|
35637
36580
|
var init_NestedShadow = __esm({
|
|
35638
36581
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/bridge/components/NestedShadow.js"() {
|
|
35639
36582
|
init_object_spread();
|
|
35640
36583
|
init_object_spread_props();
|
|
35641
36584
|
init_object_without_properties();
|
|
35642
|
-
|
|
35643
|
-
|
|
36585
|
+
import_jsx_runtime179 = __toESM(require_jsx_runtime());
|
|
36586
|
+
import_react_native128 = __toESM(require_react_native());
|
|
35644
36587
|
init_generateShadowStyle();
|
|
35645
36588
|
}
|
|
35646
36589
|
});
|
|
@@ -35689,9 +36632,9 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35689
36632
|
var isBasicColorMode = colorMode === "basic";
|
|
35690
36633
|
var onClose = usePreservedCallback3(_onClose !== null && _onClose !== void 0 ? _onClose : noop4);
|
|
35691
36634
|
var onExited = usePreservedCallback3(_onExited !== null && _onExited !== void 0 ? _onExited : noop4);
|
|
35692
|
-
var _useState = _sliced_to_array((0,
|
|
35693
|
-
var timerRef = (0,
|
|
35694
|
-
var handleDelayedClose = (0,
|
|
36635
|
+
var _useState = _sliced_to_array((0, import_react150.useState)(false), 2), isPressable = _useState[0], setIsPressable = _useState[1];
|
|
36636
|
+
var timerRef = (0, import_react150.useRef)(null);
|
|
36637
|
+
var handleDelayedClose = (0, import_react150.useCallback)(function() {
|
|
35695
36638
|
if (timerRef.current) {
|
|
35696
36639
|
clearTimeout(timerRef.current);
|
|
35697
36640
|
}
|
|
@@ -35702,14 +36645,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35702
36645
|
}, [
|
|
35703
36646
|
onClose
|
|
35704
36647
|
]);
|
|
35705
|
-
(0,
|
|
36648
|
+
(0, import_react150.useEffect)(function() {
|
|
35706
36649
|
return function() {
|
|
35707
36650
|
if (timerRef.current) {
|
|
35708
36651
|
clearTimeout(timerRef.current);
|
|
35709
36652
|
}
|
|
35710
36653
|
};
|
|
35711
36654
|
}, []);
|
|
35712
|
-
(0,
|
|
36655
|
+
(0, import_react150.useEffect)(function() {
|
|
35713
36656
|
var timer = setTimeout(function() {
|
|
35714
36657
|
setIsPressable(true);
|
|
35715
36658
|
}, BRIDGE_TOUCHABLE_DELAY);
|
|
@@ -35722,7 +36665,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35722
36665
|
small: 375
|
|
35723
36666
|
};
|
|
35724
36667
|
var animation = useBridgeAnimation();
|
|
35725
|
-
(0,
|
|
36668
|
+
(0, import_react150.useEffect)(function() {
|
|
35726
36669
|
if (open) {
|
|
35727
36670
|
animation.controller.open().start();
|
|
35728
36671
|
return function() {
|
|
@@ -35770,16 +36713,16 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35770
36713
|
}
|
|
35771
36714
|
];
|
|
35772
36715
|
}();
|
|
35773
|
-
var _useState1 = _sliced_to_array((0,
|
|
35774
|
-
var _useState2 = _sliced_to_array((0,
|
|
35775
|
-
var _useState3 = _sliced_to_array((0,
|
|
35776
|
-
var handleContentLayout = (0,
|
|
36716
|
+
var _useState1 = _sliced_to_array((0, import_react150.useState)(null), 2), contentCenterOffset = _useState1[0], setContentCenterOffset = _useState1[1];
|
|
36717
|
+
var _useState2 = _sliced_to_array((0, import_react150.useState)(null), 2), backgroundGroupCenterOffset = _useState2[0], setBackgroundGroupCenterOffset = _useState2[1];
|
|
36718
|
+
var _useState3 = _sliced_to_array((0, import_react150.useState)(0), 2), backgroundGroupYOffset = _useState3[0], setBackgroundGroupYOffset = _useState3[1];
|
|
36719
|
+
var handleContentLayout = (0, import_react150.useCallback)(function(event) {
|
|
35777
36720
|
setContentCenterOffset(getCenterOffset(event.nativeEvent.layout));
|
|
35778
36721
|
}, []);
|
|
35779
|
-
var handleBackgroundGroupLayout = (0,
|
|
36722
|
+
var handleBackgroundGroupLayout = (0, import_react150.useCallback)(function(event) {
|
|
35780
36723
|
setBackgroundGroupCenterOffset(getCenterOffset(event.nativeEvent.layout));
|
|
35781
36724
|
}, []);
|
|
35782
|
-
(0,
|
|
36725
|
+
(0, import_react150.useLayoutEffect)(function() {
|
|
35783
36726
|
if (contentCenterOffset === null || backgroundGroupCenterOffset === null) {
|
|
35784
36727
|
return;
|
|
35785
36728
|
}
|
|
@@ -35788,9 +36731,9 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35788
36731
|
backgroundGroupCenterOffset,
|
|
35789
36732
|
contentCenterOffset
|
|
35790
36733
|
]);
|
|
35791
|
-
return (0,
|
|
36734
|
+
return (0, import_jsx_runtime180.jsxs)(import_react_native129.Pressable, _object_spread_props(_object_spread({
|
|
35792
36735
|
style: [
|
|
35793
|
-
|
|
36736
|
+
styles33.fullCover,
|
|
35794
36737
|
{
|
|
35795
36738
|
zIndex: 10
|
|
35796
36739
|
},
|
|
@@ -35800,18 +36743,18 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35800
36743
|
onPress: handleDelayedClose
|
|
35801
36744
|
}, restProps), {
|
|
35802
36745
|
children: [
|
|
35803
|
-
(0,
|
|
36746
|
+
(0, import_jsx_runtime180.jsx)(import_react_native129.View, {
|
|
35804
36747
|
style: {
|
|
35805
36748
|
flex: 1,
|
|
35806
36749
|
//상단 네비 거리
|
|
35807
|
-
paddingTop:
|
|
36750
|
+
paddingTop: import_react_native129.Platform.select({
|
|
35808
36751
|
ios: 103,
|
|
35809
36752
|
android: 56,
|
|
35810
36753
|
default: 56
|
|
35811
36754
|
}),
|
|
35812
36755
|
zIndex: 1
|
|
35813
36756
|
},
|
|
35814
|
-
children: (0,
|
|
36757
|
+
children: (0, import_jsx_runtime180.jsxs)(Animated20.View, {
|
|
35815
36758
|
style: [
|
|
35816
36759
|
{
|
|
35817
36760
|
flexDirection: "column",
|
|
@@ -35822,7 +36765,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35822
36765
|
],
|
|
35823
36766
|
onLayout: handleContentLayout,
|
|
35824
36767
|
children: [
|
|
35825
|
-
(0,
|
|
36768
|
+
(0, import_jsx_runtime180.jsx)(NestedShadow, {
|
|
35826
36769
|
shadows: isBasicColorMode ? [
|
|
35827
36770
|
{
|
|
35828
36771
|
offset: {
|
|
@@ -35852,14 +36795,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35852
36795
|
color: token.bridge.contentLogoShadowColor
|
|
35853
36796
|
}
|
|
35854
36797
|
] : [],
|
|
35855
|
-
children: (0,
|
|
36798
|
+
children: (0, import_jsx_runtime180.jsx)(AnimatedIcon2, _object_spread_props(_object_spread({}, icon), {
|
|
35856
36799
|
style: [
|
|
35857
|
-
|
|
36800
|
+
styles33.iconBorder,
|
|
35858
36801
|
animation.style.contentLogo
|
|
35859
36802
|
]
|
|
35860
36803
|
}))
|
|
35861
36804
|
}),
|
|
35862
|
-
(0,
|
|
36805
|
+
(0, import_jsx_runtime180.jsx)(AnimatedText, {
|
|
35863
36806
|
style: [
|
|
35864
36807
|
{
|
|
35865
36808
|
textAlign: "center"
|
|
@@ -35868,7 +36811,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35868
36811
|
],
|
|
35869
36812
|
children: title.map(function(param, index) {
|
|
35870
36813
|
var type = param.type, text = param.text;
|
|
35871
|
-
return (0,
|
|
36814
|
+
return (0, import_jsx_runtime180.jsx)(Txt_default, {
|
|
35872
36815
|
typography: "t3",
|
|
35873
36816
|
fontWeight: "bold",
|
|
35874
36817
|
color: isBasicColorMode ? type === "strong" ? token.bridge.contentTitleStrongColor : token.bridge.contentTitleDefaultColor : type === "strong" ? token.bridge.contentTitleStrongInvertedColor : token.bridge.contentTitleDefaultInvertedColor,
|
|
@@ -35880,24 +36823,24 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35880
36823
|
]
|
|
35881
36824
|
})
|
|
35882
36825
|
}),
|
|
35883
|
-
(0,
|
|
36826
|
+
(0, import_jsx_runtime180.jsx)(import_react_native129.View, {
|
|
35884
36827
|
style: [
|
|
35885
|
-
|
|
36828
|
+
styles33.fullCover,
|
|
35886
36829
|
{
|
|
35887
36830
|
height: DeviceHeight
|
|
35888
36831
|
}
|
|
35889
36832
|
],
|
|
35890
|
-
children: (0,
|
|
36833
|
+
children: (0, import_jsx_runtime180.jsxs)(Animated20.View, {
|
|
35891
36834
|
style: [
|
|
35892
|
-
|
|
35893
|
-
|
|
36835
|
+
styles33.center,
|
|
36836
|
+
styles33.fullCover,
|
|
35894
36837
|
animation.style.backgroundGroup
|
|
35895
36838
|
],
|
|
35896
36839
|
onLayout: handleBackgroundGroupLayout,
|
|
35897
36840
|
children: [
|
|
35898
|
-
(0,
|
|
35899
|
-
style:
|
|
35900
|
-
children: (0,
|
|
36841
|
+
(0, import_jsx_runtime180.jsx)(import_react_native129.View, {
|
|
36842
|
+
style: styles33.fullCover,
|
|
36843
|
+
children: (0, import_jsx_runtime180.jsx)(LinearGradient2, {
|
|
35901
36844
|
opacity: 1,
|
|
35902
36845
|
degree: 180,
|
|
35903
36846
|
colors: isBasicColorMode ? [
|
|
@@ -35920,7 +36863,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35920
36863
|
easing: "linear"
|
|
35921
36864
|
})
|
|
35922
36865
|
}),
|
|
35923
|
-
(0,
|
|
36866
|
+
(0, import_jsx_runtime180.jsx)(import_react_native129.View, {
|
|
35924
36867
|
style: {
|
|
35925
36868
|
width: GradientCircleDiameter.large + 135,
|
|
35926
36869
|
height: GradientCircleDiameter.large,
|
|
@@ -35931,25 +36874,25 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35931
36874
|
}
|
|
35932
36875
|
]
|
|
35933
36876
|
},
|
|
35934
|
-
children: isBasicColorMode && (0,
|
|
36877
|
+
children: isBasicColorMode && (0, import_jsx_runtime180.jsxs)(Animated20.View, {
|
|
35935
36878
|
style: [
|
|
35936
|
-
|
|
36879
|
+
styles33.fullCover,
|
|
35937
36880
|
{
|
|
35938
36881
|
opacity: 0.02
|
|
35939
36882
|
},
|
|
35940
36883
|
animation.style.radialGradientGroup
|
|
35941
36884
|
],
|
|
35942
36885
|
children: [
|
|
35943
|
-
(0,
|
|
36886
|
+
(0, import_jsx_runtime180.jsx)(Animated20.View, {
|
|
35944
36887
|
style: [
|
|
35945
|
-
|
|
36888
|
+
styles33.rightCover,
|
|
35946
36889
|
{
|
|
35947
36890
|
width: GradientCircleDiameter.small,
|
|
35948
36891
|
height: GradientCircleDiameter.small
|
|
35949
36892
|
},
|
|
35950
36893
|
animation.style.rightRadialGradient
|
|
35951
36894
|
],
|
|
35952
|
-
children: (0,
|
|
36895
|
+
children: (0, import_jsx_runtime180.jsx)(RadialGradient, {
|
|
35953
36896
|
colors: [
|
|
35954
36897
|
{
|
|
35955
36898
|
value: token.bridge.rightRadialGradientColor,
|
|
@@ -35962,16 +36905,16 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35962
36905
|
]
|
|
35963
36906
|
})
|
|
35964
36907
|
}),
|
|
35965
|
-
(0,
|
|
36908
|
+
(0, import_jsx_runtime180.jsx)(Animated20.View, {
|
|
35966
36909
|
style: [
|
|
35967
|
-
|
|
36910
|
+
styles33.leftCover,
|
|
35968
36911
|
{
|
|
35969
36912
|
width: GradientCircleDiameter.large,
|
|
35970
36913
|
height: GradientCircleDiameter.large
|
|
35971
36914
|
},
|
|
35972
36915
|
animation.style.leftRadialGradient
|
|
35973
36916
|
],
|
|
35974
|
-
children: (0,
|
|
36917
|
+
children: (0, import_jsx_runtime180.jsx)(RadialGradient, {
|
|
35975
36918
|
colors: [
|
|
35976
36919
|
{
|
|
35977
36920
|
value: token.bridge.leftRadialGradientColor,
|
|
@@ -35994,17 +36937,17 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
35994
36937
|
}));
|
|
35995
36938
|
}
|
|
35996
36939
|
function useBridgeAnimation() {
|
|
35997
|
-
var backgroundGroupOpacity = (0,
|
|
35998
|
-
var radialGradientGroupScale = (0,
|
|
35999
|
-
var leftRadialGradientOpacity = (0,
|
|
36000
|
-
var rightRadialGradientOpacity = (0,
|
|
36001
|
-
var contentLogoOpacity = (0,
|
|
36002
|
-
var contentLogoScale = (0,
|
|
36003
|
-
var contentLogoTranslateY = (0,
|
|
36004
|
-
var contentTitleTranslateY = (0,
|
|
36005
|
-
var contentTitleOpacity = (0,
|
|
36006
|
-
var contentTitleScale = (0,
|
|
36007
|
-
var openAnimation = (0,
|
|
36940
|
+
var backgroundGroupOpacity = (0, import_react_native129.useAnimatedValue)(0);
|
|
36941
|
+
var radialGradientGroupScale = (0, import_react_native129.useAnimatedValue)(0.5);
|
|
36942
|
+
var leftRadialGradientOpacity = (0, import_react_native129.useAnimatedValue)(0);
|
|
36943
|
+
var rightRadialGradientOpacity = (0, import_react_native129.useAnimatedValue)(0);
|
|
36944
|
+
var contentLogoOpacity = (0, import_react_native129.useAnimatedValue)(0);
|
|
36945
|
+
var contentLogoScale = (0, import_react_native129.useAnimatedValue)(0.6);
|
|
36946
|
+
var contentLogoTranslateY = (0, import_react_native129.useAnimatedValue)(0);
|
|
36947
|
+
var contentTitleTranslateY = (0, import_react_native129.useAnimatedValue)(0);
|
|
36948
|
+
var contentTitleOpacity = (0, import_react_native129.useAnimatedValue)(0);
|
|
36949
|
+
var contentTitleScale = (0, import_react_native129.useAnimatedValue)(0.7);
|
|
36950
|
+
var openAnimation = (0, import_react150.useCallback)(function() {
|
|
36008
36951
|
var _Easing, _Easing1, _Easing2;
|
|
36009
36952
|
return Animated20.parallel([
|
|
36010
36953
|
Animated20.spring(backgroundGroupOpacity, _object_spread_props(_object_spread({
|
|
@@ -36014,7 +36957,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36014
36957
|
})),
|
|
36015
36958
|
Animated20.timing(radialGradientGroupScale, {
|
|
36016
36959
|
toValue: 1,
|
|
36017
|
-
easing: (_Easing =
|
|
36960
|
+
easing: (_Easing = import_react_native129.Easing).bezier.apply(_Easing, _to_consumable_array(bezier.out)),
|
|
36018
36961
|
duration: 800,
|
|
36019
36962
|
useNativeDriver: false
|
|
36020
36963
|
}),
|
|
@@ -36031,7 +36974,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36031
36974
|
})),
|
|
36032
36975
|
Animated20.timing(contentLogoOpacity, {
|
|
36033
36976
|
toValue: 1,
|
|
36034
|
-
easing: (_Easing1 =
|
|
36977
|
+
easing: (_Easing1 = import_react_native129.Easing).bezier.apply(_Easing1, _to_consumable_array(bezier.out)),
|
|
36035
36978
|
duration: 600,
|
|
36036
36979
|
useNativeDriver: false,
|
|
36037
36980
|
delay: 40
|
|
@@ -36045,7 +36988,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36045
36988
|
}),
|
|
36046
36989
|
Animated20.timing(contentTitleOpacity, {
|
|
36047
36990
|
toValue: 1,
|
|
36048
|
-
easing: (_Easing2 =
|
|
36991
|
+
easing: (_Easing2 = import_react_native129.Easing).bezier.apply(_Easing2, _to_consumable_array(bezier.out)),
|
|
36049
36992
|
duration: 600,
|
|
36050
36993
|
useNativeDriver: false,
|
|
36051
36994
|
delay: 80
|
|
@@ -36068,24 +37011,24 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36068
37011
|
contentTitleOpacity,
|
|
36069
37012
|
contentTitleScale
|
|
36070
37013
|
]);
|
|
36071
|
-
var closeAnimation = (0,
|
|
37014
|
+
var closeAnimation = (0, import_react150.useCallback)(function() {
|
|
36072
37015
|
var _Easing, _Easing1, _Easing2;
|
|
36073
37016
|
return Animated20.parallel([
|
|
36074
37017
|
Animated20.timing(contentLogoOpacity, {
|
|
36075
37018
|
toValue: 0,
|
|
36076
|
-
easing: (_Easing =
|
|
37019
|
+
easing: (_Easing = import_react_native129.Easing).bezier.apply(_Easing, _to_consumable_array(bezier.out)),
|
|
36077
37020
|
duration: 500,
|
|
36078
37021
|
useNativeDriver: false
|
|
36079
37022
|
}),
|
|
36080
37023
|
Animated20.timing(contentTitleOpacity, {
|
|
36081
37024
|
toValue: 0,
|
|
36082
|
-
easing: (_Easing1 =
|
|
37025
|
+
easing: (_Easing1 = import_react_native129.Easing).bezier.apply(_Easing1, _to_consumable_array(bezier.out)),
|
|
36083
37026
|
duration: 500,
|
|
36084
37027
|
useNativeDriver: false
|
|
36085
37028
|
}),
|
|
36086
37029
|
Animated20.timing(backgroundGroupOpacity, {
|
|
36087
37030
|
toValue: 0,
|
|
36088
|
-
easing: (_Easing2 =
|
|
37031
|
+
easing: (_Easing2 = import_react_native129.Easing).bezier.apply(_Easing2, _to_consumable_array(bezier.out)),
|
|
36089
37032
|
duration: 500,
|
|
36090
37033
|
useNativeDriver: false
|
|
36091
37034
|
})
|
|
@@ -36095,7 +37038,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36095
37038
|
contentLogoOpacity,
|
|
36096
37039
|
contentTitleOpacity
|
|
36097
37040
|
]);
|
|
36098
|
-
return (0,
|
|
37041
|
+
return (0, import_react150.useMemo)(function() {
|
|
36099
37042
|
return {
|
|
36100
37043
|
style: {
|
|
36101
37044
|
backgroundGroup: {
|
|
@@ -36157,7 +37100,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36157
37100
|
rightRadialGradientOpacity
|
|
36158
37101
|
]);
|
|
36159
37102
|
}
|
|
36160
|
-
var
|
|
37103
|
+
var import_jsx_runtime180, import_react150, import_react_native129, BRIDGE_TOUCHABLE_DELAY, BRIDGE_CLOSE_DELAY, styles33, noop4, DeviceHeight, AnimatedIcon2, AnimatedText;
|
|
36161
37104
|
var init_Bridge = __esm({
|
|
36162
37105
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/bridge/Bridge.js"() {
|
|
36163
37106
|
init_object_spread();
|
|
@@ -36165,11 +37108,11 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36165
37108
|
init_object_without_properties();
|
|
36166
37109
|
init_sliced_to_array();
|
|
36167
37110
|
init_to_consumable_array();
|
|
36168
|
-
|
|
37111
|
+
import_jsx_runtime180 = __toESM(require_jsx_runtime());
|
|
36169
37112
|
init_esm5();
|
|
36170
37113
|
init_dist3();
|
|
36171
|
-
|
|
36172
|
-
|
|
37114
|
+
import_react150 = __toESM(require_react());
|
|
37115
|
+
import_react_native129 = __toESM(require_react_native());
|
|
36173
37116
|
init_usePreservedCallback3();
|
|
36174
37117
|
init_gradient();
|
|
36175
37118
|
init_txt();
|
|
@@ -36179,7 +37122,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36179
37122
|
init_utils6();
|
|
36180
37123
|
BRIDGE_TOUCHABLE_DELAY = 600;
|
|
36181
37124
|
BRIDGE_CLOSE_DELAY = 400;
|
|
36182
|
-
|
|
37125
|
+
styles33 = import_react_native129.StyleSheet.create({
|
|
36183
37126
|
fullCover: {
|
|
36184
37127
|
position: "absolute",
|
|
36185
37128
|
top: 0,
|
|
@@ -36214,7 +37157,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36214
37157
|
iconBorder: {
|
|
36215
37158
|
width: 56,
|
|
36216
37159
|
height: 56,
|
|
36217
|
-
borderWidth:
|
|
37160
|
+
borderWidth: import_react_native129.StyleSheet.hairlineWidth,
|
|
36218
37161
|
borderRadius: 14,
|
|
36219
37162
|
borderColor: "rgba(25, 66, 142, 0.12)",
|
|
36220
37163
|
borderStyle: "solid",
|
|
@@ -36223,7 +37166,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36223
37166
|
});
|
|
36224
37167
|
noop4 = function() {
|
|
36225
37168
|
};
|
|
36226
|
-
DeviceHeight =
|
|
37169
|
+
DeviceHeight = import_react_native129.Dimensions.get("window").height;
|
|
36227
37170
|
AnimatedIcon2 = Animated20.createAnimatedComponent(Icon6);
|
|
36228
37171
|
AnimatedText = Animated20.createAnimatedComponent(Txt_default);
|
|
36229
37172
|
}
|
|
@@ -36232,14 +37175,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36232
37175
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/bridge/useBridge.js
|
|
36233
37176
|
function useBridge() {
|
|
36234
37177
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_closeOnDestroy = _ref.closeOnDestroy, closeOnDestroy = _ref_closeOnDestroy === void 0 ? true : _ref_closeOnDestroy;
|
|
36235
|
-
var timer = (0,
|
|
37178
|
+
var timer = (0, import_react151.useRef)();
|
|
36236
37179
|
var overlay = useOverlay();
|
|
36237
|
-
var close = (0,
|
|
37180
|
+
var close = (0, import_react151.useCallback)(function() {
|
|
36238
37181
|
return overlay.close();
|
|
36239
37182
|
}, [
|
|
36240
37183
|
overlay
|
|
36241
37184
|
]);
|
|
36242
|
-
var open = (0,
|
|
37185
|
+
var open = (0, import_react151.useCallback)(function(_param) {
|
|
36243
37186
|
var onExited = _param.onExited, onClose = _param.onClose, color = _param.color, options = _object_without_properties(_param, [
|
|
36244
37187
|
"onExited",
|
|
36245
37188
|
"onClose",
|
|
@@ -36255,13 +37198,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36255
37198
|
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
36256
37199
|
close2();
|
|
36257
37200
|
};
|
|
36258
|
-
return (0,
|
|
37201
|
+
return (0, import_jsx_runtime181.jsx)(ThemeProvider, {
|
|
36259
37202
|
token: {
|
|
36260
37203
|
color: {
|
|
36261
37204
|
primary: color
|
|
36262
37205
|
}
|
|
36263
37206
|
},
|
|
36264
|
-
children: (0,
|
|
37207
|
+
children: (0, import_jsx_runtime181.jsx)(Bridge, _object_spread({
|
|
36265
37208
|
open: isOpen,
|
|
36266
37209
|
onClose: handleClose,
|
|
36267
37210
|
onExited: function() {
|
|
@@ -36280,7 +37223,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36280
37223
|
close,
|
|
36281
37224
|
overlay
|
|
36282
37225
|
]);
|
|
36283
|
-
var controls = (0,
|
|
37226
|
+
var controls = (0, import_react151.useMemo)(function() {
|
|
36284
37227
|
return {
|
|
36285
37228
|
close,
|
|
36286
37229
|
open
|
|
@@ -36289,7 +37232,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36289
37232
|
close,
|
|
36290
37233
|
open
|
|
36291
37234
|
]);
|
|
36292
|
-
(0,
|
|
37235
|
+
(0, import_react151.useEffect)(function() {
|
|
36293
37236
|
return function() {
|
|
36294
37237
|
if (closeOnDestroy) {
|
|
36295
37238
|
controls === null || controls === void 0 ? void 0 : controls.close();
|
|
@@ -36301,13 +37244,13 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36301
37244
|
]);
|
|
36302
37245
|
return controls;
|
|
36303
37246
|
}
|
|
36304
|
-
var
|
|
37247
|
+
var import_jsx_runtime181, import_react151;
|
|
36305
37248
|
var init_useBridge = __esm({
|
|
36306
37249
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/bridge/useBridge.js"() {
|
|
36307
37250
|
init_object_spread();
|
|
36308
37251
|
init_object_without_properties();
|
|
36309
|
-
|
|
36310
|
-
|
|
37252
|
+
import_jsx_runtime181 = __toESM(require_jsx_runtime());
|
|
37253
|
+
import_react151 = __toESM(require_react());
|
|
36311
37254
|
init_core();
|
|
36312
37255
|
init_Bridge();
|
|
36313
37256
|
}
|
|
@@ -36322,12 +37265,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36322
37265
|
});
|
|
36323
37266
|
|
|
36324
37267
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/partner-navigation/usePartnerNavigation.js
|
|
36325
|
-
var
|
|
37268
|
+
var import_jsx_runtime182, import_react152, import_react_native130;
|
|
36326
37269
|
var init_usePartnerNavigation = __esm({
|
|
36327
37270
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/extensions/partner-navigation/usePartnerNavigation.js"() {
|
|
36328
|
-
|
|
36329
|
-
|
|
36330
|
-
|
|
37271
|
+
import_jsx_runtime182 = __toESM(require_jsx_runtime());
|
|
37272
|
+
import_react152 = __toESM(require_react());
|
|
37273
|
+
import_react_native130 = __toESM(require_react_native());
|
|
36331
37274
|
}
|
|
36332
37275
|
});
|
|
36333
37276
|
|
|
@@ -36341,12 +37284,12 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36341
37284
|
|
|
36342
37285
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/carousel/animations/snap.js
|
|
36343
37286
|
function useSnapAnimation(context2) {
|
|
36344
|
-
var translateX = (0,
|
|
36345
|
-
var isAnimating = (0,
|
|
36346
|
-
var _useState = _sliced_to_array((0,
|
|
36347
|
-
var startOffset = (0,
|
|
36348
|
-
var lastOffset = (0,
|
|
36349
|
-
var gesture = (0,
|
|
37287
|
+
var translateX = (0, import_react153.useRef)(new import_react_native131.Animated.Value(context2.padding)).current;
|
|
37288
|
+
var isAnimating = (0, import_react153.useRef)(false);
|
|
37289
|
+
var _useState = _sliced_to_array((0, import_react153.useState)(0), 2), activeIndex = _useState[0], setActiveIndex = _useState[1];
|
|
37290
|
+
var startOffset = (0, import_react153.useRef)(context2.padding);
|
|
37291
|
+
var lastOffset = (0, import_react153.useRef)(context2.padding);
|
|
37292
|
+
var gesture = (0, import_react153.useMemo)(function() {
|
|
36350
37293
|
var panGesture = react_native_gesture_handler_exports.Gesture.Pan().onUpdate(function(e4) {
|
|
36351
37294
|
if (isAnimating.current === true) {
|
|
36352
37295
|
return;
|
|
@@ -36365,7 +37308,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36365
37308
|
}, context2);
|
|
36366
37309
|
var rounded = roundToSnapPosition(estimatedPosition, snapPositions);
|
|
36367
37310
|
isAnimating.current = true;
|
|
36368
|
-
|
|
37311
|
+
import_react_native131.Animated.spring(translateX, _object_spread({
|
|
36369
37312
|
toValue: rounded,
|
|
36370
37313
|
useNativeDriver: true
|
|
36371
37314
|
}, spring.quick)).start(function() {
|
|
@@ -36383,7 +37326,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36383
37326
|
context2,
|
|
36384
37327
|
translateX
|
|
36385
37328
|
]);
|
|
36386
|
-
var transforms = (0,
|
|
37329
|
+
var transforms = (0, import_react153.useMemo)(function() {
|
|
36387
37330
|
return [
|
|
36388
37331
|
{
|
|
36389
37332
|
translateX
|
|
@@ -36454,23 +37397,23 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36454
37397
|
}
|
|
36455
37398
|
return translateX + Math.sign(velocityX) * context2.itemWidth;
|
|
36456
37399
|
}
|
|
36457
|
-
var
|
|
37400
|
+
var import_react153, import_react_native131, WINDOW_WIDTH2;
|
|
36458
37401
|
var init_snap = __esm({
|
|
36459
37402
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/carousel/animations/snap.js"() {
|
|
36460
37403
|
init_object_spread();
|
|
36461
37404
|
init_sliced_to_array();
|
|
36462
37405
|
init_react_native_gesture_handler();
|
|
36463
37406
|
init_esm5();
|
|
36464
|
-
|
|
36465
|
-
|
|
36466
|
-
WINDOW_WIDTH2 =
|
|
37407
|
+
import_react153 = __toESM(require_react());
|
|
37408
|
+
import_react_native131 = __toESM(require_react_native());
|
|
37409
|
+
WINDOW_WIDTH2 = import_react_native131.Dimensions.get("window").width;
|
|
36467
37410
|
}
|
|
36468
37411
|
});
|
|
36469
37412
|
|
|
36470
37413
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/carousel/CarouselItem.js
|
|
36471
37414
|
function CarouselItem(param) {
|
|
36472
37415
|
var children = param.children;
|
|
36473
|
-
return (0,
|
|
37416
|
+
return (0, import_jsx_runtime183.jsx)(import_react_native132.View, {
|
|
36474
37417
|
style: [
|
|
36475
37418
|
{
|
|
36476
37419
|
borderRadius: 20
|
|
@@ -36479,21 +37422,21 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36479
37422
|
children
|
|
36480
37423
|
});
|
|
36481
37424
|
}
|
|
36482
|
-
var
|
|
37425
|
+
var import_jsx_runtime183, import_react_native132;
|
|
36483
37426
|
var init_CarouselItem = __esm({
|
|
36484
37427
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/carousel/CarouselItem.js"() {
|
|
36485
|
-
|
|
36486
|
-
|
|
37428
|
+
import_jsx_runtime183 = __toESM(require_jsx_runtime());
|
|
37429
|
+
import_react_native132 = __toESM(require_react_native());
|
|
36487
37430
|
}
|
|
36488
37431
|
});
|
|
36489
37432
|
|
|
36490
37433
|
// ../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/carousel/Carousel.js
|
|
36491
37434
|
function Carousel(param) {
|
|
36492
37435
|
var children = param.children, _param_itemWidth = param.itemWidth, itemWidth = _param_itemWidth === void 0 ? 280 : _param_itemWidth, _param_itemGap = param.itemGap, itemGap = _param_itemGap === void 0 ? 12 : _param_itemGap, _param_padding = param.padding, padding2 = _param_padding === void 0 ? 24 : _param_padding, renderIndicators = param.renderIndicators;
|
|
36493
|
-
var itemsCount =
|
|
36494
|
-
return /* @__PURE__ */ (0,
|
|
37436
|
+
var itemsCount = import_react154.Children.toArray(children).filter(function(x) {
|
|
37437
|
+
return /* @__PURE__ */ (0, import_react154.isValidElement)(x);
|
|
36495
37438
|
}).length;
|
|
36496
|
-
var context2 = (0,
|
|
37439
|
+
var context2 = (0, import_react154.useMemo)(function() {
|
|
36497
37440
|
return {
|
|
36498
37441
|
itemsCount,
|
|
36499
37442
|
itemGap,
|
|
@@ -36511,23 +37454,23 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36511
37454
|
var style = {
|
|
36512
37455
|
transform: _to_consumable_array(snap.transforms)
|
|
36513
37456
|
};
|
|
36514
|
-
var items =
|
|
36515
|
-
return /* @__PURE__ */ (0,
|
|
37457
|
+
var items = import_react154.Children.toArray(children).filter(function(x) {
|
|
37458
|
+
return /* @__PURE__ */ (0, import_react154.isValidElement)(x);
|
|
36516
37459
|
}).map(function(child, index) {
|
|
36517
|
-
return (0,
|
|
37460
|
+
return (0, import_jsx_runtime184.jsx)(import_react_native133.View, {
|
|
36518
37461
|
style: {
|
|
36519
37462
|
width: context2.itemWidth
|
|
36520
37463
|
},
|
|
36521
37464
|
children: child
|
|
36522
37465
|
}, index);
|
|
36523
37466
|
});
|
|
36524
|
-
return (0,
|
|
37467
|
+
return (0, import_jsx_runtime184.jsxs)(import_jsx_runtime184.Fragment, {
|
|
36525
37468
|
children: [
|
|
36526
|
-
(0,
|
|
37469
|
+
(0, import_jsx_runtime184.jsx)(react_native_gesture_handler_exports.GestureDetector, {
|
|
36527
37470
|
gesture,
|
|
36528
|
-
children: (0,
|
|
37471
|
+
children: (0, import_jsx_runtime184.jsx)(import_react_native133.Animated.View, {
|
|
36529
37472
|
style,
|
|
36530
|
-
children: (0,
|
|
37473
|
+
children: (0, import_jsx_runtime184.jsx)(Stack.Horizontal, {
|
|
36531
37474
|
gutter: context2.itemGap,
|
|
36532
37475
|
align: "flex-start",
|
|
36533
37476
|
justify: "center",
|
|
@@ -36542,15 +37485,15 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36542
37485
|
]
|
|
36543
37486
|
});
|
|
36544
37487
|
}
|
|
36545
|
-
var
|
|
37488
|
+
var import_jsx_runtime184, import_react154, import_react_native133;
|
|
36546
37489
|
var init_Carousel = __esm({
|
|
36547
37490
|
"../../.yarn/__virtual__/@toss-design-system-react-native-virtual-4956d78599/0/cache/@toss-design-system-react-native-npm-0.6.1-f81b89610b-1498ca6e24.zip/node_modules/@toss-design-system/react-native/dist/esm/components/carousel/Carousel.js"() {
|
|
36548
37491
|
init_to_consumable_array();
|
|
36549
|
-
|
|
37492
|
+
import_jsx_runtime184 = __toESM(require_jsx_runtime());
|
|
36550
37493
|
init_react_native_gesture_handler();
|
|
36551
37494
|
init_src4();
|
|
36552
|
-
|
|
36553
|
-
|
|
37495
|
+
import_react154 = __toESM(require_react());
|
|
37496
|
+
import_react_native133 = __toESM(require_react_native());
|
|
36554
37497
|
init_snap();
|
|
36555
37498
|
init_CarouselItem();
|
|
36556
37499
|
Carousel.Item = CarouselItem;
|
|
@@ -36711,7 +37654,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36711
37654
|
return true;
|
|
36712
37655
|
}
|
|
36713
37656
|
var currentVersion = AppsInTossModule.tossAppVersion;
|
|
36714
|
-
var isIOS =
|
|
37657
|
+
var isIOS = import_react_native137.Platform.OS === "ios";
|
|
36715
37658
|
var minVersion = isIOS ? minVersions.ios : minVersions.android;
|
|
36716
37659
|
if (minVersion === void 0) {
|
|
36717
37660
|
return false;
|
|
@@ -36742,7 +37685,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36742
37685
|
});
|
|
36743
37686
|
}
|
|
36744
37687
|
function useReferrer() {
|
|
36745
|
-
return (0,
|
|
37688
|
+
return (0, import_react156.useMemo)(function() {
|
|
36746
37689
|
try {
|
|
36747
37690
|
return new URL(getSchemeUri()).searchParams.get("referrer");
|
|
36748
37691
|
} catch (e4) {
|
|
@@ -36760,7 +37703,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36760
37703
|
function EntryAppEvent() {
|
|
36761
37704
|
var _useReferrer;
|
|
36762
37705
|
var referrer2 = (_useReferrer = useReferrer()) !== null && _useReferrer !== void 0 ? _useReferrer : "";
|
|
36763
|
-
(0,
|
|
37706
|
+
(0, import_react155.useEffect)(function() {
|
|
36764
37707
|
tossCoreEventLog({
|
|
36765
37708
|
log_name: "appsintoss_app_visit::impression__enter_appsintoss",
|
|
36766
37709
|
log_type: "info",
|
|
@@ -36780,7 +37723,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36780
37723
|
}
|
|
36781
37724
|
function SystemAppEvent(_param) {
|
|
36782
37725
|
var initialProps = _extends({}, _object_destructuring_empty(_param));
|
|
36783
|
-
(0,
|
|
37726
|
+
(0, import_react155.useEffect)(function() {
|
|
36784
37727
|
tossCoreEventLog({
|
|
36785
37728
|
log_name: "AppsInTossInitialProps",
|
|
36786
37729
|
log_type: "debug",
|
|
@@ -36928,7 +37871,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
36928
37871
|
function useAppsInTossBridge() {
|
|
36929
37872
|
var controller = useBridge();
|
|
36930
37873
|
var appsInTossGlobals2 = getAppsInTossGlobals();
|
|
36931
|
-
(0,
|
|
37874
|
+
(0, import_react157.useEffect)(function() {
|
|
36932
37875
|
var commonProps = {
|
|
36933
37876
|
serviceName: appsInTossGlobals2.brandDisplayName,
|
|
36934
37877
|
icon: toIcon(appsInTossGlobals2.brandIcon),
|
|
@@ -37337,23 +38280,90 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37337
38280
|
});
|
|
37338
38281
|
return _saveBase64Data.apply(this, arguments);
|
|
37339
38282
|
}
|
|
38283
|
+
function getGameCenterGameProfile() {
|
|
38284
|
+
return _getGameCenterGameProfile.apply(this, arguments);
|
|
38285
|
+
}
|
|
38286
|
+
function _getGameCenterGameProfile() {
|
|
38287
|
+
_getGameCenterGameProfile = // src/native-modules/getGameCenterGameProfile.ts
|
|
38288
|
+
_async_to_generator(function() {
|
|
38289
|
+
var isSupported;
|
|
38290
|
+
return __generator(this, function(_state) {
|
|
38291
|
+
isSupported = isMinVersionSupported(GAME_CENTER_MIN_VERSION);
|
|
38292
|
+
if (!isSupported) {
|
|
38293
|
+
return [
|
|
38294
|
+
2
|
|
38295
|
+
];
|
|
38296
|
+
}
|
|
38297
|
+
return [
|
|
38298
|
+
2,
|
|
38299
|
+
AppsInTossModule.getGameCenterGameProfile({})
|
|
38300
|
+
];
|
|
38301
|
+
});
|
|
38302
|
+
});
|
|
38303
|
+
return _getGameCenterGameProfile.apply(this, arguments);
|
|
38304
|
+
}
|
|
38305
|
+
function openGameCenterLeaderboard() {
|
|
38306
|
+
return _openGameCenterLeaderboard.apply(this, arguments);
|
|
38307
|
+
}
|
|
38308
|
+
function _openGameCenterLeaderboard() {
|
|
38309
|
+
_openGameCenterLeaderboard = _async_to_generator(function() {
|
|
38310
|
+
var url;
|
|
38311
|
+
return __generator(this, function(_state) {
|
|
38312
|
+
if (!isMinVersionSupported(GAME_CENTER_MIN_VERSION)) {
|
|
38313
|
+
return [
|
|
38314
|
+
2
|
|
38315
|
+
];
|
|
38316
|
+
}
|
|
38317
|
+
url = new URL("servicetoss://game-center/leaderboard?_navbar=hide");
|
|
38318
|
+
url.searchParams.set("appName", getAppName());
|
|
38319
|
+
url.searchParams.set("referrer", "appsintoss.".concat(getAppName()));
|
|
38320
|
+
return [
|
|
38321
|
+
2,
|
|
38322
|
+
openURL(url.toString())
|
|
38323
|
+
];
|
|
38324
|
+
});
|
|
38325
|
+
});
|
|
38326
|
+
return _openGameCenterLeaderboard.apply(this, arguments);
|
|
38327
|
+
}
|
|
38328
|
+
function submitGameCenterLeaderBoardScore(params) {
|
|
38329
|
+
return _submitGameCenterLeaderBoardScore.apply(this, arguments);
|
|
38330
|
+
}
|
|
38331
|
+
function _submitGameCenterLeaderBoardScore() {
|
|
38332
|
+
_submitGameCenterLeaderBoardScore = // src/native-modules/submitGameCenterLeaderBoardScore.ts
|
|
38333
|
+
_async_to_generator(function(params) {
|
|
38334
|
+
var isSupported;
|
|
38335
|
+
return __generator(this, function(_state) {
|
|
38336
|
+
isSupported = isMinVersionSupported(GAME_CENTER_MIN_VERSION);
|
|
38337
|
+
if (!isSupported) {
|
|
38338
|
+
return [
|
|
38339
|
+
2
|
|
38340
|
+
];
|
|
38341
|
+
}
|
|
38342
|
+
return [
|
|
38343
|
+
2,
|
|
38344
|
+
AppsInTossModule.submitGameCenterLeaderBoardScore(params)
|
|
38345
|
+
];
|
|
38346
|
+
});
|
|
38347
|
+
});
|
|
38348
|
+
return _submitGameCenterLeaderBoardScore.apply(this, arguments);
|
|
38349
|
+
}
|
|
37340
38350
|
function AppsInTossContainer(Container, _param) {
|
|
37341
38351
|
var children = _param.children, initialProps = _object_without_properties(_param, [
|
|
37342
38352
|
"children"
|
|
37343
38353
|
]);
|
|
37344
|
-
return /* @__PURE__ */ (0,
|
|
38354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime185.jsxs)(import_jsx_runtime185.Fragment, {
|
|
37345
38355
|
children: [
|
|
37346
|
-
/* @__PURE__ */ (0,
|
|
37347
|
-
/* @__PURE__ */ (0,
|
|
37348
|
-
/* @__PURE__ */ (0,
|
|
37349
|
-
children: /* @__PURE__ */ (0,
|
|
38356
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(AppEvent.Entry, {}),
|
|
38357
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(AppEvent.System, _object_spread({}, initialProps)),
|
|
38358
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(Container, _object_spread_props(_object_spread({}, initialProps), {
|
|
38359
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(TDSProvider, {
|
|
37350
38360
|
colorPreference: "light",
|
|
37351
38361
|
token: {
|
|
37352
38362
|
color: {
|
|
37353
38363
|
primary: getAppsInTossGlobals().brandPrimaryColor
|
|
37354
38364
|
}
|
|
37355
38365
|
},
|
|
37356
|
-
children: /* @__PURE__ */ (0,
|
|
38366
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(TDSContainer, _object_spread_props(_object_spread({}, initialProps), {
|
|
37357
38367
|
children
|
|
37358
38368
|
}))
|
|
37359
38369
|
})
|
|
@@ -37364,7 +38374,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37364
38374
|
function TDSContainer(param) {
|
|
37365
38375
|
var children = param.children;
|
|
37366
38376
|
useAppsInTossBridge();
|
|
37367
|
-
return /* @__PURE__ */ (0,
|
|
38377
|
+
return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(import_jsx_runtime185.Fragment, {
|
|
37368
38378
|
children
|
|
37369
38379
|
});
|
|
37370
38380
|
}
|
|
@@ -37533,30 +38543,11 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37533
38543
|
});
|
|
37534
38544
|
};
|
|
37535
38545
|
}
|
|
37536
|
-
function getTossAppVersion() {
|
|
37537
|
-
return AppsInTossModule.tossAppVersion;
|
|
37538
|
-
}
|
|
37539
38546
|
function getDeviceId() {
|
|
37540
38547
|
return AppsInTossModule.deviceId;
|
|
37541
38548
|
}
|
|
37542
|
-
function
|
|
37543
|
-
return AppsInTossModule.
|
|
37544
|
-
key
|
|
37545
|
-
});
|
|
37546
|
-
}
|
|
37547
|
-
function setItem(key, value) {
|
|
37548
|
-
return AppsInTossModule.setStorageItem({
|
|
37549
|
-
key,
|
|
37550
|
-
value
|
|
37551
|
-
});
|
|
37552
|
-
}
|
|
37553
|
-
function removeItem(key) {
|
|
37554
|
-
return AppsInTossModule.removeStorageItem({
|
|
37555
|
-
key
|
|
37556
|
-
});
|
|
37557
|
-
}
|
|
37558
|
-
function clearItems() {
|
|
37559
|
-
return AppsInTossModule.clearStorage({});
|
|
38549
|
+
function getTossAppVersion() {
|
|
38550
|
+
return AppsInTossModule.tossAppVersion;
|
|
37560
38551
|
}
|
|
37561
38552
|
function createOneTimePurchaseOrder(params) {
|
|
37562
38553
|
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
@@ -37607,65 +38598,87 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37607
38598
|
});
|
|
37608
38599
|
return _getProductItemList.apply(this, arguments);
|
|
37609
38600
|
}
|
|
38601
|
+
function getItem(key) {
|
|
38602
|
+
return AppsInTossModule.getStorageItem({
|
|
38603
|
+
key
|
|
38604
|
+
});
|
|
38605
|
+
}
|
|
38606
|
+
function setItem(key, value) {
|
|
38607
|
+
return AppsInTossModule.setStorageItem({
|
|
38608
|
+
key,
|
|
38609
|
+
value
|
|
38610
|
+
});
|
|
38611
|
+
}
|
|
38612
|
+
function removeItem(key) {
|
|
38613
|
+
return AppsInTossModule.removeStorageItem({
|
|
38614
|
+
key
|
|
38615
|
+
});
|
|
38616
|
+
}
|
|
38617
|
+
function clearItems() {
|
|
38618
|
+
return AppsInTossModule.clearStorage({});
|
|
38619
|
+
}
|
|
38620
|
+
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
38621
|
+
return appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
|
|
38622
|
+
}
|
|
37610
38623
|
function byPlatform2(_param) {
|
|
37611
38624
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
37612
|
-
var
|
|
37613
|
-
return ((
|
|
38625
|
+
var _props_Platform3_OS;
|
|
38626
|
+
return ((_props_Platform3_OS = props[import_react_native152.Platform.OS]) !== null && _props_Platform3_OS !== void 0 ? _props_Platform3_OS : props.fallback)();
|
|
37614
38627
|
}
|
|
37615
38628
|
function IOSHeaderRight2(props) {
|
|
37616
|
-
return /* @__PURE__ */ (0,
|
|
37617
|
-
style:
|
|
38629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(import_react_native151.View, _object_spread({
|
|
38630
|
+
style: styles34.ios
|
|
37618
38631
|
}, props));
|
|
37619
38632
|
}
|
|
37620
38633
|
function AndroidHeaderRight2(props) {
|
|
37621
|
-
return /* @__PURE__ */ (0,
|
|
37622
|
-
style:
|
|
38634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(import_react_native151.View, _object_spread({
|
|
38635
|
+
style: styles34.android
|
|
37623
38636
|
}, props));
|
|
37624
38637
|
}
|
|
37625
38638
|
function HeaderRight2(props) {
|
|
37626
38639
|
return byPlatform2({
|
|
37627
38640
|
ios: function() {
|
|
37628
|
-
return /* @__PURE__ */ (0,
|
|
38641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(IOSHeaderRight2, _object_spread({}, props));
|
|
37629
38642
|
},
|
|
37630
38643
|
android: function() {
|
|
37631
|
-
return /* @__PURE__ */ (0,
|
|
38644
|
+
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(AndroidHeaderRight2, _object_spread({}, props));
|
|
37632
38645
|
},
|
|
37633
38646
|
fallback: function() {
|
|
37634
|
-
return /* @__PURE__ */ (0,
|
|
38647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(IOSHeaderRight2, _object_spread({}, props));
|
|
37635
38648
|
}
|
|
37636
38649
|
});
|
|
37637
38650
|
}
|
|
37638
38651
|
function useSafeAreaTop2() {
|
|
37639
38652
|
var safeAreaInsets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
37640
|
-
var hasDynamicIsland =
|
|
38653
|
+
var hasDynamicIsland = import_react_native153.Platform.OS === "ios" && safeAreaInsets.top > 50;
|
|
37641
38654
|
var safeAreaTop = hasDynamicIsland ? safeAreaInsets.top - 5 : safeAreaInsets.top;
|
|
37642
38655
|
return safeAreaTop;
|
|
37643
38656
|
}
|
|
37644
38657
|
function GameNavigationBar(param) {
|
|
37645
38658
|
var onClose = param.onClose;
|
|
37646
38659
|
var safeAreaTop = useSafeAreaTop2();
|
|
37647
|
-
return /* @__PURE__ */ (0,
|
|
38660
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(import_jsx_runtime189.Fragment, {
|
|
37648
38661
|
children: [
|
|
37649
|
-
/* @__PURE__ */ (0,
|
|
38662
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(PageNavbar, {
|
|
37650
38663
|
preference: {
|
|
37651
38664
|
type: "none"
|
|
37652
38665
|
}
|
|
37653
38666
|
}),
|
|
37654
|
-
/* @__PURE__ */ (0,
|
|
38667
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(import_react_native150.View, {
|
|
37655
38668
|
style: {
|
|
37656
38669
|
width: "100%",
|
|
37657
|
-
height:
|
|
38670
|
+
height: import_react_native150.Platform.OS === "ios" ? 44 : 54,
|
|
37658
38671
|
flexDirection: "row",
|
|
37659
38672
|
alignItems: "center",
|
|
37660
38673
|
justifyContent: "flex-end",
|
|
37661
38674
|
position: "absolute",
|
|
37662
|
-
zIndex:
|
|
38675
|
+
zIndex: Z_INDEX.CLOSE_BUTTON,
|
|
37663
38676
|
marginTop: safeAreaTop,
|
|
37664
|
-
paddingRight:
|
|
38677
|
+
paddingRight: import_react_native150.Platform.OS === "ios" ? 10 : 8
|
|
37665
38678
|
},
|
|
37666
38679
|
pointerEvents: "box-none",
|
|
37667
|
-
children: /* @__PURE__ */ (0,
|
|
37668
|
-
children: /* @__PURE__ */ (0,
|
|
38680
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(HeaderRight2, {
|
|
38681
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(import_react_native150.TouchableOpacity, {
|
|
37669
38682
|
hitSlop: {
|
|
37670
38683
|
left: 8,
|
|
37671
38684
|
right: 8
|
|
@@ -37674,10 +38687,10 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37674
38687
|
accessible: true,
|
|
37675
38688
|
accessibilityLabel: "\uAC8C\uC784\uC885\uB8CC",
|
|
37676
38689
|
style: {
|
|
37677
|
-
padding:
|
|
38690
|
+
padding: import_react_native150.Platform.OS === "ios" ? 7 : 9
|
|
37678
38691
|
},
|
|
37679
38692
|
onPress: onClose,
|
|
37680
|
-
children: /* @__PURE__ */ (0,
|
|
38693
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(react_native_svg_exports.SvgXml, {
|
|
37681
38694
|
xml: originXML,
|
|
37682
38695
|
width: 30,
|
|
37683
38696
|
height: 30
|
|
@@ -37744,8 +38757,8 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37744
38757
|
}
|
|
37745
38758
|
function useBridgeHandler(param) {
|
|
37746
38759
|
var onMessage = param.onMessage, constantHandlerMap = param.constantHandlerMap, asyncHandlerMap = param.asyncHandlerMap, eventListenerMap = param.eventListenerMap, originalInjectedJavaScript = param.injectedJavaScript;
|
|
37747
|
-
var ref = (0,
|
|
37748
|
-
var injectedJavaScript = (0,
|
|
38760
|
+
var ref = (0, import_react162.useRef)(null);
|
|
38761
|
+
var injectedJavaScript = (0, import_react162.useMemo)(function() {
|
|
37749
38762
|
return [
|
|
37750
38763
|
"window.__CONSTANT_HANDLER_MAP = ".concat(JSON.stringify(Object.entries(constantHandlerMap).reduce(function(acc, param2) {
|
|
37751
38764
|
var _param = _sliced_to_array(param2, 2), key = _param[0], value = _param[1];
|
|
@@ -37771,7 +38784,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37771
38784
|
(_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.injectJavaScript("\n window.__BEDROCK_NATIVE_EMITTER.emit('".concat(functionName, "/onError/").concat(eventId, "', ").concat(JSON.stringify(error, null, 0), ");\n "));
|
|
37772
38785
|
};
|
|
37773
38786
|
};
|
|
37774
|
-
var $onMessage = (0,
|
|
38787
|
+
var $onMessage = (0, import_react162.useCallback)(
|
|
37775
38788
|
function() {
|
|
37776
38789
|
var _ref = _async_to_generator(function(e4) {
|
|
37777
38790
|
var data, _eventListenerMap_data_functionName, handleOnEvent, handleOnError, remove, key, remove1, _ref_current;
|
|
@@ -37841,18 +38854,162 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37841
38854
|
onMessage: $onMessage
|
|
37842
38855
|
};
|
|
37843
38856
|
}
|
|
38857
|
+
function convertToAndroidStyleScale(fontScale, platform) {
|
|
38858
|
+
if (platform === "android") {
|
|
38859
|
+
if (fontScale <= 1) {
|
|
38860
|
+
return 100;
|
|
38861
|
+
}
|
|
38862
|
+
var scaledValue = Math.round(fontScale * 100);
|
|
38863
|
+
var keys = Object.keys(androidFontScaleMap).map(Number).sort(function(a, b) {
|
|
38864
|
+
return a - b;
|
|
38865
|
+
});
|
|
38866
|
+
var closestKey = keys[0];
|
|
38867
|
+
var minDiff = Math.abs(scaledValue - closestKey);
|
|
38868
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
38869
|
+
try {
|
|
38870
|
+
for (var _iterator = keys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
38871
|
+
var key = _step.value;
|
|
38872
|
+
var diff = Math.abs(scaledValue - key);
|
|
38873
|
+
if (diff < minDiff) {
|
|
38874
|
+
minDiff = diff;
|
|
38875
|
+
closestKey = key;
|
|
38876
|
+
}
|
|
38877
|
+
}
|
|
38878
|
+
} catch (err) {
|
|
38879
|
+
_didIteratorError = true;
|
|
38880
|
+
_iteratorError = err;
|
|
38881
|
+
} finally {
|
|
38882
|
+
try {
|
|
38883
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
38884
|
+
_iterator.return();
|
|
38885
|
+
}
|
|
38886
|
+
} finally {
|
|
38887
|
+
if (_didIteratorError) {
|
|
38888
|
+
throw _iteratorError;
|
|
38889
|
+
}
|
|
38890
|
+
}
|
|
38891
|
+
}
|
|
38892
|
+
return closestKey;
|
|
38893
|
+
} else {
|
|
38894
|
+
var iosScales = Object.keys(iosScaleToAndroidScale).map(Number);
|
|
38895
|
+
var closestScale = iosScales[0];
|
|
38896
|
+
var minDiff1 = Math.abs(fontScale - closestScale);
|
|
38897
|
+
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
|
|
38898
|
+
try {
|
|
38899
|
+
for (var _iterator1 = iosScales[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
|
|
38900
|
+
var scale = _step1.value;
|
|
38901
|
+
var diff1 = Math.abs(fontScale - scale);
|
|
38902
|
+
if (diff1 < minDiff1) {
|
|
38903
|
+
minDiff1 = diff1;
|
|
38904
|
+
closestScale = scale;
|
|
38905
|
+
}
|
|
38906
|
+
}
|
|
38907
|
+
} catch (err) {
|
|
38908
|
+
_didIteratorError1 = true;
|
|
38909
|
+
_iteratorError1 = err;
|
|
38910
|
+
} finally {
|
|
38911
|
+
try {
|
|
38912
|
+
if (!_iteratorNormalCompletion1 && _iterator1.return != null) {
|
|
38913
|
+
_iterator1.return();
|
|
38914
|
+
}
|
|
38915
|
+
} finally {
|
|
38916
|
+
if (_didIteratorError1) {
|
|
38917
|
+
throw _iteratorError1;
|
|
38918
|
+
}
|
|
38919
|
+
}
|
|
38920
|
+
}
|
|
38921
|
+
return iosScaleToAndroidScale[closestScale];
|
|
38922
|
+
}
|
|
38923
|
+
}
|
|
38924
|
+
function mapIOSFontScaleToCategory(fontScale) {
|
|
38925
|
+
if (fontScale < 1) {
|
|
38926
|
+
return FontA11yCategory.Large;
|
|
38927
|
+
}
|
|
38928
|
+
if (Math.abs(fontScale - 1) < 0.05) {
|
|
38929
|
+
return FontA11yCategory.Large;
|
|
38930
|
+
}
|
|
38931
|
+
if (Math.abs(fontScale - 1.118) < 0.05) {
|
|
38932
|
+
return FontA11yCategory.xLarge;
|
|
38933
|
+
}
|
|
38934
|
+
if (Math.abs(fontScale - 1.235) < 0.05) {
|
|
38935
|
+
return FontA11yCategory.xxLarge;
|
|
38936
|
+
}
|
|
38937
|
+
if (Math.abs(fontScale - 1.353) < 0.05) {
|
|
38938
|
+
return FontA11yCategory.xxxLarge;
|
|
38939
|
+
}
|
|
38940
|
+
if (Math.abs(fontScale - 1.786) < 0.05) {
|
|
38941
|
+
return FontA11yCategory.A11y_Medium;
|
|
38942
|
+
}
|
|
38943
|
+
if (Math.abs(fontScale - 2.143) < 0.05) {
|
|
38944
|
+
return FontA11yCategory.A11y_Large;
|
|
38945
|
+
}
|
|
38946
|
+
if (Math.abs(fontScale - 2.643) < 0.05) {
|
|
38947
|
+
return FontA11yCategory.A11y_xLarge;
|
|
38948
|
+
}
|
|
38949
|
+
if (Math.abs(fontScale - 3.143) < 0.05) {
|
|
38950
|
+
return FontA11yCategory.A11y_xxLarge;
|
|
38951
|
+
}
|
|
38952
|
+
if (Math.abs(fontScale - 3.571) < 0.05) {
|
|
38953
|
+
return FontA11yCategory.A11y_xxxLarge;
|
|
38954
|
+
}
|
|
38955
|
+
return FontA11yCategory.Large;
|
|
38956
|
+
}
|
|
38957
|
+
function mapAndroidFontScaleToCategory(fontScale) {
|
|
38958
|
+
if (fontScale <= 1) {
|
|
38959
|
+
return androidFontScaleMap[100];
|
|
38960
|
+
}
|
|
38961
|
+
var scaledValue = Math.round(fontScale * 100);
|
|
38962
|
+
var keys = Object.keys(androidFontScaleMap).map(Number).sort(function(a, b) {
|
|
38963
|
+
return a - b;
|
|
38964
|
+
});
|
|
38965
|
+
if (keys.length === 0) {
|
|
38966
|
+
return androidFontScaleMap[100];
|
|
38967
|
+
}
|
|
38968
|
+
var closestKey = keys[0];
|
|
38969
|
+
var minDiff = Math.abs(scaledValue - closestKey);
|
|
38970
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
38971
|
+
try {
|
|
38972
|
+
for (var _iterator = keys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
38973
|
+
var key = _step.value;
|
|
38974
|
+
var diff = Math.abs(scaledValue - key);
|
|
38975
|
+
if (diff < minDiff) {
|
|
38976
|
+
minDiff = diff;
|
|
38977
|
+
closestKey = key;
|
|
38978
|
+
}
|
|
38979
|
+
}
|
|
38980
|
+
} catch (err) {
|
|
38981
|
+
_didIteratorError = true;
|
|
38982
|
+
_iteratorError = err;
|
|
38983
|
+
} finally {
|
|
38984
|
+
try {
|
|
38985
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
38986
|
+
_iterator.return();
|
|
38987
|
+
}
|
|
38988
|
+
} finally {
|
|
38989
|
+
if (_didIteratorError) {
|
|
38990
|
+
throw _iteratorError;
|
|
38991
|
+
}
|
|
38992
|
+
}
|
|
38993
|
+
}
|
|
38994
|
+
return androidFontScaleMap[closestKey];
|
|
38995
|
+
}
|
|
38996
|
+
function mapFontScaleToCategory(fontScale, platform) {
|
|
38997
|
+
return platform === "ios" ? mapIOSFontScaleToCategory(fontScale) : mapAndroidFontScaleToCategory(fontScale);
|
|
38998
|
+
}
|
|
37844
38999
|
function useCreateUserAgent(param) {
|
|
37845
|
-
var batteryModePreference = param.batteryModePreference, colorPreference = param.colorPreference,
|
|
39000
|
+
var batteryModePreference = param.batteryModePreference, colorPreference = param.colorPreference, locale = param.locale, navbarPreference = param.navbarPreference, pureSafeArea = param.pureSafeArea, safeArea = param.safeArea, safeAreaBottomTransparency = param.safeAreaBottomTransparency;
|
|
37846
39001
|
var platform = getPlatformOS();
|
|
37847
39002
|
var appVersion = getTossAppVersion();
|
|
37848
|
-
var fontScale = (0,
|
|
39003
|
+
var fontScale = (0, import_react_native154.useWindowDimensions)().fontScale;
|
|
37849
39004
|
var platformString = platform === "ios" ? "iPhone" : "Android";
|
|
39005
|
+
var fontA11y = mapFontScaleToCategory(fontScale, platform);
|
|
39006
|
+
var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
|
|
37850
39007
|
return [
|
|
37851
39008
|
"TossApp/".concat(appVersion),
|
|
37852
39009
|
batteryModePreference && "TossBatteryModePreference/".concat(batteryModePreference),
|
|
37853
39010
|
colorPreference && "TossColorPreference/".concat(colorPreference),
|
|
37854
|
-
|
|
37855
|
-
|
|
39011
|
+
"TossFontAccessibility/".concat(fontA11y),
|
|
39012
|
+
"TossFontScale/".concat(normalizedFontScale),
|
|
37856
39013
|
locale && "TossLocale/".concat(locale),
|
|
37857
39014
|
navbarPreference && "TossNavbarPreference/".concat(navbarPreference),
|
|
37858
39015
|
pureSafeArea && "TossPureSafeArea/".concat(pureSafeArea),
|
|
@@ -37910,7 +39067,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37910
39067
|
throw new Error("Invalid WebView type: '".concat(type, "'"));
|
|
37911
39068
|
}
|
|
37912
39069
|
var bedrockEvent = useBedrockEvent();
|
|
37913
|
-
var uri = (0,
|
|
39070
|
+
var uri = (0, import_react158.useMemo)(function() {
|
|
37914
39071
|
return getWebViewUri(local);
|
|
37915
39072
|
}, [
|
|
37916
39073
|
local
|
|
@@ -37997,7 +39154,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
37997
39154
|
iapGetProductItemList: IAP.getProductItemList
|
|
37998
39155
|
})
|
|
37999
39156
|
});
|
|
38000
|
-
var baseProps = (0,
|
|
39157
|
+
var baseProps = (0, import_react158.useMemo)(function() {
|
|
38001
39158
|
switch (type) {
|
|
38002
39159
|
case "partner": {
|
|
38003
39160
|
var headerOnlyProp = {
|
|
@@ -38028,7 +39185,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38028
39185
|
]);
|
|
38029
39186
|
var BaseWebView = WEBVIEW_TYPES[type];
|
|
38030
39187
|
var webViewDebuggingEnabled = operationalEnvironment === "sandbox";
|
|
38031
|
-
var handleNavigationStateChange = (0,
|
|
39188
|
+
var handleNavigationStateChange = (0, import_react158.useCallback)(function(event) {
|
|
38032
39189
|
if (event.url) {
|
|
38033
39190
|
trackScreen(event.url);
|
|
38034
39191
|
}
|
|
@@ -38036,7 +39193,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38036
39193
|
var userAgent = useCreateUserAgent({
|
|
38037
39194
|
colorPreference: "light"
|
|
38038
39195
|
});
|
|
38039
|
-
return /* @__PURE__ */ (0,
|
|
39196
|
+
return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(BaseWebView, _object_spread_props(_object_spread({
|
|
38040
39197
|
ref: handler.ref
|
|
38041
39198
|
}, props, baseProps), {
|
|
38042
39199
|
source: {
|
|
@@ -38046,14 +39203,15 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38046
39203
|
"User-Agent": userAgent
|
|
38047
39204
|
}
|
|
38048
39205
|
},
|
|
38049
|
-
userAgent:
|
|
39206
|
+
userAgent: import_react_native141.Platform.OS === "ios" ? userAgent : void 0,
|
|
38050
39207
|
sharedCookiesEnabled: true,
|
|
38051
39208
|
webviewDebuggingEnabled: webViewDebuggingEnabled,
|
|
38052
39209
|
thirdPartyCookiesEnabled: true,
|
|
38053
39210
|
onMessage: handler.onMessage,
|
|
38054
39211
|
onNavigationStateChange: handleNavigationStateChange,
|
|
38055
39212
|
injectedJavaScript: handler.injectedJavaScript,
|
|
38056
|
-
injectedJavaScriptBeforeContentLoaded: handler.injectedJavaScript
|
|
39213
|
+
injectedJavaScriptBeforeContentLoaded: handler.injectedJavaScript,
|
|
39214
|
+
decelerationRate: import_react_native141.Platform.OS === "ios" ? 1 : void 0
|
|
38057
39215
|
}));
|
|
38058
39216
|
}
|
|
38059
39217
|
function ensureValue(value, name2) {
|
|
@@ -38062,7 +39220,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38062
39220
|
}
|
|
38063
39221
|
return value;
|
|
38064
39222
|
}
|
|
38065
|
-
var
|
|
39223
|
+
var import_react155, import_react_native135, import_react_native136, import_react_native137, import_react156, import_react157, import_react_native139, import_jsx_runtime185, import_react158, import_react_native141, import_react159, import_react_native143, import_react160, import_react_native145, import_react161, import_jsx_runtime186, import_react_native148, import_jsx_runtime187, import_react_native150, import_react_native151, import_react_native152, import_jsx_runtime188, import_react_native153, import_jsx_runtime189, import_jsx_runtime190, import_react162, import_react_native154, import_react163, import_jsx_runtime191, __defProp2, __export2, env, AppsInTossModuleInstance, AppsInTossModule, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, TossCoreModule, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, EntryMessageExitedEvent, nativeEventEmitter2, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, UNSAFE__nativeEventEmitter, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, async_bridges_exports2, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, GAME_PROFILE_WEBVIEW_URL, GAME_CENTER_MIN_VERSION, AppsInToss, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, IAP, Storage, GoogleAdMob, useGameProfileToast, DEFAULT_ERROR, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useGameCenterProfile, Z_INDEX, GameProfile, overlayStyle, RIGHT_MARGIN2, IOS_DEFAULT_MARGIN2, styles34, originXML, GameWebView, globalEventListenerMap, constant_bridges_exports2, event_bridges_exports, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId, getReferrer, trackScreen, appsInTossGlobals, operationalEnvironment, TYPES, WEBVIEW_TYPES, Analytics2;
|
|
38066
39224
|
var init_dist4 = __esm({
|
|
38067
39225
|
"../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.js"() {
|
|
38068
39226
|
"use strict";
|
|
@@ -38085,52 +39243,66 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38085
39243
|
init_dist2();
|
|
38086
39244
|
init_esm8();
|
|
38087
39245
|
init_src4();
|
|
38088
|
-
|
|
39246
|
+
import_react155 = __toESM(require_react(), 1);
|
|
38089
39247
|
init_src4();
|
|
38090
|
-
|
|
38091
|
-
|
|
38092
|
-
|
|
38093
|
-
|
|
39248
|
+
import_react_native135 = __toESM(require_react_native(), 1);
|
|
39249
|
+
import_react_native136 = __toESM(require_react_native(), 1);
|
|
39250
|
+
import_react_native137 = __toESM(require_react_native(), 1);
|
|
39251
|
+
import_react156 = __toESM(require_react(), 1);
|
|
38094
39252
|
init_src4();
|
|
38095
39253
|
init_esm8();
|
|
38096
|
-
|
|
39254
|
+
import_react157 = __toESM(require_react(), 1);
|
|
39255
|
+
init_src4();
|
|
38097
39256
|
init_src4();
|
|
38098
39257
|
init_src4();
|
|
39258
|
+
import_react_native139 = __toESM(require_react_native(), 1);
|
|
38099
39259
|
init_src4();
|
|
38100
|
-
import_react_native133 = __toESM(require_react_native(), 1);
|
|
38101
39260
|
init_src4();
|
|
38102
39261
|
init_src4();
|
|
38103
|
-
|
|
39262
|
+
import_jsx_runtime185 = __toESM(require_jsx_runtime(), 1);
|
|
38104
39263
|
init_esm8();
|
|
38105
39264
|
init_private2();
|
|
38106
|
-
|
|
38107
|
-
|
|
39265
|
+
import_react158 = __toESM(require_react(), 1);
|
|
39266
|
+
import_react_native141 = __toESM(require_react_native(), 1);
|
|
38108
39267
|
init_src4();
|
|
38109
39268
|
init_async_bridges();
|
|
38110
39269
|
init_constant_bridges();
|
|
38111
39270
|
init_react_native_webview();
|
|
38112
39271
|
init_esm8();
|
|
38113
39272
|
init_dist3();
|
|
38114
|
-
|
|
38115
|
-
|
|
39273
|
+
import_react159 = __toESM(require_react(), 1);
|
|
39274
|
+
import_react_native143 = __toESM(require_react_native(), 1);
|
|
39275
|
+
init_src4();
|
|
39276
|
+
init_esm8();
|
|
39277
|
+
import_react160 = __toESM(require_react(), 1);
|
|
39278
|
+
import_react_native145 = __toESM(require_react_native(), 1);
|
|
39279
|
+
init_esm8();
|
|
39280
|
+
init_dist3();
|
|
39281
|
+
import_react161 = __toESM(require_react(), 1);
|
|
39282
|
+
init_src4();
|
|
39283
|
+
init_esm8();
|
|
39284
|
+
init_private2();
|
|
39285
|
+
import_jsx_runtime186 = __toESM(require_jsx_runtime(), 1);
|
|
39286
|
+
import_react_native148 = __toESM(require_react_native(), 1);
|
|
38116
39287
|
init_src4();
|
|
39288
|
+
import_jsx_runtime187 = __toESM(require_jsx_runtime(), 1);
|
|
38117
39289
|
init_react_native_svg();
|
|
38118
39290
|
init_esm8();
|
|
38119
|
-
|
|
38120
|
-
|
|
38121
|
-
|
|
38122
|
-
|
|
39291
|
+
import_react_native150 = __toESM(require_react_native(), 1);
|
|
39292
|
+
import_react_native151 = __toESM(require_react_native(), 1);
|
|
39293
|
+
import_react_native152 = __toESM(require_react_native(), 1);
|
|
39294
|
+
import_jsx_runtime188 = __toESM(require_jsx_runtime(), 1);
|
|
38123
39295
|
init_react_native_safe_area_context();
|
|
38124
|
-
|
|
38125
|
-
|
|
38126
|
-
|
|
38127
|
-
|
|
38128
|
-
|
|
39296
|
+
import_react_native153 = __toESM(require_react_native(), 1);
|
|
39297
|
+
import_jsx_runtime189 = __toESM(require_jsx_runtime(), 1);
|
|
39298
|
+
import_jsx_runtime190 = __toESM(require_jsx_runtime(), 1);
|
|
39299
|
+
import_react162 = __toESM(require_react(), 1);
|
|
39300
|
+
import_react_native154 = __toESM(require_react_native(), 1);
|
|
38129
39301
|
init_src4();
|
|
38130
|
-
|
|
39302
|
+
import_react163 = __toESM(require_react(), 1);
|
|
38131
39303
|
init_src4();
|
|
38132
39304
|
init_src4();
|
|
38133
|
-
|
|
39305
|
+
import_jsx_runtime191 = __toESM(require_jsx_runtime(), 1);
|
|
38134
39306
|
init_dist2();
|
|
38135
39307
|
__defProp2 = Object.defineProperty;
|
|
38136
39308
|
__export2 = function(target, all) {
|
|
@@ -38145,7 +39317,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38145
39317
|
return false ? "local" : (_global___appsInToss = window.__appsInToss) === null || _global___appsInToss === void 0 ? void 0 : _global___appsInToss.deploymentId;
|
|
38146
39318
|
}
|
|
38147
39319
|
};
|
|
38148
|
-
AppsInTossModuleInstance =
|
|
39320
|
+
AppsInTossModuleInstance = import_react_native136.NativeModules.AppsInTossModule;
|
|
38149
39321
|
AppsInTossModule = AppsInTossModuleInstance;
|
|
38150
39322
|
SEMVER_REGEX = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\\-]+(?:\.[\da-z\\-]+)*))?(?:\+[\da-z\\-]+(?:\.[\da-z\\-]+)*)?)?)?$/i;
|
|
38151
39323
|
isWildcard = function(val) {
|
|
@@ -38232,7 +39404,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38232
39404
|
}
|
|
38233
39405
|
return 0;
|
|
38234
39406
|
};
|
|
38235
|
-
TossCoreModule =
|
|
39407
|
+
TossCoreModule = import_react_native135.NativeModules.TossCoreModule;
|
|
38236
39408
|
ENTRY_APP_EVENT_SCHEMA_ID = 1562181;
|
|
38237
39409
|
AppEvent = {
|
|
38238
39410
|
Entry: EntryAppEvent,
|
|
@@ -38264,7 +39436,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38264
39436
|
]);
|
|
38265
39437
|
return EntryMessageExitedEvent2;
|
|
38266
39438
|
}(BedrockEventDefinition);
|
|
38267
|
-
nativeEventEmitter2 = new
|
|
39439
|
+
nativeEventEmitter2 = new import_react_native139.NativeEventEmitter(AppsInTossModuleInstance);
|
|
38268
39440
|
UpdateLocationEvent = /* @__PURE__ */ function(BedrockEventDefinition22) {
|
|
38269
39441
|
"use strict";
|
|
38270
39442
|
_inherits(UpdateLocationEvent2, BedrockEventDefinition22);
|
|
@@ -38447,12 +39619,18 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38447
39619
|
getCurrentLocation: function() {
|
|
38448
39620
|
return getCurrentLocation;
|
|
38449
39621
|
},
|
|
39622
|
+
getGameCenterGameProfile: function() {
|
|
39623
|
+
return getGameCenterGameProfile;
|
|
39624
|
+
},
|
|
38450
39625
|
getTossShareLink: function() {
|
|
38451
39626
|
return getTossShareLink;
|
|
38452
39627
|
},
|
|
38453
39628
|
openCamera: function() {
|
|
38454
39629
|
return openCamera;
|
|
38455
39630
|
},
|
|
39631
|
+
openGameCenterLeaderboard: function() {
|
|
39632
|
+
return openGameCenterLeaderboard;
|
|
39633
|
+
},
|
|
38456
39634
|
saveBase64Data: function() {
|
|
38457
39635
|
return saveBase64Data;
|
|
38458
39636
|
},
|
|
@@ -38461,10 +39639,18 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38461
39639
|
},
|
|
38462
39640
|
setDeviceOrientation: function() {
|
|
38463
39641
|
return setDeviceOrientation;
|
|
39642
|
+
},
|
|
39643
|
+
submitGameCenterLeaderBoardScore: function() {
|
|
39644
|
+
return submitGameCenterLeaderBoardScore;
|
|
38464
39645
|
}
|
|
38465
39646
|
});
|
|
38466
39647
|
DEFAULT_MAX_COUNT = 10;
|
|
38467
39648
|
DEFAULT_MAX_WIDTH = 1024;
|
|
39649
|
+
GAME_PROFILE_WEBVIEW_URL = "https://service.toss.im/game-center/profile";
|
|
39650
|
+
GAME_CENTER_MIN_VERSION = {
|
|
39651
|
+
android: "5.221.0",
|
|
39652
|
+
ios: "5.221.0"
|
|
39653
|
+
};
|
|
38468
39654
|
AppsInToss = {
|
|
38469
39655
|
registerApp
|
|
38470
39656
|
};
|
|
@@ -38476,25 +39662,425 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38476
39662
|
loadAdMobRewardedAd.isSupported = createIsSupported();
|
|
38477
39663
|
showAdMobInterstitialAd.isSupported = createIsSupported();
|
|
38478
39664
|
showAdMobRewardedAd.isSupported = createIsSupported();
|
|
39665
|
+
IAP = {
|
|
39666
|
+
createOneTimePurchaseOrder,
|
|
39667
|
+
getProductItemList
|
|
39668
|
+
};
|
|
38479
39669
|
Storage = {
|
|
38480
39670
|
getItem,
|
|
38481
39671
|
setItem,
|
|
38482
39672
|
removeItem,
|
|
38483
39673
|
clearItems
|
|
38484
39674
|
};
|
|
38485
|
-
IAP = {
|
|
38486
|
-
createOneTimePurchaseOrder,
|
|
38487
|
-
getProductItemList
|
|
38488
|
-
};
|
|
38489
39675
|
GoogleAdMob = {
|
|
38490
39676
|
loadAdMobInterstitialAd,
|
|
38491
39677
|
showAdMobInterstitialAd,
|
|
38492
39678
|
loadAdMobRewardedAd,
|
|
38493
39679
|
showAdMobRewardedAd
|
|
38494
39680
|
};
|
|
39681
|
+
useGameProfileToast = function() {
|
|
39682
|
+
var overlay = useOverlay();
|
|
39683
|
+
var openGameProfileToast = function(nickname, profileImageUri) {
|
|
39684
|
+
return new Promise(function(resolve) {
|
|
39685
|
+
overlay.open(function(param) {
|
|
39686
|
+
var isOpen = param.isOpen, close = param.close, exit = param.exit;
|
|
39687
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(ColorPreferenceProvider, {
|
|
39688
|
+
colorPreference: "dark",
|
|
39689
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(AdaptiveColorProvider, {
|
|
39690
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(Toast, {
|
|
39691
|
+
open: isOpen,
|
|
39692
|
+
onClose: function() {
|
|
39693
|
+
resolve();
|
|
39694
|
+
close();
|
|
39695
|
+
},
|
|
39696
|
+
onExited: exit,
|
|
39697
|
+
position: "top",
|
|
39698
|
+
text: "".concat(nickname, "\uB2D8 \uBC18\uAC00\uC6CC\uC694!"),
|
|
39699
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(Asset2.Image, {
|
|
39700
|
+
style: {
|
|
39701
|
+
borderRadius: 64,
|
|
39702
|
+
overflow: "hidden"
|
|
39703
|
+
},
|
|
39704
|
+
frameShape: Asset2.frameShape.CleanW32,
|
|
39705
|
+
source: {
|
|
39706
|
+
uri: profileImageUri
|
|
39707
|
+
}
|
|
39708
|
+
})
|
|
39709
|
+
})
|
|
39710
|
+
})
|
|
39711
|
+
});
|
|
39712
|
+
});
|
|
39713
|
+
});
|
|
39714
|
+
};
|
|
39715
|
+
return {
|
|
39716
|
+
openGameProfileToast
|
|
39717
|
+
};
|
|
39718
|
+
};
|
|
39719
|
+
DEFAULT_ERROR = {
|
|
39720
|
+
title: "\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",
|
|
39721
|
+
description: "\uBB38\uC81C\uAC00 \uACC4\uC18D\uB418\uBA74 \uD1A0\uC2A4 \uACE0\uAC1D\uC13C\uD130(1599-4905)\uB85C \uBB38\uC758\uD574\uC8FC\uC138\uC694."
|
|
39722
|
+
};
|
|
39723
|
+
PLAYSTORE_LINK = "https://play.google.com/store/apps/details?id=viva.republica.toss";
|
|
39724
|
+
APPSTORE_LINK = "https://itunes.apple.com/app/id839333328";
|
|
39725
|
+
getMarketLink = function() {
|
|
39726
|
+
return import_react_native148.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
|
|
39727
|
+
};
|
|
39728
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb = onVisibilityChangedByTransparentServiceWeb;
|
|
39729
|
+
openTransparentWebView = function(param) {
|
|
39730
|
+
var webUrl = param.webUrl, _param_cleanupWhenDismissed = param.cleanupWhenDismissed, cleanupWhenDismissed = _param_cleanupWhenDismissed === void 0 ? true : _param_cleanupWhenDismissed, onEvent = param.onEvent, onError = param.onError, _param_callbackId = param.callbackId, callbackId = _param_callbackId === void 0 ? "fn" : _param_callbackId, params = param.params;
|
|
39731
|
+
var url = new URL("supertoss://transparent-service-web");
|
|
39732
|
+
url.searchParams.set("url", webUrl);
|
|
39733
|
+
url.searchParams.set("onVisibilityChangeCallback", callbackId);
|
|
39734
|
+
Object.entries(params !== null && params !== void 0 ? params : {}).forEach(function(param2) {
|
|
39735
|
+
var _param = _sliced_to_array(param2, 2), key = _param[0], value = _param[1];
|
|
39736
|
+
url.searchParams.set(key, value);
|
|
39737
|
+
});
|
|
39738
|
+
var cleanup = INTERNAL__onVisibilityChangedByTransparentServiceWeb({
|
|
39739
|
+
options: {
|
|
39740
|
+
callbackId
|
|
39741
|
+
},
|
|
39742
|
+
onError: function(error) {
|
|
39743
|
+
onError(error);
|
|
39744
|
+
cleanup();
|
|
39745
|
+
},
|
|
39746
|
+
onEvent: function(value) {
|
|
39747
|
+
onEvent(value);
|
|
39748
|
+
if (cleanupWhenDismissed && value === true) {
|
|
39749
|
+
cleanup();
|
|
39750
|
+
}
|
|
39751
|
+
}
|
|
39752
|
+
});
|
|
39753
|
+
openURL(url.toString());
|
|
39754
|
+
};
|
|
39755
|
+
useGameCenterProfile = function(isReadyForProfileUI) {
|
|
39756
|
+
var _useState = _sliced_to_array((0, import_react161.useState)(void 0), 2), profileData = _useState[0], setProfileData = _useState[1];
|
|
39757
|
+
var _useState1 = _sliced_to_array((0, import_react161.useState)(true), 2), isProfileDataLoading = _useState1[0], setIsProfileDataLoading = _useState1[1];
|
|
39758
|
+
var _useState2 = _sliced_to_array((0, import_react161.useState)(false), 2), isProfileDataRefetching = _useState2[0], setIsProfileDataRefetching = _useState2[1];
|
|
39759
|
+
var shouldShowLoadingOverlay = isProfileDataLoading && isReadyForProfileUI;
|
|
39760
|
+
var shouldShowProfileNotFoundOverlay = (profileData === null || profileData === void 0 ? void 0 : profileData.statusCode) === "PROFILE_NOT_FOUND" && isReadyForProfileUI && !isProfileDataRefetching;
|
|
39761
|
+
var canShowBottomSheetOrToast = !isProfileDataLoading && isReadyForProfileUI;
|
|
39762
|
+
var _useState3 = _sliced_to_array((0, import_react161.useState)(false), 2), isWebviewLoading = _useState3[0], setIsWebviewLoading = _useState3[1];
|
|
39763
|
+
var isCompletedProfileFlow = (0, import_react161.useRef)(false);
|
|
39764
|
+
var _useDialog = useDialog(), openAlert = _useDialog.openAlert, openConfirm = _useDialog.openConfirm;
|
|
39765
|
+
var openGameProfileToast = useGameProfileToast().openGameProfileToast;
|
|
39766
|
+
var openErrorAlert = (0, import_react161.useCallback)(/* @__PURE__ */ _async_to_generator(function() {
|
|
39767
|
+
return __generator(this, function(_state) {
|
|
39768
|
+
switch (_state.label) {
|
|
39769
|
+
case 0:
|
|
39770
|
+
return [
|
|
39771
|
+
4,
|
|
39772
|
+
openAlert({
|
|
39773
|
+
title: DEFAULT_ERROR.title,
|
|
39774
|
+
description: DEFAULT_ERROR.description
|
|
39775
|
+
})
|
|
39776
|
+
];
|
|
39777
|
+
case 1:
|
|
39778
|
+
_state.sent();
|
|
39779
|
+
closeView();
|
|
39780
|
+
return [
|
|
39781
|
+
2
|
|
39782
|
+
];
|
|
39783
|
+
}
|
|
39784
|
+
});
|
|
39785
|
+
}), [
|
|
39786
|
+
openAlert
|
|
39787
|
+
]);
|
|
39788
|
+
var openProfileWebview = (0, import_react161.useCallback)(function() {
|
|
39789
|
+
if (isWebviewLoading) {
|
|
39790
|
+
return;
|
|
39791
|
+
}
|
|
39792
|
+
setIsWebviewLoading(true);
|
|
39793
|
+
openTransparentWebView({
|
|
39794
|
+
webUrl: "".concat(GAME_PROFILE_WEBVIEW_URL, "?appName=").concat(getAppName(), "&referrer=appsintoss.").concat(getAppName()),
|
|
39795
|
+
onEvent: function() {
|
|
39796
|
+
var _ref = _async_to_generator(function(isClosedTransparentWebView) {
|
|
39797
|
+
var data, _;
|
|
39798
|
+
return __generator(this, function(_state) {
|
|
39799
|
+
switch (_state.label) {
|
|
39800
|
+
case 0:
|
|
39801
|
+
if (!isClosedTransparentWebView) return [
|
|
39802
|
+
3,
|
|
39803
|
+
4
|
|
39804
|
+
];
|
|
39805
|
+
_state.label = 1;
|
|
39806
|
+
case 1:
|
|
39807
|
+
_state.trys.push([
|
|
39808
|
+
1,
|
|
39809
|
+
3,
|
|
39810
|
+
,
|
|
39811
|
+
4
|
|
39812
|
+
]);
|
|
39813
|
+
setIsWebviewLoading(false);
|
|
39814
|
+
setIsProfileDataRefetching(true);
|
|
39815
|
+
return [
|
|
39816
|
+
4,
|
|
39817
|
+
getGameCenterGameProfile()
|
|
39818
|
+
];
|
|
39819
|
+
case 2:
|
|
39820
|
+
data = _state.sent();
|
|
39821
|
+
setProfileData(data);
|
|
39822
|
+
setIsProfileDataRefetching(false);
|
|
39823
|
+
if ((data === null || data === void 0 ? void 0 : data.statusCode) === "SUCCESS") {
|
|
39824
|
+
openGameProfileToast(data.nickname, data.profileImageUri);
|
|
39825
|
+
}
|
|
39826
|
+
return [
|
|
39827
|
+
3,
|
|
39828
|
+
4
|
|
39829
|
+
];
|
|
39830
|
+
case 3:
|
|
39831
|
+
_ = _state.sent();
|
|
39832
|
+
setIsProfileDataRefetching(false);
|
|
39833
|
+
openErrorAlert();
|
|
39834
|
+
return [
|
|
39835
|
+
3,
|
|
39836
|
+
4
|
|
39837
|
+
];
|
|
39838
|
+
case 4:
|
|
39839
|
+
return [
|
|
39840
|
+
2
|
|
39841
|
+
];
|
|
39842
|
+
}
|
|
39843
|
+
});
|
|
39844
|
+
});
|
|
39845
|
+
return function(isClosedTransparentWebView) {
|
|
39846
|
+
return _ref.apply(this, arguments);
|
|
39847
|
+
};
|
|
39848
|
+
}(),
|
|
39849
|
+
onError: function() {
|
|
39850
|
+
openErrorAlert();
|
|
39851
|
+
}
|
|
39852
|
+
});
|
|
39853
|
+
}, [
|
|
39854
|
+
isWebviewLoading,
|
|
39855
|
+
openGameProfileToast,
|
|
39856
|
+
openErrorAlert
|
|
39857
|
+
]);
|
|
39858
|
+
var updateAppToSupportedMinVersion = (0, import_react161.useCallback)(/* @__PURE__ */ _async_to_generator(function() {
|
|
39859
|
+
var upddateConfirmDialogLabel, isConfirmed, STORE_SCHEME;
|
|
39860
|
+
return __generator(this, function(_state) {
|
|
39861
|
+
switch (_state.label) {
|
|
39862
|
+
case 0:
|
|
39863
|
+
upddateConfirmDialogLabel = {
|
|
39864
|
+
title: "".concat(josa(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C"), " \uD558\uB824\uBA74 \n\uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694"),
|
|
39865
|
+
leftButton: "\uB2EB\uAE30",
|
|
39866
|
+
rightButton: "\uC5C5\uB370\uC774\uD2B8\uD558\uAE30"
|
|
39867
|
+
};
|
|
39868
|
+
return [
|
|
39869
|
+
4,
|
|
39870
|
+
openConfirm({
|
|
39871
|
+
title: upddateConfirmDialogLabel.title,
|
|
39872
|
+
leftButton: upddateConfirmDialogLabel.leftButton,
|
|
39873
|
+
rightButton: upddateConfirmDialogLabel.rightButton,
|
|
39874
|
+
closeOnDimmerClick: true
|
|
39875
|
+
})
|
|
39876
|
+
];
|
|
39877
|
+
case 1:
|
|
39878
|
+
isConfirmed = _state.sent();
|
|
39879
|
+
if (!isConfirmed) {
|
|
39880
|
+
closeView();
|
|
39881
|
+
return [
|
|
39882
|
+
2
|
|
39883
|
+
];
|
|
39884
|
+
}
|
|
39885
|
+
STORE_SCHEME = getMarketLink();
|
|
39886
|
+
openURL("supertoss://web?url=".concat(STORE_SCHEME, "&external=browser"));
|
|
39887
|
+
return [
|
|
39888
|
+
2
|
|
39889
|
+
];
|
|
39890
|
+
}
|
|
39891
|
+
});
|
|
39892
|
+
}), [
|
|
39893
|
+
openConfirm
|
|
39894
|
+
]);
|
|
39895
|
+
return {
|
|
39896
|
+
profileData,
|
|
39897
|
+
isProfileDataLoading,
|
|
39898
|
+
isProfileDataRefetching,
|
|
39899
|
+
shouldShowLoadingOverlay,
|
|
39900
|
+
shouldShowProfileNotFoundOverlay,
|
|
39901
|
+
canShowBottomSheetOrToast,
|
|
39902
|
+
isCompletedProfileFlow,
|
|
39903
|
+
updateAppToSupportedMinVersion,
|
|
39904
|
+
setIsProfileDataLoading,
|
|
39905
|
+
openProfileWebview,
|
|
39906
|
+
setProfileData,
|
|
39907
|
+
openErrorAlert,
|
|
39908
|
+
openGameProfileToast
|
|
39909
|
+
};
|
|
39910
|
+
};
|
|
39911
|
+
Z_INDEX = {
|
|
39912
|
+
/* 게임 프로필을 위한 overlay
|
|
39913
|
+
*/
|
|
39914
|
+
PROFILE_OVERLAY: 9998,
|
|
39915
|
+
// 게임을 종료할 수 있는 X 버튼
|
|
39916
|
+
CLOSE_BUTTON: 9999
|
|
39917
|
+
};
|
|
39918
|
+
GameProfile = function(param) {
|
|
39919
|
+
var children = param.children, isReadyForProfileUI = param.isReadyForProfileUI;
|
|
39920
|
+
var _useGameCenterProfile = useGameCenterProfile(isReadyForProfileUI), profileData = _useGameCenterProfile.profileData, isProfileDataRefetching = _useGameCenterProfile.isProfileDataRefetching, shouldShowLoadingOverlay = _useGameCenterProfile.shouldShowLoadingOverlay, shouldShowProfileNotFoundOverlay = _useGameCenterProfile.shouldShowProfileNotFoundOverlay, canShowBottomSheetOrToast = _useGameCenterProfile.canShowBottomSheetOrToast, isCompletedProfileFlow = _useGameCenterProfile.isCompletedProfileFlow, openProfileWebview = _useGameCenterProfile.openProfileWebview, updateAppToSupportedMinVersion = _useGameCenterProfile.updateAppToSupportedMinVersion, setIsProfileDataLoading = _useGameCenterProfile.setIsProfileDataLoading, setProfileData = _useGameCenterProfile.setProfileData, openErrorAlert = _useGameCenterProfile.openErrorAlert, openGameProfileToast = _useGameCenterProfile.openGameProfileToast;
|
|
39921
|
+
(0, import_react160.useEffect)(function() {
|
|
39922
|
+
try {
|
|
39923
|
+
var getProfileData = function() {
|
|
39924
|
+
var _ref = _async_to_generator(function() {
|
|
39925
|
+
var data;
|
|
39926
|
+
return __generator(this, function(_state) {
|
|
39927
|
+
switch (_state.label) {
|
|
39928
|
+
case 0:
|
|
39929
|
+
return [
|
|
39930
|
+
4,
|
|
39931
|
+
getGameCenterGameProfile()
|
|
39932
|
+
];
|
|
39933
|
+
case 1:
|
|
39934
|
+
data = _state.sent();
|
|
39935
|
+
setProfileData(data);
|
|
39936
|
+
setIsProfileDataLoading(false);
|
|
39937
|
+
return [
|
|
39938
|
+
2
|
|
39939
|
+
];
|
|
39940
|
+
}
|
|
39941
|
+
});
|
|
39942
|
+
});
|
|
39943
|
+
return function getProfileData2() {
|
|
39944
|
+
return _ref.apply(this, arguments);
|
|
39945
|
+
};
|
|
39946
|
+
}();
|
|
39947
|
+
getProfileData();
|
|
39948
|
+
} catch (_) {
|
|
39949
|
+
openErrorAlert();
|
|
39950
|
+
setIsProfileDataLoading(false);
|
|
39951
|
+
}
|
|
39952
|
+
}, []);
|
|
39953
|
+
(0, import_react160.useEffect)(function() {
|
|
39954
|
+
var handleGameProfileFlow = function() {
|
|
39955
|
+
var _ref = _async_to_generator(function() {
|
|
39956
|
+
return __generator(this, function(_state) {
|
|
39957
|
+
if (!canShowBottomSheetOrToast) {
|
|
39958
|
+
return [
|
|
39959
|
+
2
|
|
39960
|
+
];
|
|
39961
|
+
}
|
|
39962
|
+
if (isCompletedProfileFlow.current) {
|
|
39963
|
+
return [
|
|
39964
|
+
2
|
|
39965
|
+
];
|
|
39966
|
+
}
|
|
39967
|
+
isCompletedProfileFlow.current = true;
|
|
39968
|
+
if (!isMinVersionSupported(GAME_CENTER_MIN_VERSION)) {
|
|
39969
|
+
updateAppToSupportedMinVersion();
|
|
39970
|
+
return [
|
|
39971
|
+
2
|
|
39972
|
+
];
|
|
39973
|
+
}
|
|
39974
|
+
if ((profileData === null || profileData === void 0 ? void 0 : profileData.statusCode) === "SUCCESS") {
|
|
39975
|
+
openGameProfileToast(profileData.nickname, profileData.profileImageUri);
|
|
39976
|
+
return [
|
|
39977
|
+
2
|
|
39978
|
+
];
|
|
39979
|
+
}
|
|
39980
|
+
if ((profileData === null || profileData === void 0 ? void 0 : profileData.statusCode) === "PROFILE_NOT_FOUND") {
|
|
39981
|
+
openProfileWebview();
|
|
39982
|
+
}
|
|
39983
|
+
return [
|
|
39984
|
+
2
|
|
39985
|
+
];
|
|
39986
|
+
});
|
|
39987
|
+
});
|
|
39988
|
+
return function handleGameProfileFlow2() {
|
|
39989
|
+
return _ref.apply(this, arguments);
|
|
39990
|
+
};
|
|
39991
|
+
}();
|
|
39992
|
+
handleGameProfileFlow();
|
|
39993
|
+
}, [
|
|
39994
|
+
canShowBottomSheetOrToast,
|
|
39995
|
+
isCompletedProfileFlow,
|
|
39996
|
+
openGameProfileToast,
|
|
39997
|
+
openProfileWebview,
|
|
39998
|
+
profileData,
|
|
39999
|
+
updateAppToSupportedMinVersion
|
|
40000
|
+
]);
|
|
40001
|
+
if (!isMinVersionSupported(GAME_CENTER_MIN_VERSION)) {
|
|
40002
|
+
return /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)(import_jsx_runtime187.Fragment, {
|
|
40003
|
+
children: [
|
|
40004
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(import_react_native145.View, {
|
|
40005
|
+
style: {
|
|
40006
|
+
flex: 1,
|
|
40007
|
+
position: "relative"
|
|
40008
|
+
},
|
|
40009
|
+
children
|
|
40010
|
+
}),
|
|
40011
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(import_react_native145.Pressable, {
|
|
40012
|
+
style: _object_spread({}, overlayStyle),
|
|
40013
|
+
onPress: function() {
|
|
40014
|
+
updateAppToSupportedMinVersion();
|
|
40015
|
+
}
|
|
40016
|
+
})
|
|
40017
|
+
]
|
|
40018
|
+
});
|
|
40019
|
+
}
|
|
40020
|
+
if (shouldShowLoadingOverlay || isProfileDataRefetching) {
|
|
40021
|
+
return /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)(import_jsx_runtime187.Fragment, {
|
|
40022
|
+
children: [
|
|
40023
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(import_react_native145.View, {
|
|
40024
|
+
style: {
|
|
40025
|
+
flex: 1,
|
|
40026
|
+
position: "relative"
|
|
40027
|
+
},
|
|
40028
|
+
children
|
|
40029
|
+
}),
|
|
40030
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(import_react_native145.View, {
|
|
40031
|
+
style: _object_spread_props(_object_spread({}, overlayStyle), {
|
|
40032
|
+
justifyContent: "center",
|
|
40033
|
+
alignItems: "center",
|
|
40034
|
+
backgroundColor: "rgba(0, 0, 0, 0.2)"
|
|
40035
|
+
}),
|
|
40036
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Loader_default, {
|
|
40037
|
+
size: "large",
|
|
40038
|
+
type: "light"
|
|
40039
|
+
})
|
|
40040
|
+
})
|
|
40041
|
+
]
|
|
40042
|
+
});
|
|
40043
|
+
}
|
|
40044
|
+
if (shouldShowProfileNotFoundOverlay) {
|
|
40045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)(import_jsx_runtime187.Fragment, {
|
|
40046
|
+
children: [
|
|
40047
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(import_react_native145.View, {
|
|
40048
|
+
style: {
|
|
40049
|
+
flex: 1,
|
|
40050
|
+
position: "relative"
|
|
40051
|
+
},
|
|
40052
|
+
children
|
|
40053
|
+
}),
|
|
40054
|
+
shouldShowProfileNotFoundOverlay && /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(import_react_native145.Pressable, {
|
|
40055
|
+
style: _object_spread({}, overlayStyle),
|
|
40056
|
+
onPress: function() {
|
|
40057
|
+
openProfileWebview();
|
|
40058
|
+
}
|
|
40059
|
+
})
|
|
40060
|
+
]
|
|
40061
|
+
});
|
|
40062
|
+
}
|
|
40063
|
+
return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(import_jsx_runtime187.Fragment, {
|
|
40064
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(import_react_native145.View, {
|
|
40065
|
+
style: {
|
|
40066
|
+
flex: 1,
|
|
40067
|
+
position: "relative"
|
|
40068
|
+
},
|
|
40069
|
+
children
|
|
40070
|
+
})
|
|
40071
|
+
});
|
|
40072
|
+
};
|
|
40073
|
+
overlayStyle = {
|
|
40074
|
+
position: "absolute",
|
|
40075
|
+
top: 0,
|
|
40076
|
+
left: 0,
|
|
40077
|
+
right: 0,
|
|
40078
|
+
bottom: 0,
|
|
40079
|
+
zIndex: Z_INDEX.PROFILE_OVERLAY
|
|
40080
|
+
};
|
|
38495
40081
|
RIGHT_MARGIN2 = 24;
|
|
38496
40082
|
IOS_DEFAULT_MARGIN2 = 20;
|
|
38497
|
-
|
|
40083
|
+
styles34 = import_react_native151.StyleSheet.create({
|
|
38498
40084
|
ios: {
|
|
38499
40085
|
marginRight: -IOS_DEFAULT_MARGIN2 + RIGHT_MARGIN2,
|
|
38500
40086
|
flexDirection: "row"
|
|
@@ -38504,10 +40090,11 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38504
40090
|
}
|
|
38505
40091
|
});
|
|
38506
40092
|
originXML = '<svg fill="none" height="30" viewBox="0 0 30 30" width="30" xmlns="https://www.w3.org/2000/svg"><rect fill="#031832" fill-opacity=".46" height="30" rx="15" width="30"/><rect height="29.5" rx="14.75" stroke="#d9d9ff" stroke-opacity=".11" stroke-width=".5" width="29.5" x=".25" y=".25"/><path clip-rule="evenodd" d="m16.5119 15.0014 4.7092-4.7092c.0929-.0928.1666-.2031.2169-.32441.0503-.12134.0762-.25141.0762-.38276.0001-.13136-.0258-.26144-.076-.38281s-.1239-.23166-.2167-.32457c-.0929-.09291-.2031-.16662-.3245-.21692-.1213-.05031-.2514-.07622-.3827-.07626-.1314-.00004-.2615.0258-.3828.07603-.1214.05023-.2317.12388-.3246.21673l-4.7092 4.70997-4.71-4.70997c-.1897-.17718-.4408-.27373-.70034-.26927s-.5072.10959-.69069.2932c-.1835.1836-.28848.43132-.29279.69087-.00432.25954.09238.51057.26968.70017l4.71004 4.7092-4.71004 4.7092c-.1392.1401-.23385.3183-.27204.5121-.0382.1939-.01823.3946.05739.5771s.20351.3386.36759.4486.35702.169.55456.1697c.25583 0 .51164-.0975.70664-.2925l4.71-4.71 4.7092 4.71c.0927.093.2029.1668.3243.2172.1213.0504.2514.0763.3828.0763s.2614-.0259.3828-.0763c.1213-.0504.2315-.1242.3243-.2172.0929-.0929.1667-.2032.217-.3246s.0762-.2515.0762-.3829-.0259-.2616-.0762-.383-.1241-.2317-.217-.3245z" fill="#fdfdfe" fill-opacity=".89" fill-rule="evenodd"/></svg>';
|
|
38507
|
-
GameWebView = /* @__PURE__ */ (0,
|
|
40093
|
+
GameWebView = /* @__PURE__ */ (0, import_react159.forwardRef)(function GameWebView2(props, ref) {
|
|
38508
40094
|
var openConfirm = useDialog().openConfirm;
|
|
38509
40095
|
var brandDisplayName = getAppsInTossGlobals().brandDisplayName;
|
|
38510
|
-
var
|
|
40096
|
+
var _useState2 = _sliced_to_array((0, import_react159.useState)(false), 2), isEntryMessageExited = _useState2[0], setIsEntryMessageExited = _useState2[1];
|
|
40097
|
+
var handleClose = (0, import_react159.useCallback)(/* @__PURE__ */ _async_to_generator(function() {
|
|
38511
40098
|
var isConfirmed;
|
|
38512
40099
|
return __generator(this, function(_state) {
|
|
38513
40100
|
switch (_state.label) {
|
|
@@ -38535,8 +40122,8 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38535
40122
|
brandDisplayName,
|
|
38536
40123
|
openConfirm
|
|
38537
40124
|
]);
|
|
38538
|
-
(0,
|
|
38539
|
-
if (
|
|
40125
|
+
(0, import_react159.useEffect)(function() {
|
|
40126
|
+
if (import_react_native143.Platform.OS === "ios") {
|
|
38540
40127
|
setIosSwipeGestureEnabled({
|
|
38541
40128
|
isEnabled: false
|
|
38542
40129
|
});
|
|
@@ -38548,31 +40135,38 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38548
40135
|
}
|
|
38549
40136
|
return;
|
|
38550
40137
|
}, []);
|
|
38551
|
-
(0,
|
|
40138
|
+
(0, import_react159.useEffect)(function() {
|
|
38552
40139
|
var backHandler = function() {
|
|
38553
40140
|
handleClose();
|
|
38554
40141
|
return true;
|
|
38555
40142
|
};
|
|
38556
|
-
|
|
40143
|
+
import_react_native143.BackHandler.addEventListener("hardwareBackPress", backHandler);
|
|
38557
40144
|
return function() {
|
|
38558
|
-
|
|
40145
|
+
import_react_native143.BackHandler.removeEventListener("hardwareBackPress", backHandler);
|
|
38559
40146
|
};
|
|
38560
40147
|
}, [
|
|
38561
40148
|
handleClose
|
|
38562
40149
|
]);
|
|
38563
|
-
|
|
40150
|
+
(0, import_react159.useEffect)(function() {
|
|
40151
|
+
appsInTossEvent.addEventListener("entryMessageExited", {
|
|
40152
|
+
onEvent: function() {
|
|
40153
|
+
setIsEntryMessageExited(true);
|
|
40154
|
+
}
|
|
40155
|
+
});
|
|
40156
|
+
}, []);
|
|
40157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)(import_jsx_runtime190.Fragment, {
|
|
38564
40158
|
children: [
|
|
38565
|
-
/* @__PURE__ */ (0,
|
|
40159
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(GameNavigationBar, {
|
|
38566
40160
|
onClose: handleClose
|
|
38567
40161
|
}),
|
|
38568
|
-
/* @__PURE__ */ (0,
|
|
38569
|
-
|
|
38570
|
-
|
|
38571
|
-
},
|
|
38572
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(react_native_webview_exports.WebView, _object_spread({
|
|
40162
|
+
getOperationalEnvironment() === "toss" ? /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(GameProfile, {
|
|
40163
|
+
isReadyForProfileUI: isEntryMessageExited,
|
|
40164
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(react_native_webview_exports.WebView, _object_spread({
|
|
38573
40165
|
ref
|
|
38574
40166
|
}, props))
|
|
38575
|
-
})
|
|
40167
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(react_native_webview_exports.WebView, _object_spread({
|
|
40168
|
+
ref
|
|
40169
|
+
}, props))
|
|
38576
40170
|
]
|
|
38577
40171
|
});
|
|
38578
40172
|
});
|
|
@@ -38595,6 +40189,42 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38595
40189
|
return startUpdateLocation;
|
|
38596
40190
|
}
|
|
38597
40191
|
});
|
|
40192
|
+
FontA11yCategory = {
|
|
40193
|
+
Large: "Large",
|
|
40194
|
+
xLarge: "xLarge",
|
|
40195
|
+
xxLarge: "xxLarge",
|
|
40196
|
+
xxxLarge: "xxxLarge",
|
|
40197
|
+
A11y_Medium: "A11y_Medium",
|
|
40198
|
+
A11y_Large: "A11y_Large",
|
|
40199
|
+
A11y_xLarge: "A11y_xLarge",
|
|
40200
|
+
A11y_xxLarge: "A11y_xxLarge",
|
|
40201
|
+
A11y_xxxLarge: "A11y_xxxLarge"
|
|
40202
|
+
};
|
|
40203
|
+
androidFontScaleMap = {
|
|
40204
|
+
100: FontA11yCategory.Large,
|
|
40205
|
+
110: FontA11yCategory.xLarge,
|
|
40206
|
+
120: FontA11yCategory.xxLarge,
|
|
40207
|
+
135: FontA11yCategory.xxxLarge,
|
|
40208
|
+
160: FontA11yCategory.A11y_Medium,
|
|
40209
|
+
190: FontA11yCategory.A11y_Large,
|
|
40210
|
+
235: FontA11yCategory.A11y_xLarge,
|
|
40211
|
+
275: FontA11yCategory.A11y_xxLarge,
|
|
40212
|
+
310: FontA11yCategory.A11y_xxxLarge
|
|
40213
|
+
};
|
|
40214
|
+
iosScaleToAndroidScale = {
|
|
40215
|
+
0.823: 100,
|
|
40216
|
+
0.882: 100,
|
|
40217
|
+
0.941: 100,
|
|
40218
|
+
1: 100,
|
|
40219
|
+
1.118: 110,
|
|
40220
|
+
1.235: 120,
|
|
40221
|
+
1.353: 135,
|
|
40222
|
+
1.786: 160,
|
|
40223
|
+
2.143: 190,
|
|
40224
|
+
2.643: 235,
|
|
40225
|
+
3.143: 275,
|
|
40226
|
+
3.571: 310
|
|
40227
|
+
};
|
|
38598
40228
|
extractDateFromUUIDv7 = function(uuid) {
|
|
38599
40229
|
var timestampHex = uuid.split("-").join("").slice(0, 12);
|
|
38600
40230
|
var timestamp = Number.parseInt(timestampHex, 16);
|
|
@@ -38665,11 +40295,11 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38665
40295
|
}
|
|
38666
40296
|
});
|
|
38667
40297
|
function Index() {
|
|
38668
|
-
return /* @__PURE__ */ (0,
|
|
40298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(import_react_native155.View, {
|
|
38669
40299
|
style: {
|
|
38670
40300
|
flex: 1
|
|
38671
40301
|
},
|
|
38672
|
-
children: /* @__PURE__ */ (0,
|
|
40302
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(WebView3, {
|
|
38673
40303
|
style: {
|
|
38674
40304
|
flex: 1
|
|
38675
40305
|
},
|
|
@@ -38690,14 +40320,14 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38690
40320
|
})
|
|
38691
40321
|
});
|
|
38692
40322
|
}
|
|
38693
|
-
var
|
|
40323
|
+
var import_jsx_runtime192, import_react164, import_react_native155;
|
|
38694
40324
|
var init_pages = __esm({
|
|
38695
40325
|
"react-native/pages/index.tsx"() {
|
|
38696
40326
|
"use strict";
|
|
38697
|
-
|
|
40327
|
+
import_jsx_runtime192 = __toESM(require_jsx_runtime(), 1);
|
|
38698
40328
|
init_dist4();
|
|
38699
|
-
|
|
38700
|
-
|
|
40329
|
+
import_react164 = __toESM(require_react(), 1);
|
|
40330
|
+
import_react_native155 = __toESM(require_react_native(), 1);
|
|
38701
40331
|
}
|
|
38702
40332
|
});
|
|
38703
40333
|
|
|
@@ -38716,7 +40346,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38716
40346
|
});
|
|
38717
40347
|
|
|
38718
40348
|
// react-native/src/_app.tsx
|
|
38719
|
-
var
|
|
40349
|
+
var import_jsx_runtime193 = __toESM(require_jsx_runtime());
|
|
38720
40350
|
init_dist4();
|
|
38721
40351
|
|
|
38722
40352
|
// react-native/context.ts
|
|
@@ -38733,7 +40363,7 @@ window.__bedrock.app = { name: Ait.appName, buildNumber: Ait.buildNumber };
|
|
|
38733
40363
|
// react-native/src/_app.tsx
|
|
38734
40364
|
function AppContainer(param) {
|
|
38735
40365
|
var children = param.children;
|
|
38736
|
-
return /* @__PURE__ */ (0,
|
|
40366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(import_jsx_runtime193.Fragment, {
|
|
38737
40367
|
children
|
|
38738
40368
|
});
|
|
38739
40369
|
}
|