@apps-in-toss/web-framework 2.6.0 → 2.6.1

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.
@@ -136750,7 +136750,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136750
136750
  var import_analytics = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
136751
136751
  var import_native_modules10 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136752
136752
  var import_react_native21 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136753
- var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
136753
+ var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
136754
136754
  var import_react_native22 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136755
136755
  var import_react_native2 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136756
136756
  var import_react = _$$_REQUIRE(_dependencyMap[9], "react");
@@ -136864,7 +136864,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136864
136864
  return context;
136865
136865
  }
136866
136866
  var import_native_modules9 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136867
- var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
136867
+ var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
136868
136868
  var import_react_native20 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136869
136869
  var import_native_modules4 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136870
136870
  var import_react_native9 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
@@ -137355,32 +137355,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137355
137355
  }, [handler]);
137356
137356
  }
137357
137357
  var import_react_native13 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137358
- var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
137359
- var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137360
- var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
137361
137358
  var import_react12 = _$$_REQUIRE(_dependencyMap[9], "react");
137362
- function useCloseConfirm() {
137363
- var _getAppsInTossGlobals = getAppsInTossGlobals(),
137364
- brandDisplayName = _getAppsInTossGlobals.brandDisplayName;
137365
- var _ref19 = (0, import_tds_react_native5.useDialog)(),
137366
- openConfirm = _ref19.openConfirm;
137367
- return (0, import_react12.useCallback)(function () {
137368
- var _ref20 = _asyncToGenerator(function* ({
137369
- onEntered
137370
- }) {
137371
- return yield openConfirm({
137372
- title: `${(0, import_es_hangul2.josa)(brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
137373
- leftButton: "\uB2EB\uAE30",
137374
- rightButton: "\uC885\uB8CC\uD558\uAE30",
137375
- closeOnDimmerClick: true,
137376
- onEntered
137377
- });
137378
- });
137379
- return function (_x3) {
137380
- return _ref20.apply(this, arguments);
137381
- };
137382
- }(), [brandDisplayName, openConfirm]);
137383
- }
137384
137359
  var EventEmitter = function () {
137385
137360
  function EventEmitter() {
137386
137361
  _classCallCheck(this, EventEmitter);
@@ -137432,12 +137407,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137432
137407
  var import_react_native12 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137433
137408
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
137434
137409
  var NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
137435
- var CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
137436
- var CLOSE_POPUP_SHOW_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app";
137437
137410
  var CLOSE_BUTTON_CLICK_SCHEMA_ID = 1596831;
137438
137411
  var CLOSE_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_close";
137439
- var CLOSE_POPUP_CTA_CLICK_SCHEMA_ID = 1644492;
137440
- var CLOSE_POPUP_CTA_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app::click__cta";
137441
137412
  var HOME_BUTTON_CLICK_SCHEMA_ID = 1596839;
137442
137413
  var HOME_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_home";
137443
137414
  function useNavigationBarLogging() {
@@ -137480,32 +137451,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137480
137451
  }
137481
137452
  });
137482
137453
  };
137483
- var logClosePopupShow = () => {
137484
- sendLog({
137485
- log_name: CLOSE_POPUP_SHOW_LOG_NAME,
137486
- log_type: "popup",
137487
- params: {
137488
- ...baseParams,
137489
- schema_id: CLOSE_POPUP_SHOW_SCHEMA_ID
137490
- }
137491
- });
137492
- };
137493
- var logClosePopupCtaClick = confirm => {
137494
- sendLog({
137495
- log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
137496
- log_type: "event",
137497
- params: {
137498
- ...baseParams,
137499
- close_yn: confirm ? "Y" : "N",
137500
- schema_id: CLOSE_POPUP_CTA_CLICK_SCHEMA_ID,
137501
- event_type: "click"
137502
- }
137503
- });
137504
- };
137505
137454
  return {
137506
137455
  navBarImpression: logNavBarImpression,
137507
- closePopupShow: logClosePopupShow,
137508
- closePopupCtaClick: logClosePopupCtaClick,
137509
137456
  closeButtonClick: logCloseButtonClick,
137510
137457
  homeButtonClick: logHomeButtonClick
137511
137458
  };
@@ -137514,56 +137461,39 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137514
137461
  var backEventContext = (0, import_react_native13.useBackEventContext)();
137515
137462
  var logging = useNavigationBarLogging();
137516
137463
  var navigation = (0, import_react_native13.useNavigation)();
137517
- var closeConfirm = useCloseConfirm();
137518
- return (0, import_react13.useMemo)(() => {
137519
- var close = function () {
137520
- var _ref21 = _asyncToGenerator(function* () {
137521
- var hasConfirmed = yield closeConfirm({
137522
- onEntered: logging.closePopupShow
137523
- });
137524
- logging.closePopupCtaClick(hasConfirmed);
137525
- if (hasConfirmed) {
137526
- (0, import_react_native13.closeView)();
137527
- }
137528
- });
137529
- return function close() {
137530
- return _ref21.apply(this, arguments);
137531
- };
137532
- }();
137533
- return {
137534
- handleBack: () => {
137535
- if (backEventContext.hasBackEvent) {
137536
- backEventContext.onBack();
137537
- } else if (navigation.canGoBack()) {
137538
- navigation.goBack();
137539
- } else {
137540
- close();
137541
- }
137542
- },
137543
- handleHomeButtonClick: () => {
137544
- logging.homeButtonClick();
137545
- if (homeEvent.hasSubscriptions()) {
137546
- homeEvent.emit({});
137547
- } else {
137548
- navigation.navigate("/");
137549
- }
137550
- },
137551
- handleCloseButtonClick: () => {
137552
- logging.closeButtonClick();
137553
- close();
137464
+ return (0, import_react12.useMemo)(() => ({
137465
+ handleBack: () => {
137466
+ if (backEventContext.hasBackEvent) {
137467
+ backEventContext.onBack();
137468
+ } else if (navigation.canGoBack()) {
137469
+ navigation.goBack();
137470
+ } else {
137471
+ (0, import_react_native13.closeView)();
137554
137472
  }
137555
- };
137556
- }, [backEventContext, navigation, closeConfirm, logging]);
137473
+ },
137474
+ handleHomeButtonClick: () => {
137475
+ logging.homeButtonClick();
137476
+ if (homeEvent.hasSubscriptions()) {
137477
+ homeEvent.emit({});
137478
+ } else {
137479
+ navigation.navigate("/");
137480
+ }
137481
+ },
137482
+ handleCloseButtonClick: () => {
137483
+ logging.closeButtonClick();
137484
+ (0, import_react_native13.closeView)();
137485
+ }
137486
+ }), [backEventContext, navigation, logging]);
137557
137487
  }
137558
137488
  var import_native_modules8 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137559
137489
  var import_react_native18 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137560
- var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137490
+ var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137561
137491
  var import_private4 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137562
- var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
137492
+ var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
137563
137493
  var import_native_modules5 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137564
137494
  var import_react_native16 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137565
- var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137566
137495
  var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137496
+ var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137567
137497
  var import_private3 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137568
137498
  var import_react_native15 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137569
137499
  var import_react_native14 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
@@ -137646,7 +137576,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137646
137576
  var logging = useMoreButtonBottomSheetLogging();
137647
137577
  var brandPrimaryColorRGB = hexToRGB(globals.brandPrimaryColor);
137648
137578
  var iconBackgroundColor = brandPrimaryColorRGB ? `rgba(${brandPrimaryColorRGB.join(",")},0.1)` : adaptive.grey100;
137649
- return (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow, {
137579
+ return (0, import_jsx_runtime5.jsx)(import_tds_react_native5.ListRow, {
137650
137580
  left: (0, import_jsx_runtime5.jsx)(import_react_native15.View, {
137651
137581
  style: {
137652
137582
  width: 30,
@@ -137658,14 +137588,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137658
137588
  marginRight: 16,
137659
137589
  backgroundColor: iconBackgroundColor
137660
137590
  },
137661
- children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Icon, {
137591
+ children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native5.Asset.Icon, {
137662
137592
  frameShape: {
137663
137593
  width: 20,
137664
137594
  height: 20
137665
137595
  },
137666
137596
  color: globals.brandPrimaryColor,
137667
137597
  name: iconName
137668
- }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Image, {
137598
+ }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native5.Asset.Image, {
137669
137599
  frameShape: {
137670
137600
  width: 20,
137671
137601
  height: 20
@@ -137675,7 +137605,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137675
137605
  }
137676
137606
  })
137677
137607
  }),
137678
- contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow.Texts, {
137608
+ contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native5.ListRow.Texts, {
137679
137609
  type: "1RowTypeA",
137680
137610
  top: title,
137681
137611
  topProps: {
@@ -137711,10 +137641,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137711
137641
  }
137712
137642
  function addParamsToUrl(url, params) {
137713
137643
  var urlObj = new URL(url);
137714
- for (var _ref22 of Object.entries(params)) {
137715
- var _ref23 = _slicedToArray(_ref22, 2);
137716
- var key = _ref23[0];
137717
- var value = _ref23[1];
137644
+ for (var _ref19 of Object.entries(params)) {
137645
+ var _ref20 = _slicedToArray(_ref19, 2);
137646
+ var key = _ref20[0];
137647
+ var value = _ref20[1];
137718
137648
  urlObj.searchParams.set(key, value);
137719
137649
  }
137720
137650
  return urlObj.toString();
@@ -137728,8 +137658,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137728
137658
  function AppShareListMenu() {
137729
137659
  var initialScheme = (0, import_react_native16.getSchemeUri)();
137730
137660
  var isSandbox = (0, import_native_modules5.getOperationalEnvironment)() === "sandbox";
137731
- var _ref24 = (0, import_tds_react_native7.useDialog)(),
137732
- openConfirm = _ref24.openConfirm;
137661
+ var _ref21 = (0, import_tds_react_native6.useDialog)(),
137662
+ openConfirm = _ref21.openConfirm;
137733
137663
  var schemeForShare = addParamsToUrl(initialScheme, {
137734
137664
  referrer: SHARE_SCHEME_REFERRER
137735
137665
  });
@@ -137819,10 +137749,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137819
137749
  function useMoreButtonBottomSheet() {
137820
137750
  var globals = getAppsInTossGlobals();
137821
137751
  var adaptive = (0, import_private4.useAdaptive)();
137822
- var _ref25 = (0, import_react14.useState)([]),
137823
- _ref26 = _slicedToArray(_ref25, 2),
137824
- itemList = _ref26[0],
137825
- setItemList = _ref26[1];
137752
+ var _ref22 = (0, import_react13.useState)([]),
137753
+ _ref23 = _slicedToArray(_ref22, 2),
137754
+ itemList = _ref23[0],
137755
+ setItemList = _ref23[1];
137826
137756
  var appUpdateDialog = useAppUpdateDialog();
137827
137757
  var logging = useMoreButtonBottomSheetLogging();
137828
137758
  var overlay = (0, import_private4.useOverlay)();
@@ -137831,7 +137761,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137831
137761
  var isBottomSheetSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
137832
137762
  var isShareListMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
137833
137763
  var isSettingsMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SETTINGS_MENU);
137834
- (0, import_react14.useEffect)(() => {
137764
+ (0, import_react13.useEffect)(() => {
137835
137765
  if (!isBottomSheetSupported) {
137836
137766
  return;
137837
137767
  }
@@ -137843,7 +137773,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137843
137773
  });
137844
137774
  }, [isBottomSheetSupported]);
137845
137775
  var onClickHandler = function () {
137846
- var _ref27 = _asyncToGenerator(function* () {
137776
+ var _ref24 = _asyncToGenerator(function* () {
137847
137777
  logging.open();
137848
137778
  if (!isBottomSheetSupported) {
137849
137779
  yield appUpdateDialog.open({
@@ -137862,9 +137792,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137862
137792
  close();
137863
137793
  };
137864
137794
  return (0, import_jsx_runtime9.jsx)(BottomSheetImpressionArea, {
137865
- children: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.BottomSheet.Root, {
137866
- header: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.ListHeader, {
137867
- title: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.ListHeader.TitleParagraph, {
137795
+ children: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.BottomSheet.Root, {
137796
+ header: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.ListHeader, {
137797
+ title: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.ListHeader.TitleParagraph, {
137868
137798
  color: adaptive.grey800,
137869
137799
  fontWeight: "bold",
137870
137800
  typography: "t5",
@@ -137872,7 +137802,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137872
137802
  })
137873
137803
  }),
137874
137804
  open: isOpen,
137875
- cta: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.BottomSheet.CTA, {
137805
+ cta: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.BottomSheet.CTA, {
137876
137806
  size: "large",
137877
137807
  type: "dark",
137878
137808
  style: "weak",
@@ -137883,7 +137813,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137883
137813
  }),
137884
137814
  onClose: handleClose,
137885
137815
  onExited: exit,
137886
- children: (0, import_jsx_runtime9.jsxs)(import_tds_react_native8.List, {
137816
+ children: (0, import_jsx_runtime9.jsxs)(import_tds_react_native7.List, {
137887
137817
  rowSeparator: "none",
137888
137818
  children: [itemList.map(item => (0, import_jsx_runtime9.jsx)(Menu, {
137889
137819
  title: item.contactItemName,
@@ -137896,7 +137826,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137896
137826
  });
137897
137827
  });
137898
137828
  return function onClickHandler() {
137899
- return _ref27.apply(this, arguments);
137829
+ return _ref24.apply(this, arguments);
137900
137830
  };
137901
137831
  }();
137902
137832
  return {
@@ -137907,7 +137837,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137907
137837
  children
137908
137838
  }) {
137909
137839
  var logging = useMoreButtonBottomSheetLogging();
137910
- (0, import_react14.useEffect)(() => {
137840
+ (0, import_react13.useEffect)(() => {
137911
137841
  logging.show();
137912
137842
  }, [logging]);
137913
137843
  return (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {
@@ -137923,15 +137853,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137923
137853
  name: source
137924
137854
  };
137925
137855
  }
137926
- var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
137856
+ var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
137927
137857
  var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137928
137858
  function NavigationBarImpressionArea({
137929
137859
  children,
137930
137860
  withHomeButton
137931
137861
  }) {
137932
- var hasLogged = (0, import_react15.useRef)(false);
137862
+ var hasLogged = (0, import_react14.useRef)(false);
137933
137863
  var logging = useNavigationBarLogging();
137934
- (0, import_react15.useEffect)(() => {
137864
+ (0, import_react14.useEffect)(() => {
137935
137865
  if (hasLogged.current === false) {
137936
137866
  logging.navBarImpression({
137937
137867
  home_icon_yn: withHomeButton ? "Y" : "N"
@@ -137978,7 +137908,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137978
137908
  });
137979
137909
  }
137980
137910
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
137981
- var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137911
+ var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137982
137912
  var import_private6 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137983
137913
  var import_react_native19 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137984
137914
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
@@ -137989,11 +137919,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137989
137919
  var navigationEvent = useNavigationEvent();
137990
137920
  var _useNavigationBarCont2 = useNavigationBarContext(),
137991
137921
  navigationRightButton = _useNavigationBarCont2.navigationRightButton;
137992
- var _ref28 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
137993
- safeAreaRight = _ref28.right;
137922
+ var _ref25 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
137923
+ safeAreaRight = _ref25.right;
137994
137924
  useHardwareBackPress(navigationEvent.handleBack);
137995
137925
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
137996
- children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native9.PageNavbar, {
137926
+ children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native8.PageNavbar, {
137997
137927
  preference: {
137998
137928
  type: "none"
137999
137929
  }
@@ -138047,7 +137977,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138047
137977
  function GameAppContainer({
138048
137978
  children
138049
137979
  }) {
138050
- (0, import_react16.useEffect)(() => {
137980
+ (0, import_react15.useEffect)(() => {
138051
137981
  if (import_react_native20.Platform.OS === "ios") {
138052
137982
  (0, import_native_modules9.setIosSwipeGestureEnabled)({
138053
137983
  isEnabled: false
@@ -138093,7 +138023,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138093
138023
  ...initialProps
138094
138024
  }), (0, import_jsx_runtime14.jsx)(Container, {
138095
138025
  ...initialProps,
138096
- children: (0, import_jsx_runtime14.jsx)(import_tds_react_native10.TDSProvider, {
138026
+ children: (0, import_jsx_runtime14.jsx)(import_tds_react_native9.TDSProvider, {
138097
138027
  colorPreference: "light",
138098
138028
  token: {
138099
138029
  color: {
@@ -138174,50 +138104,38 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138174
138104
  var import_user_scripts = _$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/user-scripts");
138175
138105
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138176
138106
  var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138177
- var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138107
+ var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138178
138108
  var import_private9 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138179
- var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
138109
+ var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
138180
138110
  var import_react_native37 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138181
138111
  var import_native_modules11 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138182
138112
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138183
- var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138113
+ var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
138184
138114
  var import_react_native25 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138185
138115
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138186
138116
  var import_react_native23 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138187
- var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138117
+ var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138188
138118
  var import_private7 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138189
- var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138190
- var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
138119
+ var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
138191
138120
  var import_react_native24 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138192
138121
  var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138193
138122
  function GameWebviewNavigationBar() {
138194
138123
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
138195
- var _ref29 = (0, import_tds_react_native11.useDialog)(),
138196
- openConfirm = _ref29.openConfirm;
138197
- var global2 = getAppsInTossGlobals();
138124
+ var _ref26 = (0, import_tds_react_native10.useDialog)(),
138125
+ openConfirm = _ref26.openConfirm;
138198
138126
  var logging = useNavigationBarLogging();
138199
138127
  var _useMoreButtonBottomS3 = useMoreButtonBottomSheet(),
138200
138128
  openMoreButtonBottomSheet = _useMoreButtonBottomS3.open;
138201
138129
  var _useNavigationBarCont3 = useNavigationBarContext(),
138202
138130
  navigationRightButton = _useNavigationBarCont3.navigationRightButton;
138203
- var _ref30 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138204
- safeAreaRight = _ref30.right;
138205
- var handleGameWebviewClose = (0, import_react17.useCallback)(_asyncToGenerator(function* () {
138131
+ var _ref27 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138132
+ safeAreaRight = _ref27.right;
138133
+ var handleGameWebviewClose = (0, import_react16.useCallback)(_asyncToGenerator(function* () {
138206
138134
  logging.closeButtonClick();
138207
- var isConfirmed = yield openConfirm({
138208
- title: `${(0, import_es_hangul3.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
138209
- leftButton: "\uB2EB\uAE30",
138210
- rightButton: "\uC885\uB8CC\uD558\uAE30",
138211
- closeOnDimmerClick: true,
138212
- onEntered: logging.closePopupShow
138213
- });
138214
- logging.closePopupCtaClick(isConfirmed);
138215
- if (isConfirmed) {
138216
- (0, import_react_native23.closeView)();
138217
- }
138218
- }), [global2.brandDisplayName, logging, openConfirm]);
138135
+ (0, import_react_native23.closeView)();
138136
+ }), [logging, openConfirm]);
138219
138137
  return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
138220
- children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native11.PageNavbar, {
138138
+ children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native10.PageNavbar, {
138221
138139
  preference: {
138222
138140
  type: "none"
138223
138141
  }
@@ -138246,8 +138164,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138246
138164
  });
138247
138165
  }
