@apps-in-toss/web-framework 1.9.2 → 1.9.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.
@@ -153282,10 +153282,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153282
153282
  module.exports = __toCommonJS(src_exports);
153283
153283
  var import_analytics2 = _$$_REQUIRE(_dependencyMap[7], "@apps-in-toss/analytics");
153284
153284
  var import_analytics = _$$_REQUIRE(_dependencyMap[7], "@apps-in-toss/analytics");
153285
- var import_native_modules13 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153286
- var import_react_native23 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153285
+ var import_native_modules14 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153286
+ var import_react_native24 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153287
153287
  var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153288
- var import_react_native24 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153288
+ var import_react_native25 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153289
153289
  var import_native_modules2 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153290
153290
  var import_react_native4 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153291
153291
  var import_react3 = _$$_REQUIRE(_dependencyMap[12], "react");
@@ -153464,9 +153464,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153464
153464
  }
153465
153465
  return context;
153466
153466
  }
153467
- var import_native_modules12 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153467
+ var import_native_modules13 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153468
153468
  var import_react17 = _$$_REQUIRE(_dependencyMap[12], "react");
153469
- var import_react_native22 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153469
+ var import_react_native23 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153470
153470
  var import_native_modules6 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153471
153471
  var import_react_native10 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153472
153472
  var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
@@ -154089,8 +154089,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154089
154089
  };
154090
154090
  }, [backEventContext, navigation, closeConfirm, logging, captureExitLog]);
154091
154091
  }
154092
- var import_native_modules11 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154093
- var import_react_native20 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154092
+ var import_native_modules12 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154093
+ var import_react_native21 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154094
154094
  var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154095
154095
  var import_private4 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154096
154096
  var import_react15 = _$$_REQUIRE(_dependencyMap[12], "react");
@@ -154289,18 +154289,40 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154289
154289
  });
154290
154290
  }
154291
154291
  var import_native_modules10 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154292
- var import_react_native19 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154292
+ var import_react_native19 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154293
154293
  var import_jsx_runtime7 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154294
- function PermissionsMenu() {
154294
+ function HomeShortcutMenu() {
154295
+ var isSandbox = (0, import_native_modules10.getOperationalEnvironment)() === "sandbox";
154295
154296
  var globals = getAppsInTossGlobals();
154296
- if ((0, import_native_modules10.getOperationalEnvironment)() === "sandbox") {
154297
+ if (isSandbox) {
154297
154298
  return null;
154298
154299
  }
154299
154300
  return (0, import_jsx_runtime7.jsx)(Menu, {
154301
+ title: "\uD648 \uD654\uBA74\uC5D0 \uCD94\uAC00",
154302
+ iconURL: "https://static.toss.im/icons/png/4x/icon-plus-circle-mono.png",
154303
+ onPress: function onPress() {
154304
+ import_react_native19.NativeModules.AppsInTossModule.addMiniAppShortcut({
154305
+ title: globals.brandDisplayName,
154306
+ appName: global.__granite.app.name,
154307
+ iconUrl: globals.brandIcon,
154308
+ guideUrl: "https://service.toss.im/app-mini-home/shortcut"
154309
+ });
154310
+ }
154311
+ });
154312
+ }
154313
+ var import_native_modules11 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154314
+ var import_react_native20 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154315
+ var import_jsx_runtime8 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154316
+ function PermissionsMenu() {
154317
+ var globals = getAppsInTossGlobals();
154318
+ if ((0, import_native_modules11.getOperationalEnvironment)() === "sandbox") {
154319
+ return null;
154320
+ }
154321
+ return (0, import_jsx_runtime8.jsx)(Menu, {
154300
154322
  title: "\uAD8C\uD55C \uC124\uC815",
154301
154323
  iconURL: "https://static.toss.im/icons/png/4x/icon-setting-mono.png",
154302
154324
  onPress: function onPress() {
154303
- return (0, import_react_native19.openURL)(`servicetoss://apps-in-toss-menu/permissions?appName=${import_react_native19.Granite.appName}&displayAppName=${globals.brandDisplayName}`);
154325
+ return (0, import_react_native20.openURL)(`servicetoss://apps-in-toss-menu/permissions?appName=${import_react_native20.Granite.appName}&displayAppName=${globals.brandDisplayName}`);
154304
154326
  }
154305
154327
  });
154306
154328
  }
@@ -154310,7 +154332,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154310
154332
  }
154311
154333
  return value;
154312
154334
  }
154313
- var import_jsx_runtime8 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154335
+ var import_jsx_runtime9 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154314
154336
  var APP_BRIDGE_METHOD_NAME = "getMiniAppsSupportContact";
