@apps-in-toss/web-framework 2.5.2 → 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.
@@ -136682,7 +136682,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136682
136682
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
136683
136683
  context: _context.context
136684
136684
  });
136685
- },1279,[1280,2593,9],"src/_app.tsx");
136685
+ },1279,[1280,2595,9],"src/_app.tsx");
136686
136686
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
136687
136687
  "use strict";
136688
136688
 
@@ -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
  }
@@ -140974,7 +140863,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140974
140863
  ..._$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"),
140975
140864
  ..._$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types")
140976
140865
  });
140977
- },1280,[21,20,17,48,1281,1282,2,1469,34,6,9,2436,2517,611,2520,2567,2575,2592,2445,1283,750],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
140866
+ },1280,[21,20,17,48,1281,1282,2,1469,34,6,9,2436,2517,611,2520,2569,2577,2594,2445,1283,750],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
140978
140867
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
140979
140868
  "use strict";
140980
140869
 
@@ -141632,6 +141521,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141632
141521
  closeView: () => closeView,
141633
141522
  contactsViral: () => contactsViral,
141634
141523
  eventLog: () => eventLog,
141524
+ fetchAlbumItems: () => fetchAlbumItems,
141635
141525
  fetchAlbumPhotos: () => fetchAlbumPhotos,
141636
141526
  fetchContacts: () => fetchContacts,
141637
141527
  generateHapticFeedback: () => generateHapticFeedback,
@@ -141658,6 +141548,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141658
141548
  onVisibilityChangedByTransparentServiceWeb: () => onVisibilityChangedByTransparentServiceWeb,
141659
141549
  openCamera: () => openCamera,
141660
141550
  openGameCenterLeaderboard: () => openGameCenterLeaderboard,
141551
+ openPDFViewer: () => openPDFViewer,
141661
141552
  openURL: () => openURL2,
141662
141553
  processProductGrant: () => processProductGrant,
141663
141554
  requestNotificationAgreement: () => requestNotificationAgreement,
@@ -142612,7 +142503,43 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142612
142503
  });
142613
142504
  return _saveBase64Data.apply(this, arguments);
142614
142505
  }
142615
- function setDeviceOrientation(_x16) {
142506
+ function openPDFViewer(_x16) {
142507
+ return _openPDFViewer.apply(this, arguments);
142508
+ }
142509
+ function _openPDFViewer() {
142510
+ _openPDFViewer = _asyncToGenerator(function* (params) {
142511
+ var isSupported = isMinVersionSupported({
142512
+ android: "5.261.0",
142513
+ ios: "5.261.0"
142514
+ });
142515
+ if (!isSupported) {
142516
+ var error = new Error("\uD1A0\uC2A4\uC571 5.261.0 \uBC84\uC804 \uC774\uC0C1\uC774 \uD544\uC694\uD574\uC694.");
142517
+ error.code = "UNSUPPORTED_APP_VERSION";
142518
+ throw error;
142519
+ }
142520
+ return safePostMessage("openPDFViewer", params);
142521
+ });
142522
+ return _openPDFViewer.apply(this, arguments);
142523
+ }
142524
+ function fetchAlbumItems(_x17) {
142525
+ return _fetchAlbumItems.apply(this, arguments);
142526
+ }
142527
+ function _fetchAlbumItems() {
142528
+ _fetchAlbumItems = _asyncToGenerator(function* (options) {
142529
+ var isSupported = isMinVersionSupported({
142530
+ android: "5.261.0",
142531
+ ios: "5.261.0"
142532
+ });
142533
+ if (!isSupported) {
142534
+ var error = new Error("\uD1A0\uC2A4\uC571 5.261.0 \uBC84\uC804 \uC774\uC0C1\uC774 \uD544\uC694\uD574\uC694.");
142535
+ error.code = "UNSUPPORTED_APP_VERSION";
142536
+ throw error;
142537
+ }
142538
+ return safePostMessage("fetchAlbumItems", options ?? {});
142539
+ });
142540
+ return _fetchAlbumItems.apply(this, arguments);
142541
+ }
142542
+ function setDeviceOrientation(_x18) {
142616
142543
  return _setDeviceOrientation.apply(this, arguments);
142617
142544
  }
142618
142545
  function _setDeviceOrientation() {
@@ -142706,7 +142633,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142706
142633
  });
142707
142634
  return _getGameCenterGameProfile.apply(this, arguments);
142708
142635
  }
142709
- function submitGameCenterLeaderBoardScore(_x17) {
142636
+ function submitGameCenterLeaderBoardScore(_x19) {
142710
142637
  return _submitGameCenterLeaderBoardScore.apply(this, arguments);
142711
142638
  }
142712
142639
  function _submitGameCenterLeaderBoardScore() {
@@ -142752,7 +142679,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142752
142679
  function isGrantPromotionRewardError(error) {
142753
142680
  return typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
142754
142681
  }
142755
- function grantPromotionReward(_x18) {
142682
+ function grantPromotionReward(_x20) {
142756
142683
  return _grantPromotionReward.apply(this, arguments);
142757
142684
  }
142758
142685
  function _grantPromotionReward() {
@@ -142779,7 +142706,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142779
142706
  });
142780
142707
  return _grantPromotionReward.apply(this, arguments);
142781
142708
  }
142782
- function grantPromotionRewardForGame(_x19) {
142709
+ function grantPromotionRewardForGame(_x21) {
142783
142710
  return _grantPromotionRewardForGame.apply(this, arguments);
142784
142711
  }
142785
142712
  function _grantPromotionRewardForGame() {
@@ -142830,7 +142757,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142830
142757
  });
142831
142758
  return unregisterCallbacks;
142832
142759
  }
142833
- function appsInTossSignTossCert(_x20) {
142760
+ function appsInTossSignTossCert(_x22) {
142834
142761
  return _appsInTossSignTossCert.apply(this, arguments);
142835
142762
  }
142836
142763
  function _appsInTossSignTossCert() {
@@ -142962,7 +142889,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142962
142889
  function generateHapticFeedback(options) {
142963
142890
  return CommonModule2.generateHapticFeedback(options);
142964
142891
  }
142965
- function share(_x21) {
142892
+ function share(_x23) {
142966
142893
  return _share.apply(this, arguments);
142967
142894
  }
142968
142895
  function _share() {
@@ -142974,7 +142901,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142974
142901
  function setSecureScreen(options) {
142975
142902
  return CommonModule2.setSecureScreen(options);
142976
142903
  }
142977
- function setScreenAwakeMode(_x22) {
142904
+ function setScreenAwakeMode(_x24) {
142978
142905
  return _setScreenAwakeMode.apply(this, arguments);
142979
142906
  }
142980
142907
  function _setScreenAwakeMode() {
@@ -142986,7 +142913,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142986
142913
  function getNetworkStatus() {
142987
142914
  return CommonModule2.getNetworkStatus();
142988
142915
  }
142989
- function setIosSwipeGestureEnabled(_x23) {
142916
+ function setIosSwipeGestureEnabled(_x25) {
142990
142917
  return _setIosSwipeGestureEnabled.apply(this, arguments);
142991
142918
  }
142992
142919
  function _setIosSwipeGestureEnabled() {
@@ -143039,6 +142966,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143039
142966
  closeView,
143040
142967
  contactsViral,
143041
142968
  eventLog,
142969
+ fetchAlbumItems,
143042
142970
  fetchAlbumPhotos,
143043
142971
  fetchContacts,
143044
142972
  generateHapticFeedback,
@@ -143065,6 +142993,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143065
142993
  onVisibilityChangedByTransparentServiceWeb,
143066
142994
  openCamera,
143067
142995
  openGameCenterLeaderboard,
142996
+ openPDFViewer,
143068
142997
  openURL,
143069
142998
  processProductGrant,
143070
142999
  requestNotificationAgreement,
@@ -211150,7 +211079,29 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211150
211079
  }
211151
211080
  });
211152
211081
  });
211153
- var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[24], "./MiniAppModule/native-modules/appsInTossSignTossCert");
211082
+ var _openPDFViewer = _$$_REQUIRE(_dependencyMap[24], "./MiniAppModule/native-modules/openPDFViewer");
211083
+ Object.keys(_openPDFViewer).forEach(function (key) {
211084
+ if (key === "default" || key === "__esModule") return;
211085
+ if (key in exports && exports[key] === _openPDFViewer[key]) return;
211086
+ Object.defineProperty(exports, key, {
211087
+ enumerable: true,
211088
+ get: function () {
211089
+ return _openPDFViewer[key];
211090
+ }
211091
+ });
211092
+ });
211093
+ var _fetchAlbumItems = _$$_REQUIRE(_dependencyMap[25], "./MiniAppModule/native-modules/fetchAlbumItems");
211094
+ Object.keys(_fetchAlbumItems).forEach(function (key) {
211095
+ if (key === "default" || key === "__esModule") return;
211096
+ if (key in exports && exports[key] === _fetchAlbumItems[key]) return;
211097
+ Object.defineProperty(exports, key, {
211098
+ enumerable: true,
211099
+ get: function () {
211100
+ return _fetchAlbumItems[key];
211101
+ }
211102
+ });
211103
+ });
211104
+ var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[26], "./MiniAppModule/native-modules/appsInTossSignTossCert");
211154
211105
  Object.keys(_appsInTossSignTossCert).forEach(function (key) {
211155
211106
  if (key === "default" || key === "__esModule") return;
211156
211107
  if (key in exports && exports[key] === _appsInTossSignTossCert[key]) return;
@@ -211161,7 +211112,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211161
211112
  }
211162
211113
  });
211163
211114
  });
211164
- var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[25], "./MiniAppModule/native-modules/getGameCenterGameProfile");
211115
+ var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/getGameCenterGameProfile");
211165
211116
  Object.keys(_getGameCenterGameProfile).forEach(function (key) {
211166
211117
  if (key === "default" || key === "__esModule") return;
211167
211118
  if (key in exports && exports[key] === _getGameCenterGameProfile[key]) return;
@@ -211172,7 +211123,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211172
211123
  }
211173
211124
  });
211174
211125
  });
211175
- var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[26], "./MiniAppModule/native-modules/openGameCenterLeaderboard");
211126
+ var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/openGameCenterLeaderboard");
211176
211127
  Object.keys(_openGameCenterLeaderboard).forEach(function (key) {
211177
211128
  if (key === "default" || key === "__esModule") return;
211178
211129
  if (key in exports && exports[key] === _openGameCenterLeaderboard[key]) return;
@@ -211183,7 +211134,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211183
211134
  }
211184
211135
  });
211185
211136
  });
211186
- var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/submitGameCenterLeaderBoardScore");
211137
+ var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/submitGameCenterLeaderBoardScore");
211187
211138
  Object.keys(_submitGameCenterLeaderBoardScore).forEach(function (key) {
211188
211139
  if (key === "default" || key === "__esModule") return;
211189
211140
  if (key in exports && exports[key] === _submitGameCenterLeaderBoardScore[key]) return;
@@ -211194,7 +211145,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211194
211145
  }
211195
211146
  });