138248
138166
  var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138249
- var GameWebView = (0, import_react18.forwardRef)(function GameWebView2(props, ref) {
138250
- (0, import_react18.useEffect)(() => {
138167
+ var GameWebView = (0, import_react17.forwardRef)(function GameWebView2(props, ref) {
138168
+ (0, import_react17.useEffect)(() => {
138251
138169
  if (import_react_native25.Platform.OS === "ios") {
138252
138170
  (0, import_native_modules11.setIosSwipeGestureEnabled)({
138253
138171
  isEnabled: false
@@ -138273,12 +138191,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138273
138191
  });
138274
138192
  });
138275
138193
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138276
- var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
138194
+ var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138277
138195
  var import_react_native26 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138278
- var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138279
138196
  var import_private8 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138280
- var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138281
- var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138197
+ var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138282
138198
  var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138283
138199
  function PartnerWebviewNavigationBar({
138284
138200
  onBackButtonClick,
@@ -138286,8 +138202,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138286
138202
  }) {
138287
138203
  var globals = getAppsInTossGlobals();
138288
138204
  var logging = useNavigationBarLogging();
138289
- var _ref32 = (0, import_tds_react_native12.useDialog)(),
138290
- openConfirm = _ref32.openConfirm;
138291
138205
  var _useMoreButtonBottomS4 = useMoreButtonBottomSheet(),
138292
138206
  openMoreButtonBottomSheet = _useMoreButtonBottomS4.open;
138293
138207
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
@@ -138295,20 +138209,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138295
138209
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
138296
138210
  var _useNavigationBarCont4 = useNavigationBarContext(),
138297
138211
  navigationRightButton = _useNavigationBarCont4.navigationRightButton;
138298
- var handleClose = (0, import_react19.useCallback)(_asyncToGenerator(function* () {
138212
+ var handleClose = (0, import_react18.useCallback)(_asyncToGenerator(function* () {
138299
138213
  logging.closeButtonClick();
138300
- var isConfirmed = yield openConfirm({
138301
- title: `${(0, import_es_hangul4.josa)(globals.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
138302
- leftButton: "\uB2EB\uAE30",
138303
- rightButton: "\uC885\uB8CC\uD558\uAE30",
138304
- closeOnDimmerClick: true,
138305
- onEntered: logging.closePopupShow
138306
- });
138307
- logging.closePopupCtaClick(isConfirmed);
138308
- if (isConfirmed) {
138309
- (0, import_react_native26.closeView)();
138310
- }
138311
- }), [globals.brandDisplayName, logging, openConfirm]);
138214
+ (0, import_react_native26.closeView)();
138215
+ }), [logging]);
138312
138216
  return (0, import_jsx_runtime17.jsx)(NavigationBarImpressionArea, {
138313
138217
  withHomeButton,
138314
138218
  children: (0, import_jsx_runtime17.jsx)(import_private8.TopNavigation, {
@@ -138332,7 +138236,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138332
138236
  });
138333
138237
  }
138334
138238
  var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138335
- var PartnerWebView = (0, import_react20.forwardRef)(function PartnerWebViewScreen({
138239
+ var PartnerWebView = (0, import_react19.forwardRef)(function PartnerWebViewScreen({
138336
138240
  onBackButtonClick,
138337
138241
  onHomeButtonClick,
138338
138242
  ...webViewProps
@@ -138731,7 +138635,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138731
138635
  }
138732
138636
  showFullScreenAd.isSupported = import_native_modules14.GoogleAdMob.showAppsInTossAdMob.isSupported;
138733
138637
  var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138734
- function tossAdEventLog(_x4) {
138638
+ function tossAdEventLog(_x3) {
138735
138639
  return _tossAdEventLog.apply(this, arguments);
138736
138640
  }
138737
138641
  function _tossAdEventLog() {
@@ -138752,7 +138656,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138752
138656
  });
138753
138657
  return _tossAdEventLog.apply(this, arguments);
138754
138658
  }
138755
- var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
138659
+ var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
138756
138660
  function serializeError(error) {
138757
138661
  return JSON.stringify(error, (_, value) => {
138758
138662
  if (value instanceof Error) {
@@ -138783,12 +138687,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138783
138687
  return;
138784
138688
  }
138785
138689
  var wrappedFunc = function () {
138786
- var _ref34 = _asyncToGenerator(function* (...args2) {
138690
+ var _ref30 = _asyncToGenerator(function* (...args2) {
138787
138691
  var result = yield func(...args2);
138788
138692
  return result;
138789
138693
  });
138790
138694
  return function wrappedFunc() {
138791
- return _ref34.apply(this, arguments);
138695
+ return _ref30.apply(this, arguments);
138792
138696
  };
138793
138697
  }();
138794
138698
  wrappedFunc(...args).then(result => {
@@ -138809,12 +138713,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138809
138713
  asyncHandlerMap,
138810
138714
  eventListenerMap
138811
138715
  }) {
138812
- var ref = (0, import_react21.useRef)(null);
138813
- var injectedJavaScript = (0, import_react21.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
138716
+ var ref = (0, import_react20.useRef)(null);
138717
+ var injectedJavaScript = (0, import_react20.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
138814
138718
  acc[key] = typeof value === "function" ? value() : value;
138815
138719
  return acc;
138816
138720
  }, {}))};`, [constantHandlerMap]);
138817
- (0, import_react21.useEffect)(() => {
138721
+ (0, import_react20.useEffect)(() => {
138818
138722
  ref.current?.injectJavaScript(injectedJavaScript);
138819
138723
  }, [injectedJavaScript]);
138820
138724
  var createHandleOnEvent = (functionName, eventId) => response => {
@@ -138828,8 +138732,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138828
138732
  window.__GRANITE_NATIVE_EMITTER.emit('${functionName}/onError/${eventId}', ${serializedError});
138829
138733
  `);
138830
138734
  };
138831
- var $onMessage = (0, import_react21.useCallback)(function () {
138832
- var _ref35 = _asyncToGenerator(function* (e) {
138735
+ var $onMessage = (0, import_react20.useCallback)(function () {
138736
+ var _ref31 = _asyncToGenerator(function* (e) {
138833
138737
  onMessage?.(e);
138834
138738
  var data = parseNativeEventData(e.nativeEvent.data);
138835
138739
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -138871,8 +138775,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138871
138775
  }
138872
138776
  }
138873
138777
  });
138874
- return function (_x5) {
138875
- return _ref35.apply(this, arguments);
138778
+ return function (_x4) {
138779
+ return _ref31.apply(this, arguments);
138876
138780
  };
138877
138781
  }(), [onMessage]);
138878
138782
  return {
@@ -138890,22 +138794,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138890
138794
  }
138891
138795
  }
138892
138796
  var import_react_native_safe_area_context3 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138893
- var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
138797
+ var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
138894
138798
  function useSafeAreaInsetsEvent() {
138895
138799
  var insets = (0, import_react_native_safe_area_context3.useSafeAreaInsets)();
138896
- (0, import_react22.useEffect)(() => {
138800
+ (0, import_react21.useEffect)(() => {
138897
138801
  safeAreaInsetsChange.emit(insets);
138898
138802
  }, [insets]);
138899
- (0, import_react22.useEffect)(() => {
138803
+ (0, import_react21.useEffect)(() => {
138900
138804
  return () => safeAreaInsetsChange.clearSubscriptions();
138901
138805
  }, []);
138902
138806
  return safeAreaInsetsChange;
138903
138807
  }
138904
138808
  var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138905
- var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138906
- var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138907
- var import_react24 = _$$_REQUIRE(_dependencyMap[9], "react");
138908
138809
  var import_react23 = _$$_REQUIRE(_dependencyMap[9], "react");
138810
+ var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
138909
138811
  var INITIAL_STATE = {
138910
138812
  stack: [],
138911
138813
  index: -1
@@ -138954,11 +138856,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138954
138856
  }
138955
138857
  }
138956
138858
  function useWebViewHistory() {
138957
- var _ref36 = (0, import_react23.useReducer)(reducer, INITIAL_STATE),
138958
- _ref37 = _slicedToArray(_ref36, 2),
138959
- state = _ref37[0],
138960
- dispatch = _ref37[1];
138961
- var onNavigationStateChange = (0, import_react23.useCallback)(({
138859
+ var _ref32 = (0, import_react22.useReducer)(reducer, INITIAL_STATE),
138860
+ _ref33 = _slicedToArray(_ref32, 2),
138861
+ state = _ref33[0],
138862
+ dispatch = _ref33[1];
138863
+ var onNavigationStateChange = (0, import_react22.useCallback)(({
138962
138864
  url,
138963
138865
  canGoForward: canGoForward2
138964
138866
  }) => {
@@ -138968,7 +138870,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138968
138870
  canGoForward: canGoForward2
138969
138871
  });
138970
138872
  }, []);
138971
- var _ref38 = (0, import_react23.useMemo)(() => {
138873
+ var _ref34 = (0, import_react22.useMemo)(() => {
138972
138874
  var canBack = state.index > 0;
138973
138875
  var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
138974
138876
  return {
@@ -138976,8 +138878,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138976
138878
  canGoForward: canFwd
138977
138879
  };
138978
138880
  }, [state.index, state.stack.length]),
138979
- canGoBack = _ref38.canGoBack,
138980
- canGoForward = _ref38.canGoForward;
138881
+ canGoBack = _ref34.canGoBack,
138882
+ canGoForward = _ref34.canGoForward;
138981
138883
  return {
138982
138884
  onNavigationStateChange,
138983
138885
  hasHistory: canGoBack,
@@ -138988,22 +138890,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138988
138890
  var _useWebViewHistory = useWebViewHistory(),
138989
138891
  hasHistory = _useWebViewHistory.hasHistory,
138990
138892
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
138991
- var _ref39 = (0, import_react_native30.useBackEventState)(),
138992
- webBackHandlersRef = _ref39.handlersRef,
138993
- hasWebBackEvent = _ref39.hasBackEvent,
138994
- addWebBackEventListener = _ref39.addEventListener,
138995
- removeWebBackEventListener = _ref39.removeEventListener;
138893
+ var _ref35 = (0, import_react_native30.useBackEventState)(),
138894
+ webBackHandlersRef = _ref35.handlersRef,
138895
+ hasWebBackEvent = _ref35.hasBackEvent,
138896
+ addWebBackEventListener = _ref35.addEventListener,
138897
+ removeWebBackEventListener = _ref35.removeEventListener;
138996
138898
  var logging = useNavigationBarLogging();
138997
- var _ref40 = (0, import_tds_react_native13.useDialog)(),
138998
- openConfirm = _ref40.openConfirm;
138999
- var global2 = getAppsInTossGlobals();
139000
- var addEventListener = (0, import_react24.useCallback)(handler => {
138899
+ var addEventListener = (0, import_react23.useCallback)(handler => {
139001
138900
  addWebBackEventListener(handler);
139002
138901
  }, [addWebBackEventListener]);
139003
- var removeEventListener = (0, import_react24.useCallback)(handler => {
138902
+ var removeEventListener = (0, import_react23.useCallback)(handler => {
139004
138903
  removeWebBackEventListener(handler);
139005
138904
  }, [removeWebBackEventListener]);
139006
- var handleWebBack = (0, import_react24.useCallback)(_asyncToGenerator(function* () {
138905
+ var handleWebBack = (0, import_react23.useCallback)(_asyncToGenerator(function* () {
139007
138906
  if (hasWebBackEvent) {
139008
138907
  for (var handler of webBackHandlersRef) {
139009
138908
  handler();
@@ -139013,20 +138912,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139013
138912
  if (hasHistory) {
139014
138913
  webViewRef.current?.injectJavaScript("window.history.back();");
139015
138914
  } else {
139016
- var isConfirmed = yield openConfirm({
139017
- title: `${(0, import_es_hangul5.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
139018
- leftButton: "\uB2EB\uAE30",
139019
- rightButton: "\uC885\uB8CC\uD558\uAE30",
139020
- closeOnDimmerClick: true,
139021
- onEntered: logging.closePopupShow
139022
- });
139023
- logging.closePopupCtaClick(isConfirmed);
139024
- if (isConfirmed) {
139025
- (0, import_react_native30.closeView)();
139026
- }
138915
+ (0, import_react_native30.closeView)();
139027
138916
  }
139028
- }), [global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
139029
- var handleWebHome = (0, import_react24.useCallback)(() => {
138917
+ }), [hasHistory, hasWebBackEvent, webBackHandlersRef, logging, webViewRef]);
138918
+ var handleWebHome = (0, import_react23.useCallback)(() => {
139030
138919
  logging.homeButtonClick();
139031
138920
  if (homeEvent.hasSubscriptions()) {
139032
138921
  homeEvent.emit({});
@@ -139039,7 +138928,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139039
138928
  })();
139040
138929
  `);
139041
138930
  }, [hasWebBackEvent, webBackHandlersRef, logging, webViewInitialURL, webViewRef]);
139042
- return (0, import_react24.useMemo)(() => ({
138931
+ return (0, import_react23.useMemo)(() => ({
139043
138932
  addEventListener,
139044
138933
  removeEventListener,
139045
138934
  handleWebBack,
@@ -139194,8 +139083,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139194
139083
  }) {
139195
139084
  var platform = (0, import_native_modules15.getPlatformOS)();
139196
139085
  var appVersion = (0, import_native_modules15.getTossAppVersion)();
139197
- var _ref42 = (0, import_react_native31.useWindowDimensions)(),
139198
- fontScale = _ref42.fontScale;
139086
+ var _ref37 = (0, import_react_native31.useWindowDimensions)(),
139087
+ fontScale = _ref37.fontScale;
139199
139088
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
139200
139089
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
139201
139090
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
@@ -139203,18 +139092,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139203
139092
  }
139204
139093
  var import_native_modules16 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139205
139094
  var import_react_native32 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139206
- var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139095
+ var import_react24 = _$$_REQUIRE(_dependencyMap[9], "react");
139207
139096
  function useGeolocation({
139208
139097
  accuracy,
139209
139098
  distanceInterval,
139210
139099
  timeInterval
139211
139100
  }) {
139212
139101
  var isVisible = (0, import_react_native32.useVisibility)();
139213
- var _ref43 = (0, import_react25.useState)(null),
139214
- _ref44 = _slicedToArray(_ref43, 2),
139215
- location = _ref44[0],
139216
- setLocation = _ref44[1];
139217
- (0, import_react25.useEffect)(() => {
139102
+ var _ref38 = (0, import_react24.useState)(null),
139103
+ _ref39 = _slicedToArray(_ref38, 2),
139104
+ location = _ref39[0],
139105
+ setLocation = _ref39[1];
139106
+ (0, import_react24.useEffect)(() => {
139218
139107
  if (!isVisible) {
139219
139108
  return;
139220
139109
  }
@@ -139231,17 +139120,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139231
139120
  return location;
139232
139121
  }
139233
139122
  var import_react_native33 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139234
- var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
139123
+ var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139235
139124
  function useWaitForReturnNavigator() {
139236
- var callbacks = (0, import_react26.useRef)([]).current;
139125
+ var callbacks = (0, import_react25.useRef)([]).current;
139237
139126
  var navigation = (0, import_react_native33.useNavigation)();
139238
- var startNavigating = (0, import_react26.useCallback)((route, params) => {
139127
+ var startNavigating = (0, import_react25.useCallback)((route, params) => {
139239
139128
  return new Promise(resolve => {
139240
139129
  callbacks.push(resolve);
139241
139130
  navigation.navigate(route, params);
139242
139131
  });
139243
139132
  }, [callbacks, navigation]);
139244
- var handleVisibilityChange = (0, import_react26.useCallback)(state => {
139133
+ var handleVisibilityChange = (0, import_react25.useCallback)(state => {
139245
139134
  if (state === "visible" && callbacks.length > 0) {
139246
139135
  for (var callback of callbacks) {
139247
139136
  callback();
@@ -139263,9 +139152,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139263
139152
  }
139264
139153
  var import_native_modules17 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139265
139154
  var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139266
- var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139155
+ var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139267
139156
  function useHandleWebViewProcessDidTerminate(webViewRef) {
139268
- var toast = (0, import_tds_react_native14.useToast)();
139157
+ var toast = (0, import_tds_react_native11.useToast)();
139269
139158
  return () => {
139270
139159
  webViewDebugLog("AppsInTossWebViewProcessDidTerminate", {});
139271
139160
  toast.open("\uBB38\uC81C\uAC00 \uC0DD\uACA8\uC11C \uBBF8\uB2C8\uC571\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD588\uC5B4\uC694.", {
@@ -139275,7 +139164,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139275
139164
  webViewRef.current?.reload();
139276
139165
  };
139277
139166
  }
139278
- function webViewMemoryDebugLog(_x6) {
139167
+ function webViewMemoryDebugLog(_x5) {
139279
139168
  return _webViewMemoryDebugLog.apply(this, arguments);
139280
139169
  }
139281
139170
  function _webViewMemoryDebugLog() {
@@ -139369,23 +139258,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139369
139258
  var TYPES = ["partner", "external", "game"];
139370
139259
  var WEBVIEW_TYPES = {
139371
139260
  partner: PartnerWebView,
139372
- external: import_tds_react_native15.ExternalWebViewScreen,
139261
+ external: import_tds_react_native12.ExternalWebViewScreen,
139373
139262
  game: GameWebView
139374
139263
  };
139375
139264
  function mergeSchemeQueryParamsInto(url) {
139376
139265
  var baseUrl = new URL(url);
139377
139266
  var schemeUrl = new URL((0, import_react_native36.getSchemeUri)());
139378
139267
  var resultUrl = new URL(schemeUrl.pathname, baseUrl.origin);
139379
- for (var _ref45 of baseUrl.searchParams.entries()) {
139380
- var _ref46 = _slicedToArray(_ref45, 2);
139381
- var key = _ref46[0];
139382
- var value = _ref46[1];
139268
+ for (var _ref40 of baseUrl.searchParams.entries()) {
139269
+ var _ref41 = _slicedToArray(_ref40, 2);
139270
+ var key = _ref41[0];
139271
+ var value = _ref41[1];
139383
139272
  resultUrl.searchParams.set(key, value);
139384
139273
  }
139385
- for (var _ref47 of schemeUrl.searchParams.entries()) {
139386
- var _ref48 = _slicedToArray(_ref47, 2);
139387
- var _key = _ref48[0];
139388
- var _value = _ref48[1];
139274
+ for (var _ref42 of schemeUrl.searchParams.entries()) {
139275
+ var _ref43 = _slicedToArray(_ref42, 2);
139276
+ var _key = _ref43[0];
139277
+ var _value = _ref43[1];
139389
139278
  resultUrl.searchParams.set(_key, _value);
139390
139279
  }
139391
139280
  return resultUrl;
@@ -139395,8 +139284,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139395
139284
  var devUrl = `http://${local.host}:${local.port}`;
139396
139285
  return mergeSchemeQueryParamsInto(devUrl);
139397
139286
  }
139398
- var _ref49 = (0, import_native_modules18.safeSyncPostMessage)("getWebBundleURL", {}),
139399
- rawUrl = _ref49.url;
139287
+ var _ref44 = (0, import_native_modules18.safeSyncPostMessage)("getWebBundleURL", {}),
139288
+ rawUrl = _ref44.url;
139400
139289
  var url = mergeSchemeQueryParamsInto(rawUrl);
139401
139290
  var deploymentId = env.getDeploymentId();
139402
139291
  if (deploymentId) {
@@ -139413,8 +139302,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139413
139302
  if (!TYPES.includes(type)) {
139414
139303
  throw new Error(`Invalid WebView type: '${type}'`);
139415
139304
  }
139416
- var webViewRef = (0, import_react27.useRef)(null);
139417
- var url = (0, import_react27.useMemo)(() => getWebViewURL(local), [local]);
139305
+ var webViewRef = (0, import_react26.useRef)(null);
139306
+ var url = (0, import_react26.useMemo)(() => getWebViewURL(local), [local]);
139418
139307
  var webBackHandler = useWebBackHandler(url, webViewRef);
139419
139308
  var top = (0, import_private9.useSafeAreaTop)();
139420
139309
  var bottom = (0, import_private9.useSafeAreaBottom)();
@@ -139422,10 +139311,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139422
139311
  var global2 = getAppsInTossGlobals();
139423
139312
  var navigationBarContext = useNavigationBarContext();
139424
139313
  var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
139425
- var _ref50 = (0, import_react27.useState)(props.allowsBackForwardNavigationGestures),
139426
- _ref51 = _slicedToArray(_ref50, 2),
139427
- allowsBackForwardNavigationGestures = _ref51[0],
139428
- setAllowsBackForwardNavigationGestures = _ref51[1];
139314
+ var _ref45 = (0, import_react26.useState)(props.allowsBackForwardNavigationGestures),
139315
+ _ref46 = _slicedToArray(_ref45, 2),
139316
+ allowsBackForwardNavigationGestures = _ref46[0],
139317
+ setAllowsBackForwardNavigationGestures = _ref46[1];
139429
139318
  var handler = useBridgeHandler({
139430
139319
  onMessage,
139431
139320
  eventListenerMap: {
@@ -139433,7 +139322,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139433
139322
  navigationAccessoryEvent: ({
139434
139323
  onEvent,
139435
139324
  onError
139436
- }) => import_tds_react_native15.tdsEvent.addEventListener("navigationAccessoryEvent", {
139325
+ }) => import_tds_react_native12.tdsEvent.addEventListener("navigationAccessoryEvent", {
139437
139326
  onEvent,
139438
139327
  onError
139439
139328
  }),
@@ -139508,19 +139397,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139508
139397
  return appsInTossAsyncBridges.setIosSwipeGestureEnabled(options);
139509
139398
  },
139510
139399
  addAccessoryButton: function () {
139511
- var _ref52 = _asyncToGenerator(function* (params) {
139400
+ var _ref47 = _asyncToGenerator(function* (params) {
139512
139401
  return navigationBarContext.addNavigationRightButton(params);
139513
139402
  });
139514
- return function addAccessoryButton(_x7) {
139515
- return _ref52.apply(this, arguments);
139403
+ return function addAccessoryButton(_x6) {
139404
+ return _ref47.apply(this, arguments);
139516
139405
  };
139517
139406
  }(),
139518
139407
  removeAccessoryButton: function () {
139519
- var _ref53 = _asyncToGenerator(function* () {
139408
+ var _ref48 = _asyncToGenerator(function* () {
139520
139409
  return navigationBarContext.removeNavigationRightButton();
139521
139410
  });
139522
139411
  return function removeAccessoryButton() {
139523
- return _ref53.apply(this, arguments);
139412
+ return _ref48.apply(this, arguments);
139524
139413
  };
139525
139414
  }(),
139526
139415
  requestPermission: appsInTossAsyncBridges.requestPermission,
@@ -139547,16 +139436,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139547
139436
  tossAdEventLog,
139548
139437
  memoryDebugLog: webViewMemoryDebugLog,
139549
139438
  debugLog: function () {
139550
- var _ref54 = _asyncToGenerator(function* (event) {
139439
+ var _ref49 = _asyncToGenerator(function* (event) {
139551
139440
  sendLog(event);
139552
139441
  });
139553
- return function debugLog(_x8) {
139554
- return _ref54.apply(this, arguments);
139442
+ return function debugLog(_x7) {
139443
+ return _ref49.apply(this, arguments);
139555
139444
  };
139556
139445
  }()
139557
139446
  }
139558
139447
  });
139559
- var headerPropForExternalWebView = (0, import_react27.useMemo)(() => {
139448
+ var headerPropForExternalWebView = (0, import_react26.useMemo)(() => {
139560
139449
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
139561
139450
  var initialAccessoryButton = parsedNavigationBar?.initialAccessoryButton;
139562
139451
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
@@ -139577,7 +139466,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139577
139466
  colorPreference: "light"
139578
139467
  });
139579
139468
  var refs = mergeRefs(handler.ref, webViewRef);
139580
- (0, import_react27.useEffect)(() => {
139469
+ (0, import_react26.useEffect)(() => {
139581
139470
  var callback = () => {
139582
139471
  webBackHandler.handleWebBack();
139583
139472
  return true;
@@ -139640,7 +139529,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139640
139529
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types"), module.exports);
139641
139530
  var import_types = _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types");
139642
139531
  var import_react_native41 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139643
- var import_react30 = _$$_REQUIRE(_dependencyMap[9], "react");
139532
+ var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
139644
139533
  var import_react_native42 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139645
139534
  var SDK_ID = "106";
139646
139535
  var LIST_BANNER_STYLE_ID = "1";
@@ -139827,7 +139716,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139827
139716
  function isStructurallyValidAd(ad) {
139828
139717
  return Boolean(ad && ad.creative && typeof ad.creative === "object");
139829
139718
  }
139830
- function loadAd(_x9) {
139719
+ function loadAd(_x8) {
139831
139720
  return _loadAd.apply(this, arguments);
139832
139721
  }
139833
139722
  function _loadAd() {
@@ -140013,7 +139902,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140013
139902
  globalEventDeduplicator.markTracked(this.requestId, this.creativeId, eventType);
140014
139903
  }
140015
139904
  });
140016
- function track(_x0) {
139905
+ function track(_x9) {
140017
139906
  return _track.apply(this, arguments);
140018
139907
  }
140019
139908
  return track;
@@ -140035,7 +139924,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140035
139924
  body: JSON.stringify(payload)
140036
139925
  });
140037
139926
  });
140038
- function sendTrackingRequest(_x1, _x10) {
139927
+ function sendTrackingRequest(_x0, _x1) {
140039
139928
  return _sendTrackingRequest.apply(this, arguments);
140040
139929
  }
140041
139930
  return sendTrackingRequest;
@@ -140043,7 +139932,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140043
139932
  }]);
140044
139933
  }();
140045
139934
  var import_react_native_svg = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140046
- var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
139935
+ var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
140047
139936
  var import_react_native39 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140048
139937
  var import_jsx_runtime20 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140049
139938
  var ARROW_PATH = "m7.5 20.4c-.5-.5-.5-1.2 0-1.7l6.7-6.7-6.8-6.7c-.5-.5-.5-1.2 0-1.7s1.2-.5 1.7 0l7.5 7.5c.5.5.5 1.2 0 1.7l-7.5 7.5c-.2.3-.5.4-.8.4s-.6-.1-.8-.3z";
@@ -140062,7 +139951,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140062
139951
  paddingStyle,
140063
139952
  onPress
140064
139953
  }) {
140065
- var scale = (0, import_react28.useRef)(new import_react_native39.Animated.Value(1)).current;
139954
+ var scale = (0, import_react27.useRef)(new import_react_native39.Animated.Value(1)).current;
140066
139955
  var animateScale = toValue => {
140067
139956
  import_react_native39.Animated.timing(scale, {
140068
139957
  toValue,
@@ -140339,7 +140228,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140339
140228
  }
140340
140229
  });
140341
140230
  var import_react_native_svg2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140342
- var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
140231
+ var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
140343
140232
  var import_react_native40 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140344
140233
  var import_jsx_runtime21 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140345
140234
  var SQUIRCLE_PATH = "M0 17.352C0 3.564 3.564 0 17.352 0H18.648C32.436 0 36 3.564 36 17.352V18.648C36 32.436 32.436 36 18.648 36H17.352C3.564 36 0 32.436 0 18.648V17.352Z";
@@ -140353,8 +140242,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140353
140242
  colors,
140354
140243
  onPress
140355
140244
  }) {
140356
- var scale = (0, import_react29.useRef)(new import_react_native40.Animated.Value(1)).current;
140357
- var clipIdRef = (0, import_react29.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140245
+ var scale = (0, import_react28.useRef)(new import_react_native40.Animated.Value(1)).current;
140246
+ var clipIdRef = (0, import_react28.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140358
140247
  var animateScale = toValue => {
140359
140248
  import_react_native40.Animated.timing(scale, {
140360
140249
  toValue,
@@ -140667,27 +140556,27 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140667
140556
  onAdImpression = props.onAdImpression,
140668
140557
  onAdFailedToRender = props.onAdFailedToRender,
140669
140558
  onNoFill = props.onNoFill;
140670
- var slotIdRef = (0, import_react30.useRef)(createSlotId());
140671
- var _ref55 = (0, import_react30.useState)(null),
140672
- _ref56 = _slicedToArray(_ref55, 2),
140673
- ad = _ref56[0],
140674
- setAd = _ref56[1];
140675
- var _ref57 = (0, import_react30.useState)(true),
140676
- _ref58 = _slicedToArray(_ref57, 2),
140677
- isAdBadgeEnabled = _ref58[0],
140678
- setIsAdBadgeEnabled = _ref58[1];
140679
- var eventTrackerRef = (0, import_react30.useRef)(null);
140680
- var eventPayloadRef = (0, import_react30.useRef)(null);
140681
- var hasRenderedRef = (0, import_react30.useRef)(false);
140682
- var hasLoggedImp1pxRef = (0, import_react30.useRef)(false);
140683
- var hasLoggedImp100pRef = (0, import_react30.useRef)(false);
140684
- var hasNotifiedViewableRef = (0, import_react30.useRef)(false);
140685
- var viewableTimerRef = (0, import_react30.useRef)(null);
140686
- var refetchIntervalMsRef = (0, import_react30.useRef)(null);
140687
- var lastImp1pxAtRef = (0, import_react30.useRef)(null);
140688
- var loadingRef = (0, import_react30.useRef)(false);
140689
- var loadRef = (0, import_react30.useRef)(null);
140690
- var callbacksRef = (0, import_react30.useRef)({
140559
+ var slotIdRef = (0, import_react29.useRef)(createSlotId());
140560
+ var _ref50 = (0, import_react29.useState)(null),
140561
+ _ref51 = _slicedToArray(_ref50, 2),
140562
+ ad = _ref51[0],
140563
+ setAd = _ref51[1];
140564
+ var _ref52 = (0, import_react29.useState)(true),
140565
+ _ref53 = _slicedToArray(_ref52, 2),
140566
+ isAdBadgeEnabled = _ref53[0],
140567
+ setIsAdBadgeEnabled = _ref53[1];
140568
+ var eventTrackerRef = (0, import_react29.useRef)(null);
140569
+ var eventPayloadRef = (0, import_react29.useRef)(null);
140570
+ var hasRenderedRef = (0, import_react29.useRef)(false);
140571
+ var hasLoggedImp1pxRef = (0, import_react29.useRef)(false);
140572
+ var hasLoggedImp100pRef = (0, import_react29.useRef)(false);
140573
+ var hasNotifiedViewableRef = (0, import_react29.useRef)(false);
140574
+ var viewableTimerRef = (0, import_react29.useRef)(null);
140575
+ var refetchIntervalMsRef = (0, import_react29.useRef)(null);
140576
+ var lastImp1pxAtRef = (0, import_react29.useRef)(null);
140577
+ var loadingRef = (0, import_react29.useRef)(false);
140578
+ var loadRef = (0, import_react29.useRef)(null);
140579
+ var callbacksRef = (0, import_react29.useRef)({
140691
140580
  onAdRendered,
140692
140581
  onAdViewable,
140693
140582
  onAdClicked,
@@ -140695,7 +140584,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140695
140584
  onAdFailedToRender,
140696
140585
  onNoFill
140697
140586
  });
140698
- var isMountedRef = (0, import_react30.useRef)(false);
140587
+ var isMountedRef = (0, import_react29.useRef)(false);
140699
140588
  var colorScheme = (0, import_react_native42.useColorScheme)();
140700
140589
  var selectedTheme = theme ?? DEFAULT_INLINE_AD_THEME;
140701
140590
  var resolvedTheme = selectedTheme === "auto" ? colorScheme === "dark" ? "dark" : "light" : selectedTheme;
@@ -140712,7 +140601,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140712
140601
  onAdFailedToRender,
140713
140602
  onNoFill
140714
140603
  };
140715
- (0, import_react30.useEffect)(() => {
140604
+ (0, import_react29.useEffect)(() => {
140716
140605
  isMountedRef.current = true;
140717
140606
  return () => {
140718
140607
  isMountedRef.current = false;
@@ -140722,7 +140611,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140722
140611
  }
140723
140612
  };
140724
140613
  }, []);
140725
- (0, import_react30.useEffect)(() => {
140614
+ (0, import_react29.useEffect)(() => {
140726
140615
  var normalizedAdGroupId = normalizeAdGroupId(adGroupId);
140727
140616
  var loadAdRequest = () => {
140728
140617
  if (loadingRef.current) {
@@ -140793,7 +140682,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140793
140682
  loadRef.current?.();
140794
140683
  }
140795
140684
  });
140796
- (0, import_react30.useEffect)(() => {
140685
+ (0, import_react29.useEffect)(() => {
140797
140686
  if (!ad || hasRenderedRef.current) {
140798
140687
  return;
140799
140688
  }