154315
154337
  var MIN_VERSION = {
154316
154338
  BOTTOM_SHEET: {
@@ -154321,6 +154343,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154321
154343
  android: "5.230.0",
154322
154344
  ios: "5.230.0"
154323
154345
  },
154346
+ HOME_SHORTCUT_MENU: {
154347
+ android: "5.246.0",
154348
+ ios: "5.246.0"
154349
+ },
154324
154350
  PERMISSIONS_MENU: {
154325
154351
  android: "5.238.0",
154326
154352
  ios: "5.237.0"
@@ -154337,8 +154363,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154337
154363
  var logging = useMoreButtonBottomSheetLogging();
154338
154364
  var overlay = (0, import_private4.useOverlay)();
154339
154365
  var title = ensureValue(globals.brandDisplayName, "displayName");
154340
- var isBottomSheetSupported = (0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
154341
- var isShareListMenuSupported = (0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
154366
+ var isHomeShortcutSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.HOME_SHORTCUT_MENU);
154367
+ var isBottomSheetSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
154368
+ var isShareListMenuSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
154342
154369
  var _ref38 = (0, import_react15.useState)(false),
154343
154370
  _ref39 = _slicedToArray(_ref38, 2),
154344
154371
  isPermissionsMenuSupported = _ref39[0],
@@ -154347,7 +154374,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154347
154374
  if (!isBottomSheetSupported) {
154348
154375
  return;
154349
154376
  }
154350
- import_native_modules11.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
154377
+ import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
154351
154378
  onSuccess: function onSuccess(_ref40) {
154352
154379
  var items = _ref40.items;
154353
154380
  return setItemList(items);
@@ -154356,8 +154383,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154356
154383
  return console.error("\uBA54\uB274 \uBAA9\uB85D\uC744 \uAC00\uC838\uC624\uB294 \uB370 \uC2E4\uD328\uD588\uC5B4\uC694:", error);
154357
154384
  }
154358
154385
  });
154359
- if ((0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.PERMISSIONS_MENU)) {
154360
- import_native_modules11.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getAllPermission", {}, {
154386
+ if ((0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.PERMISSIONS_MENU)) {
154387
+ import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getAllPermission", {}, {
154361
154388
  onSuccess: function onSuccess(permissions) {
154362
154389
  return setIsPermissionsMenuSupported(permissions.length > 0);
154363
154390
  },
@@ -154385,10 +154412,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154385
154412
  logging.close();
154386
154413
  close();
154387
154414
  };
154388
- return (0, import_jsx_runtime8.jsx)(BottomSheetImpressionArea, {
154389
- children: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.BottomSheet.Root, {
154390
- header: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.ListHeader, {
154391
- title: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.ListHeader.TitleParagraph, {
154415
+ return (0, import_jsx_runtime9.jsx)(BottomSheetImpressionArea, {
154416
+ children: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.BottomSheet.Root, {
154417
+ header: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.ListHeader, {
154418
+ title: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.ListHeader.TitleParagraph, {
154392
154419
  color: adaptive.grey800,
154393
154420
  fontWeight: "bold",
154394
154421
  typography: "t5",
@@ -154396,7 +154423,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154396
154423
  })
154397
154424
  }),
154398
154425
  open: isOpen,
154399
- cta: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.BottomSheet.CTA, {
154426
+ cta: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.BottomSheet.CTA, {
154400
154427
  size: "large",
154401
154428
  type: "dark",
154402
154429
  style: "weak",
@@ -154407,17 +154434,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154407
154434
  }),
154408
154435
  onClose: handleClose,
154409
154436
  onExited: exit,
154410
- children: (0, import_jsx_runtime8.jsxs)(import_tds_react_native8.List, {
154437
+ children: (0, import_jsx_runtime9.jsxs)(import_tds_react_native8.List, {
154411
154438
  rowSeparator: "none",
154412
154439
  children: [itemList.map(function (item) {
154413
- return (0, import_jsx_runtime8.jsx)(Menu, {
154440
+ return (0, import_jsx_runtime9.jsx)(Menu, {
154414
154441
  title: item.contactItemName,
154415
154442
  iconURL: item.contactIconUrl,
154416
154443
  onPress: function onPress() {
154417
- return (0, import_react_native20.openURL)(item.contactUri);
154444
+ return (0, import_react_native21.openURL)(item.contactUri);
154418
154445
  }
154419
154446
  }, item.contactItemName);
154420
- }), isShareListMenuSupported && (0, import_jsx_runtime8.jsx)(AppShareListMenu, {}), isPermissionsMenuSupported && (0, import_jsx_runtime8.jsx)(PermissionsMenu, {})]
154447
+ }), isHomeShortcutSupported && (0, import_jsx_runtime9.jsx)(HomeShortcutMenu, {}), isShareListMenuSupported && (0, import_jsx_runtime9.jsx)(AppShareListMenu, {}), isPermissionsMenuSupported && (0, import_jsx_runtime9.jsx)(PermissionsMenu, {})]
154421
154448
  })
154422
154449
  })
154423
154450
  });
@@ -154437,7 +154464,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154437
154464
  (0, import_react15.useEffect)(function () {
154438
154465
  logging.show();
154439
154466
  }, [logging]);
154440
- return (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {
154467
+ return (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {
154441
154468
  children: children
154442
154469
  });
154443
154470
  }
@@ -154451,7 +154478,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154451
154478
  };
154452
154479
  }
154453
154480
  var import_react16 = _$$_REQUIRE(_dependencyMap[12], "react");
154454
- var import_jsx_runtime9 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154481
+ var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154455
154482
  function NavigationBarImpressionArea(_ref44) {
154456
154483
  var children = _ref44.children,
154457
154484
  withHomeButton = _ref44.withHomeButton;
@@ -154465,11 +154492,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154465
154492
  hasLogged.current = true;
154466
154493
  }
154467
154494
  }, [logging, withHomeButton]);
154468
- return (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {
154495
+ return (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, {
154469
154496
  children: children
154470
154497
  });
154471
154498
  }
154472
- var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154499
+ var import_jsx_runtime11 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154473
154500
  function DefaultNavigationBar() {
154474
154501
  var _parsedNavigationBar$, _parsedNavigationBar$2;
154475
154502
  var globals = getAppsInTossGlobals();
@@ -154482,9 +154509,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154482
154509
  navigationRightButton = _useNavigationBarCont.navigationRightButton;
154483
154510
  var navigationEvent = useNavigationEvent();
154484
154511
  useHardwareBackPress(navigationEvent.handleBack);
154485
- return (0, import_jsx_runtime10.jsx)(NavigationBarImpressionArea, {
154512
+ return (0, import_jsx_runtime11.jsx)(NavigationBarImpressionArea, {
154486
154513
  withHomeButton: withHomeButton,
154487
- children: (0, import_jsx_runtime10.jsx)(import_private5.TopNavigation, {
154514
+ children: (0, import_jsx_runtime11.jsx)(import_private5.TopNavigation, {
154488
154515
  title: globals.brandDisplayName,
154489
154516
  icon: toIcon(globals.brandIcon),
154490
154517
  onPressDots: openMoreButtonBottomSheet,
@@ -154494,9 +154521,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154494
154521
  withHome: withHomeButton,
154495
154522
  fixedRightButton: navigationRightButton,
154496
154523
  leftVisible: withBackButton,
154497
- children: (0, import_jsx_runtime10.jsx)(import_private5.NavigationLeft, {
154524
+ children: (0, import_jsx_runtime11.jsx)(import_private5.NavigationLeft, {
154498
154525
  visible: withBackButton,
154499
- children: (0, import_jsx_runtime10.jsx)(import_private5.NavigationBackButton, {
154526
+ children: (0, import_jsx_runtime11.jsx)(import_private5.NavigationBackButton, {
154500
154527
  onPress: navigationEvent.handleBack,
154501
154528
  canGoBack: false
154502
154529
  })
@@ -154507,8 +154534,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154507
154534
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154508
154535
  var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154509
154536
  var import_private6 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154510
- var import_react_native21 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154511
- var import_jsx_runtime11 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154537
+ var import_react_native22 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154538
+ var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154512
154539
  function GameNavigationBar() {
154513
154540
  var safeAreaTop = (0, import_private6.useSafeAreaTop)();
154514
154541
  var _useMoreButtonBottomS2 = useMoreButtonBottomSheet(),
@@ -154519,15 +154546,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154519
154546
  var _ref45 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
154520
154547
  safeAreaRight = _ref45.right;
154521
154548
  useHardwareBackPress(navigationEvent.handleBack);
154522
- return (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, {
154523
- children: [(0, import_jsx_runtime11.jsx)(import_tds_react_native9.PageNavbar, {
154549
+ return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
154550
+ children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native9.PageNavbar, {
154524
154551
  preference: {
154525
154552
  type: "none"
154526
154553
  }
154527
- }), (0, import_jsx_runtime11.jsx)(import_react_native21.View, {
154554
+ }), (0, import_jsx_runtime12.jsx)(import_react_native22.View, {
154528
154555
  style: {
154529
154556
  width: "100%",
154530
- height: import_react_native21.Platform.OS === "ios" ? 44 : 54,
154557
+ height: import_react_native22.Platform.OS === "ios" ? 44 : 54,
154531
154558
  flexDirection: "row",
154532
154559
  alignItems: "center",
154533
154560
  justifyContent: "flex-end",
@@ -154537,7 +154564,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154537
154564
  paddingRight: safeAreaRight + 10
154538
154565
  },
154539
154566
  pointerEvents: "box-none",
154540
- children: (0, import_jsx_runtime11.jsx)(import_private6.NavigationRightContent, {
154567
+ children: (0, import_jsx_runtime12.jsx)(import_private6.NavigationRightContent, {
154541
154568
  fixedRightButton: navigationRightButton,
154542
154569
  onPressDots: openMoreButtonBottomSheet,
154543
154570
  onPressClose: navigationEvent.handleCloseButtonClick,
@@ -154554,18 +154581,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154554
154581
  __reExport(bridge_entry_exports, _$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/native-modules/async-bridges"));
154555
154582
  __reExport(bridge_entry_exports, _$$_REQUIRE(_dependencyMap[18], "@apps-in-toss/native-modules/constant-bridges"));
154556
154583
  __reExport(bridge_entry_exports, _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/native-modules/event-bridges"));
154557
- var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154584
+ var import_jsx_runtime13 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154558
154585
  function RNAppContainer(_ref46) {
154559
154586
  var children = _ref46.children;
154560
154587
  var global2 = getAppsInTossGlobals();
154561
154588
  switch (global2.appType) {
154562
154589
  case "game":
154563
- return (0, import_jsx_runtime12.jsx)(GameAppContainer, {
154590
+ return (0, import_jsx_runtime13.jsx)(GameAppContainer, {
154564
154591
  children: children
154565
154592
  });
154566
154593
  case "general":
154567
154594
  default:
154568
- return (0, import_jsx_runtime12.jsx)(GeneralAppContainer, {
154595
+ return (0, import_jsx_runtime13.jsx)(GeneralAppContainer, {
154569
154596
  children: children
154570
154597
  });
154571
154598
  }
@@ -154573,45 +154600,45 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154573
154600
  function GameAppContainer(_ref47) {
154574
154601
  var children = _ref47.children;
154575
154602
  (0, import_react17.useEffect)(function () {
154576
- if (import_react_native22.Platform.OS === "ios") {
154577
- (0, import_native_modules12.setIosSwipeGestureEnabled)({
154603
+ if (import_react_native23.Platform.OS === "ios") {
154604
+ (0, import_native_modules13.setIosSwipeGestureEnabled)({
154578
154605
  isEnabled: false
154579
154606
  });
154580
154607
  return function () {
154581
- (0, import_native_modules12.setIosSwipeGestureEnabled)({
154608
+ (0, import_native_modules13.setIosSwipeGestureEnabled)({
154582
154609
  isEnabled: true
154583
154610
  });
154584
154611
  };
154585
154612
  }
154586
154613
  return;
154587
154614
  }, []);
154588
- return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
154589
- children: [(0, import_jsx_runtime12.jsx)(RNNavigationBar.Game, {}), (0, bridge_entry_exports.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime12.jsx)(GameInitializer, {
154615
+ return (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, {
154616
+ children: [(0, import_jsx_runtime13.jsx)(RNNavigationBar.Game, {}), (0, bridge_entry_exports.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime13.jsx)(GameInitializer, {
154590
154617
  children: children
154591
154618
  }) : children]
154592
154619
  });
154593
154620
  }
154594
154621
  function GeneralAppContainer(_ref48) {
154595
154622
  var children = _ref48.children;
154596
- return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
154597
- children: [(0, import_jsx_runtime12.jsx)(RNNavigationBar.Default, {}), children]
154623
+ return (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, {
154624
+ children: [(0, import_jsx_runtime13.jsx)(RNNavigationBar.Default, {}), children]
154598
154625
  });
154599
154626
  }
154600
- var import_jsx_runtime13 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154627
+ var import_jsx_runtime14 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154601
154628
  function AppsInTossContainer(Container, _ref49) {
154602
154629
  var children = _ref49.children,
154603
154630
  initialProps = _objectWithoutProperties(_ref49, _excluded);
154604
- if (!(0, import_native_modules13.isMinVersionSupported)({
154631
+ if (!(0, import_native_modules14.isMinVersionSupported)({
154605
154632
  android: "5.220.0",
154606
154633
  ios: "5.221.0"
154607
154634
  })) {
154608
- return (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, {
154609
- children: [(0, import_jsx_runtime13.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime13.jsx)(AppEvent.System, Object.assign({}, initialProps)), (0, import_jsx_runtime13.jsx)(AppUpdate, {})]
154635
+ return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
154636
+ children: [(0, import_jsx_runtime14.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime14.jsx)(AppEvent.System, Object.assign({}, initialProps)), (0, import_jsx_runtime14.jsx)(AppUpdate, {})]
154610
154637
  });
154611
154638
  }
154612
- return (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, {
154613
- 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, {
154614
- children: (0, import_jsx_runtime13.jsx)(import_tds_react_native10.TDSProvider, {
154639
+ return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
154640
+ children: [(0, import_jsx_runtime14.jsx)(AppEvent.StayTime, {}), (0, import_jsx_runtime14.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime14.jsx)(AppEvent.System, Object.assign({}, initialProps)), (0, import_jsx_runtime14.jsx)(Container, Object.assign({}, initialProps, {
154641
+ children: (0, import_jsx_runtime14.jsx)(import_tds_react_native10.TDSProvider, {
154615
154642
  colorPreference: "light",
154616
154643
  token: {
154617
154644
  color: {
@@ -154627,19 +154654,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154627
154654
  var context = _ref50.context,
154628
154655
  analytics = _ref50.analytics;
154629
154656
  var appName = getAppName();
154630
- var isRegistered = import_react_native24.AppRegistry.getAppKeys().includes(appName);
154657
+ var isRegistered = import_react_native25.AppRegistry.getAppKeys().includes(appName);
154631
154658
  if (!isRegistered) {
154632
154659
  var _analytics$debug;
154633
154660
  import_analytics.Analytics.init({
154634
154661
  logger: function logger(params) {
154635
- return void (0, import_native_modules13.eventLog)(params);
154662
+ return void (0, import_native_modules14.eventLog)(params);
154636
154663
  },
154637
154664
  debug: (_analytics$debug = analytics == null ? void 0 : analytics.debug) != null ? _analytics$debug : __DEV__
154638
154665
  });
154639
- var App = import_react_native23.Granite.registerApp(AppsInTossContainer.bind(null, container), {
154666
+ var App = import_react_native24.Granite.registerApp(AppsInTossContainer.bind(null, container), {
154640
154667
  appName: appName,
154641
154668
  context: context,
154642
- setIosSwipeGestureEnabled: import_native_modules13.setIosSwipeGestureEnabled,
154669
+ setIosSwipeGestureEnabled: import_native_modules14.setIosSwipeGestureEnabled,
154643
154670
  router: {
154644
154671
  screenContainer: AppsInTossScreenContainer,
154645
154672
  defaultScreenOption: {
@@ -154654,9 +154681,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154654
154681
  function AppsInTossScreenContainer(_ref51) {
154655
154682
  var children = _ref51.children;
154656
154683
  var isRNApp = getAppsInTossGlobals().webViewType == null;
154657
- return (0, import_jsx_runtime13.jsx)(NavigationBarContextProvider, {
154658
- children: (0, import_jsx_runtime13.jsx)(import_analytics.Analytics.Screen, {
154659
- children: isRNApp ? (0, import_jsx_runtime13.jsx)(RNAppContainer, {
154684
+ return (0, import_jsx_runtime14.jsx)(NavigationBarContextProvider, {
154685
+ children: (0, import_jsx_runtime14.jsx)(import_analytics.Analytics.Screen, {
154686
+ children: isRNApp ? (0, import_jsx_runtime14.jsx)(RNAppContainer, {
154660
154687
  children: children
154661
154688
  }) : children
154662
154689
  })
@@ -154673,28 +154700,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154673
154700
  var _AppsInToss = {
154674
154701
  registerApp: registerApp
154675
154702
  };
154676
- var import_native_modules23 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154703
+ var import_native_modules24 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154677
154704
  var appsInTossAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/native-modules/async-bridges"), 1);
154678
154705
  var appsInTossConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[18], "@apps-in-toss/native-modules/constant-bridges"), 1);
154679
154706
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/native-modules/event-bridges"), 1);
154680
154707
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154681
- var import_react_native38 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154708
+ var import_react_native39 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154682
154709
  var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154683
154710
  var import_private9 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154684
154711
  var import_react28 = _$$_REQUIRE(_dependencyMap[12], "react");
154685
- var import_react_native39 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154686
- var import_native_modules14 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154712
+ var import_react_native40 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154713
+ var import_native_modules15 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154687
154714
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-webview");
154688
154715
  var import_react19 = _$$_REQUIRE(_dependencyMap[12], "react");
154689
- var import_react_native27 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154716
+ var import_react_native28 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154690
154717
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154691
- var import_react_native25 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154718
+ var import_react_native26 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154692
154719
  var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154693
154720
  var import_private7 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154694
154721
  var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
154695
154722
  var import_react18 = _$$_REQUIRE(_dependencyMap[12], "react");
154696
- var import_react_native26 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154697
- var import_jsx_runtime14 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154723
+ var import_react_native27 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154724
+ var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154698
154725
  function GameWebviewNavigationBar() {
154699
154726
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
154700
154727
  var _ref52 = (0, import_tds_react_native11.useDialog)(),
@@ -154721,18 +154748,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154721
154748
  logging.closePopupCtaClick(isConfirmed);
154722
154749
  if (isConfirmed) {
154723
154750
  captureExitLog(Date.now());
154724
- (0, import_react_native25.closeView)();
154751
+ (0, import_react_native26.closeView)();
154725
154752
  }
154726
154753
  }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
154727
- return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
154728
- children: [(0, import_jsx_runtime14.jsx)(import_tds_react_native11.PageNavbar, {
154754
+ return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
154755
+ children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native11.PageNavbar, {
154729
154756
  preference: {
154730
154757
  type: "none"
154731
154758
  }
154732
- }), (0, import_jsx_runtime14.jsx)(import_react_native26.View, {
154759
+ }), (0, import_jsx_runtime15.jsx)(import_react_native27.View, {
154733
154760
  style: {
154734
154761
  width: "100%",
154735
- height: import_react_native26.Platform.OS === "ios" ? 44 : 54,
154762
+ height: import_react_native27.Platform.OS === "ios" ? 44 : 54,
154736
154763
  flexDirection: "row",
154737
154764
  alignItems: "center",
154738
154765
  justifyContent: "flex-end",
@@ -154742,7 +154769,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154742
154769
  paddingRight: safeAreaRight + 10
154743
154770
  },
154744
154771
  pointerEvents: "box-none",
154745
- children: (0, import_jsx_runtime14.jsx)(import_private7.NavigationRightContent, {
154772
+ children: (0, import_jsx_runtime15.jsx)(import_private7.NavigationRightContent, {
154746
154773
  fixedRightButton: navigationRightButton,
154747
154774
  onPressDots: openMoreButtonBottomSheet,
154748
154775
  onPressClose: function onPressClose() {
@@ -154753,39 +154780,39 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154753
154780
  })]
154754
154781
  });
154755
154782
  }
154756
- var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154783
+ var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154757
154784
  var GameWebView = (0, import_react19.forwardRef)(function GameWebView2(props, ref) {
154758
154785
  (0, import_react19.useEffect)(function () {
154759
- if (import_react_native27.Platform.OS === "ios") {
154760
- (0, import_native_modules14.setIosSwipeGestureEnabled)({
154786
+ if (import_react_native28.Platform.OS === "ios") {
154787
+ (0, import_native_modules15.setIosSwipeGestureEnabled)({
154761
154788
  isEnabled: false
154762
154789
  });
154763
154790
  return function () {
154764
- (0, import_native_modules14.setIosSwipeGestureEnabled)({
154791
+ (0, import_native_modules15.setIosSwipeGestureEnabled)({
154765
154792
  isEnabled: true
154766
154793
  });
154767
154794
  };
154768
154795
  }
154769
154796
  return;
154770
154797
  }, []);
154771
- return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
154772
- children: [(0, import_jsx_runtime15.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules14.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime15.jsx)(GameInitializer, {
154773
- children: (0, import_jsx_runtime15.jsx)(import_react_native_webview.WebView, Object.assign({
154798
+ return (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, {
154799
+ children: [(0, import_jsx_runtime16.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules15.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime16.jsx)(GameInitializer, {
154800
+ children: (0, import_jsx_runtime16.jsx)(import_react_native_webview.WebView, Object.assign({
154774
154801
  ref: ref
154775
154802
  }, props))
154776
- }) : (0, import_jsx_runtime15.jsx)(import_react_native_webview.WebView, Object.assign({
154803
+ }) : (0, import_jsx_runtime16.jsx)(import_react_native_webview.WebView, Object.assign({
154777
154804
  ref: ref
154778
154805
  }, props))]
154779
154806
  });
154780
154807
  });
154781
154808
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-webview");
154782
154809
  var import_react21 = _$$_REQUIRE(_dependencyMap[12], "react");
154783
- var import_react_native28 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154810
+ var import_react_native29 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154784
154811
  var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154785
154812
  var import_private8 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154786
154813
  var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
154787
154814
  var import_react20 = _$$_REQUIRE(_dependencyMap[12], "react");
154788
- var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154815
+ var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154789
154816
  function PartnerWebviewNavigationBar(_ref55) {
154790
154817
  var _parsedNavigationBar$3, _parsedNavigationBar$4;
154791
154818
  var onBackButtonClick = _ref55.onBackButtonClick,
@@ -154815,12 +154842,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154815
154842
  logging.closePopupCtaClick(isConfirmed);
154816
154843
  if (isConfirmed) {
154817
154844
  captureExitLog(Date.now());
154818
- (0, import_react_native28.closeView)();
154845
+ (0, import_react_native29.closeView)();
154819
154846
  }
154820
154847
  }), [captureExitLog, globals.brandDisplayName, logging, openConfirm]);
154821
- return (0, import_jsx_runtime16.jsx)(NavigationBarImpressionArea, {
154848
+ return (0, import_jsx_runtime17.jsx)(NavigationBarImpressionArea, {
154822
154849
  withHomeButton: withHomeButton,
154823
- children: (0, import_jsx_runtime16.jsx)(import_private8.TopNavigation, {
154850
+ children: (0, import_jsx_runtime17.jsx)(import_private8.TopNavigation, {
154824
154851
  title: globals.brandDisplayName,
154825
154852
  icon: toIcon(globals.brandIcon),
154826
154853
  onPressDots: openMoreButtonBottomSheet,
@@ -154830,9 +154857,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154830
154857
  withHome: withHomeButton,
154831
154858
  fixedRightButton: navigationRightButton,
154832
154859
  leftVisible: withBackButton,
154833
- children: (0, import_jsx_runtime16.jsx)(import_private8.NavigationLeft, {
154860
+ children: (0, import_jsx_runtime17.jsx)(import_private8.NavigationLeft, {
154834
154861
  visible: withBackButton,
154835
- children: (0, import_jsx_runtime16.jsx)(import_private8.NavigationBackButton, {
154862
+ children: (0, import_jsx_runtime17.jsx)(import_private8.NavigationBackButton, {
154836
154863
  onPress: onBackButtonClick,
154837
154864
  canGoBack: false
154838
154865
  })
@@ -154840,16 +154867,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154840
154867
  })
154841
154868
  });
154842
154869
  }
154843
- var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154870
+ var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154844
154871
  var PartnerWebView = (0, import_react21.forwardRef)(function PartnerWebViewScreen(_ref58, ref) {
154845
154872
  var onBackButtonClick = _ref58.onBackButtonClick,
154846
154873
  onHomeButtonClick = _ref58.onHomeButtonClick,
154847
154874
  webViewProps = _objectWithoutProperties(_ref58, _excluded2);
154848
- return (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, {
154849
- children: [(0, import_jsx_runtime17.jsx)(PartnerWebviewNavigationBar, {
154875
+ return (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, {
154876
+ children: [(0, import_jsx_runtime18.jsx)(PartnerWebviewNavigationBar, {
154850
154877
  onBackButtonClick: onBackButtonClick,
154851
154878
  onHomeButtonClick: onHomeButtonClick
154852
- }), (0, import_jsx_runtime17.jsx)(import_react_native_webview2.WebView, Object.assign({
154879
+ }), (0, import_jsx_runtime18.jsx)(import_react_native_webview2.WebView, Object.assign({
154853
154880
  ref: ref
154854
154881
  }, webViewProps, {
154855
154882
  style: {
@@ -154876,7 +154903,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154876
154903
  }
154877
154904
  return `${scheme}://${url.hostname}${url.pathname}${url.search}`;
154878
154905
  }
154879
- var import_native_modules15 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154906
+ var import_native_modules16 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154880
154907
  function noop() {}
154881
154908
  function generateSessionId() {
154882
154909
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
@@ -154889,7 +154916,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154889
154916
  var ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
154890
154917
  var IOS_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
154891
154918
  var UNSUPPORTED_ERROR_MESSAGE = "This feature is not supported in the current environment";
154892
- var ENVIRONMENT = (0, import_native_modules15.getOperationalEnvironment)();
154919
+ var ENVIRONMENT = (0, import_native_modules16.getOperationalEnvironment)();
154893
154920
  function fetchTossAd(params) {
154894
154921
  if (!fetchTossAd.isSupported()) {
154895
154922
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
@@ -154899,7 +154926,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154899
154926
  _onError3 = params.onError,
154900
154927
  options = params.options;
154901
154928
  var adGroupId = options.adGroupId;
154902
- var unregisterCallbacks = import_native_modules15.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("fetchTossAd", {
154929
+ var unregisterCallbacks = import_native_modules16.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("fetchTossAd", {
154903
154930
  spaceUnitId: adGroupId,
154904
154931
  sessionId: sessionId,
154905
154932
  sdkId: options.sdkId,
@@ -154918,37 +154945,37 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154918
154945
  if (ENVIRONMENT !== "toss") {
154919
154946
  return false;
154920
154947
  }
154921
- return (0, import_native_modules15.isMinVersionSupported)({
154948
+ return (0, import_native_modules16.isMinVersionSupported)({
154922
154949
  android: ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION,
154923
154950
  ios: IOS_FETCH_TOSS_AD_SUPPORTED_VERSION
154924
154951
  });
154925
154952
  };
154926
- var import_native_modules17 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154953
+ var import_native_modules18 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154927
154954
  function generateRequestId() {
154928
154955
  var timestamp = Date.now().toString(36).toUpperCase();
154929
154956
  var random = Math.random().toString(36).substring(2, 7).toUpperCase();
154930
154957
  return `ait-${timestamp}${random}`;
154931
154958
  }
154932
- var import_react_native29 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154959
+ var import_react_native30 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154933
154960
  function getReferrer() {
154934
154961
  try {
154935
- return new URL((0, import_react_native29.getSchemeUri)()).searchParams.get("referrer");
154962
+ return new URL((0, import_react_native30.getSchemeUri)()).searchParams.get("referrer");
154936
154963
  } catch (_unused4) {
154937
154964
  return null;
154938
154965
  }
154939
154966
  }
154940
- var import_native_modules16 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154941
- var import_react_native30 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154967
+ var import_native_modules17 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154968
+ var import_react_native31 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154942
154969
  function getIsDev() {
154943
154970
  try {
154944
- return new URL((0, import_react_native30.getSchemeUri)()).searchParams.get("isDev") === "true";
154971
+ return new URL((0, import_react_native31.getSchemeUri)()).searchParams.get("isDev") === "true";
154945
154972
  } catch (_unused5) {
154946
154973
  return false;
154947
154974
  }
154948
154975
  }
154949
- var OPERATIONAL_ENVIRONMENT = (0, import_native_modules16.getOperationalEnvironment)();
154950
- var OS = (0, import_native_modules16.getPlatformOS)();
154951
- var APP_VER = (0, import_native_modules16.getTossAppVersion)();
154976
+ var OPERATIONAL_ENVIRONMENT = (0, import_native_modules17.getOperationalEnvironment)();
154977
+ var OS = (0, import_native_modules17.getPlatformOS)();
154978
+ var APP_VER = (0, import_native_modules17.getTossAppVersion)();
154952
154979
  var ALPHA_EVENT_TRACKER_HTTP_ENDPOINT = "https://alpha-trillion.toss.im/trk/sdk-mediation/event";
154953
154980
  var LIVE_EVENT_TRACKER_HTTP_ENDPOINT = "https://trillion.toss.im/trk/sdk-mediation/event";
154954
154981
  function getPostEventTrackingUrl() {
@@ -154980,19 +155007,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154980
155007
  var UNSUPPORTED_ERROR_MESSAGE2 = "This feature is not supported in the current environment";
154981
155008
  var INTG_AD_ADM_FALLBACK_RID_MAP = {};
154982
155009
  function integratedAdIsSupported() {
154983
- return (0, import_native_modules17.isMinVersionSupported)({
155010
+ return (0, import_native_modules18.isMinVersionSupported)({
154984
155011
  android: ANDROID_INTEGRATED_AD_SUPPORTED_VERSION,
154985
155012
  ios: IOS_INTEGRATED_AD_SUPPORTED_VERSION
154986
155013
  });
154987
155014
  }
154988
155015
  function generateLoadFullScreenAd(sdkId) {
154989
155016
  var fn = function fn(params) {
154990
- if (!import_native_modules17.GoogleAdMob.loadAppsInTossAdMob.isSupported()) {
155017
+ if (!import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported()) {
154991
155018
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
154992
155019
  return noop;
154993
155020
  }
154994
155021
  if (!integratedAdIsSupported()) {
154995
- return import_native_modules17.GoogleAdMob.loadAppsInTossAdMob(Object.assign({}, params, {
155022
+ return import_native_modules18.GoogleAdMob.loadAppsInTossAdMob(Object.assign({}, params, {
154996
155023
  onEvent: function onEvent(event) {
154997
155024
  if (event.type === "loaded") {
154998
155025
  var _event$data$responseI, _event$data$responseI2;
@@ -155033,7 +155060,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155033
155060
  options = params.options;
155034
155061
  var adGroupId = options.adGroupId;
155035
155062
  var referrer = getReferrer();
155036
- var unregisterCallbacks = import_native_modules17.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadTossAdOrAdmob", {
155063
+ var unregisterCallbacks = import_native_modules18.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadTossAdOrAdmob", {
155037
155064
  spaceUnitId: adGroupId,
155038
155065
  referrer: referrer,
155039
155066
  sessionId: sessionId,
@@ -155050,18 +155077,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155050
155077
  });
155051
155078
  return unregisterCallbacks;
155052
155079
  };
155053
- fn.isSupported = import_native_modules17.GoogleAdMob.loadAppsInTossAdMob.isSupported;
155080
+ fn.isSupported = import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported;
155054
155081
  return fn;
155055
155082
  }
155056
155083
  var _loadFullScreenAd = generateLoadFullScreenAd("107");
155057
155084
  var loadFullScreenAdForWeb = generateLoadFullScreenAd("107");
155058
155085
  function _showFullScreenAd(params) {
155059
- if (!import_native_modules17.GoogleAdMob.showAppsInTossAdMob.isSupported()) {
155086
+ if (!import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported()) {
155060
155087
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
155061
155088
  return noop;
155062
155089
  }
155063
155090
  if (!integratedAdIsSupported()) {
155064
- return import_native_modules17.GoogleAdMob.showAppsInTossAdMob(Object.assign({}, params, {
155091
+ return import_native_modules18.GoogleAdMob.showAppsInTossAdMob(Object.assign({}, params, {
155065
155092
  onEvent: function onEvent(event) {
155066
155093
  var _INTG_AD_ADM_FALLBACK2;
155067
155094
  var requestId = (_INTG_AD_ADM_FALLBACK2 = INTG_AD_ADM_FALLBACK_RID_MAP[params.options.adGroupId]) != null ? _INTG_AD_ADM_FALLBACK2 : "";
@@ -155163,7 +155190,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155163
155190
  options = params.options;
155164
155191
  var adGroupId = options.adGroupId;
155165
155192
  var referrer = getReferrer();
155166
- var unregisterCallbacks = import_native_modules17.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showTossAdOrAdmob", {
155193
+ var unregisterCallbacks = import_native_modules18.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showTossAdOrAdmob", {
155167
155194
  spaceUnitId: adGroupId,
155168
155195
  referrer: referrer,
155169
155196
  sessionId: sessionId
@@ -155210,23 +155237,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155210
155237
  });
155211
155238
  return unregisterCallbacks;
155212
155239
  }
155213
- _showFullScreenAd.isSupported = import_native_modules17.GoogleAdMob.showAppsInTossAdMob.isSupported;
155214
- var import_native_modules18 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155215
- var import_react_native31 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155240
+ _showFullScreenAd.isSupported = import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported;
155241
+ var import_native_modules19 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155242
+ var import_react_native32 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155216
155243
  function tossAdEventLog(_x4) {
155217
155244
  return _tossAdEventLog.apply(this, arguments);
155218
155245
  }
155219
155246
  function _tossAdEventLog() {
155220
155247
  _tossAdEventLog = _asyncToGenerator(function* (params) {
155221
155248
  var referrer = getReferrer();
155222
- var appName = import_react_native31.Granite.appName;
155249
+ var appName = import_react_native32.Granite.appName;
155223
155250
  var eventLogParams = Object.assign({}, params, {
155224
155251
  params: Object.assign({}, params.params, {
155225
155252
  referrer: referrer,
155226
155253
  app_name: appName
155227
155254
  })
155228
155255
  });
155229
- return import_native_modules18.INTERNAL__module.tossCoreEventLog(eventLogParams);
155256
+ return import_native_modules19.INTERNAL__module.tossCoreEventLog(eventLogParams);
155230
155257
  });
155231
155258
  return _tossAdEventLog.apply(this, arguments);
155232
155259
  }
@@ -155436,7 +155463,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155436
155463
  }, [emitter, insets]);
155437
155464
  return emitter;
155438
155465
  }
155439
- var import_react_native32 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155466
+ var import_react_native33 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155440
155467
  var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
155441
155468
  var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
155442
155469
  var import_react25 = _$$_REQUIRE(_dependencyMap[12], "react");
@@ -155522,7 +155549,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155522
155549
  var _useWebViewHistory = useWebViewHistory(),
155523
155550
  hasHistory = _useWebViewHistory.hasHistory,
155524
155551
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
155525
- var _ref73 = (0, import_react_native32.useBackEventState)(),
155552
+ var _ref73 = (0, import_react_native33.useBackEventState)(),
155526
155553
  webBackHandlersRef = _ref73.handlersRef,
155527
155554
  hasWebBackEvent = _ref73.hasBackEvent,
155528
155555
  addWebBackEventListener = _ref73.addEventListener,
@@ -155558,7 +155585,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155558
155585
  logging.closePopupCtaClick(isConfirmed);
155559
155586
  if (isConfirmed) {
155560
155587
  captureExitLog(Date.now());
155561
- (0, import_react_native32.closeView)();
155588
+ (0, import_react_native33.closeView)();
155562
155589
  }
155563
155590
  }
155564
155591
  }), [captureExitLog, global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
@@ -155602,8 +155629,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155602
155629
  });
155603
155630
  };
155604
155631
  }
155605
- var import_native_modules19 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155606
- var import_react_native33 = _$$_REQUIRE(_dependencyMap[11], "react-native");
155632
+ var import_native_modules20 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155633
+ var import_react_native34 = _$$_REQUIRE(_dependencyMap[11], "react-native");
155607
155634
  var FontA11yCategory = {
155608
155635
  Large: "Large",
155609
155636
  xLarge: "xLarge",
@@ -155739,23 +155766,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155739
155766
  pureSafeArea = _ref76.pureSafeArea,
155740
155767
  safeArea = _ref76.safeArea,
155741
155768
  safeAreaBottomTransparency = _ref76.safeAreaBottomTransparency;
155742
- var platform = (0, import_native_modules19.getPlatformOS)();
155743
- var appVersion = (0, import_native_modules19.getTossAppVersion)();
155744
- var _ref77 = (0, import_react_native33.useWindowDimensions)(),
155769
+ var platform = (0, import_native_modules20.getPlatformOS)();
155770
+ var appVersion = (0, import_native_modules20.getTossAppVersion)();
155771
+ var _ref77 = (0, import_react_native34.useWindowDimensions)(),
155745
155772
  fontScale = _ref77.fontScale;
155746
155773
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
155747
155774
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
155748
155775
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
155749
155776
  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(" ");
155750
155777
  }
155751
- var import_native_modules20 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155752
- var import_react_native34 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155778
+ var import_native_modules21 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155779
+ var import_react_native35 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155753
155780
  var import_react26 = _$$_REQUIRE(_dependencyMap[12], "react");
155754
155781
  function _useGeolocation(_ref78) {
155755
155782
  var accuracy = _ref78.accuracy,
155756
155783
  distanceInterval = _ref78.distanceInterval,
155757
155784
  timeInterval = _ref78.timeInterval;
155758
- var isVisible = (0, import_react_native34.useVisibility)();
155785
+ var isVisible = (0, import_react_native35.useVisibility)();
155759
155786
  var _ref79 = (0, import_react26.useState)(null),
155760
155787
  _ref80 = _slicedToArray(_ref79, 2),
155761
155788
  location = _ref80[0],
@@ -155764,7 +155791,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155764
155791
  if (!isVisible) {
155765
155792
  return;
155766
155793
  }
155767
- return (0, import_native_modules20.startUpdateLocation)({
155794
+ return (0, import_native_modules21.startUpdateLocation)({
155768
155795
  options: {
155769
155796
  accuracy: accuracy,
155770
155797
  distanceInterval: distanceInterval,
@@ -155776,11 +155803,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155776
155803
  }, [accuracy, distanceInterval, timeInterval, isVisible]);
155777
155804
  return location;
155778
155805
  }
155779
- var import_react_native35 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155806
+ var import_react_native36 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155780
155807
  var import_react27 = _$$_REQUIRE(_dependencyMap[12], "react");
155781
155808
  function _useWaitForReturnNavigator() {
155782
155809
  var callbacks = (0, import_react27.useRef)([]).current;
155783
- var navigation = (0, import_react_native35.useNavigation)();
155810
+ var navigation = (0, import_react_native36.useNavigation)();
155784
155811
  var startNavigating = (0, import_react27.useCallback)(function (route, params) {
155785
155812
  return new Promise(function (resolve) {
155786
155813
  callbacks.push(resolve);
@@ -155795,7 +155822,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155795
155822
  callbacks.splice(0, callbacks.length);
155796
155823
  }
155797
155824
  }, [callbacks]);
155798
- (0, import_react_native35.useVisibilityChange)(handleVisibilityChange);
155825
+ (0, import_react_native36.useVisibilityChange)(handleVisibilityChange);
155799
155826
  return startNavigating;
155800
155827
  }
155801
155828
  function _useTopNavigation() {
@@ -155807,8 +155834,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155807
155834
  removeAccessoryButton: removeNavigationRightButton
155808
155835
  };
155809
155836
  }
155810
- var import_native_modules21 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155811
- var import_react_native36 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155837
+ var import_native_modules22 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155838
+ var import_react_native37 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155812
155839
  var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
155813
155840
  function useHandleWebViewProcessDidTerminate(webViewRef) {
155814
155841
  var toast = (0, import_tds_react_native14.useToast)();
@@ -155837,18 +155864,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155837
155864
  log_name: logName,
155838
155865
  log_type: "debug",
155839
155866
  params: Object.assign({}, params, {
155840
- app_name: import_react_native36.Granite.appName,
155867
+ app_name: import_react_native37.Granite.appName,
155841
155868
  deployment_id: global2.deploymentId
155842
155869
  })
155843
155870
  };
155844
- if ((0, import_native_modules21.getOperationalEnvironment)() === "toss") {
155845
- import_native_modules21.INTERNAL__module.tossCoreEventLog(event);
155871
+ if ((0, import_native_modules22.getOperationalEnvironment)() === "toss") {
155872
+ import_native_modules22.INTERNAL__module.tossCoreEventLog(event);
155846
155873
  } else {
155847
155874
  console.log("[webViewDebugLog]", event);
155848
155875
  }
155849
155876
  }
155850
- var import_native_modules22 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155851
- var import_react_native37 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155877
+ var import_native_modules23 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155878
+ var import_react_native38 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155852
155879
  var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
155853
155880
  var timestampHex = uuid.split("-").join("").slice(0, 12);
155854
155881
  var timestamp = Number.parseInt(timestampHex, 16);
@@ -155870,7 +155897,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155870
155897
  };
155871
155898
  var getReferrer2 = function getReferrer2() {
155872
155899
  try {
155873
- var referrer = new URL((0, import_react_native37.getSchemeUri)());
155900
+ var referrer = new URL((0, import_react_native38.getSchemeUri)());
155874
155901
  return referrer.searchParams.get("referrer");
155875
155902
  } catch (_unused7) {
155876
155903
  return "";
@@ -155890,9 +155917,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155890
155917
  deployment_timestamp: extractDateFromUUIDv7(_env.getDeploymentId()).getTime()
155891
155918
  }
155892
155919
  };
155893
- return (0, import_native_modules22.eventLog)(log);
155920
+ return (0, import_native_modules23.eventLog)(log);
155894
155921
  };
155895
- var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
155922
+ var import_jsx_runtime19 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
155896
155923
  var operationalEnvironment = appsInTossConstantBridges.getOperationalEnvironment();
155897
155924
  var TYPES = ["partner", "external", "game"];
155898
155925
  var WEBVIEW_TYPES = {
@@ -155902,7 +155929,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155902
155929
  };
155903
155930
  function mergeSchemeQueryParamsInto(url) {
155904
155931
  var baseUrl = new URL(url);
155905
- var schemeUrl = new URL((0, import_react_native38.getSchemeUri)());
155932
+ var schemeUrl = new URL((0, import_react_native39.getSchemeUri)());
155906
155933
  baseUrl.pathname = schemeUrl.pathname;
155907
155934
  for (var _ref81 of schemeUrl.searchParams.entries()) {
155908
155935
  var _ref82 = _slicedToArray(_ref81, 2);
@@ -155917,7 +155944,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155917
155944
  var devUrl = `http://${local.host}:${local.port}`;
155918
155945
  return mergeSchemeQueryParamsInto(devUrl);
155919
155946
  }
155920
- var _import_native_module = import_native_modules23.AppsInTossModule.getWebBundleURL({}),
155947
+ var _import_native_module = import_native_modules24.AppsInTossModule.getWebBundleURL({}),
155921
155948
  rawUrl = _import_native_module.url;
155922
155949
  var url = mergeSchemeQueryParamsInto(rawUrl);
155923
155950
  var deploymentId = _env.getDeploymentId();
@@ -155971,7 +155998,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155971
155998
  var onEvent = _ref88.onEvent,
155972
155999
  onError = _ref88.onError,
155973
156000
  options = _ref88.options;
155974
- return import_native_modules23.appsInTossEvent.addEventListener("updateLocationEvent", {
156001
+ return import_native_modules24.appsInTossEvent.addEventListener("updateLocationEvent", {
155975
156002
  onEvent: onEvent,
155976
156003
  onError: onError,
155977
156004
  options: options
@@ -155988,19 +156015,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155988
156015
  var onEvent = _ref90.onEvent,
155989
156016
  onError = _ref90.onError,
155990
156017
  options = _ref90.options;
155991
- return import_native_modules23.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
156018
+ return import_native_modules24.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
155992
156019
  onEvent: onEvent,
155993
156020
  onError: onError,
155994
156021
  options: options
155995
156022
  });
155996
156023
  },
155997
- loadAppsInTossAdMob: import_native_modules23.GoogleAdMob.loadAppsInTossAdMob,
155998
- showAppsInTossAdMob: import_native_modules23.GoogleAdMob.showAppsInTossAdMob,
156024
+ loadAppsInTossAdMob: import_native_modules24.GoogleAdMob.loadAppsInTossAdMob,
156025
+ showAppsInTossAdMob: import_native_modules24.GoogleAdMob.showAppsInTossAdMob,
155999
156026
  loadFullScreenAd: loadFullScreenAdForWeb,
156000
156027
  showFullScreenAd: _showFullScreenAd,
156001
156028
  fetchTossAd: fetchTossAd,
156002
- iapCreateOneTimePurchaseOrder: import_native_modules23.IAP.createOneTimePurchaseOrder,
156003
- requestOneTimePurchase: import_native_modules23.requestOneTimePurchase
156029
+ iapCreateOneTimePurchaseOrder: import_native_modules24.IAP.createOneTimePurchaseOrder,
156030
+ requestOneTimePurchase: import_native_modules24.requestOneTimePurchase
156004
156031
  }),
156005
156032
  constantHandlerMap: Object.assign({}, appsInTossConstantBridges, {
156006
156033
  getSafeAreaInsets: function getSafeAreaInsets() {
@@ -156019,17 +156046,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156019
156046
  return value;
156020
156047
  }];
156021
156048
  })), {
156022
- getServerTime_isSupported: import_native_modules23.getServerTime.isSupported,
156023
- loadAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.loadAppsInTossAdMob.isSupported,
156024
- showAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.showAppsInTossAdMob.isSupported,
156025
- isAppsInTossAdMobLoaded_isSupported: import_native_modules23.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
156049
+ getServerTime_isSupported: import_native_modules24.getServerTime.isSupported,
156050
+ loadAppsInTossAdMob_isSupported: import_native_modules24.GoogleAdMob.loadAppsInTossAdMob.isSupported,
156051
+ showAppsInTossAdMob_isSupported: import_native_modules24.GoogleAdMob.showAppsInTossAdMob.isSupported,
156052
+ isAppsInTossAdMobLoaded_isSupported: import_native_modules24.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
156026
156053
  loadFullScreenAd_isSupported: loadFullScreenAdForWeb.isSupported,
156027
156054
  showFullScreenAd_isSupported: _showFullScreenAd.isSupported,
156028
156055
  fetchTossAd_isSupported: fetchTossAd.isSupported,
156029
156056
  getDeploymentId: _env.getDeploymentId
156030
156057
  }),
156031
156058
  asyncHandlerMap: Object.assign({}, appsInTossAsyncBridges, {
156032
- getServerTime: import_native_modules23.getServerTime,
156059
+ getServerTime: import_native_modules24.getServerTime,
156033
156060
  setIosSwipeGestureEnabled: function setIosSwipeGestureEnabled(options) {
156034
156061
  setAllowsBackForwardNavigationGestures(options.isEnabled);
156035
156062
  return appsInTossAsyncBridges.setIosSwipeGestureEnabled(options);
@@ -156061,17 +156088,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156061
156088
  fetchContacts: appsInTossAsyncBridges.fetchContacts,
156062
156089
  getCurrentLocation: appsInTossAsyncBridges.getCurrentLocation,
156063
156090
  openCamera: appsInTossAsyncBridges.openCamera,
156064
- getStorageItem: import_native_modules23.Storage.getItem,
156065
- setStorageItem: import_native_modules23.Storage.setItem,
156066
- removeStorageItem: import_native_modules23.Storage.removeItem,
156067
- clearItems: import_native_modules23.Storage.clearItems,
156068
- iapGetProductItemList: import_native_modules23.IAP.getProductItemList,
156069
- iapCreateOneTimePurchaseOrder: import_native_modules23.iapCreateOneTimePurchaseOrder,
156070
- processProductGrant: import_native_modules23.processProductGrant,
156071
- getPendingOrders: import_native_modules23.IAP.getPendingOrders,
156072
- getCompletedOrRefundedOrders: import_native_modules23.IAP.getCompletedOrRefundedOrders,
156073
- completeProductGrant: import_native_modules23.IAP.completeProductGrant,
156074
- isAppsInTossAdMobLoaded: import_native_modules23.GoogleAdMob.isAppsInTossAdMobLoaded,
156091
+ getStorageItem: import_native_modules24.Storage.getItem,
156092
+ setStorageItem: import_native_modules24.Storage.setItem,
156093
+ removeStorageItem: import_native_modules24.Storage.removeItem,
156094
+ clearItems: import_native_modules24.Storage.clearItems,
156095
+ iapGetProductItemList: import_native_modules24.IAP.getProductItemList,
156096
+ iapCreateOneTimePurchaseOrder: import_native_modules24.iapCreateOneTimePurchaseOrder,
156097
+ processProductGrant: import_native_modules24.processProductGrant,
156098
+ getPendingOrders: import_native_modules24.IAP.getPendingOrders,
156099
+ getCompletedOrRefundedOrders: import_native_modules24.IAP.getCompletedOrRefundedOrders,
156100
+ completeProductGrant: import_native_modules24.IAP.completeProductGrant,
156101
+ isAppsInTossAdMobLoaded: import_native_modules24.GoogleAdMob.isAppsInTossAdMobLoaded,
156075
156102
  tossAdEventLog: tossAdEventLog,
156076
156103
  memoryDebugLog: webViewMemoryDebugLog
156077
156104
  })
@@ -156103,14 +156130,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156103
156130
  webBackHandler.handleWebBack();
156104
156131
  return true;
156105
156132
  };
156106
- import_react_native39.BackHandler.addEventListener("hardwareBackPress", callback);
156133
+ import_react_native40.BackHandler.addEventListener("hardwareBackPress", callback);
156107
156134
  return function () {
156108
- return import_react_native39.BackHandler.removeEventListener("hardwareBackPress", callback);
156135
+ return import_react_native40.BackHandler.removeEventListener("hardwareBackPress", callback);
156109
156136
  };
156110
156137
  }, [webBackHandler]);
156111
156138
  var globalScripts = useGlobalScripts();
156112
156139
  var handleWebViewProcessDidTerminate = useHandleWebViewProcessDidTerminate(webViewRef);
156113
- return (0, import_jsx_runtime18.jsx)(BaseWebView, Object.assign({
156140
+ return (0, import_jsx_runtime19.jsx)(BaseWebView, Object.assign({
156114
156141
  ref: refs
156115
156142
  }, props, headerPropForExternalWebView, {
156116
156143
  source: {
@@ -156128,14 +156155,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156128
156155
  props.onNavigationStateChange == null ? void 0 : props.onNavigationStateChange(event);
156129
156156
  webBackHandler.onNavigationStateChange(event);
156130
156157
  },
156131
- userAgent: import_react_native39.Platform.OS === "ios" ? userAgent : void 0,
156158
+ userAgent: import_react_native40.Platform.OS === "ios" ? userAgent : void 0,
156132
156159
  sharedCookiesEnabled: true,
156133
156160
  webviewDebuggingEnabled: webViewDebuggingEnabled,
156134
156161
  thirdPartyCookiesEnabled: true,
156135
156162
  onMessage: handler.onMessage,
156136
156163
  injectedJavaScript: globalScripts.afterLoad,
156137
156164
  injectedJavaScriptBeforeContentLoaded: mergeScripts(handler.injectedJavaScript, globalScripts.beforeLoad),
156138
- decelerationRate: import_react_native39.Platform.OS === "ios" ? 1 : void 0,
156165
+ decelerationRate: import_react_native40.Platform.OS === "ios" ? 1 : void 0,
156139
156166
  allowsBackForwardNavigationGestures: allowsBackForwardNavigationGestures,
156140
156167
  onShouldStartLoadWithRequest: function onShouldStartLoadWithRequest(event) {
156141
156168
  try {
@@ -156144,7 +156171,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156144
156171
  return true;
156145
156172
  } else {
156146
156173
  var _convertIntentURL;
156147
- import_react_native39.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) != null ? _convertIntentURL : url2.href);
156174
+ import_react_native40.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) != null ? _convertIntentURL : url2.href);
156148
156175
  return false;
156149
156176
  }
156150
156177
  } catch (error) {