211196
211147
  });
211197
- var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/getAnonymousKey");
211148
+ var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/getAnonymousKey");
211198
211149
  Object.keys(_getAnonymousKey).forEach(function (key) {
211199
211150
  if (key === "default" || key === "__esModule") return;
211200
211151
  if (key in exports && exports[key] === _getAnonymousKey[key]) return;
@@ -211205,7 +211156,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211205
211156
  }
211206
211157
  });
211207
211158
  });
211208
- var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/getUserKeyForGame");
211159
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/getUserKeyForGame");
211209
211160
  Object.keys(_getUserKeyForGame).forEach(function (key) {
211210
211161
  if (key === "default" || key === "__esModule") return;
211211
211162
  if (key in exports && exports[key] === _getUserKeyForGame[key]) return;
@@ -211216,7 +211167,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211216
211167
  }
211217
211168
  });
211218
211169
  });
211219
- var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/grantPromotionReward");
211170
+ var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/grantPromotionReward");
211220
211171
  Object.keys(_grantPromotionReward).forEach(function (key) {
211221
211172
  if (key === "default" || key === "__esModule") return;
211222
211173
  if (key in exports && exports[key] === _grantPromotionReward[key]) return;
@@ -211227,7 +211178,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211227
211178
  }
211228
211179
  });
211229
211180
  });
211230
- var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
211181
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[33], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
211231
211182
  Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
211232
211183
  if (key === "default" || key === "__esModule") return;
211233
211184
  if (key in exports && exports[key] === _grantPromotionRewardForGame[key]) return;
@@ -211238,7 +211189,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211238
211189
  }
211239
211190
  });
211240
211191
  });
211241
- var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
211192
+ var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[34], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
211242
211193
  Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
211243
211194
  if (key === "default" || key === "__esModule") return;
211244
211195
  if (key in exports && exports[key] === _getIsTossLoginIntegratedService[key]) return;
@@ -211249,7 +211200,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211249
211200
  }
211250
211201
  });
211251
211202
  });
211252
- var _getServerTime = _$$_REQUIRE(_dependencyMap[33], "./MiniAppModule/native-modules/getServerTime");
211203
+ var _getServerTime = _$$_REQUIRE(_dependencyMap[35], "./MiniAppModule/native-modules/getServerTime");
211253
211204
  Object.keys(_getServerTime).forEach(function (key) {
211254
211205
  if (key === "default" || key === "__esModule") return;
211255
211206
  if (key in exports && exports[key] === _getServerTime[key]) return;
@@ -211260,7 +211211,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211260
211211
  }
211261
211212
  });
211262
211213
  });
211263
- var _requestReview = _$$_REQUIRE(_dependencyMap[34], "./MiniAppModule/native-modules/requestReview");
211214
+ var _requestReview = _$$_REQUIRE(_dependencyMap[36], "./MiniAppModule/native-modules/requestReview");
211264
211215
  Object.keys(_requestReview).forEach(function (key) {
211265
211216
  if (key === "default" || key === "__esModule") return;
211266
211217
  if (key in exports && exports[key] === _requestReview[key]) return;
@@ -211271,7 +211222,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211271
211222
  }
211272
211223
  });
211273
211224
  });
211274
- },2520,[2521,2529,2530,2531,2532,2533,2534,2535,2536,2537,2538,2539,2541,2542,2543,2544,2545,2546,2547,2550,2551,2552,2553,2554,2555,2556,2558,2559,2560,2561,2562,2563,2564,2565,2566],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
211225
+ },2520,[2521,2529,2530,2531,2532,2533,2534,2535,2536,2537,2538,2539,2541,2542,2543,2544,2545,2546,2547,2550,2551,2552,2553,2554,2555,2556,2557,2558,2560,2561,2562,2563,2564,2565,2566,2567,2568],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
211275
211226
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
211276
211227
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
211277
211228
  Object.defineProperty(exports, "__esModule", {
@@ -212045,6 +211996,62 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212045
211996
  return _saveBase64Data.apply(this, arguments);
212046
211997
  }
212047
211998
  },2554,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/saveBase64Data.ts");
211999
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212000
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212001
+ Object.defineProperty(exports, "__esModule", {
212002
+ value: true
212003
+ });
212004
+ exports.openPDFViewer = openPDFViewer;
212005
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
212006
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[2], "./isMinVersionSupported");
212007
+ var _natives = _$$_REQUIRE(_dependencyMap[3], "../../natives");
212008
+ function openPDFViewer(_x) {
212009
+ return _openPDFViewer.apply(this, arguments);
212010
+ }
212011
+ function _openPDFViewer() {
212012
+ _openPDFViewer = (0, _asyncToGenerator2.default)(function* (params) {
212013
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)({
212014
+ android: '5.261.0',
212015
+ ios: '5.261.0'
212016
+ });
212017
+ if (!isSupported) {
212018
+ var error = new Error('토스앱 5.261.0 버전 이상이 필요해요.');
212019
+ error.code = 'UNSUPPORTED_APP_VERSION';
212020
+ throw error;
212021
+ }
212022
+ return (0, _natives.safePostMessage)('openPDFViewer', params);
212023
+ });
212024
+ return _openPDFViewer.apply(this, arguments);
212025
+ }
212026
+ },2555,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openPDFViewer.ts");
212027
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212028
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212029
+ Object.defineProperty(exports, "__esModule", {
212030
+ value: true
212031
+ });
212032
+ exports.fetchAlbumItems = fetchAlbumItems;
212033
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
212034
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[2], "./isMinVersionSupported");
212035
+ var _natives = _$$_REQUIRE(_dependencyMap[3], "../../natives");
212036
+ function fetchAlbumItems(_x) {
212037
+ return _fetchAlbumItems.apply(this, arguments);
212038
+ }
212039
+ function _fetchAlbumItems() {
212040
+ _fetchAlbumItems = (0, _asyncToGenerator2.default)(function* (options) {
212041
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)({
212042
+ android: '5.261.0',
212043
+ ios: '5.261.0'
212044
+ });
212045
+ if (!isSupported) {
212046
+ var error = new Error('토스앱 5.261.0 버전 이상이 필요해요.');
212047
+ error.code = 'UNSUPPORTED_APP_VERSION';
212048
+ throw error;
212049
+ }
212050
+ return (0, _natives.safePostMessage)('fetchAlbumItems', options ?? {});
212051
+ });
212052
+ return _fetchAlbumItems.apply(this, arguments);
212053
+ }
212054
+ },2556,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/fetchAlbumItems.ts");
212048
212055
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212049
212056
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212050
212057
  Object.defineProperty(exports, "__esModule", {
@@ -212071,7 +212078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212071
212078
  });
212072
212079
  return _appsInTossSignTossCert.apply(this, arguments);
212073
212080
  }
212074
- },2555,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/appsInTossSignTossCert.ts");
212081
+ },2557,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/appsInTossSignTossCert.ts");
212075
212082
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212076
212083
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212077
212084
  Object.defineProperty(exports, "__esModule", {
@@ -212095,7 +212102,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212095
212102
  });
212096
212103
  return _getGameCenterGameProfile.apply(this, arguments);
212097
212104
  }
212098
- },2556,[1,17,2548,2523,2557],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGameCenterGameProfile.ts");
212105
+ },2558,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGameCenterGameProfile.ts");
212099
212106
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212100
212107
  Object.defineProperty(exports, "__esModule", {
212101
212108
  value: true
@@ -212122,7 +212129,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212122
212129
  android: '5.245.0',
212123
212130
  ios: '5.245.0'
212124
212131
  };
212125
- },2557,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts");
212132
+ },2559,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts");
212126
212133
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212127
212134
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212128
212135
  Object.defineProperty(exports, "__esModule", {
@@ -212152,7 +212159,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212152
212159
  });
212153
212160
  return _openGameCenterLeaderboard.apply(this, arguments);
212154
212161
  }
212155
- },2558,[1,17,2,2548,2557],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openGameCenterLeaderboard.ts");
212162
+ },2560,[1,17,2,2548,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openGameCenterLeaderboard.ts");
212156
212163
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212157
212164
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212158
212165
  Object.defineProperty(exports, "__esModule", {
@@ -212176,7 +212183,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212176
212183
  });
212177
212184
  return _submitGameCenterLeaderBoardScore.apply(this, arguments);
212178
212185
  }
212179
- },2559,[1,17,2548,2523,2557],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/submitGameCenterLeaderBoardScore.ts");
212186
+ },2561,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/submitGameCenterLeaderBoardScore.ts");
212180
212187
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212181
212188
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212182
212189
  Object.defineProperty(exports, "__esModule", {
@@ -212208,7 +212215,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212208
212215
  });
212209
212216
  return _getAnonymousKey.apply(this, arguments);
212210
212217
  }
212211
- },2560,[1,17,2548,2523,2557],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts");
212218
+ },2562,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts");
212212
212219
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212213
212220
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212214
212221
  Object.defineProperty(exports, "__esModule", {
@@ -212226,7 +212233,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212226
212233
  });
212227
212234
  return _getUserKeyForGame.apply(this, arguments);
212228
212235
  }
212229
- },2561,[1,17,2560],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
212236
+ },2563,[1,17,2562],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
212230
212237
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212231
212238
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212232
212239
  Object.defineProperty(exports, "__esModule", {
@@ -212267,7 +212274,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212267
212274
  });
212268
212275
  return _grantPromotionReward.apply(this, arguments);
212269
212276
  }
212270
- },2562,[1,17,2548,2523,2557],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
212277
+ },2564,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
212271
212278
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212272
212279
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212273
212280
  Object.defineProperty(exports, "__esModule", {
@@ -212285,7 +212292,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212285
212292
  });
212286
212293
  return _grantPromotionRewardForGame.apply(this, arguments);
212287
212294
  }
212288
- },2563,[1,17,2562],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
212295
+ },2565,[1,17,2564],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
212289
212296
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212290
212297
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212291
212298
  Object.defineProperty(exports, "__esModule", {
@@ -212310,7 +212317,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212310
212317
  });
212311
212318
  return _getIsTossLoginIntegratedService.apply(this, arguments);
212312
212319
  }
212313
- },2564,[1,17,2548,2523,2557],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
212320
+ },2566,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
212314
212321
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212315
212322
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212316
212323
  Object.defineProperty(exports, "__esModule", {
@@ -212335,7 +212342,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212335
212342
  return _getServerTime.apply(this, arguments);
212336
212343
  }
212337
212344
  getServerTime.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
212338
- },2565,[1,17,2548,2523,2557],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
212345
+ },2567,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
212339
212346
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212340
212347
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212341
212348
  Object.defineProperty(exports, "__esModule", {
@@ -212369,7 +212376,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212369
212376
  return _requestReview.apply(this, arguments);
212370
212377
  }
212371
212378
  requestReview.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(MIN_VERSION);
212372
- },2566,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
212379
+ },2568,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
212373
212380
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212374
212381
  Object.defineProperty(exports, "__esModule", {
212375
212382
  value: true
@@ -212451,7 +212458,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212451
212458
  }
212452
212459
  });
