@apps-in-toss/web-framework 1.5.2 → 1.5.3

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.
@@ -153312,7 +153312,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153312
153312
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
153313
153313
  context: _context.context
153314
153314
  });
153315
- },1255,[1256,2631,9],"react-native/src/_app.tsx");
153315
+ },1255,[1256,2630,9],"react-native/src/_app.tsx");
153316
153316
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
153317
153317
  "use strict";
153318
153318
 
@@ -153407,9 +153407,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153407
153407
  module.exports = __toCommonJS(src_exports);
153408
153408
  var import_analytics2 = _$$_REQUIRE(_dependencyMap[7], "@apps-in-toss/analytics");
153409
153409
  var import_analytics = _$$_REQUIRE(_dependencyMap[7], "@apps-in-toss/analytics");
153410
- var import_native_modules14 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153410
+ var import_native_modules13 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153411
153411
  var import_react_native23 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153412
- var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153412
+ var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153413
153413
  var import_react_native24 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153414
153414
  var import_native_modules2 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153415
153415
  var import_react_native4 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
@@ -153589,52 +153589,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153589
153589
  }
153590
153590
  return context;
153591
153591
  }
153592
- var import_native_modules3 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153593
- var import_tds_react_native = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153594
- var import_react6 = _$$_REQUIRE(_dependencyMap[12], "react");
153595
- function toIcon(source) {
153596
- return source.startsWith("http") ? {
153597
- source: {
153598
- uri: source
153599
- }
153600
- } : {
153601
- name: source
153602
- };
153603
- }
153604
- function useAppsInTossBridge() {
153605
- var controller = (0, import_tds_react_native.useBridge)();
153606
- var appsInTossGlobals = getAppsInTossGlobals();
153607
- (0, import_react6.useEffect)(function () {
153608
- var isGameApp = appsInTossGlobals.webViewType === "game" || appsInTossGlobals.appType === "game";
153609
- controller.open({
153610
- serviceName: appsInTossGlobals.brandDisplayName,
153611
- icon: toIcon(appsInTossGlobals.brandIcon),
153612
- color: appsInTossGlobals.brandPrimaryColor,
153613
- colorMode: isGameApp ? "inverted" : appsInTossGlobals.brandBridgeColorMode,
153614
- onExited: function onExited() {
153615
- import_native_modules3.appsInTossEvent.emit("entryMessageExited", void 0);
153616
- }
153617
- });
153618
- }, []);
153619
- }
153620
- var import_native_modules13 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153621
- var import_react18 = _$$_REQUIRE(_dependencyMap[12], "react");
153592
+ var import_native_modules12 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153593
+ var import_react17 = _$$_REQUIRE(_dependencyMap[12], "react");
153622
153594
  var import_react_native22 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153623
- var import_native_modules7 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153595
+ var import_native_modules6 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153624
153596
  var import_react_native10 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153625
- var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153597
+ var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153626
153598
  var import_es_hangul = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
153627
- var import_react12 = _$$_REQUIRE(_dependencyMap[12], "react");
153599
+ var import_react11 = _$$_REQUIRE(_dependencyMap[12], "react");
153628
153600
  var import_react_native11 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153629
153601
  var GAME_PROFILE_WEBVIEW_URL = "servicetoss://game-center/profile";
153630
153602
  var GAME_MIN_VERSION = {
153631
153603
  android: "5.232.0",
153632
153604
  ios: "5.232.0"
153633
153605
  };
153634
- var import_native_modules4 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153606
+ var import_native_modules3 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153635
153607
  var import_react_native7 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153636
- var import_tds_react_native2 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153637
- var import_react7 = _$$_REQUIRE(_dependencyMap[12], "react");
153608
+ var import_tds_react_native = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153609
+ var import_react6 = _$$_REQUIRE(_dependencyMap[12], "react");
153638
153610
  var import_react_native6 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153639
153611
  var PLAYSTORE_LINK = "https://play.google.com/store/apps/details?id=viva.republica.toss";
153640
153612
  var APPSTORE_LINK = "https://itunes.apple.com/app/id839333328";
@@ -153642,10 +153614,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153642
153614
  return import_react_native6.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
153643
153615
  };