212453
212460
  });
212454
- },2567,[2568,2569,2570,2571,2572,2573,2574],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
212461
+ },2569,[2570,2571,2572,2573,2574,2575,2576],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
212455
212462
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212456
212463
  Object.defineProperty(exports, "__esModule", {
212457
212464
  value: true
@@ -212469,7 +212476,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212469
212476
  function replaceUnderbarToHypen(locale) {
212470
212477
  return locale.replace(/_/g, '-');
212471
212478
  }
212472
- },2568,[34,2522],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
212479
+ },2570,[34,2522],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
212473
212480
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212474
212481
  Object.defineProperty(exports, "__esModule", {
212475
212482
  value: true
@@ -212479,7 +212486,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212479
212486
  function getSchemeUri() {
212480
212487
  return _BedrockModule.CommonModule.getConstants().schemeUri;
212481
212488
  }
212482
- },2569,[2522],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
212489
+ },2571,[2522],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
212483
212490
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212484
212491
  Object.defineProperty(exports, "__esModule", {
212485
212492
  value: true
@@ -212489,7 +212496,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212489
212496
  function getPlatformOS() {
212490
212497
  return _reactNative.Platform.OS;
212491
212498
  }
212492
- },2570,[34],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
212499
+ },2572,[34],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
212493
212500
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212494
212501
  Object.defineProperty(exports, "__esModule", {
212495
212502
  value: true
@@ -212499,7 +212506,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212499
212506
  function getOperationalEnvironment() {
212500
212507
  return _natives.MiniAppModule.getConstants().operationalEnvironment;
212501
212508
  }
212502
- },2571,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
212509
+ },2573,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
212503
212510
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212504
212511
  Object.defineProperty(exports, "__esModule", {
212505
212512
  value: true
@@ -212509,7 +212516,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212509
212516
  function getTossAppVersion() {
212510
212517
  return _natives.MiniAppModule.getConstants().tossAppVersion;
212511
212518
  }
212512
- },2572,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
212519
+ },2574,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
212513
212520
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212514
212521
  Object.defineProperty(exports, "__esModule", {
212515
212522
  value: true
@@ -212519,7 +212526,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212519
212526
  function getDeviceId() {
212520
212527
  return _natives.MiniAppModule.getConstants().deviceId;
212521
212528
  }
212522
- },2573,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
212529
+ },2575,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
212523
212530
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212524
212531
  Object.defineProperty(exports, "__esModule", {
212525
212532
  value: true
@@ -212529,7 +212536,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212529
212536
  function getGroupId() {
212530
212537
  return _natives.MiniAppModule.getConstants().groupId;
212531
212538
  }
212532
- },2574,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
212539
+ },2576,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
212533
212540
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212534
212541
  Object.defineProperty(exports, "__esModule", {
212535
212542
  value: true
@@ -212567,7 +212574,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212567
212574
  }
212568
212575
  });
212569
212576
  });
212570
- },2575,[2576,2591,2588],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
212577
+ },2577,[2578,2593,2590],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
212571
212578
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212572
212579
  Object.defineProperty(exports, "__esModule", {
212573
212580
  value: true
@@ -212580,7 +212587,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212580
212587
  }
212581
212588
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
212582
212589
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
212583
- },2576,[2577,2583],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
212590
+ },2578,[2579,2585],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
212584
212591
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212585
212592
  Object.defineProperty(exports, "__esModule", {
212586
212593
  value: true
@@ -212591,7 +212598,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212591
212598
  var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
212592
212599
  var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
212593
212600
  var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
212594
- },2577,[2,2578,2579,2582],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
212601
+ },2579,[2,2580,2581,2584],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
212595
212602
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212596
212603
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212597
212604
  Object.defineProperty(exports, "__esModule", {
@@ -212658,7 +212665,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212658
212665
  }
212659
212666
  }]);
212660
212667
  }(_reactNative.GraniteEventDefinition);
212661
- },2578,[1,21,20,22,25,26,1283,2,2523,2537],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
212668
+ },2580,[1,21,20,22,25,26,1283,2,2523,2537],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
212662
212669
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212663
212670
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212664
212671
  Object.defineProperty(exports, "__esModule", {
@@ -212718,7 +212725,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212718
212725
  }
212719
212726
  }]);
212720
212727
  }(_reactNative.GraniteEventDefinition);
212721
- },2579,[1,21,20,22,25,26,2,2580,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
212728
+ },2581,[1,21,20,22,25,26,2,2582,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
212722
212729
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212723
212730
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212724
212731
  Object.defineProperty(exports, "__esModule", {
@@ -212783,7 +212790,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212783
212790
  unregisterCallback,
212784
212791
  getCallbackIds
212785
212792
  };
212786
- },2580,[1,48,90,2523,2581],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
212793
+ },2582,[1,48,90,2523,2583],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
212787
212794
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212788
212795
  Object.defineProperty(exports, "__esModule", {
212789
212796
  value: true
@@ -212792,7 +212799,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212792
212799
  function generateUUID(placeholder) {
212793
212800
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
212794
212801
  }
212795
- },2581,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
212802
+ },2583,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
212796
212803
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212797
212804
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212798
212805
  Object.defineProperty(exports, "__esModule", {
@@ -212850,7 +212857,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212850
212857
  }
212851
212858
  }]);
212852
212859
  }(_reactNative.GraniteEventDefinition);
212853
- },2582,[1,21,20,22,25,26,2,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
212860
+ },2584,[1,21,20,22,25,26,2,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
212854
212861
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212855
212862
  Object.defineProperty(exports, "__esModule", {
212856
212863
  value: true
@@ -213065,7 +213072,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213065
213072
  }
213066
213073
  });
213067
213074
  });
213068
- var _setDeviceOrientation = _$$_REQUIRE(_dependencyMap[18], "./setDeviceOrientation");
213075
+ var _openPDFViewer = _$$_REQUIRE(_dependencyMap[18], "./openPDFViewer");
213076
+ Object.keys(_openPDFViewer).forEach(function (key) {
213077
+ if (key === "default" || key === "__esModule") return;
213078
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
213079
+ if (key in exports && exports[key] === _openPDFViewer[key]) return;
213080
+ Object.defineProperty(exports, key, {
213081
+ enumerable: true,
213082
+ get: function () {
213083
+ return _openPDFViewer[key];
213084
+ }
213085
+ });
213086
+ });
213087
+ var _fetchAlbumItems = _$$_REQUIRE(_dependencyMap[19], "./fetchAlbumItems");
213088
+ Object.keys(_fetchAlbumItems).forEach(function (key) {
213089
+ if (key === "default" || key === "__esModule") return;
213090
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
213091
+ if (key in exports && exports[key] === _fetchAlbumItems[key]) return;
213092
+ Object.defineProperty(exports, key, {
213093
+ enumerable: true,
213094
+ get: function () {
213095
+ return _fetchAlbumItems[key];
213096
+ }
213097
+ });
213098
+ });
213099
+ var _setDeviceOrientation = _$$_REQUIRE(_dependencyMap[20], "./setDeviceOrientation");
213069
213100
  Object.keys(_setDeviceOrientation).forEach(function (key) {
213070
213101
  if (key === "default" || key === "__esModule") return;
213071
213102
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213077,7 +213108,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213077
213108
  }
213078
213109
  });
213079
213110
  });
213080
- var _storage = _$$_REQUIRE(_dependencyMap[19], "./storage");
213111
+ var _storage = _$$_REQUIRE(_dependencyMap[21], "./storage");
213081
213112
  Object.keys(_storage).forEach(function (key) {
213082
213113
  if (key === "default" || key === "__esModule") return;
213083
213114
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213089,7 +213120,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213089
213120
  }
213090
213121
  });
213091
213122
  });
213092
- var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[20], "./openGameCenterLeaderboard");
213123
+ var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[22], "./openGameCenterLeaderboard");
213093
213124
  Object.keys(_openGameCenterLeaderboard).forEach(function (key) {
213094
213125
  if (key === "default" || key === "__esModule") return;
213095
213126
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213101,7 +213132,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213101
213132
  }
213102
213133
  });
213103
213134
  });
213104
- var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[21], "./getGameCenterGameProfile");
213135
+ var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[23], "./getGameCenterGameProfile");
213105
213136
  Object.keys(_getGameCenterGameProfile).forEach(function (key) {
213106
213137
  if (key === "default" || key === "__esModule") return;
213107
213138
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213113,7 +213144,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213113
213144
  }
213114
213145
  });
213115
213146
  });
213116
- var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[22], "./submitGameCenterLeaderBoardScore");
213147
+ var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[24], "./submitGameCenterLeaderBoardScore");
213117
213148
  Object.keys(_submitGameCenterLeaderBoardScore).forEach(function (key) {
213118
213149
  if (key === "default" || key === "__esModule") return;
213119
213150
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213125,7 +213156,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213125
213156
  }
213126
213157
  });
213127
213158
  });
213128
- var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[23], "./getAnonymousKey");
213159
+ var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[25], "./getAnonymousKey");
213129
213160
  Object.keys(_getAnonymousKey).forEach(function (key) {
213130
213161
  if (key === "default" || key === "__esModule") return;
213131
213162
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213137,7 +213168,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213137
213168
  }
213138
213169
  });
213139
213170
  });
213140
- var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[24], "./getUserKeyForGame");
213171
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[26], "./getUserKeyForGame");
213141
213172
  Object.keys(_getUserKeyForGame).forEach(function (key) {
213142
213173
  if (key === "default" || key === "__esModule") return;
213143
213174
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213149,7 +213180,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213149
213180
  }
213150
213181
  });
213151
213182
  });
213152
- var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[25], "./grantPromotionReward");
213183
+ var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[27], "./grantPromotionReward");
213153
213184
  Object.keys(_grantPromotionReward).forEach(function (key) {
213154
213185
  if (key === "default" || key === "__esModule") return;
213155
213186
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213161,7 +213192,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213161
213192
  }
213162
213193
  });
213163
213194
  });
213164
- var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[26], "./grantPromotionRewardForGame");
213195
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[28], "./grantPromotionRewardForGame");
213165
213196
  Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
213166
213197
  if (key === "default" || key === "__esModule") return;
213167
213198
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213173,7 +213204,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213173
213204
  }
213174
213205
  });
213175
213206
  });
213176
- var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[27], "./getIsTossLoginIntegratedService");
213207
+ var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[29], "./getIsTossLoginIntegratedService");
213177
213208
  Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
213178
213209
  if (key === "default" || key === "__esModule") return;
213179
213210
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213185,7 +213216,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213185
213216
  }
213186
213217
  });
213187
213218
  });
213188
- var _contactsViral = _$$_REQUIRE(_dependencyMap[28], "../native-event-emitter/contactsViral");
213219
+ var _contactsViral = _$$_REQUIRE(_dependencyMap[30], "../native-event-emitter/contactsViral");
213189
213220
  Object.keys(_contactsViral).forEach(function (key) {
213190
213221
  if (key === "default" || key === "__esModule") return;
213191
213222
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213197,7 +213228,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213197
213228
  }
213198
213229
  });
213199
213230
  });
213200
- var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[29], "./appsInTossSignTossCert");
213231
+ var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[31], "./appsInTossSignTossCert");
213201
213232
  Object.keys(_appsInTossSignTossCert).forEach(function (key) {
213202
213233
  if (key === "default" || key === "__esModule") return;
213203
213234
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213209,7 +213240,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213209
213240
  }
213210
213241
  });
213211
213242
  });
213212
- var _getGroupId = _$$_REQUIRE(_dependencyMap[30], "./getGroupId");
213243
+ var _getGroupId = _$$_REQUIRE(_dependencyMap[32], "./getGroupId");
213213
213244
  Object.keys(_getGroupId).forEach(function (key) {
213214
213245
  if (key === "default" || key === "__esModule") return;
213215
213246
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213221,7 +213252,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213221
213252
  }
213222
213253
  });
213223
213254
  });
213224
- var _shareWithScheme = _$$_REQUIRE(_dependencyMap[31], "./shareWithScheme");
213255
+ var _shareWithScheme = _$$_REQUIRE(_dependencyMap[33], "./shareWithScheme");
213225
213256
  Object.keys(_shareWithScheme).forEach(function (key) {
213226
213257
  if (key === "default" || key === "__esModule") return;
213227
213258
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213233,7 +213264,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213233
213264
  }
213234
213265
  });
213235
213266
  });
213236
- var _getServerTime = _$$_REQUIRE(_dependencyMap[32], "./getServerTime");
213267
+ var _getServerTime = _$$_REQUIRE(_dependencyMap[34], "./getServerTime");
213237
213268
  Object.keys(_getServerTime).forEach(function (key) {
213238
213269
  if (key === "default" || key === "__esModule") return;
213239
213270
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213245,7 +213276,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213245
213276
  }
213246
213277
  });
213247
213278
  });
213248
- var _requestReview = _$$_REQUIRE(_dependencyMap[33], "./requestReview");
213279
+ var _requestReview = _$$_REQUIRE(_dependencyMap[35], "./requestReview");
213249
213280
  Object.keys(_requestReview).forEach(function (key) {
213250
213281
  if (key === "default" || key === "__esModule") return;
213251
213282
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213257,7 +213288,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213257
213288
  }
213258
213289
  });
213259
213290
  });
213260
- var _requestNotificationAgreement = _$$_REQUIRE(_dependencyMap[34], "./requestNotificationAgreement");
213291
+ var _requestNotificationAgreement = _$$_REQUIRE(_dependencyMap[36], "./requestNotificationAgreement");
213261
213292
  Object.keys(_requestNotificationAgreement).forEach(function (key) {
213262
213293
  if (key === "default" || key === "__esModule") return;
213263
213294
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213278,7 +213309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213278
213309
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
213279
213310
  isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
213280
213311
  };
213281
- },2583,[2584,2552,2553,2546,2547,2543,2542,2541,2544,2539,2545,2573,2571,2572,2550,2586,2548,2554,2551,2587,2558,2556,2559,2560,2561,2562,2563,2564,2588,2555,2574,2589,2565,2566,2590],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
213312
+ },2585,[2586,2552,2553,2546,2547,2543,2542,2541,2544,2539,2545,2575,2573,2574,2550,2588,2548,2554,2555,2556,2551,2589,2560,2558,2561,2562,2563,2564,2565,2566,2590,2557,2576,2591,2567,2568,2592],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
213282
213313
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213283
213314
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213284
213315
  Object.defineProperty(exports, "__esModule", {
@@ -213411,7 +213442,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213411
213442
  });
213412
213443
  }
213413
213444
  isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
213414
- },2584,[1,17,1284,2585,2580,2571,2548],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
213445
+ },2586,[1,17,1284,2587,2582,2573,2548],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
213415
213446
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213416
213447
  Object.defineProperty(exports, "__esModule", {
213417
213448
  value: true
@@ -213425,7 +213456,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213425
213456
  return null;
213426
213457
  }
213427
213458
  }
213428
- },2585,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
213459
+ },2587,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
213429
213460
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213430
213461
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213431
213462
  Object.defineProperty(exports, "__esModule", {
@@ -213676,7 +213707,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213676
213707
  completeProductGrant,
213677
213708
  getSubscriptionInfo
213678
213709
  };
213679
- },2586,[1,17,1284,2548,2523,2580],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
213710
+ },2588,[1,17,1284,2548,2523,2582],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
213680
213711
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213681
213712
  Object.defineProperty(exports, "__esModule", {
213682
213713
  value: true
@@ -213708,7 +213739,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213708
213739
  removeItem,
213709
213740
  clearItems
213710
213741
  };
213711
- },2587,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
213742
+ },2589,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
213712
213743
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213713
213744
  Object.defineProperty(exports, "__esModule", {
213714
213745
  value: true
@@ -213744,7 +213775,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213744
213775
  });
213745
213776
  return unregisterCallbacks;
213746
213777
  }
213747
- },2588,[2580,2548],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
213778
+ },2590,[2582,2548],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
213748
213779
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213749
213780
  Object.defineProperty(exports, "__esModule", {
213750
213781
  value: true
@@ -213754,7 +213785,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213754
213785
  function shareWithScheme(params) {
213755
213786
  return (0, _natives.safePostMessage)('shareWithScheme', params);
213756
213787
  }
213757
- },2589,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
213788
+ },2591,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
213758
213789
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213759
213790
  Object.defineProperty(exports, "__esModule", {
213760
213791
  value: true
@@ -213788,7 +213819,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213788
213819
  }
213789
213820
  });
213790
213821
  }
213791
- },2590,[1284,2548,2580],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestNotificationAgreement.ts");
213822
+ },2592,[1284,2548,2582],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestNotificationAgreement.ts");
213792
213823
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213793
213824
  Object.defineProperty(exports, "__esModule", {
213794
213825
  value: true
@@ -213798,7 +213829,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213798
213829
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
213799
213830
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
213800
213831
  }
213801
- },2591,[2577],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
213832
+ },2593,[2579],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
213802
213833
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213803
213834
  "use strict";
213804
213835
 
@@ -213845,12 +213876,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213845
213876
  }
213846
213877
  \`;document.head.appendChild(e);})();
213847
213878
  `,