153644
153616
  function useAppUpdateDialog() {
153645
- var _ref5 = (0, import_tds_react_native2.useDialog)(),
153617
+ var _ref5 = (0, import_tds_react_native.useDialog)(),
153646
153618
  openConfirm = _ref5.openConfirm;
153647
153619
  var logging = useAppUpdateDialogLogging();
153648
- var openAppUpdateDialog = (0, import_react7.useCallback)(function () {
153620
+ var openAppUpdateDialog = (0, import_react6.useCallback)(function () {
153649
153621
  var _ref7 = _asyncToGenerator(function* (_ref6) {
153650
153622
  var title = _ref6.title,
153651
153623
  description = _ref6.description,
@@ -153690,7 +153662,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153690
153662
  app_name: import_react_native7.Granite.appName
153691
153663
  };
153692
153664
  var logUpdateClick = function logUpdateClick() {
153693
- import_native_modules4.INTERNAL__module.tossCoreEventLog({
153665
+ import_native_modules3.INTERNAL__module.tossCoreEventLog({
153694
153666
  log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
153695
153667
  log_type: "event",
153696
153668
  params: Object.assign({}, baseParams, {
@@ -153701,7 +153673,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153701
153673
  });
153702
153674
  };
153703
153675
  var logCloseClick = function logCloseClick() {
153704
- import_native_modules4.INTERNAL__module.tossCoreEventLog({
153676
+ import_native_modules3.INTERNAL__module.tossCoreEventLog({
153705
153677
  log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
153706
153678
  log_type: "event",
153707
153679
  params: Object.assign({}, baseParams, {
@@ -153712,7 +153684,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153712
153684
  });
153713
153685
  };
153714
153686
  var logDialogShow = function logDialogShow() {
153715
- import_native_modules4.INTERNAL__module.tossCoreEventLog({
153687
+ import_native_modules3.INTERNAL__module.tossCoreEventLog({
153716
153688
  log_name: UPDATE_DIALOG_LOG_NAME,
153717
153689
  log_type: "popup",
153718
153690
  params: Object.assign({}, baseParams, {
@@ -153726,19 +153698,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153726
153698
  show: logDialogShow
153727
153699
  };
153728
153700
  }
153729
- var import_native_modules6 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153730
- var import_react11 = _$$_REQUIRE(_dependencyMap[12], "react");
153701
+ var import_native_modules5 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153702
+ var import_react10 = _$$_REQUIRE(_dependencyMap[12], "react");
153731
153703
  var import_react_native8 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153732
- var import_tds_react_native3 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153733
- var import_react8 = _$$_REQUIRE(_dependencyMap[12], "react");
153704
+ var import_tds_react_native2 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153705
+ var import_react7 = _$$_REQUIRE(_dependencyMap[12], "react");
153734
153706
  var DEFAULT_ERROR = {
153735
153707
  title: "\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",
153736
153708
  description: "\uBB38\uC81C\uAC00 \uACC4\uC18D\uB418\uBA74 \uD1A0\uC2A4 \uACE0\uAC1D\uC13C\uD130(1599-4905)\uB85C \uBB38\uC758\uD574\uC8FC\uC138\uC694."
153737
153709
  };
153738
153710
  var useErrorAlert = function useErrorAlert() {
153739
- var _ref8 = (0, import_tds_react_native3.useDialog)(),
153711
+ var _ref8 = (0, import_tds_react_native2.useDialog)(),
153740
153712
  openAlert = _ref8.openAlert;
153741
- var openErrorAlert = (0, import_react8.useCallback)(_asyncToGenerator(function* () {
153713
+ var openErrorAlert = (0, import_react7.useCallback)(_asyncToGenerator(function* () {
153742
153714
  yield openAlert({
153743
153715
  title: DEFAULT_ERROR.title,
153744
153716
  description: DEFAULT_ERROR.description
@@ -153749,10 +153721,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153749
153721
  open: openErrorAlert
153750
153722
  };
153751
153723
  };
153752
- var import_react9 = _$$_REQUIRE(_dependencyMap[12], "react");
153724
+ var import_react8 = _$$_REQUIRE(_dependencyMap[12], "react");
153753
153725
  var import_react_native9 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153754
- var import_native_modules5 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153755
- var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules5.onVisibilityChangedByTransparentServiceWeb;
153726
+ var import_native_modules4 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153727
+ var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules4.onVisibilityChangedByTransparentServiceWeb;
153756
153728
  var openTransparentWebView = function openTransparentWebView(_ref10) {
153757
153729
  var webUrl = _ref10.webUrl,
153758
153730
  _ref10$cleanupWhenDis = _ref10.cleanupWhenDismissed,
@@ -153789,13 +153761,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153789
153761
  (0, import_react_native9.openURL)(url.toString());
153790
153762
  };
153791
153763
  var useTransparentWebview = function useTransparentWebview() {
153792
- var _ref13 = (0, import_react9.useState)(false),
153764
+ var _ref13 = (0, import_react8.useState)(false),
153793
153765
  _ref14 = _slicedToArray(_ref13, 2),
153794
153766
  isWebviewLoading = _ref14[0],
153795
153767
  setIsWebviewLoading = _ref14[1];
153796
153768
  var _useErrorAlert = useErrorAlert(),
153797
153769
  openErrorAlert = _useErrorAlert.open;
153798
- var _openTransparentWebview = (0, import_react9.useCallback)(function (_ref15) {
153770
+ var _openTransparentWebview = (0, import_react8.useCallback)(function (_ref15) {
153799
153771
  var webUrl = _ref15.webUrl,
153800
153772
  onClose = _ref15.onClose,
153801
153773
  _onError2 = _ref15.onError;
@@ -153831,13 +153803,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153831
153803
  open: _openTransparentWebview
153832
153804
  };
153833
153805
  };
153834
- var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153806
+ var import_tds_react_native3 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153835
153807
  var import_private2 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
153836
- var import_react10 = _$$_REQUIRE(_dependencyMap[12], "react");
153808
+ var import_react9 = _$$_REQUIRE(_dependencyMap[12], "react");
153837
153809
  var import_jsx_runtime3 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
153838
153810
  var useGameProfileToast = function useGameProfileToast() {
153839
153811
  var overlay = (0, import_private2.useOverlay)();
153840
- var openGameProfileToast = (0, import_react10.useCallback)(function (nickname, profileImageUri) {
153812
+ var openGameProfileToast = (0, import_react9.useCallback)(function (nickname, profileImageUri) {
153841
153813
  return new Promise(function (resolve) {
153842
153814
  overlay.open(function (_ref16) {
153843
153815
  var isOpen = _ref16.isOpen,
@@ -153846,7 +153818,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153846
153818
  return (0, import_jsx_runtime3.jsx)(import_private2.ColorPreferenceProvider, {
153847
153819
  colorPreference: "dark",
153848
153820
  children: (0, import_jsx_runtime3.jsx)(import_private2.AdaptiveColorProvider, {
153849
- children: (0, import_jsx_runtime3.jsx)(import_tds_react_native4.Toast, {
153821
+ children: (0, import_jsx_runtime3.jsx)(import_tds_react_native3.Toast, {
153850
153822
  open: isOpen,
153851
153823
  onClose: function onClose() {
153852
153824
  resolve();
@@ -153855,12 +153827,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153855
153827
  onExited: exit,
153856
153828
  position: "top",
153857
153829
  text: nickname + "\uB2D8 \uBC18\uAC00\uC6CC\uC694!",
153858
- icon: (0, import_jsx_runtime3.jsx)(import_tds_react_native4.Asset.Image, {
153830
+ icon: (0, import_jsx_runtime3.jsx)(import_tds_react_native3.Asset.Image, {
153859
153831
  style: {
153860
153832
  borderRadius: 64,
153861
153833
  overflow: "hidden"
153862
153834
  },
153863
- frameShape: import_tds_react_native4.Asset.frameShape.CleanW32,
153835
+ frameShape: import_tds_react_native3.Asset.frameShape.CleanW32,
153864
153836
  source: {
153865
153837
  uri: profileImageUri
153866
153838
  }
@@ -153875,31 +153847,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153875
153847
  openGameProfileToast: openGameProfileToast
153876
153848
  };
153877
153849
  };
153878
- var useGameCenterProfile = function useGameCenterProfile(isReadyForProfileUI) {
153879
- var _ref17 = (0, import_react11.useState)(void 0),
153850
+ var useGameCenterProfile = function useGameCenterProfile() {
153851
+ var _ref17 = (0, import_react10.useState)(void 0),
153880
153852
  _ref18 = _slicedToArray(_ref17, 2),
153881
153853
  profileData = _ref18[0],
153882
153854
  setProfileData = _ref18[1];
153883
- var _ref19 = (0, import_react11.useState)(true),
153855
+ var _ref19 = (0, import_react10.useState)(true),
153884
153856
  _ref20 = _slicedToArray(_ref19, 2),
153885
153857
  isProfileDataLoading = _ref20[0],
153886
153858
  setIsProfileDataLoading = _ref20[1];
153887
- var _ref21 = (0, import_react11.useState)(false),
153859
+ var _ref21 = (0, import_react10.useState)(false),
153888
153860
  _ref22 = _slicedToArray(_ref21, 2),
153889
153861
  isProfileDataRefetching = _ref22[0],
153890
153862
  setIsProfileDataRefetching = _ref22[1];
153891
- var shouldShowProfileLoadingOverlay = isProfileDataLoading && isReadyForProfileUI || isProfileDataRefetching;
153892
- var shouldShowProfileNotFoundOverlay = (profileData == null ? void 0 : profileData.statusCode) === "PROFILE_NOT_FOUND" && isReadyForProfileUI && !isProfileDataRefetching;
153893
- var canShowBottomSheetOrToast = !isProfileDataLoading && isReadyForProfileUI;
153863
+ var shouldShowProfileLoadingOverlay = isProfileDataLoading || isProfileDataRefetching;
153864
+ var shouldShowProfileNotFoundOverlay = (profileData == null ? void 0 : profileData.statusCode) === "PROFILE_NOT_FOUND" && !isProfileDataRefetching;
153865
+ var canShowBottomSheetOrToast = !isProfileDataLoading;
153894
153866
  var _useGameProfileToast = useGameProfileToast(),
153895
153867
  openGameProfileToast = _useGameProfileToast.openGameProfileToast;
153896
153868
  var _useErrorAlert2 = useErrorAlert(),
153897
153869
  openErrorAlert = _useErrorAlert2.open;
153898
153870
  var _useTransparentWebvie = useTransparentWebview(),
153899
153871
  openTransparentWebView2 = _useTransparentWebvie.open;
153900
- var fetchProfileData = (0, import_react11.useCallback)(_asyncToGenerator(function* () {
153872
+ var fetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
153901
153873
  try {
153902
- var data = yield (0, import_native_modules6.getGameCenterGameProfile)();
153874
+ var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
153903
153875
  setProfileData(data);
153904
153876
  setIsProfileDataLoading(false);
153905
153877
  } catch (_) {
@@ -153907,10 +153879,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153907
153879
  setIsProfileDataLoading(false);
153908
153880
  }
153909
153881
  }), [openErrorAlert]);
153910
- var refetchProfileData = (0, import_react11.useCallback)(_asyncToGenerator(function* () {
153882
+ var refetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
153911
153883
  try {
153912
153884
  setIsProfileDataRefetching(true);
153913
- var data = yield (0, import_native_modules6.getGameCenterGameProfile)();
153885
+ var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
153914
153886
  setProfileData(data);
153915
153887
  setIsProfileDataRefetching(false);
153916
153888
  if ((data == null ? void 0 : data.statusCode) === "SUCCESS") {
@@ -153921,7 +153893,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153921
153893
  openErrorAlert();
153922
153894
  }
153923
153895
  }), [openErrorAlert, openGameProfileToast]);
153924
- var openProfileWebview = (0, import_react11.useCallback)(function () {
153896
+ var openProfileWebview = (0, import_react10.useCallback)(function () {
153925
153897
  openTransparentWebView2({
153926
153898
  webUrl: GAME_PROFILE_WEBVIEW_URL + "?appName=" + getAppName() + "&referrer=appsintoss." + getAppName(),
153927
153899
  onClose: function () {
@@ -153955,9 +153927,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153955
153927
  };
153956
153928
  var import_jsx_runtime4 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
153957
153929
  var GameInitializer = function GameInitializer(_ref25) {
153958
- var children = _ref25.children,
153959
- isReadyForProfileUI = _ref25.isReadyForProfileUI;
153960
- var _useGameCenterProfile = useGameCenterProfile(isReadyForProfileUI),
153930
+ var children = _ref25.children;
153931
+ var _useGameCenterProfile = useGameCenterProfile(),
153961
153932
  profileData = _useGameCenterProfile.profileData,
153962
153933
  shouldShowProfileLoadingOverlay = _useGameCenterProfile.shouldShowProfileLoadingOverlay,
153963
153934
  shouldShowProfileNotFoundOverlay = _useGameCenterProfile.shouldShowProfileNotFoundOverlay,
@@ -153965,13 +153936,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153965
153936
  openProfileWebview = _useGameCenterProfile.openProfileWebview,
153966
153937
  openGameProfileToast = _useGameCenterProfile.openGameProfileToast,
153967
153938
  fetchProfileData = _useGameCenterProfile.fetchProfileData;
153968
- var isCompletedFlow = (0, import_react12.useRef)(false);
153939
+ var isCompletedFlow = (0, import_react11.useRef)(false);
153969
153940
  var _useAppUpdateDialog = useAppUpdateDialog(),
153970
153941
  openAppUpdateDialog = _useAppUpdateDialog.open;
153971
- (0, import_react12.useEffect)(function () {
153942
+ (0, import_react11.useEffect)(function () {
153972
153943
  fetchProfileData();
153973
153944
  }, []);
153974
- (0, import_react12.useEffect)(function () {
153945
+ (0, import_react11.useEffect)(function () {
153975
153946
  var handleGameProfileFlow = function () {
153976
153947
  var _ref26 = _asyncToGenerator(function* () {
153977
153948
  if (!canShowBottomSheetOrToast) {
@@ -153981,7 +153952,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153981
153952
  return;
153982
153953
  }
153983
153954
  isCompletedFlow.current = true;
153984
- if (!(0, import_native_modules7.isMinVersionSupported)(GAME_MIN_VERSION)) {
153955
+ if (!(0, import_native_modules6.isMinVersionSupported)(GAME_MIN_VERSION)) {
153985
153956
  openAppUpdateDialog({
153986
153957
  title: (0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C") + " \uD558\uB824\uBA74 \n\uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694",
153987
153958
  onDismiss: function onDismiss() {
@@ -154004,7 +153975,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154004
153975
  }();
154005
153976
  handleGameProfileFlow();
154006
153977
  }, [canShowBottomSheetOrToast, isCompletedFlow, openAppUpdateDialog, openGameProfileToast, openProfileWebview, profileData]);
154007
- if (!(0, import_native_modules7.isMinVersionSupported)(GAME_MIN_VERSION)) {
153978
+ if (!(0, import_native_modules6.isMinVersionSupported)(GAME_MIN_VERSION)) {
154008
153979
  return (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, {
154009
153980
  children: [(0, import_jsx_runtime4.jsx)(import_react_native11.View, {
154010
153981
  style: {
@@ -154039,7 +154010,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154039
154010
  alignItems: "center",
154040
154011
  backgroundColor: "rgba(0, 0, 0, 0.2)"
154041
154012
  }),
154042
- children: (0, import_jsx_runtime4.jsx)(import_tds_react_native5.Loader, {
154013
+ children: (0, import_jsx_runtime4.jsx)(import_tds_react_native4.Loader, {
154043
154014
  size: "large",
154044
154015
  type: "light"
154045
154016
  })
@@ -154081,10 +154052,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154081
154052
  zIndex: Z_INDEX.PROFILE_OVERLAY
154082
154053
  };
154083
154054
  var import_private5 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154084
- var import_react13 = _$$_REQUIRE(_dependencyMap[12], "react");
154055
+ var import_react12 = _$$_REQUIRE(_dependencyMap[12], "react");
154085
154056
  var import_react_native12 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154086
154057
  function useHardwareBackPress(handler) {
154087
- (0, import_react13.useEffect)(function () {
154058
+ (0, import_react12.useEffect)(function () {
154088
154059
  var handleBackPress = function handleBackPress() {
154089
154060
  handler();
154090
154061
  return true;
@@ -154096,16 +154067,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154096
154067
  }, [handler]);
154097
154068
  }
154098
154069
  var import_react_native14 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154099
- var import_react15 = _$$_REQUIRE(_dependencyMap[12], "react");
154100
- var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154101
- var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
154102
154070
  var import_react14 = _$$_REQUIRE(_dependencyMap[12], "react");
154071
+ var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154072
+ var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
154073
+ var import_react13 = _$$_REQUIRE(_dependencyMap[12], "react");
154103
154074
  function useCloseConfirm() {
154104
154075
  var _getAppsInTossGlobals = getAppsInTossGlobals(),
154105
154076
  brandDisplayName = _getAppsInTossGlobals.brandDisplayName;
154106
- var _ref27 = (0, import_tds_react_native6.useDialog)(),
154077
+ var _ref27 = (0, import_tds_react_native5.useDialog)(),
154107
154078
  openConfirm = _ref27.openConfirm;
154108
- return (0, import_react14.useCallback)(function () {
154079
+ return (0, import_react13.useCallback)(function () {
154109
154080
  var _ref29 = _asyncToGenerator(function* (_ref28) {
154110
154081
  var onEntered = _ref28.onEntered;
154111
154082
  return yield openConfirm({
@@ -154121,7 +154092,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154121
154092
  };
154122
154093
  }(), [brandDisplayName, openConfirm]);
154123
154094
  }
154124
- var import_native_modules8 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154095
+ var import_native_modules7 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154125
154096
  var import_react_native13 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154126
154097
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
154127
154098
  var NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
@@ -154140,7 +154111,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154140
154111
  app_name: import_react_native13.Granite.appName
154141
154112
  };
154142
154113
  var logNavBarImpression = function logNavBarImpression(naviBarConfig) {
154143
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154114
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
154144
154115
  log_name: NAVI_BAR_IMPRESSION_LOG_NAME,
154145
154116
  log_type: "event",
154146
154117
  params: Object.assign({}, naviBarConfig, baseParams, {
@@ -154150,7 +154121,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154150
154121
  });
154151
154122
  };
154152
154123
  var logHomeButtonClick = function logHomeButtonClick() {
154153
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154124
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
154154
154125
  log_name: HOME_BUTTON_CLICK_LOG_NAME,
154155
154126
  log_type: "event",
154156
154127
  params: Object.assign({}, baseParams, {
@@ -154160,7 +154131,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154160
154131
  });
154161
154132
  };
154162
154133
  var logCloseButtonClick = function logCloseButtonClick() {
154163
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154134
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
154164
154135
  log_name: CLOSE_BUTTON_CLICK_LOG_NAME,
154165
154136
  log_type: "event",
154166
154137
  params: Object.assign({}, baseParams, {
@@ -154170,7 +154141,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154170
154141
  });
154171
154142
  };
154172
154143
  var logClosePopupShow = function logClosePopupShow() {
154173
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154144
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
154174
154145
  log_name: CLOSE_POPUP_SHOW_LOG_NAME,
154175
154146
  log_type: "popup",
154176
154147
  params: Object.assign({}, baseParams, {
@@ -154179,7 +154150,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154179
154150
  });
154180
154151
  };
154181
154152
  var logClosePopupCtaClick = function logClosePopupCtaClick(confirm) {
154182
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154153
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
154183
154154
  log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
154184
154155
  log_type: "event",
154185
154156
  params: Object.assign({}, baseParams, {
@@ -154204,7 +154175,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154204
154175
  var closeConfirm = useCloseConfirm();
154205
154176
  var _useCaptureExitLog2 = useCaptureExitLog(),
154206
154177
  captureExitLog = _useCaptureExitLog2.captureExitLog;
154207
- return (0, import_react15.useMemo)(function () {
154178
+ return (0, import_react14.useMemo)(function () {
154208
154179
  var close = function () {
154209
154180
  var _ref30 = _asyncToGenerator(function* () {
154210
154181
  var hasConfirmed = yield closeConfirm({
@@ -154241,19 +154212,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154241
154212
  };
154242
154213
  }, [backEventContext, navigation, closeConfirm, logging, captureExitLog]);
154243
154214
  }
154244
- var import_native_modules12 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154215
+ var import_native_modules11 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154245
154216
  var import_react_native20 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154246
- var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154217
+ var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154247
154218
  var import_private4 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154248
- var import_react16 = _$$_REQUIRE(_dependencyMap[12], "react");
154249
- var import_native_modules10 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154219
+ var import_react15 = _$$_REQUIRE(_dependencyMap[12], "react");
154220
+ var import_native_modules9 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154250
154221
  var import_react_native17 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154251
- var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154252
- var import_react_native18 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154253
154222
  var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154223
+ var import_react_native18 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154224
+ var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154254
154225
  var import_private3 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154255
154226
  var import_react_native16 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154256
- var import_native_modules9 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154227
+ var import_native_modules8 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154257
154228
  var import_react_native15 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154258
154229
  var BOTTOM_SHEET_SCHEMA_ID = 1596825;
154259
154230
  var BOTTOM_SHEET_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__more";
@@ -154270,7 +154241,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154270
154241
  app_name: import_react_native15.Granite.appName
154271
154242
  };
154272
154243
  var logBottomSheetShow = function logBottomSheetShow() {
154273
- import_native_modules9.INTERNAL__module.tossCoreEventLog({
154244
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
154274
154245
  log_name: BOTTOM_SHEET_LOG_NAME,
154275
154246
  log_type: "popup",
154276
154247
  params: Object.assign({}, baseParams, {
@@ -154279,7 +154250,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154279
154250
  });
154280
154251
  };
154281
154252
  var logBottomSheetOpen = function logBottomSheetOpen() {
154282
- import_native_modules9.INTERNAL__module.tossCoreEventLog({
154253
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
154283
154254
  log_name: BOTTOM_SHEET_OPEN_LOG_NAME,
154284
154255
  log_type: "event",
154285
154256
  params: Object.assign({}, baseParams, {
@@ -154289,7 +154260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154289
154260
  });
154290
154261
  };
154291
154262
  var logBottomSheetCloseClick = function logBottomSheetCloseClick() {
154292
- import_native_modules9.INTERNAL__module.tossCoreEventLog({
154263
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
154293
154264
  log_name: BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME,
154294
154265
  log_type: "event",
154295
154266
  params: Object.assign({}, baseParams, {
@@ -154300,7 +154271,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154300
154271
  };
154301
154272
  var logBottomSheetMenuClick = function logBottomSheetMenuClick(_ref31) {
154302
154273
  var title = _ref31.title;
154303
- import_native_modules9.INTERNAL__module.tossCoreEventLog({
154274
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
154304
154275
  log_name: BOTTOM_SHEET_MENU_CLICK_LOG_NAME,
154305
154276
  log_type: "event",
154306
154277
  params: Object.assign({}, baseParams, {
@@ -154328,7 +154299,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154328
154299
  var logging = useMoreButtonBottomSheetLogging();
154329
154300
  var brandPrimaryColorRGB = hexToRGB(globals.brandPrimaryColor);
154330
154301
  var iconBackgroundColor = brandPrimaryColorRGB ? "rgba(" + brandPrimaryColorRGB.join(",") + ",0.1)" : adaptive.grey100;
154331
- return (0, import_jsx_runtime5.jsx)(import_tds_react_native7.ListRow, {
154302
+ return (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow, {
154332
154303
  left: (0, import_jsx_runtime5.jsx)(import_react_native16.View, {
154333
154304
  style: {
154334
154305
  width: 30,
@@ -154340,14 +154311,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154340
154311
  marginRight: 16,
154341
154312
  backgroundColor: iconBackgroundColor
154342
154313
  },
154343
- children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native7.Asset.Icon, {
154314
+ children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Icon, {
154344
154315
  frameShape: {
154345
154316
  width: 20,
154346
154317
  height: 20
154347
154318
  },
154348
154319
  color: globals.brandPrimaryColor,
154349
154320
  name: iconName
154350
- }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native7.Asset.Image, {
154321
+ }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Image, {
154351
154322
  frameShape: {
154352
154323
  width: 20,
154353
154324
  height: 20
@@ -154357,7 +154328,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154357
154328
  }
154358
154329
  })
154359
154330
  }),
154360
- contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native7.ListRow.Texts, {
154331
+ contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow.Texts, {
154361
154332
  type: "1RowTypeA",
154362
154333
  top: title,
154363
154334
  topProps: {
@@ -154413,8 +154384,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154413
154384
  };
154414
154385
  function AppShareListMenu() {
154415
154386
  var initialScheme = (0, import_react_native17.getSchemeUri)();
154416
- var isSandbox = (0, import_native_modules10.getOperationalEnvironment)() === "sandbox";
154417
- var _ref35 = (0, import_tds_react_native8.useDialog)(),
154387
+ var isSandbox = (0, import_native_modules9.getOperationalEnvironment)() === "sandbox";
154388
+ var _ref35 = (0, import_tds_react_native7.useDialog)(),
154418
154389
  openConfirm = _ref35.openConfirm;
154419
154390
  var schemeForShare = addParamsToUrl(initialScheme, {
154420
154391
  referrer: SHARE_SCHEME_REFERRER
@@ -154440,12 +154411,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154440
154411
  }
154441
154412
  });
154442
154413
  }
154443
- var import_native_modules11 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154414
+ var import_native_modules10 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154444
154415
  var import_react_native19 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154445
154416
  var import_jsx_runtime7 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154446
154417
  function PermissionsMenu() {
154447
154418
  var globals = getAppsInTossGlobals();
154448
- if ((0, import_native_modules11.getOperationalEnvironment)() === "sandbox") {
154419
+ if ((0, import_native_modules10.getOperationalEnvironment)() === "sandbox") {
154449
154420
  return null;
154450
154421
  }
154451
154422
  return (0, import_jsx_runtime7.jsx)(Menu, {
@@ -154481,7 +154452,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154481
154452
  function useMoreButtonBottomSheet() {
154482
154453
  var globals = getAppsInTossGlobals();
154483
154454
  var adaptive = (0, import_private4.useAdaptive)();
154484
- var _ref36 = (0, import_react16.useState)([]),
154455
+ var _ref36 = (0, import_react15.useState)([]),
154485
154456
  _ref37 = _slicedToArray(_ref36, 2),
154486
154457
  itemList = _ref37[0],
154487
154458
  setItemList = _ref37[1];
@@ -154489,17 +154460,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154489
154460
  var logging = useMoreButtonBottomSheetLogging();
154490
154461
  var overlay = (0, import_private4.useOverlay)();
154491
154462
  var title = ensureValue(globals.brandDisplayName, "displayName");
154492
- var isBottomSheetSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
154493
- var isShareListMenuSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
154494
- var _ref38 = (0, import_react16.useState)(false),
154463
+ var isBottomSheetSupported = (0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
154464
+ var isShareListMenuSupported = (0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
154465
+ var _ref38 = (0, import_react15.useState)(false),
154495
154466
  _ref39 = _slicedToArray(_ref38, 2),
154496
154467
  isPermissionsMenuSupported = _ref39[0],
154497
154468
  setIsPermissionsMenuSupported = _ref39[1];
154498
- (0, import_react16.useEffect)(function () {
154469
+ (0, import_react15.useEffect)(function () {
154499
154470
  if (!isBottomSheetSupported) {
154500
154471
  return;
154501
154472
  }
154502
- import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
154473
+ import_native_modules11.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
154503
154474
  onSuccess: function onSuccess(_ref40) {
154504
154475
  var items = _ref40.items;
154505
154476
  return setItemList(items);
@@ -154508,8 +154479,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154508
154479
  return console.error("\uBA54\uB274 \uBAA9\uB85D\uC744 \uAC00\uC838\uC624\uB294 \uB370 \uC2E4\uD328\uD588\uC5B4\uC694:", error);
154509
154480
  }
154510
154481
  });
154511
- if ((0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.PERMISSIONS_MENU)) {
154512
- import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getAllPermission", {}, {
154482
+ if ((0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.PERMISSIONS_MENU)) {
154483
+ import_native_modules11.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getAllPermission", {}, {
154513
154484
  onSuccess: function onSuccess(permissions) {
154514
154485
  return setIsPermissionsMenuSupported(permissions.length > 0);
154515
154486
  },
@@ -154538,9 +154509,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154538
154509
  close();
154539
154510
  };
154540
154511
  return (0, import_jsx_runtime8.jsx)(BottomSheetImpressionArea, {
154541
- children: (0, import_jsx_runtime8.jsx)(import_tds_react_native9.BottomSheet.Root, {
154542
- header: (0, import_jsx_runtime8.jsx)(import_tds_react_native9.ListHeader, {
154543
- title: (0, import_jsx_runtime8.jsx)(import_tds_react_native9.ListHeader.TitleParagraph, {
154512
+ children: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.BottomSheet.Root, {
154513
+ header: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.ListHeader, {
154514
+ title: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.ListHeader.TitleParagraph, {
154544
154515
  color: adaptive.grey800,
154545
154516
  fontWeight: "bold",
154546
154517
  typography: "t5",
@@ -154548,7 +154519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154548
154519
  })
154549
154520
  }),
154550
154521
  open: isOpen,
154551
- cta: (0, import_jsx_runtime8.jsx)(import_tds_react_native9.BottomSheet.CTA, {
154522
+ cta: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.BottomSheet.CTA, {
154552
154523
  size: "large",
154553
154524
  type: "dark",
154554
154525
  style: "weak",
@@ -154559,7 +154530,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154559
154530
  }),
154560
154531
  onClose: handleClose,
154561
154532
  onExited: exit,
154562
- children: (0, import_jsx_runtime8.jsxs)(import_tds_react_native9.List, {
154533
+ children: (0, import_jsx_runtime8.jsxs)(import_tds_react_native8.List, {
154563
154534
  rowSeparator: "none",
154564
154535
  children: [itemList.map(function (item) {
154565
154536
  return (0, import_jsx_runtime8.jsx)(Menu, {
@@ -154586,21 +154557,30 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154586
154557
  function BottomSheetImpressionArea(_ref43) {
154587
154558
  var children = _ref43.children;
154588
154559
  var logging = useMoreButtonBottomSheetLogging();
154589
- (0, import_react16.useEffect)(function () {
154560
+ (0, import_react15.useEffect)(function () {
154590
154561
  logging.show();
154591
154562
  }, [logging]);
154592
154563
  return (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {
154593
154564
  children: children
154594
154565
  });
154595
154566
  }
154596
- var import_react17 = _$$_REQUIRE(_dependencyMap[12], "react");
154567
+ function toIcon(source) {
154568
+ return source.startsWith("http") ? {
154569
+ source: {
154570
+ uri: source
154571
+ }
154572
+ } : {
154573
+ name: source
154574
+ };
154575
+ }
154576
+ var import_react16 = _$$_REQUIRE(_dependencyMap[12], "react");
154597
154577
  var import_jsx_runtime9 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154598
154578
  function NavigationBarImpressionArea(_ref44) {
154599
154579
  var children = _ref44.children,
154600
154580
  withHomeButton = _ref44.withHomeButton;
154601
- var hasLogged = (0, import_react17.useRef)(false);
154581
+ var hasLogged = (0, import_react16.useRef)(false);
154602
154582
  var logging = useNavigationBarLogging();
154603
- (0, import_react17.useEffect)(function () {
154583
+ (0, import_react16.useEffect)(function () {
154604
154584
  if (hasLogged.current === false) {
154605
154585
  logging.navBarImpression({
154606
154586
  home_icon_yn: withHomeButton ? "Y" : "N"
@@ -154648,7 +154628,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154648
154628
  });
154649
154629
  }
154650
154630
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154651
- var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154631
+ var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154652
154632
  var import_private6 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154653
154633
  var import_react_native21 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154654
154634
  var import_jsx_runtime11 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
@@ -154663,7 +154643,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154663
154643
  safeAreaRight = _ref45.right;
154664
154644
  useHardwareBackPress(navigationEvent.handleBack);
154665
154645
  return (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, {
154666
- children: [(0, import_jsx_runtime11.jsx)(import_tds_react_native10.PageNavbar, {
154646
+ children: [(0, import_jsx_runtime11.jsx)(import_tds_react_native9.PageNavbar, {
154667
154647
  preference: {
154668
154648
  type: "none"
154669
154649
  }
@@ -154715,48 +154695,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154715
154695
  }
154716
154696
  function GameAppContainer(_ref47) {
154717
154697
  var children = _ref47.children;
154718
- var _ref48 = (0, import_react18.useState)(false),
154719
- _ref49 = _slicedToArray(_ref48, 2),
154720
- isEntryMessageExited = _ref49[0],
154721
- setIsEntryMessageExited = _ref49[1];
154722
- (0, import_react18.useEffect)(function () {
154698
+ (0, import_react17.useEffect)(function () {
154723
154699
  if (import_react_native22.Platform.OS === "ios") {
154724
- (0, import_native_modules13.setIosSwipeGestureEnabled)({
154700
+ (0, import_native_modules12.setIosSwipeGestureEnabled)({
154725
154701
  isEnabled: false
154726
154702
  });
154727
154703
  return function () {
154728
- (0, import_native_modules13.setIosSwipeGestureEnabled)({
154704
+ (0, import_native_modules12.setIosSwipeGestureEnabled)({
154729
154705
  isEnabled: true
154730
154706
  });
154731
154707
  };
154732
154708
  }
154733
154709
  return;
154734
154710
  }, []);
154735
- (0, import_react18.useEffect)(function () {
154736
- import_native_modules13.appsInTossEvent.addEventListener("entryMessageExited", {
154737
- onEvent: function onEvent() {
154738
- setIsEntryMessageExited(true);
154739
- }
154740
- });
154741
- }, []);
154742
154711
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
154743
154712
  children: [(0, import_jsx_runtime12.jsx)(RNNavigationBar.Game, {}), (0, bridge_entry_exports.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime12.jsx)(GameInitializer, {
154744
- isReadyForProfileUI: isEntryMessageExited,
154745
154713
  children: children
154746
154714
  }) : children]
154747
154715
  });
154748
154716
  }
154749
- function GeneralAppContainer(_ref50) {
154750
- var children = _ref50.children;
154717
+ function GeneralAppContainer(_ref48) {
154718
+ var children = _ref48.children;
154751
154719
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
154752
154720
  children: [(0, import_jsx_runtime12.jsx)(RNNavigationBar.Default, {}), children]
154753
154721
  });
154754
154722
  }
154755
154723
  var import_jsx_runtime13 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154756
- function AppsInTossContainer(Container, _ref51) {
154757
- var children = _ref51.children,
154758
- initialProps = _objectWithoutProperties(_ref51, _excluded);
154759
- if (!(0, import_native_modules14.isMinVersionSupported)({
154724
+ function AppsInTossContainer(Container, _ref49) {
154725
+ var children = _ref49.children,
154726
+ initialProps = _objectWithoutProperties(_ref49, _excluded);
154727
+ if (!(0, import_native_modules13.isMinVersionSupported)({
154760
154728
  android: "5.220.0",
154761
154729
  ios: "5.221.0"
154762
154730
  })) {
@@ -154766,44 +154734,35 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154766
154734
  }
154767
154735
  return (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, {
154768
154736
  children: [(0, import_jsx_runtime13.jsx)(AppEvent.StayTime, {}), (0, import_jsx_runtime13.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime13.jsx)(AppEvent.System, Object.assign({}, initialProps)), (0, import_jsx_runtime13.jsx)(Container, Object.assign({}, initialProps, {
154769
- children: (0, import_jsx_runtime13.jsx)(import_tds_react_native11.TDSProvider, {
154737
+ children: (0, import_jsx_runtime13.jsx)(import_tds_react_native10.TDSProvider, {
154770
154738
  colorPreference: "light",
154771
154739
  token: {
154772
154740
  color: {
154773
154741
  primary: getAppsInTossGlobals().brandPrimaryColor
154774
154742
  }
154775
154743
  },
154776
- children: (0, import_jsx_runtime13.jsx)(TDSContainer, Object.assign({}, initialProps, {
154777
- children: children
154778
- }))
154744
+ children: children
154779
154745
  })
154780
154746
  }))]
154781
154747
  });
154782
154748
  }
154783
- function TDSContainer(_ref52) {
154784
- var children = _ref52.children;
154785
- useAppsInTossBridge();
154786
- return (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, {
154787
- children: children
154788
- });
154789
- }
154790
- function registerApp(container, _ref53) {
154791
- var context = _ref53.context,
154792
- analytics = _ref53.analytics;
154749
+ function registerApp(container, _ref50) {
154750
+ var context = _ref50.context,
154751
+ analytics = _ref50.analytics;
154793
154752
  var appName = getAppName();
154794
154753
  var isRegistered = import_react_native24.AppRegistry.getAppKeys().includes(appName);
154795
154754
  if (!isRegistered) {
154796
154755
  var _analytics$debug;
154797
154756
  import_analytics.Analytics.init({
154798
154757
  logger: function logger(params) {
154799
- return void (0, import_native_modules14.eventLog)(params);
154758
+ return void (0, import_native_modules13.eventLog)(params);
154800
154759
  },
154801
154760
  debug: (_analytics$debug = analytics == null ? void 0 : analytics.debug) != null ? _analytics$debug : __DEV__
154802
154761
  });
154803
154762
  var App = import_react_native23.Granite.registerApp(AppsInTossContainer.bind(null, container), {
154804
154763
  appName: appName,
154805
154764
  context: context,
154806
- setIosSwipeGestureEnabled: import_native_modules14.setIosSwipeGestureEnabled,
154765
+ setIosSwipeGestureEnabled: import_native_modules13.setIosSwipeGestureEnabled,
154807
154766
  router: {
154808
154767
  screenContainer: AppsInTossScreenContainer,
154809
154768
  defaultScreenOption: {
@@ -154815,8 +154774,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154815
154774
  }
154816
154775
  return global.Page;
154817
154776
  }
154818
- function AppsInTossScreenContainer(_ref54) {
154819
- var children = _ref54.children;
154777
+ function AppsInTossScreenContainer(_ref51) {
154778
+ var children = _ref51.children;
154820
154779
  var isRNApp = getAppsInTossGlobals().webViewType == null;
154821
154780
  return (0, import_jsx_runtime13.jsx)(NavigationBarContextProvider, {
154822
154781
  children: (0, import_jsx_runtime13.jsx)(import_analytics.Analytics.Screen, {
@@ -154837,32 +154796,32 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154837
154796
  var _AppsInToss = {
154838
154797
  registerApp: registerApp
154839
154798
  };
154840
- var import_native_modules19 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154799
+ var import_native_modules18 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154841
154800
  var appsInTossAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/native-modules/async-bridges"), 1);
154842
154801
  var appsInTossConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[18], "@apps-in-toss/native-modules/constant-bridges"), 1);
154843
154802
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/native-modules/event-bridges"), 1);
154844
154803
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154845
154804
  var import_react_native34 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154846
- var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154805
+ var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154847
154806
  var import_private9 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154848
- var import_react29 = _$$_REQUIRE(_dependencyMap[12], "react");
154807
+ var import_react28 = _$$_REQUIRE(_dependencyMap[12], "react");
154849
154808
  var import_react_native35 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154850
- var import_native_modules15 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154809
+ var import_native_modules14 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154851
154810
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-webview");
154852
- var import_react20 = _$$_REQUIRE(_dependencyMap[12], "react");
154811
+ var import_react19 = _$$_REQUIRE(_dependencyMap[12], "react");
154853
154812
  var import_react_native27 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154854
154813
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154855
154814
  var import_react_native25 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154856
- var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154815
+ var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154857
154816
  var import_private7 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154858
154817
  var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
154859
- var import_react19 = _$$_REQUIRE(_dependencyMap[12], "react");
154818
+ var import_react18 = _$$_REQUIRE(_dependencyMap[12], "react");
154860
154819
  var import_react_native26 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154861
154820
  var import_jsx_runtime14 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154862
154821
  function GameWebviewNavigationBar() {
154863
154822
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
154864
- var _ref55 = (0, import_tds_react_native12.useDialog)(),
154865
- openConfirm = _ref55.openConfirm;
154823
+ var _ref52 = (0, import_tds_react_native11.useDialog)(),
154824
+ openConfirm = _ref52.openConfirm;
154866
154825
  var _useCaptureExitLog3 = useCaptureExitLog(),
154867
154826
  captureExitLog = _useCaptureExitLog3.captureExitLog;
154868
154827
  var global2 = getAppsInTossGlobals();
@@ -154871,9 +154830,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154871
154830
  openMoreButtonBottomSheet = _useMoreButtonBottomS3.open;
154872
154831
  var _useNavigationBarCont3 = useNavigationBarContext(),
154873
154832
  navigationRightButton = _useNavigationBarCont3.navigationRightButton;
154874
- var _ref56 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
154875
- safeAreaRight = _ref56.right;
154876
- var handleGameWebviewClose = (0, import_react19.useCallback)(_asyncToGenerator(function* () {
154833
+ var _ref53 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
154834
+ safeAreaRight = _ref53.right;
154835
+ var handleGameWebviewClose = (0, import_react18.useCallback)(_asyncToGenerator(function* () {
154877
154836
  logging.closeButtonClick();
154878
154837
  var isConfirmed = yield openConfirm({
154879
154838
  title: (0, import_es_hangul3.josa)(global2.brandDisplayName, "\uC744/\uB97C") + " \uC885\uB8CC\uD560\uAE4C\uC694?",
@@ -154889,7 +154848,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154889
154848
  }
154890
154849
  }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
154891
154850
  return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
154892
- children: [(0, import_jsx_runtime14.jsx)(import_tds_react_native12.PageNavbar, {
154851
+ children: [(0, import_jsx_runtime14.jsx)(import_tds_react_native11.PageNavbar, {
154893
154852
  preference: {
154894
154853
  type: "none"
154895
154854
  }
@@ -154918,34 +154877,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154918
154877
  });
154919
154878
  }
154920
154879
  var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154921
- var GameWebView = (0, import_react20.forwardRef)(function GameWebView2(props, ref) {
154922
- var _ref58 = (0, import_react20.useState)(false),
154923
- _ref59 = _slicedToArray(_ref58, 2),
154924
- isEntryMessageExited = _ref59[0],
154925
- setIsEntryMessageExited = _ref59[1];
154926
- (0, import_react20.useEffect)(function () {
154880
+ var GameWebView = (0, import_react19.forwardRef)(function GameWebView2(props, ref) {
154881
+ (0, import_react19.useEffect)(function () {
154927
154882
  if (import_react_native27.Platform.OS === "ios") {
154928
- (0, import_native_modules15.setIosSwipeGestureEnabled)({
154883
+ (0, import_native_modules14.setIosSwipeGestureEnabled)({
154929
154884
  isEnabled: false
154930
154885
  });
154931
154886
  return function () {
154932
- (0, import_native_modules15.setIosSwipeGestureEnabled)({
154887
+ (0, import_native_modules14.setIosSwipeGestureEnabled)({
154933
154888
  isEnabled: true
154934
154889
  });
154935
154890
  };
154936
154891
  }
154937
154892
  return;
154938
154893
  }, []);
154939
- (0, import_react20.useEffect)(function () {
154940
- import_native_modules15.appsInTossEvent.addEventListener("entryMessageExited", {
154941
- onEvent: function onEvent() {
154942
- setIsEntryMessageExited(true);
154943
- }
154944
- });
154945
- }, []);
154946
154894
  return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
154947
- children: [(0, import_jsx_runtime15.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules15.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime15.jsx)(GameInitializer, {
154948
- isReadyForProfileUI: isEntryMessageExited,
154895
+ children: [(0, import_jsx_runtime15.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules14.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime15.jsx)(GameInitializer, {
154949
154896
  children: (0, import_jsx_runtime15.jsx)(import_react_native_webview.WebView, Object.assign({
154950
154897
  ref: ref
154951
154898
  }, props))
@@ -154955,23 +154902,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154955
154902
  });
154956
154903
  });
154957
154904
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-webview");
154958
- var import_react22 = _$$_REQUIRE(_dependencyMap[12], "react");
154905
+ var import_react21 = _$$_REQUIRE(_dependencyMap[12], "react");
154959
154906
  var import_react_native28 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154960
- var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154907
+ var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154961
154908
  var import_private8 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154962
154909
  var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
154963
- var import_react21 = _$$_REQUIRE(_dependencyMap[12], "react");
154910
+ var import_react20 = _$$_REQUIRE(_dependencyMap[12], "react");
154964
154911
  var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154965
- function PartnerWebviewNavigationBar(_ref60) {
154912
+ function PartnerWebviewNavigationBar(_ref55) {
154966
154913
  var _parsedNavigationBar$3, _parsedNavigationBar$4;
154967
- var onBackButtonClick = _ref60.onBackButtonClick,
154968
- onHomeButtonClick = _ref60.onHomeButtonClick;
154914
+ var onBackButtonClick = _ref55.onBackButtonClick,
154915
+ onHomeButtonClick = _ref55.onHomeButtonClick;
154969
154916
  var globals = getAppsInTossGlobals();
154970
154917
  var _useCaptureExitLog4 = useCaptureExitLog(),
154971
154918
  captureExitLog = _useCaptureExitLog4.captureExitLog;
154972
154919
  var logging = useNavigationBarLogging();
154973
- var _ref61 = (0, import_tds_react_native13.useDialog)(),
154974
- openConfirm = _ref61.openConfirm;
154920
+ var _ref56 = (0, import_tds_react_native12.useDialog)(),
154921
+ openConfirm = _ref56.openConfirm;
154975
154922
  var _useMoreButtonBottomS4 = useMoreButtonBottomSheet(),
154976
154923
  openMoreButtonBottomSheet = _useMoreButtonBottomS4.open;
154977
154924
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
@@ -154979,7 +154926,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154979
154926
  var withBackButton = (_parsedNavigationBar$4 = parsedNavigationBar == null ? void 0 : parsedNavigationBar.withBackButton) != null ? _parsedNavigationBar$4 : true;
154980
154927
  var _useNavigationBarCont4 = useNavigationBarContext(),
154981
154928
  navigationRightButton = _useNavigationBarCont4.navigationRightButton;
154982
- var handleClose = (0, import_react21.useCallback)(_asyncToGenerator(function* () {
154929
+ var handleClose = (0, import_react20.useCallback)(_asyncToGenerator(function* () {
154983
154930
  logging.closeButtonClick();
154984
154931
  var isConfirmed = yield openConfirm({
154985
154932
  title: (0, import_es_hangul4.josa)(globals.brandDisplayName, "\uC744/\uB97C") + " \uC885\uB8CC\uD560\uAE4C\uC694?",
@@ -155017,10 +154964,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155017
154964
  });
155018
154965
  }
155019
154966
  var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
155020
- var PartnerWebView = (0, import_react22.forwardRef)(function PartnerWebViewScreen(_ref63, ref) {
155021
- var onBackButtonClick = _ref63.onBackButtonClick,
155022
- onHomeButtonClick = _ref63.onHomeButtonClick,
155023
- webViewProps = _objectWithoutProperties(_ref63, _excluded2);
154967
+ var PartnerWebView = (0, import_react21.forwardRef)(function PartnerWebViewScreen(_ref58, ref) {
154968
+ var onBackButtonClick = _ref58.onBackButtonClick,
154969
+ onHomeButtonClick = _ref58.onHomeButtonClick,
154970
+ webViewProps = _objectWithoutProperties(_ref58, _excluded2);
155024
154971
  return (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, {
155025
154972
  children: [(0, import_jsx_runtime17.jsx)(PartnerWebviewNavigationBar, {
155026
154973
  onBackButtonClick: onBackButtonClick,
@@ -155042,9 +154989,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155042
154989
  var components = url.hash.replace("#Intent;", "").split(";").map(function (component) {
155043
154990
  return component.split("=");
155044
154991
  });
155045
- var scheme = (_components$find = components.find(function (_ref64) {
155046
- var _ref65 = _slicedToArray(_ref64, 1),
155047
- key = _ref65[0];
154992
+ var scheme = (_components$find = components.find(function (_ref59) {
154993
+ var _ref60 = _slicedToArray(_ref59, 1),
154994
+ key = _ref60[0];
155048
154995
  return key === "scheme";
155049
154996
  })) == null ? void 0 : _components$find[1];
155050
154997
  if (!scheme) {
@@ -155052,14 +154999,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155052
154999
  }
155053
155000
  return scheme + "://" + url.hostname + url.pathname + url.search;
155054
155001
  }
155055
- var import_react23 = _$$_REQUIRE(_dependencyMap[12], "react");
155002
+ var import_react22 = _$$_REQUIRE(_dependencyMap[12], "react");
155056
155003
  function serializeError(error) {
155057
155004
  return JSON.stringify(error, function (_, value) {
155058
155005
  if (value instanceof Error) {
155059
- return Object.assign({}, Object.entries(value).reduce(function (acc, _ref66) {
155060
- var _ref67 = _slicedToArray(_ref66, 2),
155061
- key = _ref67[0],
155062
- value2 = _ref67[1];
155006
+ return Object.assign({}, Object.entries(value).reduce(function (acc, _ref61) {
155007
+ var _ref62 = _slicedToArray(_ref61, 2),
155008
+ key = _ref62[0],
155009
+ value2 = _ref62[1];
155063
155010
  acc[key] = value2;
155064
155011
  return acc;
155065
155012
  }, {}), {
@@ -155072,24 +155019,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155072
155019
  return value;
155073
155020
  });
155074
155021
  }
155075
- function methodHandler(_ref68) {
155076
- var args = _ref68.args,
155077
- eventId = _ref68.eventId,
155078
- functionName = _ref68.functionName,
155079
- handlerMap = _ref68.handlerMap,
155080
- injectJavaScript = _ref68.injectJavaScript;
155022
+ function methodHandler(_ref63) {
155023
+ var args = _ref63.args,
155024
+ eventId = _ref63.eventId,
155025
+ functionName = _ref63.functionName,
155026
+ handlerMap = _ref63.handlerMap,
155027
+ injectJavaScript = _ref63.injectJavaScript;
155081
155028
  var func = handlerMap[functionName];
155082
155029
  if (!func) {
155083
155030
  console.error(functionName + " is not a function");
155084
155031
  return;
155085
155032
  }
155086
155033
  var wrappedFunc = function () {
155087
- var _ref69 = _asyncToGenerator(function* () {
155034
+ var _ref64 = _asyncToGenerator(function* () {
155088
155035
  var result = yield func.apply(void 0, arguments);
155089
155036
  return result;
155090
155037
  });
155091
155038
  return function wrappedFunc() {
155092
- return _ref69.apply(this, arguments);
155039
+ return _ref64.apply(this, arguments);
155093
155040
  };
155094
155041
  }();
155095
155042
  wrappedFunc.apply(void 0, _toConsumableArray(args)).then(function (result) {
@@ -155100,22 +155047,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155100
155047
  });
155101
155048
  }
155102
155049
  var globalEventListenerMap = new Map();
155103
- function useBridgeHandler(_ref70) {
155104
- var onMessage = _ref70.onMessage,
155105
- constantHandlerMap = _ref70.constantHandlerMap,
155106
- asyncHandlerMap = _ref70.asyncHandlerMap,
155107
- eventListenerMap = _ref70.eventListenerMap;
155108
- var ref = (0, import_react23.useRef)(null);
155109
- var injectedJavaScript = (0, import_react23.useMemo)(function () {
155110
- return "window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref71) {
155111
- var _ref72 = _slicedToArray(_ref71, 2),
155112
- key = _ref72[0],
155113
- value = _ref72[1];
155050
+ function useBridgeHandler(_ref65) {
155051
+ var onMessage = _ref65.onMessage,
155052
+ constantHandlerMap = _ref65.constantHandlerMap,
155053
+ asyncHandlerMap = _ref65.asyncHandlerMap,
155054
+ eventListenerMap = _ref65.eventListenerMap;
155055
+ var ref = (0, import_react22.useRef)(null);
155056
+ var injectedJavaScript = (0, import_react22.useMemo)(function () {
155057
+ return "window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref66) {
155058
+ var _ref67 = _slicedToArray(_ref66, 2),
155059
+ key = _ref67[0],
155060
+ value = _ref67[1];
155114
155061
  acc[key] = typeof value === "function" ? value() : value;
155115
155062
  return acc;
155116
155063
  }, {})) + ";";
155117
155064
  }, [constantHandlerMap]);
155118
- (0, import_react23.useEffect)(function () {
155065
+ (0, import_react22.useEffect)(function () {
155119
155066
  var _ref$current;
155120
155067
  (_ref$current = ref.current) == null ? void 0 : _ref$current.injectJavaScript(injectedJavaScript);
155121
155068
  }, [injectedJavaScript]);
@@ -155132,8 +155079,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155132
155079
  (_ref$current3 = ref.current) == null ? void 0 : _ref$current3.injectJavaScript("\n window.__GRANITE_NATIVE_EMITTER.emit('" + functionName + "/onError/" + eventId + "', " + serializedError + ");\n ");
155133
155080
  };
155134
155081
  };
155135
- var $onMessage = (0, import_react23.useCallback)(function () {
155136
- var _ref73 = _asyncToGenerator(function* (e) {
155082
+ var $onMessage = (0, import_react22.useCallback)(function () {
155083
+ var _ref68 = _asyncToGenerator(function* (e) {
155137
155084
  onMessage == null ? void 0 : onMessage(e);
155138
155085
  var data = parseNativeEventData(e.nativeEvent.data);
155139
155086
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -155178,7 +155125,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155178
155125
  }
155179
155126
  });
155180
155127
  return function (_x4) {
155181
- return _ref73.apply(this, arguments);
155128
+ return _ref68.apply(this, arguments);
155182
155129
  };
155183
155130
  }(), [onMessage]);
155184
155131
  return {
@@ -155196,7 +155143,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155196
155143
  }
155197
155144
  }
155198
155145
  var import_react_native_safe_area_context3 = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
155199
- var import_react24 = _$$_REQUIRE(_dependencyMap[12], "react");
155146
+ var import_react23 = _$$_REQUIRE(_dependencyMap[12], "react");
155200
155147
  var EventEmitter = function () {
155201
155148
  function EventEmitter() {
155202
155149
  _classCallCheck(this, EventEmitter);
@@ -155237,10 +155184,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155237
155184
  }();
155238
155185
  function useSafeAreaInsetsEmitter() {
155239
155186
  var insets = (0, import_react_native_safe_area_context3.useSafeAreaInsets)();
155240
- var emitter = (0, import_react24.useMemo)(function () {
155187
+ var emitter = (0, import_react23.useMemo)(function () {
155241
155188
  return new EventEmitter();
155242
155189
  }, []);
155243
- (0, import_react24.useEffect)(function () {
155190
+ (0, import_react23.useEffect)(function () {
155244
155191
  emitter.emit("safeAreaInsetsChange", insets);
155245
155192
  return function () {
155246
155193
  emitter.off("safeAreaInsetsChange", function (listener) {
@@ -155251,10 +155198,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155251
155198
  return emitter;
155252
155199
  }
155253
155200
  var import_react_native29 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155254
- var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
155201
+ var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
155255
155202
  var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
155256
- var import_react26 = _$$_REQUIRE(_dependencyMap[12], "react");
155257
155203
  var import_react25 = _$$_REQUIRE(_dependencyMap[12], "react");
155204
+ var import_react24 = _$$_REQUIRE(_dependencyMap[12], "react");
155258
155205
  var INITIAL_STATE = {
155259
155206
  stack: [],
155260
155207
  index: -1
@@ -155301,20 +155248,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155301
155248
  }
155302
155249
  }
155303
155250
  function useWebViewHistory() {
155304
- var _ref74 = (0, import_react25.useReducer)(reducer, INITIAL_STATE),
155305
- _ref75 = _slicedToArray(_ref74, 2),
155306
- state = _ref75[0],
155307
- dispatch = _ref75[1];
155308
- var onNavigationStateChange = (0, import_react25.useCallback)(function (_ref76) {
155309
- var url = _ref76.url,
155310
- canGoForward2 = _ref76.canGoForward;
155251
+ var _ref69 = (0, import_react24.useReducer)(reducer, INITIAL_STATE),
155252
+ _ref70 = _slicedToArray(_ref69, 2),
155253
+ state = _ref70[0],
155254
+ dispatch = _ref70[1];
155255
+ var onNavigationStateChange = (0, import_react24.useCallback)(function (_ref71) {
155256
+ var url = _ref71.url,
155257
+ canGoForward2 = _ref71.canGoForward;
155311
155258
  dispatch({
155312
155259
  type: "NAVIGATION_CHANGE",
155313
155260
  url: url,
155314
155261
  canGoForward: canGoForward2
155315
155262
  });
155316
155263
  }, []);
155317
- var _ref77 = (0, import_react25.useMemo)(function () {
155264
+ var _ref72 = (0, import_react24.useMemo)(function () {
155318
155265
  var canBack = state.index > 0;
155319
155266
  var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
155320
155267
  return {
@@ -155322,8 +155269,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155322
155269
  canGoForward: canFwd
155323
155270
  };
155324
155271
  }, [state.index, state.stack.length]),
155325
- canGoBack = _ref77.canGoBack,
155326
- canGoForward = _ref77.canGoForward;
155272
+ canGoBack = _ref72.canGoBack,
155273
+ canGoForward = _ref72.canGoForward;
155327
155274
  return {
155328
155275
  onNavigationStateChange: onNavigationStateChange,
155329
155276
  hasHistory: canGoBack,
@@ -155338,22 +155285,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155338
155285
  var _useWebViewHistory = useWebViewHistory(),
155339
155286
  hasHistory = _useWebViewHistory.hasHistory,
155340
155287
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
155341
- var _ref78 = (0, import_react_native29.useBackEventState)(),
155342
- webBackHandlersRef = _ref78.handlersRef,
155343
- hasWebBackEvent = _ref78.hasBackEvent,
155344
- addWebBackEventListener = _ref78.addEventListener,
155345
- removeWebBackEventListener = _ref78.removeEventListener;
155288
+ var _ref73 = (0, import_react_native29.useBackEventState)(),
155289
+ webBackHandlersRef = _ref73.handlersRef,
155290
+ hasWebBackEvent = _ref73.hasBackEvent,
155291
+ addWebBackEventListener = _ref73.addEventListener,
155292
+ removeWebBackEventListener = _ref73.removeEventListener;
155346
155293
  var logging = useNavigationBarLogging();
155347
- var _ref79 = (0, import_tds_react_native14.useDialog)(),
155348
- openConfirm = _ref79.openConfirm;
155294
+ var _ref74 = (0, import_tds_react_native13.useDialog)(),
155295
+ openConfirm = _ref74.openConfirm;
155349
155296
  var global2 = getAppsInTossGlobals();
155350
- var addEventListener = (0, import_react26.useCallback)(function (handler) {
155297
+ var addEventListener = (0, import_react25.useCallback)(function (handler) {
155351
155298
  addWebBackEventListener(handler);
155352
155299
  }, [addWebBackEventListener]);
155353
- var removeEventListener = (0, import_react26.useCallback)(function (handler) {
155300
+ var removeEventListener = (0, import_react25.useCallback)(function (handler) {
155354
155301
  removeWebBackEventListener(handler);
155355
155302
  }, [removeWebBackEventListener]);
155356
- var handleWebBack = (0, import_react26.useCallback)(_asyncToGenerator(function* () {
155303
+ var handleWebBack = (0, import_react25.useCallback)(_asyncToGenerator(function* () {
155357
155304
  if (hasWebBackEvent) {
155358
155305
  for (var handler of webBackHandlersRef) {
155359
155306
  handler();
@@ -155378,7 +155325,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155378
155325
  }
155379
155326
  }
155380
155327
  }), [captureExitLog, global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
155381
- var handleWebHome = (0, import_react26.useCallback)(function () {
155328
+ var handleWebHome = (0, import_react25.useCallback)(function () {
155382
155329
  var _webViewRef$current2;
155383
155330
  logging.homeButtonClick();
155384
155331
  if (hasWebBackEvent) {
@@ -155389,7 +155336,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155389
155336
  }
155390
155337
  (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(HISTORY_HOME_SCRIPT);
155391
155338
  }, [hasWebBackEvent, webBackHandlersRef, logging, webViewRef]);
155392
- return (0, import_react26.useMemo)(function () {
155339
+ return (0, import_react25.useMemo)(function () {
155393
155340
  return {
155394
155341
  addEventListener: addEventListener,
155395
155342
  removeEventListener: removeEventListener,
@@ -155413,7 +155360,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155413
155360
  });
155414
155361
  };
155415
155362
  }
155416
- var import_native_modules16 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155363
+ var import_native_modules15 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155417
155364
  var import_react_native30 = _$$_REQUIRE(_dependencyMap[11], "react-native");
155418
155365
  var FontA11yCategory = {
155419
155366
  Large: "Large",
@@ -155542,40 +155489,40 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155542
155489
  function mapFontScaleToCategory(fontScale, platform) {
155543
155490
  return platform === "ios" ? mapIOSFontScaleToCategory(fontScale) : mapAndroidFontScaleToCategory(fontScale);
155544
155491
  }
155545
- function _useCreateUserAgent(_ref81) {
155546
- var batteryModePreference = _ref81.batteryModePreference,
155547
- colorPreference = _ref81.colorPreference,
155548
- locale = _ref81.locale,
155549
- navbarPreference = _ref81.navbarPreference,
155550
- pureSafeArea = _ref81.pureSafeArea,
155551
- safeArea = _ref81.safeArea,
155552
- safeAreaBottomTransparency = _ref81.safeAreaBottomTransparency;
155553
- var platform = (0, import_native_modules16.getPlatformOS)();
155554
- var appVersion = (0, import_native_modules16.getTossAppVersion)();
155555
- var _ref82 = (0, import_react_native30.useWindowDimensions)(),
155556
- fontScale = _ref82.fontScale;
155492
+ function _useCreateUserAgent(_ref76) {
155493
+ var batteryModePreference = _ref76.batteryModePreference,
155494
+ colorPreference = _ref76.colorPreference,
155495
+ locale = _ref76.locale,
155496
+ navbarPreference = _ref76.navbarPreference,
155497
+ pureSafeArea = _ref76.pureSafeArea,
155498
+ safeArea = _ref76.safeArea,
155499
+ safeAreaBottomTransparency = _ref76.safeAreaBottomTransparency;
155500
+ var platform = (0, import_native_modules15.getPlatformOS)();
155501
+ var appVersion = (0, import_native_modules15.getTossAppVersion)();
155502
+ var _ref77 = (0, import_react_native30.useWindowDimensions)(),
155503
+ fontScale = _ref77.fontScale;
155557
155504
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
155558
155505
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
155559
155506
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
155560
155507
  return ["AppsInToss", "TossApp/" + appVersion, batteryModePreference && "TossBatteryModePreference/" + batteryModePreference, colorPreference && "TossColorPreference/" + colorPreference, "TossFontAccessibility/" + fontA11y, "TossFontScale/" + normalizedFontScale, locale && "TossLocale/" + locale, navbarPreference && "TossNavbarPreference/" + navbarPreference, pureSafeArea && "TossPureSafeArea/" + pureSafeArea, safeArea && "TossSafeArea/" + safeArea, safeAreaBottomTransparency && "TossSafeAreaBottomTransparency/" + safeAreaBottomTransparency, platformString].filter(Boolean).join(" ");
155561
155508
  }
155562
- var import_native_modules17 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155509
+ var import_native_modules16 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155563
155510
  var import_react_native31 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155564
- var import_react27 = _$$_REQUIRE(_dependencyMap[12], "react");
155565
- function _useGeolocation(_ref83) {
155566
- var accuracy = _ref83.accuracy,
155567
- distanceInterval = _ref83.distanceInterval,
155568
- timeInterval = _ref83.timeInterval;
155511
+ var import_react26 = _$$_REQUIRE(_dependencyMap[12], "react");
155512
+ function _useGeolocation(_ref78) {
155513
+ var accuracy = _ref78.accuracy,
155514
+ distanceInterval = _ref78.distanceInterval,
155515
+ timeInterval = _ref78.timeInterval;
155569
155516
  var isVisible = (0, import_react_native31.useVisibility)();
155570
- var _ref84 = (0, import_react27.useState)(null),
155571
- _ref85 = _slicedToArray(_ref84, 2),
155572
- location = _ref85[0],
155573
- setLocation = _ref85[1];
155574
- (0, import_react27.useEffect)(function () {
155517
+ var _ref79 = (0, import_react26.useState)(null),
155518
+ _ref80 = _slicedToArray(_ref79, 2),
155519
+ location = _ref80[0],
155520
+ setLocation = _ref80[1];
155521
+ (0, import_react26.useEffect)(function () {
155575
155522
  if (!isVisible) {
155576
155523
  return;
155577
155524
  }
155578
- return (0, import_native_modules17.startUpdateLocation)({
155525
+ return (0, import_native_modules16.startUpdateLocation)({
155579
155526
  options: {
155580
155527
  accuracy: accuracy,
155581
155528
  distanceInterval: distanceInterval,
@@ -155588,17 +155535,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155588
155535
  return location;
155589
155536
  }
155590
155537
  var import_react_native32 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155591
- var import_react28 = _$$_REQUIRE(_dependencyMap[12], "react");
155538
+ var import_react27 = _$$_REQUIRE(_dependencyMap[12], "react");
155592
155539
  function _useWaitForReturnNavigator() {
155593
- var callbacks = (0, import_react28.useRef)([]).current;
155540
+ var callbacks = (0, import_react27.useRef)([]).current;
155594
155541
  var navigation = (0, import_react_native32.useNavigation)();
155595
- var startNavigating = (0, import_react28.useCallback)(function (route, params) {
155542
+ var startNavigating = (0, import_react27.useCallback)(function (route, params) {
155596
155543
  return new Promise(function (resolve) {
155597
155544
  callbacks.push(resolve);
155598
155545
  navigation.navigate(route, params);
155599
155546
  });
155600
155547
  }, [callbacks, navigation]);
155601
- var handleVisibilityChange = (0, import_react28.useCallback)(function (state) {
155548
+ var handleVisibilityChange = (0, import_react27.useCallback)(function (state) {
155602
155549
  if (state === "visible" && callbacks.length > 0) {
155603
155550
  for (var callback of callbacks) {
155604
155551
  callback();
@@ -155618,7 +155565,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155618
155565
  removeAccessoryButton: removeNavigationRightButton
155619
155566
  };
155620
155567
  }
155621
- var import_native_modules18 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155568
+ var import_native_modules17 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155622
155569
  var import_react_native33 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155623
155570
  var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
155624
155571
  var timestampHex = uuid.split("-").join("").slice(0, 12);
@@ -155661,24 +155608,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155661
155608
  deployment_timestamp: extractDateFromUUIDv7(_env.getDeploymentId()).getTime()
155662
155609
  }
155663
155610
  };
155664
- return (0, import_native_modules18.eventLog)(log);
155611
+ return (0, import_native_modules17.eventLog)(log);
155665
155612
  };
155666
155613
  var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
155667
155614
  var operationalEnvironment = appsInTossConstantBridges.getOperationalEnvironment();
155668
155615
  var TYPES = ["partner", "external", "game"];
155669
155616
  var WEBVIEW_TYPES = {
155670
155617
  partner: PartnerWebView,
155671
- external: import_tds_react_native15.ExternalWebViewScreen,
155618
+ external: import_tds_react_native14.ExternalWebViewScreen,
155672
155619
  game: GameWebView
155673
155620
  };
155674
155621
  function mergeSchemeQueryParamsInto(url) {
155675
155622
  var baseUrl = new URL(url);
155676
155623
  var schemeUrl = new URL((0, import_react_native34.getSchemeUri)());
155677
155624
  baseUrl.pathname = schemeUrl.pathname;
155678
- for (var _ref86 of schemeUrl.searchParams.entries()) {
155679
- var _ref87 = _slicedToArray(_ref86, 2);
155680
- var key = _ref87[0];
155681
- var value = _ref87[1];
155625
+ for (var _ref81 of schemeUrl.searchParams.entries()) {
155626
+ var _ref82 = _slicedToArray(_ref81, 2);
155627
+ var key = _ref82[0];
155628
+ var value = _ref82[1];
155682
155629
  baseUrl.searchParams.set(key, value);
155683
155630
  }
155684
155631
  return baseUrl;
@@ -155688,7 +155635,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155688
155635
  var devUrl = "http://" + local.host + ":" + local.port;
155689
155636
  return mergeSchemeQueryParamsInto(devUrl).toString();
155690
155637
  }
155691
- var _import_native_module = import_native_modules19.AppsInTossModule.getWebBundleURL({}),
155638
+ var _import_native_module = import_native_modules18.AppsInTossModule.getWebBundleURL({}),
155692
155639
  rawUrl = _import_native_module.url;
155693
155640
  var url = mergeSchemeQueryParamsInto(rawUrl);
155694
155641
  var deploymentId = _env.getDeploymentId();
@@ -155697,17 +155644,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155697
155644
  }
155698
155645
  return url.toString();
155699
155646
  }
155700
- function _WebView(_ref88) {
155701
- var type = _ref88.type,
155702
- local = _ref88.local,
155703
- onMessage = _ref88.onMessage,
155704
- props = _objectWithoutProperties(_ref88, _excluded3);
155647
+ function _WebView(_ref83) {
155648
+ var type = _ref83.type,
155649
+ local = _ref83.local,
155650
+ onMessage = _ref83.onMessage,
155651
+ props = _objectWithoutProperties(_ref83, _excluded3);
155705
155652
  if (!TYPES.includes(type)) {
155706
155653
  throw new Error("Invalid WebView type: '" + type + "'");
155707
155654
  }
155708
- var webViewRef = (0, import_react29.useRef)(null);
155655
+ var webViewRef = (0, import_react28.useRef)(null);
155709
155656
  var webBackHandler = useWebBackHandler(webViewRef);
155710
- var uri = (0, import_react29.useMemo)(function () {
155657
+ var uri = (0, import_react28.useMemo)(function () {
155711
155658
  return getWebViewUri(local);
155712
155659
  }, [local]);
155713
155660
  var top = (0, import_private9.useSafeAreaTop)();
@@ -155716,71 +155663,63 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155716
155663
  var global2 = getAppsInTossGlobals();
155717
155664
  var navigationBarContext = useNavigationBarContext();
155718
155665
  var safeAreaInsetsEmitter = useSafeAreaInsetsEmitter();
155719
- var _ref89 = (0, import_react29.useState)(props.allowsBackForwardNavigationGestures),
155720
- _ref90 = _slicedToArray(_ref89, 2),
155721
- allowsBackForwardNavigationGestures = _ref90[0],
155722
- setAllowsBackForwardNavigationGestures = _ref90[1];
155666
+ var _ref84 = (0, import_react28.useState)(props.allowsBackForwardNavigationGestures),
155667
+ _ref85 = _slicedToArray(_ref84, 2),
155668
+ allowsBackForwardNavigationGestures = _ref85[0],
155669
+ setAllowsBackForwardNavigationGestures = _ref85[1];
155723
155670
  var handler = useBridgeHandler({
155724
155671
  onMessage: onMessage,
155725
155672
  eventListenerMap: Object.assign({}, appsInTossEventBridges, {
155726
- navigationAccessoryEvent: function navigationAccessoryEvent(_ref91) {
155727
- var onEvent = _ref91.onEvent,
155728
- onError = _ref91.onError;
155729
- return import_tds_react_native15.tdsEvent.addEventListener("navigationAccessoryEvent", {
155673
+ navigationAccessoryEvent: function navigationAccessoryEvent(_ref86) {
155674
+ var onEvent = _ref86.onEvent,
155675
+ onError = _ref86.onError;
155676
+ return import_tds_react_native14.tdsEvent.addEventListener("navigationAccessoryEvent", {
155730
155677
  onEvent: onEvent,
155731
155678
  onError: onError
155732
155679
  });
155733
155680
  },
155734
- backEvent: function backEvent(_ref92) {
155735
- var onEvent = _ref92.onEvent;
155681
+ backEvent: function backEvent(_ref87) {
155682
+ var onEvent = _ref87.onEvent;
155736
155683
  webBackHandler.addEventListener(onEvent);
155737
155684
  return function () {
155738
155685
  webBackHandler.removeEventListener(onEvent);
155739
155686
  };
155740
155687
  },
155741
- entryMessageExited: function entryMessageExited(_ref93) {
155742
- var onEvent = _ref93.onEvent,
155743
- onError = _ref93.onError;
155744
- return import_native_modules19.appsInTossEvent.addEventListener("entryMessageExited", {
155745
- onEvent: onEvent,
155746
- onError: onError
155747
- });
155748
- },
155749
- updateLocationEvent: function updateLocationEvent(_ref94) {
155750
- var onEvent = _ref94.onEvent,
155751
- onError = _ref94.onError,
155752
- options = _ref94.options;
155753
- return import_native_modules19.appsInTossEvent.addEventListener("updateLocationEvent", {
155688
+ updateLocationEvent: function updateLocationEvent(_ref88) {
155689
+ var onEvent = _ref88.onEvent,
155690
+ onError = _ref88.onError,
155691
+ options = _ref88.options;
155692
+ return import_native_modules18.appsInTossEvent.addEventListener("updateLocationEvent", {
155754
155693
  onEvent: onEvent,
155755
155694
  onError: onError,
155756
155695
  options: options
155757
155696
  });
155758
155697
  },
155759
- safeAreaInsetsChange: function safeAreaInsetsChange(_ref95) {
155760
- var onEvent = _ref95.onEvent;
155698
+ safeAreaInsetsChange: function safeAreaInsetsChange(_ref89) {
155699
+ var onEvent = _ref89.onEvent;
155761
155700
  safeAreaInsetsEmitter.on("safeAreaInsetsChange", onEvent);
155762
155701
  return function () {
155763
155702
  safeAreaInsetsEmitter.off("safeAreaInsetsChange", onEvent);
155764
155703
  };
155765
155704
  },
155766
- appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref96) {
155767
- var onEvent = _ref96.onEvent,
155768
- onError = _ref96.onError,
155769
- options = _ref96.options;
155770
- return import_native_modules19.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
155705
+ appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref90) {
155706
+ var onEvent = _ref90.onEvent,
155707
+ onError = _ref90.onError,
155708
+ options = _ref90.options;
155709
+ return import_native_modules18.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
155771
155710
  onEvent: onEvent,
155772
155711
  onError: onError,
155773
155712
  options: options
155774
155713
  });
155775
155714
  },
155776
- loadAdMobInterstitialAd: import_native_modules19.GoogleAdMob.loadAdMobInterstitialAd,
155777
- showAdMobInterstitialAd: import_native_modules19.GoogleAdMob.showAdMobInterstitialAd,
155778
- loadAdMobRewardedAd: import_native_modules19.GoogleAdMob.loadAdMobRewardedAd,
155779
- showAdMobRewardedAd: import_native_modules19.GoogleAdMob.showAdMobRewardedAd,
155780
- loadAppsInTossAdMob: import_native_modules19.GoogleAdMob.loadAppsInTossAdMob,
155781
- showAppsInTossAdMob: import_native_modules19.GoogleAdMob.showAppsInTossAdMob,
155782
- iapCreateOneTimePurchaseOrder: import_native_modules19.IAP.createOneTimePurchaseOrder,
155783
- requestOneTimePurchase: import_native_modules19.requestOneTimePurchase
155715
+ loadAdMobInterstitialAd: import_native_modules18.GoogleAdMob.loadAdMobInterstitialAd,
155716
+ showAdMobInterstitialAd: import_native_modules18.GoogleAdMob.showAdMobInterstitialAd,
155717
+ loadAdMobRewardedAd: import_native_modules18.GoogleAdMob.loadAdMobRewardedAd,
155718
+ showAdMobRewardedAd: import_native_modules18.GoogleAdMob.showAdMobRewardedAd,
155719
+ loadAppsInTossAdMob: import_native_modules18.GoogleAdMob.loadAppsInTossAdMob,
155720
+ showAppsInTossAdMob: import_native_modules18.GoogleAdMob.showAppsInTossAdMob,
155721
+ iapCreateOneTimePurchaseOrder: import_native_modules18.IAP.createOneTimePurchaseOrder,
155722
+ requestOneTimePurchase: import_native_modules18.requestOneTimePurchase
155784
155723
  }),
155785
155724
  constantHandlerMap: Object.assign({}, appsInTossConstantBridges, {
155786
155725
  getSafeAreaTop: function getSafeAreaTop() {
@@ -155795,20 +155734,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155795
155734
  getSafeAreaRight: function getSafeAreaRight() {
155796
155735
  return insets.right;
155797
155736
  }
155798
- }, Object.fromEntries(Object.entries(global2).map(function (_ref97) {
155799
- var _ref98 = _slicedToArray(_ref97, 2),
155800
- key = _ref98[0],
155801
- value = _ref98[1];
155737
+ }, Object.fromEntries(Object.entries(global2).map(function (_ref91) {
155738
+ var _ref92 = _slicedToArray(_ref91, 2),
155739
+ key = _ref92[0],
155740
+ value = _ref92[1];
155802
155741
  return [key, function () {
155803
155742
  return value;
155804
155743
  }];
155805
155744
  })), {
155806
- loadAdMobInterstitialAd_isSupported: import_native_modules19.GoogleAdMob.loadAdMobInterstitialAd.isSupported,
155807
- showAdMobInterstitialAd_isSupported: import_native_modules19.GoogleAdMob.showAdMobInterstitialAd.isSupported,
155808
- loadAdMobRewardedAd_isSupported: import_native_modules19.GoogleAdMob.loadAdMobRewardedAd.isSupported,
155809
- showAdMobRewardedAd_isSupported: import_native_modules19.GoogleAdMob.showAdMobRewardedAd.isSupported,
155810
- loadAppsInTossAdMob_isSupported: import_native_modules19.GoogleAdMob.loadAppsInTossAdMob.isSupported,
155811
- showAppsInTossAdMob_isSupported: import_native_modules19.GoogleAdMob.showAppsInTossAdMob.isSupported,
155745
+ loadAdMobInterstitialAd_isSupported: import_native_modules18.GoogleAdMob.loadAdMobInterstitialAd.isSupported,
155746
+ showAdMobInterstitialAd_isSupported: import_native_modules18.GoogleAdMob.showAdMobInterstitialAd.isSupported,
155747
+ loadAdMobRewardedAd_isSupported: import_native_modules18.GoogleAdMob.loadAdMobRewardedAd.isSupported,
155748
+ showAdMobRewardedAd_isSupported: import_native_modules18.GoogleAdMob.showAdMobRewardedAd.isSupported,
155749
+ loadAppsInTossAdMob_isSupported: import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported,
155750
+ showAppsInTossAdMob_isSupported: import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported,
155812
155751
  getDeploymentId: _env.getDeploymentId
155813
155752
  }),
155814
155753
  asyncHandlerMap: Object.assign({}, appsInTossAsyncBridges, {
@@ -155843,19 +155782,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155843
155782
  fetchContacts: appsInTossAsyncBridges.fetchContacts,
155844
155783
  getCurrentLocation: appsInTossAsyncBridges.getCurrentLocation,
155845
155784
  openCamera: appsInTossAsyncBridges.openCamera,
155846
- getStorageItem: import_native_modules19.Storage.getItem,
155847
- setStorageItem: import_native_modules19.Storage.setItem,
155848
- removeStorageItem: import_native_modules19.Storage.removeItem,
155849
- clearItems: import_native_modules19.Storage.clearItems,
155850
- iapGetProductItemList: import_native_modules19.IAP.getProductItemList,
155851
- iapCreateOneTimePurchaseOrder: import_native_modules19.iapCreateOneTimePurchaseOrder,
155852
- processProductGrant: import_native_modules19.processProductGrant,
155853
- getPendingOrders: import_native_modules19.IAP.getPendingOrders,
155854
- getCompletedOrRefundedOrders: import_native_modules19.IAP.getCompletedOrRefundedOrders,
155855
- completeProductGrant: import_native_modules19.IAP.completeProductGrant
155785
+ getStorageItem: import_native_modules18.Storage.getItem,
155786
+ setStorageItem: import_native_modules18.Storage.setItem,
155787
+ removeStorageItem: import_native_modules18.Storage.removeItem,
155788
+ clearItems: import_native_modules18.Storage.clearItems,
155789
+ iapGetProductItemList: import_native_modules18.IAP.getProductItemList,
155790
+ iapCreateOneTimePurchaseOrder: import_native_modules18.iapCreateOneTimePurchaseOrder,
155791
+ processProductGrant: import_native_modules18.processProductGrant,
155792
+ getPendingOrders: import_native_modules18.IAP.getPendingOrders,
155793
+ getCompletedOrRefundedOrders: import_native_modules18.IAP.getCompletedOrRefundedOrders,
155794
+ completeProductGrant: import_native_modules18.IAP.completeProductGrant
155856
155795
  })
155857
155796
  });
155858
- var headerPropForExternalWebView = (0, import_react29.useMemo)(function () {
155797
+ var headerPropForExternalWebView = (0, import_react28.useMemo)(function () {
155859
155798
  var _parsedNavigationBar$5;
155860
155799
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
155861
155800
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
@@ -155877,7 +155816,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155877
155816
  colorPreference: "light"
155878
155817
  });
155879
155818
  var refs = mergeRefs(handler.ref, webViewRef);
155880
- (0, import_react29.useEffect)(function () {
155819
+ (0, import_react28.useEffect)(function () {
155881
155820
  var callback = function callback() {
155882
155821
  webBackHandler.handleWebBack();
155883
155822
  return true;
@@ -156602,12 +156541,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156602
156541
 
156603
156542
  var _slicedToArray = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/slicedToArray");
156604
156543
  var _objectWithoutProperties = _$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/objectWithoutProperties");
156605
- var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/asyncToGenerator");
156606
- var _classCallCheck = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/classCallCheck");
156607
- var _createClass = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/createClass");
156608
- var _possibleConstructorReturn = _$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/possibleConstructorReturn");
156609
- var _getPrototypeOf = _$$_REQUIRE(_dependencyMap[6], "@babel/runtime/helpers/getPrototypeOf");
156610
- var _inherits = _$$_REQUIRE(_dependencyMap[7], "@babel/runtime/helpers/inherits");
156544
+ var _classCallCheck = _$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/classCallCheck");
156545
+ var _createClass = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/createClass");
156546
+ var _possibleConstructorReturn = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/possibleConstructorReturn");
156547
+ var _getPrototypeOf = _$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/getPrototypeOf");
156548
+ var _inherits = _$$_REQUIRE(_dependencyMap[6], "@babel/runtime/helpers/inherits");
156549
+ var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[7], "@babel/runtime/helpers/asyncToGenerator");
156611
156550
  var _excluded = ["onSuccess", "onError"];
156612
156551
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
156613
156552
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
@@ -156799,32 +156738,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156799
156738
  }
156800
156739
  });
156801
156740
  module.exports = __toCommonJS(index_exports);
156802
- var import_react_native7 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156803
- var import_react_native = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156804
- var EntryMessageExitedEvent = function (_import_react_native$) {
156805
- function EntryMessageExitedEvent() {
156806
- var _this;
156807
- _classCallCheck(this, EntryMessageExitedEvent);
156808
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
156809
- args[_key] = arguments[_key];
156810
- }
156811
- _this = _callSuper(this, EntryMessageExitedEvent, [].concat(args));
156812
- _this.name = "entryMessageExited";
156813
- return _this;
156814
- }
156815
- _inherits(EntryMessageExitedEvent, _import_react_native$);
156816
- return _createClass(EntryMessageExitedEvent, [{
156817
- key: "remove",
156818
- value: function remove() {}
156819
- }, {
156820
- key: "listener",
156821
- value: function listener(_) {}
156822
- }]);
156823
- }(import_react_native.GraniteEventDefinition);
156741
+ var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156824
156742
  var import_types = _$$_REQUIRE(_dependencyMap[9], "@apps-in-toss/types");
156825
- var import_react_native4 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156826
- var import_react_native2 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156827
- var Module = import_react_native2.TurboModuleRegistry.getEnforcing("AppsInTossModule");
156743
+ var import_react_native3 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156744
+ var import_react_native = _$$_REQUIRE(_dependencyMap[10], "react-native");
156745
+ var Module = import_react_native.TurboModuleRegistry.getEnforcing("AppsInTossModule");
156828
156746
  var AppsInTossModuleInstance = Module;
156829
156747
  var _AppsInTossModule = Module;
156830
156748
  function openPermissionDialog(permission) {
@@ -156849,22 +156767,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156849
156767
  });
156850
156768
  return _requestPermission.apply(this, arguments);
156851
156769
  }
156852
- var import_react_native3 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156853
- var nativeEventEmitter = new import_react_native3.NativeEventEmitter(AppsInTossModuleInstance);
156770
+ var import_react_native2 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156771
+ var nativeEventEmitter = new import_react_native2.NativeEventEmitter(AppsInTossModuleInstance);
156854
156772
  var UpdateLocationEvent = function (_import_react_native) {
156855
156773
  function UpdateLocationEvent() {
156856
- var _this2;
156774
+ var _this;
156857
156775
  _classCallCheck(this, UpdateLocationEvent);
156858
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
156859
- args[_key2] = arguments[_key2];
156776
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
156777
+ args[_key] = arguments[_key];
156860
156778
  }
156861
- _this2 = _callSuper(this, UpdateLocationEvent, [].concat(args));
156862
- _this2.name = "updateLocationEvent";
156863
- _this2.subscriptionCount = 0;
156864
- _this2.ref = {
156779
+ _this = _callSuper(this, UpdateLocationEvent, [].concat(args));
156780
+ _this.name = "updateLocationEvent";
156781
+ _this.subscriptionCount = 0;
156782
+ _this.ref = {
156865
156783
  remove: function remove() {}
156866
156784
  };
156867
- return _this2;
156785
+ return _this;
156868
156786
  }
156869
156787
  _inherits(UpdateLocationEvent, _import_react_native);
156870
156788
  return _createClass(UpdateLocationEvent, [{
@@ -156878,7 +156796,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156878
156796
  }, {
156879
156797
  key: "listener",
156880
156798
  value: function listener(options, onEvent, onError) {
156881
- var _this3 = this;
156799
+ var _this2 = this;
156882
156800
  requestPermission({
156883
156801
  name: "geolocation",
156884
156802
  access: "access"
@@ -156889,25 +156807,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156889
156807
  }
156890
156808
  void AppsInTossModuleInstance.startUpdateLocation(options).catch(onError);
156891
156809
  var subscription = nativeEventEmitter.addListener("updateLocation", onEvent);
156892
- _this3.ref = {
156810
+ _this2.ref = {
156893
156811
  remove: function remove() {
156894
156812
  return subscription == null ? void 0 : subscription.remove();
156895
156813
  }
156896
156814
  };
156897
- _this3.subscriptionCount++;
156815
+ _this2.subscriptionCount++;
156898
156816
  }).catch(onError);
156899
156817
  }
156900
156818
  }]);
156901
- }(import_react_native4.GraniteEventDefinition);
156902
- var import_react_native5 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156819
+ }(import_react_native3.GraniteEventDefinition);
156820
+ var import_react_native4 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156903
156821
  function generateUUID(placeholder) {
156904
156822
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
156905
156823
  }
156906
156824
  var INTERNAL__callbacks = new Map();
156907
156825
  function invokeAppBridgeCallback(id) {
156908
156826
  var callback = INTERNAL__callbacks.get(id);
156909
- for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
156910
- args[_key3 - 1] = arguments[_key3];
156827
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
156828
+ args[_key2 - 1] = arguments[_key2];
156911
156829
  }
156912
156830
  callback == null ? void 0 : callback.call.apply(callback, [null].concat(args));
156913
156831
  return Boolean(callback);
@@ -156971,12 +156889,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156971
156889
  var UNSAFE__nativeEventEmitter = nativeEventEmitter;
156972
156890
  var AppBridgeCallbackEvent = function (_import_react_native2) {
156973
156891
  function _AppBridgeCallbackEvent() {
156974
- var _this4;
156892
+ var _this3;
156975
156893
  _classCallCheck(this, _AppBridgeCallbackEvent);
156976
- _this4 = _callSuper(this, _AppBridgeCallbackEvent);
156977
- _this4.name = "appBridgeCallbackEvent";
156978
- _this4.registerAppBridgeCallbackEventListener();
156979
- return _this4;
156894
+ _this3 = _callSuper(this, _AppBridgeCallbackEvent);
156895
+ _this3.name = "appBridgeCallbackEvent";
156896
+ _this3.registerAppBridgeCallbackEventListener();
156897
+ return _this3;
156980
156898
  }
156981
156899
  _inherits(_AppBridgeCallbackEvent, _import_react_native2);
156982
156900
  return _createClass(_AppBridgeCallbackEvent, [{
@@ -157003,19 +156921,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157003
156921
  }
157004
156922
  }
157005
156923
  }]);
157006
- }(import_react_native5.GraniteEventDefinition);
157007
- var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156924
+ }(import_react_native4.GraniteEventDefinition);
156925
+ var import_react_native5 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157008
156926
  var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native3) {
157009
156927
  function VisibilityChangedByTransparentServiceWebEvent() {
157010
- var _this5;
156928
+ var _this4;
157011
156929
  _classCallCheck(this, VisibilityChangedByTransparentServiceWebEvent);
157012
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
157013
- args[_key4] = arguments[_key4];
156930
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
156931
+ args[_key3] = arguments[_key3];
157014
156932
  }
157015
- _this5 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
157016
- _this5.name = "onVisibilityChangedByTransparentServiceWeb";
157017
- _this5.subscription = null;
157018
- return _this5;
156933
+ _this4 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
156934
+ _this4.name = "onVisibilityChangedByTransparentServiceWeb";
156935
+ _this4.subscription = null;
156936
+ return _this4;
157019
156937
  }
157020
156938
  _inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native3);
157021
156939
  return _createClass(VisibilityChangedByTransparentServiceWebEvent, [{
@@ -157028,9 +156946,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157028
156946
  }, {
157029
156947
  key: "listener",
157030
156948
  value: function listener(options, onEvent, onError) {
157031
- var _this6 = this;
156949
+ var _this5 = this;
157032
156950
  var subscription = nativeEventEmitter.addListener("visibilityChangedByTransparentServiceWeb", function (params) {
157033
- if (_this6.isVisibilityChangedByTransparentServiceWebResult(params)) {
156951
+ if (_this5.isVisibilityChangedByTransparentServiceWebResult(params)) {
157034
156952
  if (params.callbackId === options.callbackId) {
157035
156953
  onEvent(params.isVisible);
157036
156954
  }
@@ -157046,13 +156964,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157046
156964
  return typeof params === "object" && typeof params.callbackId === "string" && typeof params.isVisible === "boolean";
157047
156965
  }
157048
156966
  }]);
157049
- }(import_react_native6.GraniteEventDefinition);
157050
- var _appsInTossEvent = new import_react_native7.GraniteEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
156967
+ }(import_react_native5.GraniteEventDefinition);
156968
+ var _appsInTossEvent = new import_react_native6.GraniteEvent([new UpdateLocationEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
157051
156969
  var import_es_toolkit = _$$_REQUIRE(_dependencyMap[11], "es-toolkit");
157052
156970
  function _getOperationalEnvironment() {
157053
156971
  return _AppsInTossModule.operationalEnvironment;
157054
156972
  }
157055
- var import_react_native8 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156973
+ var import_react_native7 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157056
156974
  var SEMVER_REGEX = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\\-]+(?:\.[\da-z\\-]+)*))?(?:\+[\da-z\\-]+(?:\.[\da-z\\-]+)*)?)?)?$/i;
157057
156975
  var isWildcard = function isWildcard(val) {
157058
156976
  return ["*", "x", "X"].includes(val);
@@ -157135,7 +157053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157135
157053
  return true;
157136
157054
  }
157137
157055
  var currentVersion = _AppsInTossModule.tossAppVersion;
157138
- var isIOS = import_react_native8.Platform.OS === "ios";
157056
+ var isIOS = import_react_native7.Platform.OS === "ios";
157139
157057
  var minVersion = isIOS ? minVersions.ios : minVersions.android;
157140
157058
  if (minVersion === void 0) {
157141
157059
  return false;
@@ -157297,10 +157215,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157297
157215
  showAdMobInterstitialAd.isSupported = createIsSupported();
157298
157216
  showAdMobRewardedAd.isSupported = createIsSupported();
157299
157217
  var import_es_toolkit2 = _$$_REQUIRE(_dependencyMap[11], "es-toolkit");
157300
- var import_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157218
+ var import_react_native8 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157301
157219
  function getReferrer() {
157302
157220
  try {
157303
- return new URL((0, import_react_native9.getSchemeUri)()).searchParams.get("referrer");
157221
+ return new URL((0, import_react_native8.getSchemeUri)()).searchParams.get("referrer");
157304
157222
  } catch (_unused) {
157305
157223
  return null;
157306
157224
  }
@@ -157587,19 +157505,43 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157587
157505
  function _getTossAppVersion() {
157588
157506
  return _AppsInTossModule.tossAppVersion;
157589
157507
  }
157590
- function _getTossShareLink(_x7) {
157508
+ var V2_MIN_VERSION = {
157509
+ android: "5.240.0",
157510
+ ios: "5.239.0"
157511
+ };
157512
+ function _getTossShareLink(_x7, _x8) {
157591
157513
  return _getTossShareLink2.apply(this, arguments);
157592
157514
  }
157593
157515
  function _getTossShareLink2() {
157594
- _getTossShareLink2 = _asyncToGenerator(function* (path) {
157595
- var _yield$_AppsInTossMod = yield _AppsInTossModule.getTossShareLink({}),
157516
+ _getTossShareLink2 = _asyncToGenerator(function* (path, ogImageUrl) {
157517
+ if (!_isMinVersionSupported(V2_MIN_VERSION)) {
157518
+ return yield getTossShareLinkV1(path);
157519
+ }
157520
+ var params = {
157521
+ params: {
157522
+ url: path,
157523
+ ogImageUrl: ogImageUrl
157524
+ }
157525
+ };
157526
+ var _yield$_AppsInTossMod = yield _AppsInTossModule.getTossShareLink(params),
157596
157527
  shareLink = _yield$_AppsInTossMod.shareLink;
157528
+ return shareLink;
157529
+ });
157530
+ return _getTossShareLink2.apply(this, arguments);
157531
+ }
157532
+ function getTossShareLinkV1(_x9) {
157533
+ return _getTossShareLinkV.apply(this, arguments);
157534
+ }
157535
+ function _getTossShareLinkV() {
157536
+ _getTossShareLinkV = _asyncToGenerator(function* (path) {
157537
+ var _yield$_AppsInTossMod2 = yield _AppsInTossModule.getTossShareLink({}),
157538
+ shareLink = _yield$_AppsInTossMod2.shareLink;
157597
157539
  var shareUrl = new URL(shareLink);
157598
157540
  shareUrl.searchParams.set("deep_link_value", path);
157599
157541
  shareUrl.searchParams.set("af_dp", path);
157600
157542
  return shareUrl.toString();
157601
157543
  });
157602
- return _getTossShareLink2.apply(this, arguments);
157544
+ return _getTossShareLinkV.apply(this, arguments);
157603
157545
  }
157604
157546
  var import_es_toolkit3 = _$$_REQUIRE(_dependencyMap[11], "es-toolkit");
157605
157547
  function _iapCreateOneTimePurchaseOrder(params) {
@@ -157692,7 +157634,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157692
157634
  isProductGranted: isProductGranted
157693
157635
  });
157694
157636
  });
157695
- function onPurchased(_x8) {
157637
+ function onPurchased(_x10) {
157696
157638
  return _onPurchased.apply(this, arguments);
157697
157639
  }
157698
157640
  return onPurchased;
@@ -157741,7 +157683,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157741
157683
  });
157742
157684
  return _getPendingOrders.apply(this, arguments);
157743
157685
  }
157744
- function getCompletedOrRefundedOrders(_x9) {
157686
+ function getCompletedOrRefundedOrders(_x11) {
157745
157687
  return _getCompletedOrRefundedOrders.apply(this, arguments);
157746
157688
  }
157747
157689
  function _getCompletedOrRefundedOrders() {
@@ -157759,7 +157701,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157759
157701
  });
157760
157702
  return _getCompletedOrRefundedOrders.apply(this, arguments);
157761
157703
  }
157762
- function completeProductGrant(_x10) {
157704
+ function completeProductGrant(_x12) {
157763
157705
  return _completeProductGrant.apply(this, arguments);
157764
157706
  }
157765
157707
  function _completeProductGrant() {
@@ -157782,7 +157724,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157782
157724
  getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
157783
157725
  completeProductGrant: completeProductGrant
157784
157726
  };
157785
- function _saveBase64Data(_x11) {
157727
+ function _saveBase64Data(_x13) {
157786
157728
  return _saveBase64Data2.apply(this, arguments);
157787
157729
  }
157788
157730
  function _saveBase64Data2() {
@@ -157799,7 +157741,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157799
157741
  });
157800
157742
  return _saveBase64Data2.apply(this, arguments);
157801
157743
  }
157802
- function _setDeviceOrientation(_x12) {
157744
+ function _setDeviceOrientation(_x14) {
157803
157745
  return _setDeviceOrientation2.apply(this, arguments);
157804
157746
  }
157805
157747
  function _setDeviceOrientation2() {
@@ -157840,7 +157782,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157840
157782
  removeItem: removeItem,
157841
157783
  clearItems: clearItems
157842
157784
  };
157843
- var import_react_native10 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157785
+ var import_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157844
157786
  var GAME_CENTER_MIN_VERSION = {
157845
157787
  android: "5.221.0",
157846
157788
  ios: "5.221.0"
@@ -157873,7 +157815,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157873
157815
  var url = new URL("servicetoss://game-center/leaderboard?_navbar=hide");
157874
157816
  url.searchParams.set("appName", appName);
157875
157817
  url.searchParams.set("referrer", "appsintoss." + appName);
157876
- return (0, import_react_native10.openURL)(url.toString());
157818
+ return (0, import_react_native9.openURL)(url.toString());
157877
157819
  });
157878
157820
  return _openGameCenterLeaderboard2.apply(this, arguments);
157879
157821
  }
@@ -157890,7 +157832,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157890
157832
  });
157891
157833
  return _getGameCenterGameProfile2.apply(this, arguments);
157892
157834
  }
157893
- function _submitGameCenterLeaderBoardScore(_x13) {
157835
+ function _submitGameCenterLeaderBoardScore(_x15) {
157894
157836
  return _submitGameCenterLeaderBoardScore2.apply(this, arguments);
157895
157837
  }
157896
157838
  function _submitGameCenterLeaderBoardScore2() {
@@ -157930,7 +157872,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157930
157872
  function isGrantPromotionRewardForGameError(error) {
157931
157873
  return typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
157932
157874
  }
157933
- function _grantPromotionRewardForGame(_x14) {
157875
+ function _grantPromotionRewardForGame(_x16) {
157934
157876
  return _grantPromotionRewardForGame2.apply(this, arguments);
157935
157877
  }
157936
157878
  function _grantPromotionRewardForGame2() {
@@ -158002,15 +157944,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158002
157944
  });
158003
157945
  return unregisterCallbacks;
158004
157946
  }
158005
- function _appsInTossSignTossCert(_x15) {
157947
+ var MIN_VERSION_BY_USER_TYPE = {
157948
+ USER_PERSONAL: {
157949
+ android: "5.233.0",
157950
+ ios: "5.233.0"
157951
+ },
157952
+ USER_NONE: {
157953
+ android: "5.236.0",
157954
+ ios: "5.236.0"
157955
+ }
157956
+ };
157957
+ function _appsInTossSignTossCert(_x17) {
158006
157958
  return _appsInTossSignTossCert2.apply(this, arguments);
158007
157959
  }
158008
157960
  function _appsInTossSignTossCert2() {
158009
157961
  _appsInTossSignTossCert2 = _asyncToGenerator(function* (params) {
158010
- var isSupported = _isMinVersionSupported({
158011
- android: "5.233.0",
158012
- ios: "5.233.0"
158013
- });
157962
+ var minVersion = params.skipConfirmDoc === true ? MIN_VERSION_BY_USER_TYPE.USER_NONE : MIN_VERSION_BY_USER_TYPE.USER_PERSONAL;
157963
+ var isSupported = _isMinVersionSupported(minVersion);
158014
157964
  if (!isSupported) {
158015
157965
  console.warn("appsInTossSignTossCert is not supported in this app version");
158016
157966
  return;
@@ -158041,8 +157991,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158041
157991
  function _onVisibilityChangedByTransparentServiceWeb(eventParams) {
158042
157992
  return _appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
158043
157993
  }
158044
- var import_react_native11 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158045
- var _BedrockModule = import_react_native11.NativeModules.BedrockModule;
157994
+ var import_react_native10 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157995
+ var _BedrockModule = import_react_native10.NativeModules.BedrockModule;
158046
157996
  function _closeView() {
158047
157997
  return _closeView2.apply(this, arguments);
158048
157998
  }
@@ -158052,11 +158002,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158052
158002
  });
158053
158003
  return _closeView2.apply(this, arguments);
158054
158004
  }
158055
- var import_react_native12 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158005
+ var import_react_native11 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158056
158006
  function _getLocale() {
158057
158007
  var _BedrockModule$Device, _BedrockModule$Device2;
158058
158008
  var locale = (_BedrockModule$Device = _BedrockModule == null ? void 0 : (_BedrockModule$Device2 = _BedrockModule.DeviceInfo) == null ? void 0 : _BedrockModule$Device2.locale) != null ? _BedrockModule$Device : "ko-KR";
158059
- if (import_react_native12.Platform.OS === "android") {
158009
+ if (import_react_native11.Platform.OS === "android") {
158060
158010
  return replaceUnderbarToHypen(locale);
158061
158011
  }
158062
158012
  return locale;
@@ -158070,7 +158020,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158070
158020
  function _generateHapticFeedback(options) {
158071
158021
  return _BedrockModule.generateHapticFeedback(options);
158072
158022
  }
158073
- function _share(_x16) {
158023
+ function _share(_x18) {
158074
158024
  return _share2.apply(this, arguments);
158075
158025
  }
158076
158026
  function _share2() {
@@ -158082,7 +158032,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158082
158032
  function _setSecureScreen(options) {
158083
158033
  return _BedrockModule.setSecureScreen(options);
158084
158034
  }
158085
- function _setScreenAwakeMode(_x17) {
158035
+ function _setScreenAwakeMode(_x19) {
158086
158036
  return _setScreenAwakeMode2.apply(this, arguments);
158087
158037
  }
158088
158038
  function _setScreenAwakeMode2() {
@@ -158094,7 +158044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158094
158044
  function _getNetworkStatus() {
158095
158045
  return _BedrockModule.getNetworkStatus();
158096
158046
  }
158097
- function _setIosSwipeGestureEnabled(_x18) {
158047
+ function _setIosSwipeGestureEnabled(_x20) {
158098
158048
  return _setIosSwipeGestureEnabled2.apply(this, arguments);
158099
158049
  }
158100
158050
  function _setIosSwipeGestureEnabled2() {
@@ -158106,18 +158056,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158106
158056
  });
158107
158057
  return _setIosSwipeGestureEnabled2.apply(this, arguments);
158108
158058
  }
158109
- var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158059
+ var import_react_native12 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158110
158060
  function openURL2(url) {
158111
- return import_react_native13.Linking.openURL(url);
158061
+ return import_react_native12.Linking.openURL(url);
158112
158062
  }
158113
- var import_react_native14 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158063
+ var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158114
158064
  function _getPlatformOS() {
158115
- return import_react_native14.Platform.OS;
158065
+ return import_react_native13.Platform.OS;
158116
158066
  }
158067
+ var import_react_native14 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158068
+ var _BedrockCoreModule = import_react_native14.NativeModules.BedrockCoreModule;
158117
158069
  var import_react_native15 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158118
- var _BedrockCoreModule = import_react_native15.NativeModules.BedrockCoreModule;
158119
- var import_react_native16 = _$$_REQUIRE(_dependencyMap[10], "react-native");
158120
- var TossCoreModule = import_react_native16.NativeModules.TossCoreModule;
158070
+ var TossCoreModule = import_react_native15.NativeModules.TossCoreModule;
158121
158071
  function tossCoreEventLog(params) {
158122
158072
  var supported = _isMinVersionSupported({
158123
158073
  ios: "5.210.0",
@@ -158191,7 +158141,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158191
158141
  startUpdateLocation: _startUpdateLocation,
158192
158142
  submitGameCenterLeaderBoardScore: _submitGameCenterLeaderBoardScore
158193
158143
  });
158194
- },1259,[61,207,16,24,25,43,46,47,2,1260,18,1261],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/dist/index.cjs");
158144
+ },1259,[61,207,24,25,43,46,47,16,2,1260,18,1261],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/dist/index.cjs");
158195
158145
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
158196
158146
  "use strict";
158197
158147
 
@@ -232581,21 +232531,46 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232581
232531
  exports.getTossShareLink = getTossShareLink;
232582
232532
  var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
232583
232533
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[2], "./AppsInTossModule");
232584
- function getTossShareLink(_x) {
232534
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[3], "./isMinVersionSupported");
232535
+ var V2_MIN_VERSION = {
232536
+ android: '5.240.0',
232537
+ ios: '5.239.0'
232538
+ };
232539
+ function getTossShareLink(_x, _x2) {
232585
232540
  return _getTossShareLink.apply(this, arguments);
232586
232541
  }
232587
232542
  function _getTossShareLink() {
232588
- _getTossShareLink = (0, _asyncToGenerator2.default)(function* (path) {
232589
- var _yield$AppsInTossModu = yield _AppsInTossModule.AppsInTossModule.getTossShareLink({}),
232543
+ _getTossShareLink = (0, _asyncToGenerator2.default)(function* (path, ogImageUrl) {
232544
+ if (!(0, _isMinVersionSupported.isMinVersionSupported)(V2_MIN_VERSION)) {
232545
+ return yield getTossShareLinkV1(path);
232546
+ }
232547
+ var params = {
232548
+ params: {
232549
+ url: path,
232550
+ ogImageUrl: ogImageUrl
232551
+ }
232552
+ };
232553
+ var _yield$AppsInTossModu = yield _AppsInTossModule.AppsInTossModule.getTossShareLink(params),
232590
232554
  shareLink = _yield$AppsInTossModu.shareLink;
232555
+ return shareLink;
232556
+ });
232557
+ return _getTossShareLink.apply(this, arguments);
232558
+ }
232559
+ function getTossShareLinkV1(_x3) {
232560
+ return _getTossShareLinkV.apply(this, arguments);
232561
+ }
232562
+ function _getTossShareLinkV() {
232563
+ _getTossShareLinkV = (0, _asyncToGenerator2.default)(function* (path) {
232564
+ var _yield$AppsInTossModu2 = yield _AppsInTossModule.AppsInTossModule.getTossShareLink({}),
232565
+ shareLink = _yield$AppsInTossModu2.shareLink;
232591
232566
  var shareUrl = new URL(shareLink);
232592
232567
  shareUrl.searchParams.set('deep_link_value', path);
232593
232568
  shareUrl.searchParams.set('af_dp', path);
232594
232569
  return shareUrl.toString();
232595
232570
  });
232596
- return _getTossShareLink.apply(this, arguments);
232571
+ return _getTossShareLinkV.apply(this, arguments);
232597
232572
  }
232598
- },2594,[1,16,2580],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getTossShareLink.ts");
232573
+ },2594,[1,16,2580,2592],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getTossShareLink.ts");
232599
232574
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232600
232575
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232601
232576
  Object.defineProperty(exports, "__esModule", {
@@ -232678,15 +232653,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232678
232653
  var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
232679
232654
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[2], "./AppsInTossModule");
232680
232655
  var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[3], "./isMinVersionSupported");
232656
+ var MIN_VERSION_BY_USER_TYPE = {
232657
+ USER_PERSONAL: {
232658
+ android: '5.233.0',
232659
+ ios: '5.233.0'
232660
+ },
232661
+ USER_NONE: {
232662
+ android: '5.236.0',
232663
+ ios: '5.236.0'
232664
+ }
232665
+ };
232681
232666
  function appsInTossSignTossCert(_x) {
232682
232667
  return _appsInTossSignTossCert.apply(this, arguments);
232683
232668
  }
232684
232669
  function _appsInTossSignTossCert() {
232685
232670
  _appsInTossSignTossCert = (0, _asyncToGenerator2.default)(function* (params) {
232686
- var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)({
232687
- android: '5.233.0',
232688
- ios: '5.233.0'
232689
- });
232671
+ var minVersion = params.skipConfirmDoc === true ? MIN_VERSION_BY_USER_TYPE.USER_NONE : MIN_VERSION_BY_USER_TYPE.USER_PERSONAL;
232672
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(minVersion);
232690
232673
  if (!isSupported) {
232691
232674
  console.warn('appsInTossSignTossCert is not supported in this app version');
232692
232675
  return;
@@ -233081,7 +233064,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233081
233064
  }
233082
233065
  });
233083
233066
  });
233084
- },2613,[2614,2630,2629],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
233067
+ },2613,[2614,2629,2628],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
233085
233068
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233086
233069
  Object.defineProperty(exports, "__esModule", {
233087
233070
  value: true
@@ -233094,54 +233077,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233094
233077
  }
233095
233078
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
233096
233079
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
233097
- },2614,[2615,2623],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
233080
+ },2614,[2615,2622],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
233098
233081
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233099
233082
  Object.defineProperty(exports, "__esModule", {
233100
233083
  value: true
233101
233084
  });
233102
233085
  exports.appsInTossEvent = void 0;
233103
233086
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "@granite-js/react-native");
233104
- var _EntryMessageExitedEvent = _$$_REQUIRE(_dependencyMap[1], "./event-plugins/EntryMessageExitedEvent");
233105
- var _UpdateLocationEvent = _$$_REQUIRE(_dependencyMap[2], "./event-plugins/UpdateLocationEvent");
233106
- var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/AppBridgeCallbackEvent");
233107
- var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[4], "./internal/VisibilityChangedByTransparentServiceWebEvent");
233108
- var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _EntryMessageExitedEvent.EntryMessageExitedEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
233109
- },2615,[2,2616,2617,2619,2622],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
233110
- __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233111
- var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233112
- Object.defineProperty(exports, "__esModule", {
233113
- value: true
233114
- });
233115
- exports.EntryMessageExitedEvent = void 0;
233116
- var _classCallCheck2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/classCallCheck"));
233117
- var _createClass2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/createClass"));
233118
- var _possibleConstructorReturn2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/possibleConstructorReturn"));
233119
- var _getPrototypeOf2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/getPrototypeOf"));
233120
- var _inherits2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/inherits"));
233121
- var _reactNative = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
233122
- function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
233123
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
233124
- var EntryMessageExitedEvent = exports.EntryMessageExitedEvent = function (_GraniteEventDefiniti) {
233125
- function EntryMessageExitedEvent() {
233126
- var _this;
233127
- (0, _classCallCheck2.default)(this, EntryMessageExitedEvent);
233128
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
233129
- args[_key] = arguments[_key];
233130
- }
233131
- _this = _callSuper(this, EntryMessageExitedEvent, [].concat(args));
233132
- _this.name = 'entryMessageExited';
233133
- return _this;
233134
- }
233135
- (0, _inherits2.default)(EntryMessageExitedEvent, _GraniteEventDefiniti);
233136
- return (0, _createClass2.default)(EntryMessageExitedEvent, [{
233137
- key: "remove",
233138
- value: function remove() {}
233139
- }, {
233140
- key: "listener",
233141
- value: function listener(_) {}
233142
- }]);
233143
- }(_reactNative.GraniteEventDefinition);
233144
- },2616,[1,24,25,43,46,47,2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/EntryMessageExitedEvent.ts");
233087
+ var _UpdateLocationEvent = _$$_REQUIRE(_dependencyMap[1], "./event-plugins/UpdateLocationEvent");
233088
+ var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
233089
+ var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
233090
+ var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
233091
+ },2615,[2,2616,2618,2621],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
233145
233092
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233146
233093
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233147
233094
  Object.defineProperty(exports, "__esModule", {
@@ -233208,7 +233155,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233208
233155
  }
233209
233156
  }]);
233210
233157
  }(_reactNative.GraniteEventDefinition);
233211
- },2617,[1,24,25,43,46,47,1260,2,2580,2581,2618],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
233158
+ },2616,[1,24,25,43,46,47,1260,2,2580,2581,2617],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
233212
233159
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233213
233160
  Object.defineProperty(exports, "__esModule", {
233214
233161
  value: true
@@ -233217,7 +233164,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233217
233164
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "react-native");
233218
233165
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[1], "../native-modules/AppsInTossModule");
233219
233166
  var nativeEventEmitter = exports.nativeEventEmitter = new _reactNative.NativeEventEmitter(_AppsInTossModule.AppsInTossModuleInstance);
233220
- },2618,[18,2580],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
233167
+ },2617,[18,2580],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
233221
233168
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233222
233169
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233223
233170
  Object.defineProperty(exports, "__esModule", {
@@ -233270,7 +233217,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233270
233217
  }
233271
233218
  }]);
233272
233219
  }(_reactNative.GraniteEventDefinition);
233273
- },2619,[1,24,25,43,46,47,2,2620,2618],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
233220
+ },2618,[1,24,25,43,46,47,2,2619,2617],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
233274
233221
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233275
233222
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233276
233223
  Object.defineProperty(exports, "__esModule", {
@@ -233347,7 +233294,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233347
233294
  unregisterCallback: unregisterCallback,
233348
233295
  getCallbackIds: getCallbackIds
233349
233296
  };
233350
- },2620,[1,61,207,2621,2580],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
233297
+ },2619,[1,61,207,2620,2580],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
233351
233298
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233352
233299
  Object.defineProperty(exports, "__esModule", {
233353
233300
  value: true
@@ -233356,7 +233303,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233356
233303
  function generateUUID(placeholder) {
233357
233304
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
233358
233305
  }
233359
- },2621,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
233306
+ },2620,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
233360
233307
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233361
233308
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233362
233309
  Object.defineProperty(exports, "__esModule", {
@@ -233414,7 +233361,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233414
233361
  }
233415
233362
  }]);
233416
233363
  }(_reactNative.GraniteEventDefinition);
233417
- },2622,[1,24,25,43,46,47,2,2618],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
233364
+ },2621,[1,24,25,43,46,47,2,2617],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
233418
233365
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233419
233366
  Object.defineProperty(exports, "__esModule", {
233420
233367
  value: true
@@ -233754,7 +233701,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233754
233701
  loadAppsInTossAdMob: _googleAdMobV.loadAppsInTossAdMob,
233755
233702
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob
233756
233703
  };
233757
- },2623,[2624,2625,2596,2580,2590,2591,2587,2586,2585,2588,2583,2589,2612,2610,2611,2594,2627,2592,2597,2595,2628,2601,2599,2602,2603,2605,2604,2629,2598],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
233704
+ },2622,[2623,2624,2596,2580,2590,2591,2587,2586,2585,2588,2583,2589,2612,2610,2611,2594,2626,2592,2597,2595,2627,2601,2599,2602,2603,2605,2604,2628,2598],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
233758
233705
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233759
233706
  Object.defineProperty(exports, "__esModule", {
233760
233707
  value: true
@@ -233915,7 +233862,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233915
233862
  loadAdMobRewardedAd.isSupported = createIsSupported();
233916
233863
  showAdMobInterstitialAd.isSupported = createIsSupported();
233917
233864
  showAdMobRewardedAd.isSupported = createIsSupported();
233918
- },2624,[1261,2620,2610,2592],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
233865
+ },2623,[1261,2619,2610,2592],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
233919
233866
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233920
233867
  Object.defineProperty(exports, "__esModule", {
233921
233868
  value: true
@@ -234018,7 +233965,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234018
233965
  }
234019
233966
  loadAppsInTossAdMob.isSupported = createIsSupported();
234020
233967
  showAppsInTossAdMob.isSupported = createIsSupported();
234021
- },2625,[1261,2626,2620,2610,2592],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
233968
+ },2624,[1261,2625,2619,2610,2592],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
234022
233969
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234023
233970
  Object.defineProperty(exports, "__esModule", {
234024
233971
  value: true
@@ -234032,7 +233979,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234032
233979
  return null;
234033
233980
  }
234034
233981
  }
234035
- },2626,[2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/getReferrer.ts");
233982
+ },2625,[2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/getReferrer.ts");
234036
233983
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234037
233984
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
234038
233985
  Object.defineProperty(exports, "__esModule", {
@@ -234227,7 +234174,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234227
234174
  getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
234228
234175
  completeProductGrant: completeProductGrant
234229
234176
  };
234230
- },2627,[1,16,1261,2580,2592,2620],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
234177
+ },2626,[1,16,1261,2580,2592,2619],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
234231
234178
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234232
234179
  Object.defineProperty(exports, "__esModule", {
234233
234180
  value: true
@@ -234259,7 +234206,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234259
234206
  removeItem: removeItem,
234260
234207
  clearItems: clearItems
234261
234208
  };
234262
- },2628,[2580],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
234209
+ },2627,[2580],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
234263
234210
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234264
234211
  Object.defineProperty(exports, "__esModule", {
234265
234212
  value: true
@@ -234295,7 +234242,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234295
234242
  });
234296
234243
  return unregisterCallbacks;
234297
234244
  }
234298
- },2629,[2620,2592],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
234245
+ },2628,[2619,2592],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
234299
234246
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234300
234247
  Object.defineProperty(exports, "__esModule", {
234301
234248
  value: true
@@ -234305,7 +234252,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234305
234252
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
234306
234253
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
234307
234254
  }
234308
- },2630,[2615],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
234255
+ },2629,[2615],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
234309
234256
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234310
234257
  Object.defineProperty(exports, "__esModule", {
234311
234258
  value: true
@@ -234320,7 +234267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234320
234267
  context.keys = function () {
234321
234268
  return Array.from(files.keys());
234322
234269
  };
234323
- },2631,[2632,2633],"react-native/context.ts");
234270
+ },2630,[2631,2632],"react-native/context.ts");
234324
234271
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234325
234272
  Object.defineProperty(exports, "__esModule", {
234326
234273
  value: true
@@ -234353,7 +234300,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234353
234300
  })
234354
234301
  });
234355
234302
  }
234356
- },2632,[1256,18,9],"react-native/pages/index.tsx");
234303
+ },2631,[1256,18,9],"react-native/pages/index.tsx");
234357
234304
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234358
234305
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
234359
234306
  Object.defineProperty(exports, "__esModule", {
@@ -234366,6 +234313,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234366
234313
  }
234367
234314
  });
234368
234315
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
234369
- },2633,[1,2632],"react-native/pages/_404.tsx");
234316
+ },2632,[1,2631],"react-native/pages/_404.tsx");
234370
234317
  __r(133);
234371
234318
  __r(0);