213848
- m = '"use strict";(()=>{var ve=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},E=new ve,z=()=>Math.random().toString(36).substring(2,15),$=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function c(e){return(...t)=>{let r=z(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(E.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(E.on(`${e}/reject/${r}`,i=>{o(),a($(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=z(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError($(o))})];return E.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{E.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function v(e){return()=>E.getConstant(e)}var he=function(){return{emit:function(t,r){for(var n=this.events[t]||[],o=0,s=n.length;o<s;o++)n[o](r)},events:{},on:function(t,r){var n=this,o,s;return((o=this.events)[s=t]||(o[s]=[])).push(r),function(){var a;n.events[t]=(a=n.events[t])===null||a===void 0?void 0:a.filter(function(i){return r!==i})}}}};typeof window<"u"&&(window.__GRANITE_NATIVE_EMITTER=he());var it=c("closeView"),dt=c("generateHapticFeedback"),ct=c("share"),ut=c("setSecureScreen"),pt=c("setScreenAwakeMode"),lt=c("getNetworkStatus"),mt=c("setIosSwipeGestureEnabled"),gt=c("openURL"),ft=c("openPermissionDialog"),vt=c("getPermission"),ht=c("requestPermission"),wt=v("setClipboardText"),Et=v("getClipboardText"),At=v("fetchContacts"),bt=v("fetchAlbumPhotos"),_t=v("getCurrentLocation"),St=v("openCamera"),Ct=c("appLogin"),It=c("eventLog"),yt=c("getTossShareLink"),Tt=c("setDeviceOrientation"),Rt=c("checkoutPayment"),Lt=c("requestTossPayPaysBilling"),Pt=c("saveBase64Data"),xt=c("appsInTossSignTossCert"),Dt=c("getGameCenterGameProfile"),Nt=c("openGameCenterLeaderboard"),Mt=c("submitGameCenterLeaderBoardScore"),Ft=c("getAnonymousKey"),Gt=c("getUserKeyForGame"),Bt=c("grantPromotionReward"),kt=c("grantPromotionRewardForGame"),Ot=c("getIsTossLoginIntegratedService"),Vt=c("getServerTime"),Ht=c("requestReview"),qt=v("getLocale"),Ut=v("getSchemeUri"),Wt=v("getPlatformOS"),zt=v("getOperationalEnvironment"),$t=v("getTossAppVersion"),jt=v("getDeviceId"),Kt=v("getGroupId"),Jt=D("contactsViral"),Xt=D("startUpdateLocation"),Yt=D("onVisibilityChangedByTransparentServiceWeb");var C=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},j=class extends C{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends C{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=class extends C{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends C{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},X=V,Y=class extends C{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Z=class extends C{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var we=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},A=new we,de=()=>Math.random().toString(36).substring(2,15),ce=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function d(e){return(...t)=>{let r=de(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(A.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(A.on(`${e}/reject/${r}`,i=>{o(),a(ce(i))})),A.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function b(e){return t=>{let r=de(),n=[A.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),A.on(`${e}/onError/${r}`,o=>{t.onError(ce(o))})];return A.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{A.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>A.getConstant(e)}var ir={getItem:d("getStorageItem"),setItem:d("setStorageItem"),removeItem:d("removeStorageItem"),clearItems:d("clearItems")},Ee=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Q=e=>["*","x","X"].includes(e),ee=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ae=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Q(e)||Q(t))return 0;let[r,n]=Ae(ee(e),ee(t));return r>n?1:r<n?-1:0},te=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(Ee);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},re=(e,t)=>{let r=Math.max(e.length,t.length);for(let n=0;n<r;n++){let o=e[n]??"0",s=t[n]??"0",a=be(o,s);if(a!==0)return a}return 0},_e=(e,t)=>{let r=te(e),n=te(t),o=r.pop(),s=n.pop(),a=re(r,n);return a!==0?a:o&&s?re(o.split("."),s.split(".")):o?-1:s?1:0};function H(e){if(p("getOperationalEnvironment")()==="sandbox")return!0;let r=p("getTossAppVersion")(),o=p("getPlatformOS")()==="ios"?e.ios:e.android;return o===void 0?!1:o==="always"?!0:o==="never"?!1:_e(r,o)>=0}function ne(e){return d("processProductGrant")(e)}var dr={createOneTimePurchaseOrder:e=>{let t=H({android:"5.219.0",ios:"5.219.0"}),r=()=>{};if(!t)return r;let n=H({android:"5.231.1",ios:"5.230.0"}),{options:o,onEvent:s,onError:a}=e,i=o.sku??o.productId;return n?b("requestOneTimePurchase")({options:{sku:i},onEvent:async g=>{if(g.type==="purchased"){let u=await o.processProductGrant({orderId:g.data.orderId});await ne({orderId:g.data.orderId,isProductGranted:u}).catch(a)}else s(g)},onError:g=>{a(g)}}):(d("iapCreateOneTimePurchaseOrder")({productId:i}).then(u=>{Promise.resolve(o.processProductGrant({orderId:u.orderId})).then(()=>{s({type:"success",data:u})}).catch(f=>{a(f)})}).catch(u=>{a(u)}),r)},createSubscriptionPurchaseOrder:e=>{let t=H({android:"5.248.0",ios:"5.249.0"}),r=()=>{};if(!t)return r;let{options:n,onEvent:o,onError:s}=e,{sku:a,offerId:i,processProductGrant:m}=n;return b("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await m({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await ne({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:d("iapGetProductItemList"),getPendingOrders:d("getPendingOrders"),getCompletedOrRefundedOrders:d("getCompletedOrRefundedOrders"),completeProductGrant:d("completeProductGrant"),getSubscriptionInfo:d("getSubscriptionInfo")},cr=p("getSafeAreaInsets");var ur=p("getSafeAreaInsets");var pr={loadAppsInTossAdMob:Object.assign(b("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(b("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(d("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var lr={getDeploymentId:p("getDeploymentId")},mr=p("deploymentId"),gr=p("brandDisplayName"),fr=p("brandIcon"),vr=p("brandPrimaryColor");var hr={addAccessoryButton:d("addAccessoryButton"),removeAccessoryButton:d("removeAccessoryButton")},Se=d("requestPermission"),Ce=d("getPermission"),Ie=d("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await Se(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Ie(e),n}var Er=I({handler:e=>d("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:j}),br=I({handler:e=>d("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:K}),Sr=I({handler:e=>d("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),Ir=I({handler:e=>d("openCamera")(e),permission:{name:"camera",access:"access"},error:J}),Tr=I({handler:e=>d("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Z}),Lr=I({handler:()=>d("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:Y}),ye=d("getPermission"),Te=d("openPermissionDialog"),ue=e=>b("updateLocationEvent")({...e,onError:t=>{let r=new X;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ue.getPermission=()=>ye({name:"geolocation",access:"access"});ue.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var xr=Object.assign(b("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Dr=Object.assign(b("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function Re(e,t){let r=P.get(e);if(r)return r;let n=t(),o=!1,s={destroy(){o||(o=!0,P.get(e)===s&&P.delete(e),n.destroy())}};return P.set(e,s),s}function Le(){P=new WeakMap}var Pe=d("openURL");function xe(e){let t=De(e);return Pe(t)}function De(e){return["http://","https://"].some(r=>e.startsWith(r))?Ne(e):e}function Ne(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var oe="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",se=15e3,N=null;function S(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Me(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=S();if(e)return Promise.resolve(e);if(N)return N;let t=new Promise((r,n)=>{let o=document.createElement("script"),s=()=>{o.removeEventListener("load",a),o.removeEventListener("error",i),window.clearTimeout(m),N=null},a=()=>{let g=S();if(g){s(),r(g);return}s(),n(new Error("Ads SDK script loaded but window.TossAdsSpaceKit was not exposed."))},i=()=>{s(),n(new Error(`Failed to load Ads SDK script from ${oe}.`))},m=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${se}ms.`))},se);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=oe,document.head.appendChild(o)});return N=t,t}var _=Object.assign(b("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Fe=d("tossAdEventLog"),Ge=new Set(["1","2"]),pe="\\uC798\\uBABB\\uB41C \\uC694\\uCCAD\\uC774\\uC5D0\\uC694. \\uD544\\uC694\\uD55C \\uAC12\\uC774 \\uBE44\\uC5B4 \\uC788\\uC5B4\\uC694.";function M(e){return e.trim()}function U(){return new Error(pe)}function Be(){return{resultType:"FAIL",error:{reason:pe}}}function ke(e){return new Promise((t,r)=>{if(!_.isSupported()){r(new Error("fetchTossAd is not supported in this environment."));return}let n=M(e.adGroupId);if(n.length===0){r(U());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function ae(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Ge.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function Oe(e){return Ve(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:ae(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:He(e)?{resultType:"SUCCESS",success:ae(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Ve(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function He(e){return!!(e&&typeof e=="object"&&"ads"in e)}function qe(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Be();try{let n=await ke({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return Oe(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function Ue(e){let{callbacks:t}=e,r=()=>t?.onInitialized?.(),n=a=>{let i=a instanceof Error?a:new Error(String(a));t?.onInitializationFailed?.(i)};if(S()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Me().then(a=>{if(a.isInitialized())return;let m={environment:"live",customAdFetcher:qe(),opener:xe};a.init(m)});L=s,s.then(r).catch(n).finally(()=>{L===s&&(L=null)})}function We(e,t,r={}){let{callbacks:n}=r,o=M(e),s=a=>{let i=a instanceof Error?a:new Error(String(a));n?.onAdFailedToRender?.({slotId:"",adGroupId:o,adMetadata:{},error:{code:0,message:i.message}})};try{let a=o;if(a.length===0)throw U();let i=S();if(!i)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!i.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let m=typeof t=="string"?document.querySelector(t):t;if(!m)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let g={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:me(o,r.callbacks)};i.banner.createSlot(m,g)}catch(a){s(a)}}var ze="16px 20px",$e="20px",je="auto",Ke="blackAndWhite",Je="expanded",h="toss-ads-attach",ie="toss-ads-attach-style",le="data-toss-ads-attach-banner-wrapper",q=\'"Toss Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif\';function Xe(e){let t=e.ownerDocument;if(!t||t.getElementById(ie))return;let r=t.createElement("style");r.id=ie,r.textContent=`\n .${h},\n .${h} * {\n font-family: ${q};\n font-style: normal;\n }\n .${h} { background: #ffffff; }\n .${h}.toss-ads-tone-grey { background: #f2f4f7; }\n @media (prefers-color-scheme: dark) {\n .${h} { background: #17171c; }\n .${h}.toss-ads-tone-grey { background: #101013; }\n }\n .${h}.toss-ads-theme-light { background: #ffffff; }\n .${h}.toss-ads-theme-light.toss-ads-tone-grey { background: #f2f4f7; }\n .${h}.toss-ads-theme-dark { background: #17171c; }\n .${h}.toss-ads-theme-dark.toss-ads-tone-grey { background: #101013; }\n `;let n=t.head??t.body??t.documentElement;n&&n.appendChild(r)}function Ye(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(le)==="true"&&e.removeChild(t)})}function Ze(e,t,r={}){let{callbacks:n,theme:o=je,tone:s=Ke,variant:a=Je}=r,i=M(e),m=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},g=me(i,n);try{let u=i;if(u.length===0)throw U();let f=S();if(!f)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!f.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let R=typeof t=="string"?document.querySelector(t):t;if(!R)throw new Error(`[toss-ad] Failed to find target element: ${t}`);return Re(R,()=>{let l=document.createElement("div");l.style.width="100%",l.style.height="100%",l.style.boxSizing="border-box",l.style.display="flex",l.style.flexDirection="column",l.style.fontFamily=q,l.style.fontStyle="normal",l.style.justifyContent="center",l.style.overflow="hidden",l.setAttribute(le,"true"),a==="card"&&(l.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),w.style.fontFamily=q,w.style.fontStyle="normal",s==="grey"&&w.classList.add("toss-ads-tone-grey"),o==="light"?w.classList.add("toss-ads-theme-light"):o==="dark"&&w.classList.add("toss-ads-theme-dark"),a==="card"&&(w.style.borderRadius="16px",w.style.overflow="hidden"),l.appendChild(w);let x=!1,W=null;try{Xe(R),Ye(R),R.appendChild(l),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:fe=>fe==="1"?ze:$e,callbacks:g};W=f.banner.createSlot(w,O)}catch(O){throw x&&l.parentNode&&l.parentNode.removeChild(l),O}return{destroy(){W?.destroy(),x&&l.parentNode&&l.parentNode.removeChild(l),x=!1}}})}catch(u){return m(u),{destroy(){}}}}function Qe(e){let t=S();t?.banner&&t.banner.destroy(e)}function et(){let e=S();e?.banner&&(e.banner.destroyAll(),Le())}function me(e,t){if(!t)return;let r=n=>{let o={...n??{}};return o.adGroupId=o.adGroupId??o.spaceId??e,delete o.spaceId,o};return{onAdRendered:n=>t.onAdRendered?.(r(n)),onAdViewable:n=>t.onAdViewable?.(r(n)),onAdClicked:n=>t.onAdClicked?.(r(n)),onAdImpression:n=>{Fe({log_name:"display_ads_all::impression__1px_banner",log_type:"event",params:{event_type:"impression",schema_id:1812034,request_id:n?.adMetadata?.requestId??""}}),t.onAdImpression?.(r(n))},onAdFailedToRender:n=>t.onAdFailedToRender?.({...r(n),error:n?.error??{code:0,message:"UNKNOWN"}}),onNoFill:n=>t.onNoFill?.(r(n))}}var Nr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ze,{isSupported:_.isSupported}),destroy:Object.assign(Qe,{isSupported:_.isSupported}),destroyAll:Object.assign(et,{isSupported:_.isSupported})},Mr=Object.assign(d("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Fr=Object.assign(d("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=d("debugLog");log(t,r){try{this._log({log_name:`apps_in_toss_webview_${t}`,log_type:"debug",params:{...r,...this.getCommonParams()}})}catch{}}getCommonParams(){return{...this.getLocationInfo(),...this.getNavigatorInfo(),...this.getScreenInfo(),appName:window.__appsInToss.appName,deploymentId:window.__appsInToss.deploymentId,sessionId:window.__appsInToss.sessionId,isGame:window.__appsInToss.webViewType==="game",timestampMs:Date.now()}}getLocationInfo(){return{url:window.location.href,urlOrigin:window.location.origin,urlHost:window.location.hostname,urlPath:window.location.pathname,urlSearch:window.location.search}}getNavigatorInfo(){return{userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookieEnabled:navigator.cookieEnabled,hardwareConcurrency:navigator.hardwareConcurrency,deviceMemory:navigator.deviceMemory?navigator.deviceMemory*1024*1024:void 0,maxTouchPoints:navigator.maxTouchPoints}}getScreenInfo(){return{screenWidth:screen.width,screenHeight:screen.height,availableScreenWidth:screen.availWidth,availableScreenHeight:screen.availHeight,devicePixelRatio:window.devicePixelRatio,colorDepth:screen.colorDepth,pixelDepth:screen.pixelDepth,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight}}};var G=class{callbacks={};on(t,r){return typeof this.callbacks[t]>"u"&&(this.callbacks[t]=[]),this.callbacks[t].push(r),()=>{this.callbacks[t]=this.callbacks[t]?.filter(n=>n!==r)??[]}}emit(t,r){this.callbacks[t]?.forEach(n=>n(r))}};window.__appsInToss={appName:p("getAppName")(),deploymentId:p("getDeploymentId")(),webViewType:p("getWebViewType")(),sessionId:Math.random().toString(36).substring(2),eventEmitter:new G,debugLogger:new F};var y=/\\.(data|wasm|framework\\.js)(?:\\.gz|\\.br|\\.unityweb)?$/;function B(e){window.fetch=new Proxy(window.fetch,{apply:e})}(()=>{if(window.__appsInToss.webViewType!=="game"||typeof caches>"u")return;let e="@apps-in-toss/caches/",t=`${e}${window.__appsInToss.deploymentId}`;window.addEventListener("load",async()=>{let r=await caches.keys();for(let n of r)n.startsWith(e)&&n!==t&&await caches.delete(n)}),B(async(r,n,o)=>{let s=new Request(o[0],o[1]);if(!y.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let g=i.headers.get("ETag"),u=i.headers.get("Last-Modified");g&&s.headers.set("If-None-Match",g),u&&s.headers.set("If-Modified-Since",u);let f=await r.call(n,s);return f.status===304?(i.__revalidateResponse=f,i):(a.put(s,f.clone()),f)}let m=await r.call(n,s);return a.put(s,m.clone()),m})})();B(async(e,t,r)=>{let n=new Request(r[0],r[1]),o=Date.now();window.__appsInToss.eventEmitter.emit("fetchRequest",{request:n});try{let s=await e.call(t,n);return window.__appsInToss.eventEmitter.emit("fetchResponse",{request:n,response:s,requestAt:o}),s}catch(s){throw window.__appsInToss.eventEmitter.emit("fetchError",{request:n,requestAt:o,error:s}),s}});HTMLCanvasElement.prototype.getContext=new Proxy(HTMLCanvasElement.prototype.getContext,{apply:(e,t,r)=>{let n=e.apply(t,r);return(n instanceof WebGL2RenderingContext||n instanceof WebGLRenderingContext)&&window.__appsInToss.eventEmitter.emit("webglGetContext",{canvas:t,context:n}),n}});var ge=window.__appsInToss.debugLogger;ge.log("load_start",{});window.addEventListener("load",()=>{let e=performance.timeOrigin,t=performance.getEntriesByType?.("navigation")[0]??null,r=typeof e<"u"&&t!==null,n=r?{navigationStartAtMs:e+t.startTime,navigationRedirectStartAtMs:e+t.redirectStart,navigationRedirectEndAtMs:e+t.redirectEnd,navigationRedirectCount:t.redirectCount,navigationServiceWorkerStartAtMs:e+t.workerStart,navigationFetchStartAtMs:e+t.fetchStart,navigationDomainLookupStartAtMs:e+t.domainLookupStart,navigationDomainLookupEndAtMs:e+t.domainLookupEnd,navigationConnectStartAtMs:e+t.connectStart,navigationSecureConnectStartAtMs:e+t.secureConnectionStart,navigationConnectEndAtMs:e+t.connectEnd,navigationRequestStartAtMs:e+t.requestStart,navigationResponseStartAtMs:e+t.responseStart,navigationResponseEndAtMs:e+t.responseEnd,navigationDomInteractiveAtMs:e+t.domInteractive,navigationDomContentLoadedEventStartAtMs:e+t.domContentLoadedEventStart,navigationDomContentLoadedEventEndAtMs:e+t.domContentLoadedEventEnd,navigationDomCompleteAtMs:e+t.domComplete}:{};ge.log("load_complete",{isNavigationDebugSupported:r,...n})});function T(e,t){return parseFloat(e.toFixed(t))}(()=>{if(typeof performance.memory>"u"||typeof performance.memory.usedJSHeapSize>"u"||typeof performance.memory.totalJSHeapSize>"u"||typeof performance.memory.jsHeapSizeLimit>"u")return;function e(t){window.__appsInToss.debugLogger.log(t,{usedJSHeapSize:T(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:T(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:T(performance.memory.jsHeapSizeLimit/1024,2)})}e("memory_usage_first_0s"),setTimeout(()=>e("memory_usage_first_1s"),1e3),setTimeout(()=>e("memory_usage_first_10s"),1e4),setTimeout(()=>e("memory_usage_first_30s"),3e4),setTimeout(()=>e("memory_usage_first_60s"),6e4),setInterval(()=>e("memory_usage_every_180s"),18e4)})();(()=>{let e=window.__appsInToss.debugLogger,t=performance.timeOrigin;if(typeof t>"u"||typeof PerformanceObserver>"u")return;new PerformanceObserver(o=>{o.getEntries().forEach(a=>{a.name==="first-paint"?e.log("first_paint",{fpStartAtMs:t+a.startTime}):a.name==="first-contentful-paint"&&e.log("first_contentful_paint",{fcpStartAtMs:t+a.startTime})})}).observe({type:"paint"}),new PerformanceObserver(o=>{o.getEntries().forEach(a=>{e.log("largest_contentful_paint",{lcpStartAtMs:t+a.startTime,lcpRenderSize:a.size})})}).observe({type:"largest-contentful-paint"})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.eventEmitter.on("webglGetContext",({canvas:t,context:r})=>{if(t.getAttribute("id")!=="unity-canvas")return;e();let n=r.getExtension("WEBGL_debug_renderer_info"),o=r.getParameter(r.MAX_VIEWPORT_DIMS),s={webGLRenderer:r.getParameter(r.RENDERER),webGLVendor:r.getParameter(r.VENDOR),webGLVersion:r.getParameter(r.VERSION),webGLShadingLanguageVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),webGLMaxTextureSize:r.getParameter(r.MAX_TEXTURE_SIZE),webGLMaxViewportWidth:o[0],webGLMaxViewportHeight:o[1],webGLMaxRenderbufferSize:r.getParameter(r.MAX_RENDERBUFFER_SIZE)},a=n?{webGLUnmaskedVendor:r.getParameter(n.UNMASKED_VENDOR_WEBGL),webGLUnmaskedRenderer:r.getParameter(n.UNMASKED_RENDERER_WEBGL)}:{};window.__appsInToss.debugLogger.log("unity_webgl_info",{...s,...a})})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.debugLogger,t=window.__appsInToss.eventEmitter;t.on("fetchRequest",({request:n})=>{y.test(n.url)&&e.log("game_resource_download_start",{gameResourceRequestURL:n.url})});function r({request:n,requestAt:o,error:s}){e.log("game_resource_download_error",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceError:s instanceof Error?s.message:"Unknown Error"})}t.on("fetchResponse",async({request:n,requestAt:o,response:s})=>{if(!y.test(n.url))return;let a=await s.clone().blob().then(m=>T(m.size/1024,2)).catch(m=>(r({request:n,requestAt:o,error:m}),null));if(a===null)return;let i=Date.now();e.log("game_resource_download_end",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceResponseAtMs:i,gameResourceResponseSize:a,gameResourceResponseStatus:s.__revalidateResponse?.status??s.status,gameResourceDownloadDurationMs:i-o})}),t.on("fetchError",async({request:n,requestAt:o,error:s})=>{y.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function tt(){let e=0;function t(r){let n=performance.now();if(r<n-1e3){k.push(e);return}e+=1,window.requestAnimationFrame(()=>t(r))}window.requestAnimationFrame(()=>t(performance.now()))}function rt(){if(k.length===0)return;let e=k;k=[];let t=nt(e).toSorted(),r={};for(let o=0;o<=100;o+=10){let s=t[Math.floor((t.length-1)*(o/100))];s&&(r[`fpsP${o}`]=s)}let n=t.reduce((o,s)=>o+s,0);r.fpsAverage=n/t.length,window.__appsInToss.debugLogger.log("fps_every_300s",r)}function nt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>tt(),1e3);setInterval(()=>rt(),3e5);})();\n';
213879
+ m = '"use strict";(()=>{var ve=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},E=new ve,z=()=>Math.random().toString(36).substring(2,15),$=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function d(e){return(...t)=>{let r=z(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(E.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(E.on(`${e}/reject/${r}`,i=>{o(),a($(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=z(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError($(o))})];return E.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{E.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function v(e){return()=>E.getConstant(e)}var he=function(){return{emit:function(t,r){for(var n=this.events[t]||[],o=0,s=n.length;o<s;o++)n[o](r)},events:{},on:function(t,r){var n=this,o,s;return((o=this.events)[s=t]||(o[s]=[])).push(r),function(){var a;n.events[t]=(a=n.events[t])===null||a===void 0?void 0:a.filter(function(i){return r!==i})}}}};typeof window<"u"&&(window.__GRANITE_NATIVE_EMITTER=he());var it=d("closeView"),dt=d("generateHapticFeedback"),ct=d("share"),ut=d("setSecureScreen"),pt=d("setScreenAwakeMode"),mt=d("getNetworkStatus"),lt=d("setIosSwipeGestureEnabled"),gt=d("openURL"),ft=d("openPermissionDialog"),vt=d("getPermission"),ht=d("requestPermission"),wt=v("setClipboardText"),Et=v("getClipboardText"),At=v("fetchContacts"),bt=v("fetchAlbumPhotos"),_t=v("getCurrentLocation"),St=v("openCamera"),Ct=d("appLogin"),It=d("eventLog"),yt=d("getTossShareLink"),Tt=d("setDeviceOrientation"),Rt=d("checkoutPayment"),Lt=d("requestTossPayPaysBilling"),Pt=d("saveBase64Data"),xt=d("openPDFViewer"),Dt=d("fetchAlbumItems"),Nt=d("appsInTossSignTossCert"),Mt=d("getGameCenterGameProfile"),Ft=d("openGameCenterLeaderboard"),Gt=d("submitGameCenterLeaderBoardScore"),Bt=d("getAnonymousKey"),kt=d("getUserKeyForGame"),Ot=d("grantPromotionReward"),Vt=d("grantPromotionRewardForGame"),Ht=d("getIsTossLoginIntegratedService"),qt=d("getServerTime"),Ut=d("requestReview"),Wt=v("getLocale"),zt=v("getSchemeUri"),$t=v("getPlatformOS"),jt=v("getOperationalEnvironment"),Kt=v("getTossAppVersion"),Jt=v("getDeviceId"),Xt=v("getGroupId"),Yt=D("contactsViral"),Zt=D("startUpdateLocation"),Qt=D("onVisibilityChangedByTransparentServiceWeb");var C=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},j=class extends C{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends C{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=class extends C{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends C{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},X=V,Y=class extends C{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Z=class extends C{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var we=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},A=new we,de=()=>Math.random().toString(36).substring(2,15),ce=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function c(e){return(...t)=>{let r=de(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(A.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(A.on(`${e}/reject/${r}`,i=>{o(),a(ce(i))})),A.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function b(e){return t=>{let r=de(),n=[A.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),A.on(`${e}/onError/${r}`,o=>{t.onError(ce(o))})];return A.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{A.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>A.getConstant(e)}var cr={getItem:c("getStorageItem"),setItem:c("setStorageItem"),removeItem:c("removeStorageItem"),clearItems:c("clearItems")},Ee=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Q=e=>["*","x","X"].includes(e),ee=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ae=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Q(e)||Q(t))return 0;let[r,n]=Ae(ee(e),ee(t));return r>n?1:r<n?-1:0},te=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(Ee);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},re=(e,t)=>{let r=Math.max(e.length,t.length);for(let n=0;n<r;n++){let o=e[n]??"0",s=t[n]??"0",a=be(o,s);if(a!==0)return a}return 0},_e=(e,t)=>{let r=te(e),n=te(t),o=r.pop(),s=n.pop(),a=re(r,n);return a!==0?a:o&&s?re(o.split("."),s.split(".")):o?-1:s?1:0};function H(e){if(p("getOperationalEnvironment")()==="sandbox")return!0;let r=p("getTossAppVersion")(),o=p("getPlatformOS")()==="ios"?e.ios:e.android;return o===void 0?!1:o==="always"?!0:o==="never"?!1:_e(r,o)>=0}function ne(e){return c("processProductGrant")(e)}var ur={createOneTimePurchaseOrder:e=>{let t=H({android:"5.219.0",ios:"5.219.0"}),r=()=>{};if(!t)return r;let n=H({android:"5.231.1",ios:"5.230.0"}),{options:o,onEvent:s,onError:a}=e,i=o.sku??o.productId;return n?b("requestOneTimePurchase")({options:{sku:i},onEvent:async g=>{if(g.type==="purchased"){let u=await o.processProductGrant({orderId:g.data.orderId});await ne({orderId:g.data.orderId,isProductGranted:u}).catch(a)}else s(g)},onError:g=>{a(g)}}):(c("iapCreateOneTimePurchaseOrder")({productId:i}).then(u=>{Promise.resolve(o.processProductGrant({orderId:u.orderId})).then(()=>{s({type:"success",data:u})}).catch(f=>{a(f)})}).catch(u=>{a(u)}),r)},createSubscriptionPurchaseOrder:e=>{let t=H({android:"5.248.0",ios:"5.249.0"}),r=()=>{};if(!t)return r;let{options:n,onEvent:o,onError:s}=e,{sku:a,offerId:i,processProductGrant:l}=n;return b("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await l({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await ne({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:c("iapGetProductItemList"),getPendingOrders:c("getPendingOrders"),getCompletedOrRefundedOrders:c("getCompletedOrRefundedOrders"),completeProductGrant:c("completeProductGrant"),getSubscriptionInfo:c("getSubscriptionInfo")},pr=p("getSafeAreaInsets");var mr=p("getSafeAreaInsets");var lr={loadAppsInTossAdMob:Object.assign(b("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(b("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(c("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var gr={getDeploymentId:p("getDeploymentId")},fr=p("deploymentId"),vr=p("brandDisplayName"),hr=p("brandIcon"),wr=p("brandPrimaryColor");var Er={addAccessoryButton:c("addAccessoryButton"),removeAccessoryButton:c("removeAccessoryButton")},Se=c("requestPermission"),Ce=c("getPermission"),Ie=c("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await Se(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Ie(e),n}var br=I({handler:e=>c("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:j}),Sr=I({handler:e=>c("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:K}),Ir=I({handler:e=>c("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),Tr=I({handler:e=>c("openCamera")(e),permission:{name:"camera",access:"access"},error:J}),Lr=I({handler:e=>c("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Z}),xr=I({handler:()=>c("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:Y}),ye=c("getPermission"),Te=c("openPermissionDialog"),ue=e=>b("updateLocationEvent")({...e,onError:t=>{let r=new X;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ue.getPermission=()=>ye({name:"geolocation",access:"access"});ue.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Nr=Object.assign(b("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Mr=Object.assign(b("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function Re(e,t){let r=P.get(e);if(r)return r;let n=t(),o=!1,s={destroy(){o||(o=!0,P.get(e)===s&&P.delete(e),n.destroy())}};return P.set(e,s),s}function Le(){P=new WeakMap}var Pe=c("openURL");function xe(e){let t=De(e);return Pe(t)}function De(e){return["http://","https://"].some(r=>e.startsWith(r))?Ne(e):e}function Ne(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var oe="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",se=15e3,N=null;function S(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Me(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=S();if(e)return Promise.resolve(e);if(N)return N;let t=new Promise((r,n)=>{let o=document.createElement("script"),s=()=>{o.removeEventListener("load",a),o.removeEventListener("error",i),window.clearTimeout(l),N=null},a=()=>{let g=S();if(g){s(),r(g);return}s(),n(new Error("Ads SDK script loaded but window.TossAdsSpaceKit was not exposed."))},i=()=>{s(),n(new Error(`Failed to load Ads SDK script from ${oe}.`))},l=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${se}ms.`))},se);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=oe,document.head.appendChild(o)});return N=t,t}var _=Object.assign(b("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Fe=c("tossAdEventLog"),Ge=new Set(["1","2"]),pe="\\uC798\\uBABB\\uB41C \\uC694\\uCCAD\\uC774\\uC5D0\\uC694. \\uD544\\uC694\\uD55C \\uAC12\\uC774 \\uBE44\\uC5B4 \\uC788\\uC5B4\\uC694.";function M(e){return e.trim()}function U(){return new Error(pe)}function Be(){return{resultType:"FAIL",error:{reason:pe}}}function ke(e){return new Promise((t,r)=>{if(!_.isSupported()){r(new Error("fetchTossAd is not supported in this environment."));return}let n=M(e.adGroupId);if(n.length===0){r(U());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function ae(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Ge.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function Oe(e){return Ve(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:ae(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:He(e)?{resultType:"SUCCESS",success:ae(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Ve(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function He(e){return!!(e&&typeof e=="object"&&"ads"in e)}function qe(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Be();try{let n=await ke({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return Oe(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function Ue(e){let{callbacks:t}=e,r=()=>t?.onInitialized?.(),n=a=>{let i=a instanceof Error?a:new Error(String(a));t?.onInitializationFailed?.(i)};if(S()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Me().then(a=>{if(a.isInitialized())return;let l={environment:"live",customAdFetcher:qe(),opener:xe};a.init(l)});L=s,s.then(r).catch(n).finally(()=>{L===s&&(L=null)})}function We(e,t,r={}){let{callbacks:n}=r,o=M(e),s=a=>{let i=a instanceof Error?a:new Error(String(a));n?.onAdFailedToRender?.({slotId:"",adGroupId:o,adMetadata:{},error:{code:0,message:i.message}})};try{let a=o;if(a.length===0)throw U();let i=S();if(!i)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!i.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let l=typeof t=="string"?document.querySelector(t):t;if(!l)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let g={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:le(o,r.callbacks)};i.banner.createSlot(l,g)}catch(a){s(a)}}var ze="16px 20px",$e="20px",je="auto",Ke="blackAndWhite",Je="expanded",h="toss-ads-attach",ie="toss-ads-attach-style",me="data-toss-ads-attach-banner-wrapper",q=\'"Toss Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif\';function Xe(e){let t=e.ownerDocument;if(!t||t.getElementById(ie))return;let r=t.createElement("style");r.id=ie,r.textContent=`\n .${h},\n .${h} * {\n font-family: ${q};\n font-style: normal;\n }\n .${h} { background: #ffffff; }\n .${h}.toss-ads-tone-grey { background: #f2f4f7; }\n @media (prefers-color-scheme: dark) {\n .${h} { background: #17171c; }\n .${h}.toss-ads-tone-grey { background: #101013; }\n }\n .${h}.toss-ads-theme-light { background: #ffffff; }\n .${h}.toss-ads-theme-light.toss-ads-tone-grey { background: #f2f4f7; }\n .${h}.toss-ads-theme-dark { background: #17171c; }\n .${h}.toss-ads-theme-dark.toss-ads-tone-grey { background: #101013; }\n `;let n=t.head??t.body??t.documentElement;n&&n.appendChild(r)}function Ye(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(me)==="true"&&e.removeChild(t)})}function Ze(e,t,r={}){let{callbacks:n,theme:o=je,tone:s=Ke,variant:a=Je}=r,i=M(e),l=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},g=le(i,n);try{let u=i;if(u.length===0)throw U();let f=S();if(!f)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!f.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let R=typeof t=="string"?document.querySelector(t):t;if(!R)throw new Error(`[toss-ad] Failed to find target element: ${t}`);return Re(R,()=>{let m=document.createElement("div");m.style.width="100%",m.style.height="100%",m.style.boxSizing="border-box",m.style.display="flex",m.style.flexDirection="column",m.style.fontFamily=q,m.style.fontStyle="normal",m.style.justifyContent="center",m.style.overflow="hidden",m.setAttribute(me,"true"),a==="card"&&(m.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),w.style.fontFamily=q,w.style.fontStyle="normal",s==="grey"&&w.classList.add("toss-ads-tone-grey"),o==="light"?w.classList.add("toss-ads-theme-light"):o==="dark"&&w.classList.add("toss-ads-theme-dark"),a==="card"&&(w.style.borderRadius="16px",w.style.overflow="hidden"),m.appendChild(w);let x=!1,W=null;try{Xe(R),Ye(R),R.appendChild(m),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:fe=>fe==="1"?ze:$e,callbacks:g};W=f.banner.createSlot(w,O)}catch(O){throw x&&m.parentNode&&m.parentNode.removeChild(m),O}return{destroy(){W?.destroy(),x&&m.parentNode&&m.parentNode.removeChild(m),x=!1}}})}catch(u){return l(u),{destroy(){}}}}function Qe(e){let t=S();t?.banner&&t.banner.destroy(e)}function et(){let e=S();e?.banner&&(e.banner.destroyAll(),Le())}function le(e,t){if(!t)return;let r=n=>{let o={...n??{}};return o.adGroupId=o.adGroupId??o.spaceId??e,delete o.spaceId,o};return{onAdRendered:n=>t.onAdRendered?.(r(n)),onAdViewable:n=>t.onAdViewable?.(r(n)),onAdClicked:n=>t.onAdClicked?.(r(n)),onAdImpression:n=>{Fe({log_name:"display_ads_all::impression__1px_banner",log_type:"event",params:{event_type:"impression",schema_id:1812034,request_id:n?.adMetadata?.requestId??""}}),t.onAdImpression?.(r(n))},onAdFailedToRender:n=>t.onAdFailedToRender?.({...r(n),error:n?.error??{code:0,message:"UNKNOWN"}}),onNoFill:n=>t.onNoFill?.(r(n))}}var Fr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ze,{isSupported:_.isSupported}),destroy:Object.assign(Qe,{isSupported:_.isSupported}),destroyAll:Object.assign(et,{isSupported:_.isSupported})},Gr=Object.assign(c("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Br=Object.assign(c("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=c("debugLog");log(t,r){try{this._log({log_name:`apps_in_toss_webview_${t}`,log_type:"debug",params:{...r,...this.getCommonParams()}})}catch{}}getCommonParams(){return{...this.getLocationInfo(),...this.getNavigatorInfo(),...this.getScreenInfo(),appName:window.__appsInToss.appName,deploymentId:window.__appsInToss.deploymentId,sessionId:window.__appsInToss.sessionId,isGame:window.__appsInToss.webViewType==="game",timestampMs:Date.now()}}getLocationInfo(){return{url:window.location.href,urlOrigin:window.location.origin,urlHost:window.location.hostname,urlPath:window.location.pathname,urlSearch:window.location.search}}getNavigatorInfo(){return{userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookieEnabled:navigator.cookieEnabled,hardwareConcurrency:navigator.hardwareConcurrency,deviceMemory:navigator.deviceMemory?navigator.deviceMemory*1024*1024:void 0,maxTouchPoints:navigator.maxTouchPoints}}getScreenInfo(){return{screenWidth:screen.width,screenHeight:screen.height,availableScreenWidth:screen.availWidth,availableScreenHeight:screen.availHeight,devicePixelRatio:window.devicePixelRatio,colorDepth:screen.colorDepth,pixelDepth:screen.pixelDepth,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight}}};var G=class{callbacks={};on(t,r){return typeof this.callbacks[t]>"u"&&(this.callbacks[t]=[]),this.callbacks[t].push(r),()=>{this.callbacks[t]=this.callbacks[t]?.filter(n=>n!==r)??[]}}emit(t,r){this.callbacks[t]?.forEach(n=>n(r))}};window.__appsInToss={appName:p("getAppName")(),deploymentId:p("getDeploymentId")(),webViewType:p("getWebViewType")(),sessionId:Math.random().toString(36).substring(2),eventEmitter:new G,debugLogger:new F};var y=/\\.(data|wasm|framework\\.js)(?:\\.gz|\\.br|\\.unityweb)?$/;function B(e){window.fetch=new Proxy(window.fetch,{apply:e})}(()=>{if(window.__appsInToss.webViewType!=="game"||typeof caches>"u")return;let e="@apps-in-toss/caches/",t=`${e}${window.__appsInToss.deploymentId}`;window.addEventListener("load",async()=>{let r=await caches.keys();for(let n of r)n.startsWith(e)&&n!==t&&await caches.delete(n)}),B(async(r,n,o)=>{let s=new Request(o[0],o[1]);if(!y.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let g=i.headers.get("ETag"),u=i.headers.get("Last-Modified");g&&s.headers.set("If-None-Match",g),u&&s.headers.set("If-Modified-Since",u);let f=await r.call(n,s);return f.status===304?(i.__revalidateResponse=f,i):(a.put(s,f.clone()),f)}let l=await r.call(n,s);return a.put(s,l.clone()),l})})();B(async(e,t,r)=>{let n=new Request(r[0],r[1]),o=Date.now();window.__appsInToss.eventEmitter.emit("fetchRequest",{request:n});try{let s=await e.call(t,n);return window.__appsInToss.eventEmitter.emit("fetchResponse",{request:n,response:s,requestAt:o}),s}catch(s){throw window.__appsInToss.eventEmitter.emit("fetchError",{request:n,requestAt:o,error:s}),s}});HTMLCanvasElement.prototype.getContext=new Proxy(HTMLCanvasElement.prototype.getContext,{apply:(e,t,r)=>{let n=e.apply(t,r);return(n instanceof WebGL2RenderingContext||n instanceof WebGLRenderingContext)&&window.__appsInToss.eventEmitter.emit("webglGetContext",{canvas:t,context:n}),n}});var ge=window.__appsInToss.debugLogger;ge.log("load_start",{});window.addEventListener("load",()=>{let e=performance.timeOrigin,t=performance.getEntriesByType?.("navigation")[0]??null,r=typeof e<"u"&&t!==null,n=r?{navigationStartAtMs:e+t.startTime,navigationRedirectStartAtMs:e+t.redirectStart,navigationRedirectEndAtMs:e+t.redirectEnd,navigationRedirectCount:t.redirectCount,navigationServiceWorkerStartAtMs:e+t.workerStart,navigationFetchStartAtMs:e+t.fetchStart,navigationDomainLookupStartAtMs:e+t.domainLookupStart,navigationDomainLookupEndAtMs:e+t.domainLookupEnd,navigationConnectStartAtMs:e+t.connectStart,navigationSecureConnectStartAtMs:e+t.secureConnectionStart,navigationConnectEndAtMs:e+t.connectEnd,navigationRequestStartAtMs:e+t.requestStart,navigationResponseStartAtMs:e+t.responseStart,navigationResponseEndAtMs:e+t.responseEnd,navigationDomInteractiveAtMs:e+t.domInteractive,navigationDomContentLoadedEventStartAtMs:e+t.domContentLoadedEventStart,navigationDomContentLoadedEventEndAtMs:e+t.domContentLoadedEventEnd,navigationDomCompleteAtMs:e+t.domComplete}:{};ge.log("load_complete",{isNavigationDebugSupported:r,...n})});function T(e,t){return parseFloat(e.toFixed(t))}(()=>{if(typeof performance.memory>"u"||typeof performance.memory.usedJSHeapSize>"u"||typeof performance.memory.totalJSHeapSize>"u"||typeof performance.memory.jsHeapSizeLimit>"u")return;function e(t){window.__appsInToss.debugLogger.log(t,{usedJSHeapSize:T(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:T(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:T(performance.memory.jsHeapSizeLimit/1024,2)})}e("memory_usage_first_0s"),setTimeout(()=>e("memory_usage_first_1s"),1e3),setTimeout(()=>e("memory_usage_first_10s"),1e4),setTimeout(()=>e("memory_usage_first_30s"),3e4),setTimeout(()=>e("memory_usage_first_60s"),6e4),setInterval(()=>e("memory_usage_every_180s"),18e4)})();(()=>{let e=window.__appsInToss.debugLogger,t=performance.timeOrigin;if(typeof t>"u"||typeof PerformanceObserver>"u")return;new PerformanceObserver(o=>{o.getEntries().forEach(a=>{a.name==="first-paint"?e.log("first_paint",{fpStartAtMs:t+a.startTime}):a.name==="first-contentful-paint"&&e.log("first_contentful_paint",{fcpStartAtMs:t+a.startTime})})}).observe({type:"paint"}),new PerformanceObserver(o=>{o.getEntries().forEach(a=>{e.log("largest_contentful_paint",{lcpStartAtMs:t+a.startTime,lcpRenderSize:a.size})})}).observe({type:"largest-contentful-paint"})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.eventEmitter.on("webglGetContext",({canvas:t,context:r})=>{if(t.getAttribute("id")!=="unity-canvas")return;e();let n=r.getExtension("WEBGL_debug_renderer_info"),o=r.getParameter(r.MAX_VIEWPORT_DIMS),s={webGLRenderer:r.getParameter(r.RENDERER),webGLVendor:r.getParameter(r.VENDOR),webGLVersion:r.getParameter(r.VERSION),webGLShadingLanguageVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),webGLMaxTextureSize:r.getParameter(r.MAX_TEXTURE_SIZE),webGLMaxViewportWidth:o[0],webGLMaxViewportHeight:o[1],webGLMaxRenderbufferSize:r.getParameter(r.MAX_RENDERBUFFER_SIZE)},a=n?{webGLUnmaskedVendor:r.getParameter(n.UNMASKED_VENDOR_WEBGL),webGLUnmaskedRenderer:r.getParameter(n.UNMASKED_RENDERER_WEBGL)}:{};window.__appsInToss.debugLogger.log("unity_webgl_info",{...s,...a})})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.debugLogger,t=window.__appsInToss.eventEmitter;t.on("fetchRequest",({request:n})=>{y.test(n.url)&&e.log("game_resource_download_start",{gameResourceRequestURL:n.url})});function r({request:n,requestAt:o,error:s}){e.log("game_resource_download_error",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceError:s instanceof Error?s.message:"Unknown Error"})}t.on("fetchResponse",async({request:n,requestAt:o,response:s})=>{if(!y.test(n.url))return;let a=await s.clone().blob().then(l=>T(l.size/1024,2)).catch(l=>(r({request:n,requestAt:o,error:l}),null));if(a===null)return;let i=Date.now();e.log("game_resource_download_end",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceResponseAtMs:i,gameResourceResponseSize:a,gameResourceResponseStatus:s.__revalidateResponse?.status??s.status,gameResourceDownloadDurationMs:i-o})}),t.on("fetchError",async({request:n,requestAt:o,error:s})=>{y.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function tt(){let e=0;function t(r){let n=performance.now();if(r<n-1e3){k.push(e);return}e+=1,window.requestAnimationFrame(()=>t(r))}window.requestAnimationFrame(()=>t(performance.now()))}function rt(){if(k.length===0)return;let e=k;k=[];let t=nt(e).toSorted(),r={};for(let o=0;o<=100;o+=10){let s=t[Math.floor((t.length-1)*(o/100))];s&&(r[`fpsP${o}`]=s)}let n=t.reduce((o,s)=>o+s,0);r.fpsAverage=n/t.length,window.__appsInToss.debugLogger.log("fps_every_300s",r)}function nt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>tt(),1e3);setInterval(()=>rt(),3e5);})();\n';
213849
213880
  0 && (module.exports = {
213850
213881
  afterDocumentLoad,
213851
213882
  beforeDocumentLoad
213852
213883
  });
213853
- },2592,[],"../../user-scripts/dist/index.js");
213884
+ },2594,[],"../../user-scripts/dist/index.js");
213854
213885
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213855
213886
  Object.defineProperty(exports, "__esModule", {
213856
213887
  value: true
@@ -213863,7 +213894,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213863
213894
  return files.get(id);
213864
213895
  }
213865
213896
  context.keys = () => Array.from(files.keys());
213866
- },2593,[2594,2595],"context.ts");
213897
+ },2595,[2596,2597],"context.ts");
213867
213898
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213868
213899
  Object.defineProperty(exports, "__esModule", {
213869
213900
  value: true
@@ -213896,7 +213927,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213896
213927
  })
213897
213928
  });
213898
213929
  }
213899
- },2594,[1280,34,9],"pages/index.tsx");
213930
+ },2596,[1280,34,9],"pages/index.tsx");
213900
213931
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213901
213932
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213902
213933
  Object.defineProperty(exports, "__esModule", {
@@ -213909,6 +213940,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213909
213940
  }
213910
213941
  });
213911
213942
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
213912
- },2595,[1,2594],"pages/_404.tsx");
213943
+ },2597,[1,2596],"pages/_404.tsx");
213913
213944
  __r(188);
213914
213945
  __r(0);