@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.
@@ -137143,7 +137143,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137143
137143
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
137144
137144
  context: _context.context
137145
137145
  });
137146
- },1282,[1283,2597,9],"src/_app.tsx");
137146
+ },1282,[1283,2599,9],"src/_app.tsx");
137147
137147
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
137148
137148
  "use strict";
137149
137149
 
@@ -137211,7 +137211,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137211
137211
  var import_analytics = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
137212
137212
  var import_native_modules10 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137213
137213
  var import_react_native21 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137214
- var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137214
+ var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137215
137215
  var import_react_native22 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137216
137216
  var import_react_native2 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137217
137217
  var import_react = _$$_REQUIRE(_dependencyMap[9], "react");
@@ -137325,7 +137325,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137325
137325
  return context;
137326
137326
  }
137327
137327
  var import_native_modules9 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137328
- var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
137328
+ var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
137329
137329
  var import_react_native20 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137330
137330
  var import_native_modules4 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137331
137331
  var import_react_native9 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
@@ -137816,32 +137816,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137816
137816
  }, [handler]);
137817
137817
  }
137818
137818
  var import_react_native13 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137819
- var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
137820
- var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137821
- var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
137822
137819
  var import_react12 = _$$_REQUIRE(_dependencyMap[9], "react");
137823
- function useCloseConfirm() {
137824
- var _getAppsInTossGlobals = getAppsInTossGlobals(),
137825
- brandDisplayName = _getAppsInTossGlobals.brandDisplayName;
137826
- var _ref19 = (0, import_tds_react_native5.useDialog)(),
137827
- openConfirm = _ref19.openConfirm;
137828
- return (0, import_react12.useCallback)(function () {
137829
- var _ref20 = _asyncToGenerator(function* ({
137830
- onEntered
137831
- }) {
137832
- return yield openConfirm({
137833
- title: `${(0, import_es_hangul2.josa)(brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
137834
- leftButton: "\uB2EB\uAE30",
137835
- rightButton: "\uC885\uB8CC\uD558\uAE30",
137836
- closeOnDimmerClick: true,
137837
- onEntered
137838
- });
137839
- });
137840
- return function (_x3) {
137841
- return _ref20.apply(this, arguments);
137842
- };
137843
- }(), [brandDisplayName, openConfirm]);
137844
- }
137845
137820
  var EventEmitter = function () {
137846
137821
  function EventEmitter() {
137847
137822
  _classCallCheck(this, EventEmitter);
@@ -137893,12 +137868,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137893
137868
  var import_react_native12 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137894
137869
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
137895
137870
  var NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
137896
- var CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
137897
- var CLOSE_POPUP_SHOW_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app";
137898
137871
  var CLOSE_BUTTON_CLICK_SCHEMA_ID = 1596831;
137899
137872
  var CLOSE_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_close";
137900
- var CLOSE_POPUP_CTA_CLICK_SCHEMA_ID = 1644492;
137901
- var CLOSE_POPUP_CTA_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app::click__cta";
137902
137873
  var HOME_BUTTON_CLICK_SCHEMA_ID = 1596839;
137903
137874
  var HOME_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_home";
137904
137875
  function useNavigationBarLogging() {
@@ -137941,32 +137912,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137941
137912
  }
137942
137913
  });
137943
137914
  };
137944
- var logClosePopupShow = () => {
137945
- sendLog({
137946
- log_name: CLOSE_POPUP_SHOW_LOG_NAME,
137947
- log_type: "popup",
137948
- params: {
137949
- ...baseParams,
137950
- schema_id: CLOSE_POPUP_SHOW_SCHEMA_ID
137951
- }
137952
- });
137953
- };
137954
- var logClosePopupCtaClick = confirm => {
137955
- sendLog({
137956
- log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
137957
- log_type: "event",
137958
- params: {
137959
- ...baseParams,
137960
- close_yn: confirm ? "Y" : "N",
137961
- schema_id: CLOSE_POPUP_CTA_CLICK_SCHEMA_ID,
137962
- event_type: "click"
137963
- }
137964
- });
137965
- };
137966
137915
  return {
137967
137916
  navBarImpression: logNavBarImpression,
137968
- closePopupShow: logClosePopupShow,
137969
- closePopupCtaClick: logClosePopupCtaClick,
137970
137917
  closeButtonClick: logCloseButtonClick,
137971
137918
  homeButtonClick: logHomeButtonClick
137972
137919
  };
@@ -137975,56 +137922,39 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137975
137922
  var backEventContext = (0, import_react_native13.useBackEventContext)();
137976
137923
  var logging = useNavigationBarLogging();
137977
137924
  var navigation = (0, import_react_native13.useNavigation)();
137978
- var closeConfirm = useCloseConfirm();
137979
- return (0, import_react13.useMemo)(() => {
137980
- var close = function () {
137981
- var _ref21 = _asyncToGenerator(function* () {
137982
- var hasConfirmed = yield closeConfirm({
137983
- onEntered: logging.closePopupShow
137984
- });
137985
- logging.closePopupCtaClick(hasConfirmed);
137986
- if (hasConfirmed) {
137987
- (0, import_react_native13.closeView)();
137988
- }
137989
- });
137990
- return function close() {
137991
- return _ref21.apply(this, arguments);
137992
- };
137993
- }();
137994
- return {
137995
- handleBack: () => {
137996
- if (backEventContext.hasBackEvent) {
137997
- backEventContext.onBack();
137998
- } else if (navigation.canGoBack()) {
137999
- navigation.goBack();
138000
- } else {
138001
- close();
138002
- }
138003
- },
138004
- handleHomeButtonClick: () => {
138005
- logging.homeButtonClick();
138006
- if (homeEvent.hasSubscriptions()) {
138007
- homeEvent.emit({});
138008
- } else {
138009
- navigation.navigate("/");
138010
- }
138011
- },
138012
- handleCloseButtonClick: () => {
138013
- logging.closeButtonClick();
138014
- close();
137925
+ return (0, import_react12.useMemo)(() => ({
137926
+ handleBack: () => {
137927
+ if (backEventContext.hasBackEvent) {
137928
+ backEventContext.onBack();
137929
+ } else if (navigation.canGoBack()) {
137930
+ navigation.goBack();
137931
+ } else {
137932
+ (0, import_react_native13.closeView)();
138015
137933
  }
138016
- };
138017
- }, [backEventContext, navigation, closeConfirm, logging]);
137934
+ },
137935
+ handleHomeButtonClick: () => {
137936
+ logging.homeButtonClick();
137937
+ if (homeEvent.hasSubscriptions()) {
137938
+ homeEvent.emit({});
137939
+ } else {
137940
+ navigation.navigate("/");
137941
+ }
137942
+ },
137943
+ handleCloseButtonClick: () => {
137944
+ logging.closeButtonClick();
137945
+ (0, import_react_native13.closeView)();
137946
+ }
137947
+ }), [backEventContext, navigation, logging]);
138018
137948
  }
138019
137949
  var import_native_modules8 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138020
137950
  var import_react_native18 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138021
- var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137951
+ var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138022
137952
  var import_private4 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138023
- var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
137953
+ var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
138024
137954
  var import_native_modules5 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138025
137955
  var import_react_native16 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138026
- var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138027
137956
  var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137957
+ var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138028
137958
  var import_private3 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138029
137959
  var import_react_native15 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138030
137960
  var import_react_native14 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
@@ -138107,7 +138037,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138107
138037
  var logging = useMoreButtonBottomSheetLogging();
138108
138038
  var brandPrimaryColorRGB = hexToRGB(globals.brandPrimaryColor);
138109
138039
  var iconBackgroundColor = brandPrimaryColorRGB ? `rgba(${brandPrimaryColorRGB.join(",")},0.1)` : adaptive.grey100;
138110
- return (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow, {
138040
+ return (0, import_jsx_runtime5.jsx)(import_tds_react_native5.ListRow, {
138111
138041
  left: (0, import_jsx_runtime5.jsx)(import_react_native15.View, {
138112
138042
  style: {
138113
138043
  width: 30,
@@ -138119,14 +138049,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138119
138049
  marginRight: 16,
138120
138050
  backgroundColor: iconBackgroundColor
138121
138051
  },
138122
- children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Icon, {
138052
+ children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native5.Asset.Icon, {
138123
138053
  frameShape: {
138124
138054
  width: 20,
138125
138055
  height: 20
138126
138056
  },
138127
138057
  color: globals.brandPrimaryColor,
138128
138058
  name: iconName
138129
- }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Image, {
138059
+ }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native5.Asset.Image, {
138130
138060
  frameShape: {
138131
138061
  width: 20,
138132
138062
  height: 20
@@ -138136,7 +138066,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138136
138066
  }
138137
138067
  })
138138
138068
  }),
138139
- contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow.Texts, {
138069
+ contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native5.ListRow.Texts, {
138140
138070
  type: "1RowTypeA",
138141
138071
  top: title,
138142
138072
  topProps: {
@@ -138172,10 +138102,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138172
138102
  }
138173
138103
  function addParamsToUrl(url, params) {
138174
138104
  var urlObj = new URL(url);
138175
- for (var _ref22 of Object.entries(params)) {
138176
- var _ref23 = _slicedToArray(_ref22, 2);
138177
- var key = _ref23[0];
138178
- var value = _ref23[1];
138105
+ for (var _ref19 of Object.entries(params)) {
138106
+ var _ref20 = _slicedToArray(_ref19, 2);
138107
+ var key = _ref20[0];
138108
+ var value = _ref20[1];
138179
138109
  urlObj.searchParams.set(key, value);
138180
138110
  }
138181
138111
  return urlObj.toString();
@@ -138189,8 +138119,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138189
138119
  function AppShareListMenu() {
138190
138120
  var initialScheme = (0, import_react_native16.getSchemeUri)();
138191
138121
  var isSandbox = (0, import_native_modules5.getOperationalEnvironment)() === "sandbox";
138192
- var _ref24 = (0, import_tds_react_native7.useDialog)(),
138193
- openConfirm = _ref24.openConfirm;
138122
+ var _ref21 = (0, import_tds_react_native6.useDialog)(),
138123
+ openConfirm = _ref21.openConfirm;
138194
138124
  var schemeForShare = addParamsToUrl(initialScheme, {
138195
138125
  referrer: SHARE_SCHEME_REFERRER
138196
138126
  });
@@ -138280,10 +138210,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138280
138210
  function useMoreButtonBottomSheet() {
138281
138211
  var globals = getAppsInTossGlobals();
138282
138212
  var adaptive = (0, import_private4.useAdaptive)();
138283
- var _ref25 = (0, import_react14.useState)([]),
138284
- _ref26 = _slicedToArray(_ref25, 2),
138285
- itemList = _ref26[0],
138286
- setItemList = _ref26[1];
138213
+ var _ref22 = (0, import_react13.useState)([]),
138214
+ _ref23 = _slicedToArray(_ref22, 2),
138215
+ itemList = _ref23[0],
138216
+ setItemList = _ref23[1];
138287
138217
  var appUpdateDialog = useAppUpdateDialog();
138288
138218
  var logging = useMoreButtonBottomSheetLogging();
138289
138219
  var overlay = (0, import_private4.useOverlay)();
@@ -138292,7 +138222,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138292
138222
  var isBottomSheetSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
138293
138223
  var isShareListMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
138294
138224
  var isSettingsMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SETTINGS_MENU);
138295
- (0, import_react14.useEffect)(() => {
138225
+ (0, import_react13.useEffect)(() => {
138296
138226
  if (!isBottomSheetSupported) {
138297
138227
  return;
138298
138228
  }
@@ -138304,7 +138234,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138304
138234
  });
138305
138235
  }, [isBottomSheetSupported]);
138306
138236
  var onClickHandler = function () {
138307
- var _ref27 = _asyncToGenerator(function* () {
138237
+ var _ref24 = _asyncToGenerator(function* () {
138308
138238
  logging.open();
138309
138239
  if (!isBottomSheetSupported) {
138310
138240
  yield appUpdateDialog.open({
@@ -138323,9 +138253,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138323
138253
  close();
138324
138254
  };
138325
138255
  return (0, import_jsx_runtime9.jsx)(BottomSheetImpressionArea, {
138326
- children: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.BottomSheet.Root, {
138327
- header: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.ListHeader, {
138328
- title: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.ListHeader.TitleParagraph, {
138256
+ children: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.BottomSheet.Root, {
138257
+ header: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.ListHeader, {
138258
+ title: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.ListHeader.TitleParagraph, {
138329
138259
  color: adaptive.grey800,
138330
138260
  fontWeight: "bold",
138331
138261
  typography: "t5",
@@ -138333,7 +138263,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138333
138263
  })
138334
138264
  }),
138335
138265
  open: isOpen,
138336
- cta: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.BottomSheet.CTA, {
138266
+ cta: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.BottomSheet.CTA, {
138337
138267
  size: "large",
138338
138268
  type: "dark",
138339
138269
  style: "weak",
@@ -138344,7 +138274,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138344
138274
  }),
138345
138275
  onClose: handleClose,
138346
138276
  onExited: exit,
138347
- children: (0, import_jsx_runtime9.jsxs)(import_tds_react_native8.List, {
138277
+ children: (0, import_jsx_runtime9.jsxs)(import_tds_react_native7.List, {
138348
138278
  rowSeparator: "none",
138349
138279
  children: [itemList.map(item => (0, import_jsx_runtime9.jsx)(Menu, {
138350
138280
  title: item.contactItemName,
@@ -138357,7 +138287,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138357
138287
  });
138358
138288
  });
138359
138289
  return function onClickHandler() {
138360
- return _ref27.apply(this, arguments);
138290
+ return _ref24.apply(this, arguments);
138361
138291
  };
138362
138292
  }();
138363
138293
  return {
@@ -138368,7 +138298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138368
138298
  children
138369
138299
  }) {
138370
138300
  var logging = useMoreButtonBottomSheetLogging();
138371
- (0, import_react14.useEffect)(() => {
138301
+ (0, import_react13.useEffect)(() => {
138372
138302
  logging.show();
138373
138303
  }, [logging]);
138374
138304
  return (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {
@@ -138384,15 +138314,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138384
138314
  name: source
138385
138315
  };
138386
138316
  }
138387
- var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
138317
+ var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
138388
138318
  var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138389
138319
  function NavigationBarImpressionArea({
138390
138320
  children,
138391
138321
  withHomeButton
138392
138322
  }) {
138393
- var hasLogged = (0, import_react15.useRef)(false);
138323
+ var hasLogged = (0, import_react14.useRef)(false);
138394
138324
  var logging = useNavigationBarLogging();
138395
- (0, import_react15.useEffect)(() => {
138325
+ (0, import_react14.useEffect)(() => {
138396
138326
  if (hasLogged.current === false) {
138397
138327
  logging.navBarImpression({
138398
138328
  home_icon_yn: withHomeButton ? "Y" : "N"
@@ -138439,7 +138369,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138439
138369
  });
138440
138370
  }
138441
138371
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138442
- var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138372
+ var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138443
138373
  var import_private6 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138444
138374
  var import_react_native19 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138445
138375
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
@@ -138450,11 +138380,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138450
138380
  var navigationEvent = useNavigationEvent();
138451
138381
  var _useNavigationBarCont2 = useNavigationBarContext(),
138452
138382
  navigationRightButton = _useNavigationBarCont2.navigationRightButton;
138453
- var _ref28 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
138454
- safeAreaRight = _ref28.right;
138383
+ var _ref25 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
138384
+ safeAreaRight = _ref25.right;
138455
138385
  useHardwareBackPress(navigationEvent.handleBack);
138456
138386
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
138457
- children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native9.PageNavbar, {
138387
+ children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native8.PageNavbar, {
138458
138388
  preference: {
138459
138389
  type: "none"
138460
138390
  }
@@ -138508,7 +138438,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138508
138438
  function GameAppContainer({
138509
138439
  children
138510
138440
  }) {
138511
- (0, import_react16.useEffect)(() => {
138441
+ (0, import_react15.useEffect)(() => {
138512
138442
  if (import_react_native20.Platform.OS === "ios") {
138513
138443
  (0, import_native_modules9.setIosSwipeGestureEnabled)({
138514
138444
  isEnabled: false
@@ -138554,7 +138484,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138554
138484
  ...initialProps
138555
138485
  }), (0, import_jsx_runtime14.jsx)(Container, {
138556
138486
  ...initialProps,
138557
- children: (0, import_jsx_runtime14.jsx)(import_tds_react_native10.TDSProvider, {
138487
+ children: (0, import_jsx_runtime14.jsx)(import_tds_react_native9.TDSProvider, {
138558
138488
  colorPreference: "light",
138559
138489
  token: {
138560
138490
  color: {
@@ -138635,50 +138565,38 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138635
138565
  var import_user_scripts = _$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/user-scripts");
138636
138566
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138637
138567
  var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138638
- var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138568
+ var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138639
138569
  var import_private9 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138640
- var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
138570
+ var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
138641
138571
  var import_react_native37 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138642
138572
  var import_native_modules11 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138643
138573
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138644
- var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138574
+ var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
138645
138575
  var import_react_native25 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138646
138576
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138647
138577
  var import_react_native23 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138648
- var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138578
+ var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138649
138579
  var import_private7 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138650
- var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138651
- var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
138580
+ var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
138652
138581
  var import_react_native24 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138653
138582
  var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138654
138583
  function GameWebviewNavigationBar() {
138655
138584
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
138656
- var _ref29 = (0, import_tds_react_native11.useDialog)(),
138657
- openConfirm = _ref29.openConfirm;
138658
- var global2 = getAppsInTossGlobals();
138585
+ var _ref26 = (0, import_tds_react_native10.useDialog)(),
138586
+ openConfirm = _ref26.openConfirm;
138659
138587
  var logging = useNavigationBarLogging();
138660
138588
  var _useMoreButtonBottomS3 = useMoreButtonBottomSheet(),
138661
138589
  openMoreButtonBottomSheet = _useMoreButtonBottomS3.open;
138662
138590
  var _useNavigationBarCont3 = useNavigationBarContext(),
138663
138591
  navigationRightButton = _useNavigationBarCont3.navigationRightButton;
138664
- var _ref30 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138665
- safeAreaRight = _ref30.right;
138666
- var handleGameWebviewClose = (0, import_react17.useCallback)(_asyncToGenerator(function* () {
138592
+ var _ref27 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138593
+ safeAreaRight = _ref27.right;
138594
+ var handleGameWebviewClose = (0, import_react16.useCallback)(_asyncToGenerator(function* () {
138667
138595
  logging.closeButtonClick();
138668
- var isConfirmed = yield openConfirm({
138669
- title: `${(0, import_es_hangul3.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
138670
- leftButton: "\uB2EB\uAE30",
138671
- rightButton: "\uC885\uB8CC\uD558\uAE30",
138672
- closeOnDimmerClick: true,
138673
- onEntered: logging.closePopupShow
138674
- });
138675
- logging.closePopupCtaClick(isConfirmed);
138676
- if (isConfirmed) {
138677
- (0, import_react_native23.closeView)();
138678
- }
138679
- }), [global2.brandDisplayName, logging, openConfirm]);
138596
+ (0, import_react_native23.closeView)();
138597
+ }), [logging, openConfirm]);
138680
138598
  return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
138681
- children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native11.PageNavbar, {
138599
+ children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native10.PageNavbar, {
138682
138600
  preference: {
138683
138601
  type: "none"
138684
138602
  }
@@ -138707,8 +138625,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138707
138625
  });
138708
138626
  }
138709
138627
  var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138710
- var GameWebView = (0, import_react18.forwardRef)(function GameWebView2(props, ref) {
138711
- (0, import_react18.useEffect)(() => {
138628
+ var GameWebView = (0, import_react17.forwardRef)(function GameWebView2(props, ref) {
138629
+ (0, import_react17.useEffect)(() => {
138712
138630
  if (import_react_native25.Platform.OS === "ios") {
138713
138631
  (0, import_native_modules11.setIosSwipeGestureEnabled)({
138714
138632
  isEnabled: false
@@ -138734,12 +138652,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138734
138652
  });
138735
138653
  });
138736
138654
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138737
- var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
138655
+ var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138738
138656
  var import_react_native26 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138739
- var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138740
138657
  var import_private8 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138741
- var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138742
- var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138658
+ var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138743
138659
  var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138744
138660
  function PartnerWebviewNavigationBar({
138745
138661
  onBackButtonClick,
@@ -138747,8 +138663,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138747
138663
  }) {
138748
138664
  var globals = getAppsInTossGlobals();
138749
138665
  var logging = useNavigationBarLogging();
138750
- var _ref32 = (0, import_tds_react_native12.useDialog)(),
138751
- openConfirm = _ref32.openConfirm;
138752
138666
  var _useMoreButtonBottomS4 = useMoreButtonBottomSheet(),
138753
138667
  openMoreButtonBottomSheet = _useMoreButtonBottomS4.open;
138754
138668
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
@@ -138756,20 +138670,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138756
138670
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
138757
138671
  var _useNavigationBarCont4 = useNavigationBarContext(),
138758
138672
  navigationRightButton = _useNavigationBarCont4.navigationRightButton;
138759
- var handleClose = (0, import_react19.useCallback)(_asyncToGenerator(function* () {
138673
+ var handleClose = (0, import_react18.useCallback)(_asyncToGenerator(function* () {
138760
138674
  logging.closeButtonClick();
138761
- var isConfirmed = yield openConfirm({
138762
- title: `${(0, import_es_hangul4.josa)(globals.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
138763
- leftButton: "\uB2EB\uAE30",
138764
- rightButton: "\uC885\uB8CC\uD558\uAE30",
138765
- closeOnDimmerClick: true,
138766
- onEntered: logging.closePopupShow
138767
- });
138768
- logging.closePopupCtaClick(isConfirmed);
138769
- if (isConfirmed) {
138770
- (0, import_react_native26.closeView)();
138771
- }
138772
- }), [globals.brandDisplayName, logging, openConfirm]);
138675
+ (0, import_react_native26.closeView)();
138676
+ }), [logging]);
138773
138677
  return (0, import_jsx_runtime17.jsx)(NavigationBarImpressionArea, {
138774
138678
  withHomeButton,
138775
138679
  children: (0, import_jsx_runtime17.jsx)(import_private8.TopNavigation, {
@@ -138793,7 +138697,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138793
138697
  });
138794
138698
  }
138795
138699
  var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138796
- var PartnerWebView = (0, import_react20.forwardRef)(function PartnerWebViewScreen({
138700
+ var PartnerWebView = (0, import_react19.forwardRef)(function PartnerWebViewScreen({
138797
138701
  onBackButtonClick,
138798
138702
  onHomeButtonClick,
138799
138703
  ...webViewProps
@@ -139192,7 +139096,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139192
139096
  }
139193
139097
  showFullScreenAd.isSupported = import_native_modules14.GoogleAdMob.showAppsInTossAdMob.isSupported;
139194
139098
  var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139195
- function tossAdEventLog(_x4) {
139099
+ function tossAdEventLog(_x3) {
139196
139100
  return _tossAdEventLog.apply(this, arguments);
139197
139101
  }
139198
139102
  function _tossAdEventLog() {
@@ -139213,7 +139117,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139213
139117
  });
139214
139118
  return _tossAdEventLog.apply(this, arguments);
139215
139119
  }
139216
- var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
139120
+ var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
139217
139121
  function serializeError(error) {
139218
139122
  return JSON.stringify(error, (_, value) => {
139219
139123
  if (value instanceof Error) {
@@ -139244,12 +139148,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139244
139148
  return;
139245
139149
  }
139246
139150
  var wrappedFunc = function () {
139247
- var _ref34 = _asyncToGenerator(function* (...args2) {
139151
+ var _ref30 = _asyncToGenerator(function* (...args2) {
139248
139152
  var result = yield func(...args2);
139249
139153
  return result;
139250
139154
  });
139251
139155
  return function wrappedFunc() {
139252
- return _ref34.apply(this, arguments);
139156
+ return _ref30.apply(this, arguments);
139253
139157
  };
139254
139158
  }();
139255
139159
  wrappedFunc(...args).then(result => {
@@ -139270,12 +139174,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139270
139174
  asyncHandlerMap,
139271
139175
  eventListenerMap
139272
139176
  }) {
139273
- var ref = (0, import_react21.useRef)(null);
139274
- var injectedJavaScript = (0, import_react21.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
139177
+ var ref = (0, import_react20.useRef)(null);
139178
+ var injectedJavaScript = (0, import_react20.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
139275
139179
  acc[key] = typeof value === "function" ? value() : value;
139276
139180
  return acc;
139277
139181
  }, {}))};`, [constantHandlerMap]);
139278
- (0, import_react21.useEffect)(() => {
139182
+ (0, import_react20.useEffect)(() => {
139279
139183
  ref.current?.injectJavaScript(injectedJavaScript);
139280
139184
  }, [injectedJavaScript]);
139281
139185
  var createHandleOnEvent = (functionName, eventId) => response => {
@@ -139289,8 +139193,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139289
139193
  window.__GRANITE_NATIVE_EMITTER.emit('${functionName}/onError/${eventId}', ${serializedError});
139290
139194
  `);
139291
139195
  };
139292
- var $onMessage = (0, import_react21.useCallback)(function () {
139293
- var _ref35 = _asyncToGenerator(function* (e) {
139196
+ var $onMessage = (0, import_react20.useCallback)(function () {
139197
+ var _ref31 = _asyncToGenerator(function* (e) {
139294
139198
  onMessage?.(e);
139295
139199
  var data = parseNativeEventData(e.nativeEvent.data);
139296
139200
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -139332,8 +139236,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139332
139236
  }
139333
139237
  }
139334
139238
  });
139335
- return function (_x5) {
139336
- return _ref35.apply(this, arguments);
139239
+ return function (_x4) {
139240
+ return _ref31.apply(this, arguments);
139337
139241
  };
139338
139242
  }(), [onMessage]);
139339
139243
  return {
@@ -139351,22 +139255,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139351
139255
  }
139352
139256
  }
139353
139257
  var import_react_native_safe_area_context3 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
139354
- var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
139258
+ var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
139355
139259
  function useSafeAreaInsetsEvent() {
139356
139260
  var insets = (0, import_react_native_safe_area_context3.useSafeAreaInsets)();
139357
- (0, import_react22.useEffect)(() => {
139261
+ (0, import_react21.useEffect)(() => {
139358
139262
  safeAreaInsetsChange.emit(insets);
139359
139263
  }, [insets]);
139360
- (0, import_react22.useEffect)(() => {
139264
+ (0, import_react21.useEffect)(() => {
139361
139265
  return () => safeAreaInsetsChange.clearSubscriptions();
139362
139266
  }, []);
139363
139267
  return safeAreaInsetsChange;
139364
139268
  }
139365
139269
  var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139366
- var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139367
- var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
139368
- var import_react24 = _$$_REQUIRE(_dependencyMap[9], "react");
139369
139270
  var import_react23 = _$$_REQUIRE(_dependencyMap[9], "react");
139271
+ var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
139370
139272
  var INITIAL_STATE = {
139371
139273
  stack: [],
139372
139274
  index: -1
@@ -139415,11 +139317,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139415
139317
  }
139416
139318
  }
139417
139319
  function useWebViewHistory() {
139418
- var _ref36 = (0, import_react23.useReducer)(reducer, INITIAL_STATE),
139419
- _ref37 = _slicedToArray(_ref36, 2),
139420
- state = _ref37[0],
139421
- dispatch = _ref37[1];
139422
- var onNavigationStateChange = (0, import_react23.useCallback)(({
139320
+ var _ref32 = (0, import_react22.useReducer)(reducer, INITIAL_STATE),
139321
+ _ref33 = _slicedToArray(_ref32, 2),
139322
+ state = _ref33[0],
139323
+ dispatch = _ref33[1];
139324
+ var onNavigationStateChange = (0, import_react22.useCallback)(({
139423
139325
  url,
139424
139326
  canGoForward: canGoForward2
139425
139327
  }) => {
@@ -139429,7 +139331,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139429
139331
  canGoForward: canGoForward2
139430
139332
  });
139431
139333
  }, []);
139432
- var _ref38 = (0, import_react23.useMemo)(() => {
139334
+ var _ref34 = (0, import_react22.useMemo)(() => {
139433
139335
  var canBack = state.index > 0;
139434
139336
  var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
139435
139337
  return {
@@ -139437,8 +139339,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139437
139339
  canGoForward: canFwd
139438
139340
  };
139439
139341
  }, [state.index, state.stack.length]),
139440
- canGoBack = _ref38.canGoBack,
139441
- canGoForward = _ref38.canGoForward;
139342
+ canGoBack = _ref34.canGoBack,
139343
+ canGoForward = _ref34.canGoForward;
139442
139344
  return {
139443
139345
  onNavigationStateChange,
139444
139346
  hasHistory: canGoBack,
@@ -139449,22 +139351,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139449
139351
  var _useWebViewHistory = useWebViewHistory(),
139450
139352
  hasHistory = _useWebViewHistory.hasHistory,
139451
139353
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
139452
- var _ref39 = (0, import_react_native30.useBackEventState)(),
139453
- webBackHandlersRef = _ref39.handlersRef,
139454
- hasWebBackEvent = _ref39.hasBackEvent,
139455
- addWebBackEventListener = _ref39.addEventListener,
139456
- removeWebBackEventListener = _ref39.removeEventListener;
139354
+ var _ref35 = (0, import_react_native30.useBackEventState)(),
139355
+ webBackHandlersRef = _ref35.handlersRef,
139356
+ hasWebBackEvent = _ref35.hasBackEvent,
139357
+ addWebBackEventListener = _ref35.addEventListener,
139358
+ removeWebBackEventListener = _ref35.removeEventListener;
139457
139359
  var logging = useNavigationBarLogging();
139458
- var _ref40 = (0, import_tds_react_native13.useDialog)(),
139459
- openConfirm = _ref40.openConfirm;
139460
- var global2 = getAppsInTossGlobals();
139461
- var addEventListener = (0, import_react24.useCallback)(handler => {
139360
+ var addEventListener = (0, import_react23.useCallback)(handler => {
139462
139361
  addWebBackEventListener(handler);
139463
139362
  }, [addWebBackEventListener]);
139464
- var removeEventListener = (0, import_react24.useCallback)(handler => {
139363
+ var removeEventListener = (0, import_react23.useCallback)(handler => {
139465
139364
  removeWebBackEventListener(handler);
139466
139365
  }, [removeWebBackEventListener]);
139467
- var handleWebBack = (0, import_react24.useCallback)(_asyncToGenerator(function* () {
139366
+ var handleWebBack = (0, import_react23.useCallback)(_asyncToGenerator(function* () {
139468
139367
  if (hasWebBackEvent) {
139469
139368
  for (var handler of webBackHandlersRef) {
139470
139369
  handler();
@@ -139474,20 +139373,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139474
139373
  if (hasHistory) {
139475
139374
  webViewRef.current?.injectJavaScript("window.history.back();");
139476
139375
  } else {
139477
- var isConfirmed = yield openConfirm({
139478
- title: `${(0, import_es_hangul5.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
139479
- leftButton: "\uB2EB\uAE30",
139480
- rightButton: "\uC885\uB8CC\uD558\uAE30",
139481
- closeOnDimmerClick: true,
139482
- onEntered: logging.closePopupShow
139483
- });
139484
- logging.closePopupCtaClick(isConfirmed);
139485
- if (isConfirmed) {
139486
- (0, import_react_native30.closeView)();
139487
- }
139376
+ (0, import_react_native30.closeView)();
139488
139377
  }
139489
- }), [global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
139490
- var handleWebHome = (0, import_react24.useCallback)(() => {
139378
+ }), [hasHistory, hasWebBackEvent, webBackHandlersRef, logging, webViewRef]);
139379
+ var handleWebHome = (0, import_react23.useCallback)(() => {
139491
139380
  logging.homeButtonClick();
139492
139381
  if (homeEvent.hasSubscriptions()) {
139493
139382
  homeEvent.emit({});
@@ -139500,7 +139389,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139500
139389
  })();
139501
139390
  `);
139502
139391
  }, [hasWebBackEvent, webBackHandlersRef, logging, webViewInitialURL, webViewRef]);
139503
- return (0, import_react24.useMemo)(() => ({
139392
+ return (0, import_react23.useMemo)(() => ({
139504
139393
  addEventListener,
139505
139394
  removeEventListener,
139506
139395
  handleWebBack,
@@ -139655,8 +139544,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139655
139544
  }) {
139656
139545
  var platform = (0, import_native_modules15.getPlatformOS)();
139657
139546
  var appVersion = (0, import_native_modules15.getTossAppVersion)();
139658
- var _ref42 = (0, import_react_native31.useWindowDimensions)(),
139659
- fontScale = _ref42.fontScale;
139547
+ var _ref37 = (0, import_react_native31.useWindowDimensions)(),
139548
+ fontScale = _ref37.fontScale;
139660
139549
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
139661
139550
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
139662
139551
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
@@ -139664,18 +139553,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139664
139553
  }
139665
139554
  var import_native_modules16 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139666
139555
  var import_react_native32 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139667
- var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139556
+ var import_react24 = _$$_REQUIRE(_dependencyMap[9], "react");
139668
139557
  function useGeolocation({
139669
139558
  accuracy,
139670
139559
  distanceInterval,
139671
139560
  timeInterval
139672
139561
  }) {
139673
139562
  var isVisible = (0, import_react_native32.useVisibility)();
139674
- var _ref43 = (0, import_react25.useState)(null),
139675
- _ref44 = _slicedToArray(_ref43, 2),
139676
- location = _ref44[0],
139677
- setLocation = _ref44[1];
139678
- (0, import_react25.useEffect)(() => {
139563
+ var _ref38 = (0, import_react24.useState)(null),
139564
+ _ref39 = _slicedToArray(_ref38, 2),
139565
+ location = _ref39[0],
139566
+ setLocation = _ref39[1];
139567
+ (0, import_react24.useEffect)(() => {
139679
139568
  if (!isVisible) {
139680
139569
  return;
139681
139570
  }
@@ -139692,17 +139581,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139692
139581
  return location;
139693
139582
  }
139694
139583
  var import_react_native33 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139695
- var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
139584
+ var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139696
139585
  function useWaitForReturnNavigator() {
139697
- var callbacks = (0, import_react26.useRef)([]).current;
139586
+ var callbacks = (0, import_react25.useRef)([]).current;
139698
139587
  var navigation = (0, import_react_native33.useNavigation)();
139699
- var startNavigating = (0, import_react26.useCallback)((route, params) => {
139588
+ var startNavigating = (0, import_react25.useCallback)((route, params) => {
139700
139589
  return new Promise(resolve => {
139701
139590
  callbacks.push(resolve);
139702
139591
  navigation.navigate(route, params);
139703
139592
  });
139704
139593
  }, [callbacks, navigation]);
139705
- var handleVisibilityChange = (0, import_react26.useCallback)(state => {
139594
+ var handleVisibilityChange = (0, import_react25.useCallback)(state => {
139706
139595
  if (state === "visible" && callbacks.length > 0) {
139707
139596
  for (var callback of callbacks) {
139708
139597
  callback();
@@ -139724,9 +139613,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139724
139613
  }
139725
139614
  var import_native_modules17 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139726
139615
  var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139727
- var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139616
+ var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139728
139617
  function useHandleWebViewProcessDidTerminate(webViewRef) {
139729
- var toast = (0, import_tds_react_native14.useToast)();
139618
+ var toast = (0, import_tds_react_native11.useToast)();
139730
139619
  return () => {
139731
139620
  webViewDebugLog("AppsInTossWebViewProcessDidTerminate", {});
139732
139621
  toast.open("\uBB38\uC81C\uAC00 \uC0DD\uACA8\uC11C \uBBF8\uB2C8\uC571\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD588\uC5B4\uC694.", {
@@ -139736,7 +139625,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139736
139625
  webViewRef.current?.reload();
139737
139626
  };
139738
139627
  }
139739
- function webViewMemoryDebugLog(_x6) {
139628
+ function webViewMemoryDebugLog(_x5) {
139740
139629
  return _webViewMemoryDebugLog.apply(this, arguments);
139741
139630
  }
139742
139631
  function _webViewMemoryDebugLog() {
@@ -139830,23 +139719,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139830
139719
  var TYPES = ["partner", "external", "game"];
139831
139720
  var WEBVIEW_TYPES = {
139832
139721
  partner: PartnerWebView,
139833
- external: import_tds_react_native15.ExternalWebViewScreen,
139722
+ external: import_tds_react_native12.ExternalWebViewScreen,
139834
139723
  game: GameWebView
139835
139724
  };
139836
139725
  function mergeSchemeQueryParamsInto(url) {
139837
139726
  var baseUrl = new URL(url);
139838
139727
  var schemeUrl = new URL((0, import_react_native36.getSchemeUri)());
139839
139728
  var resultUrl = new URL(schemeUrl.pathname, baseUrl.origin);
139840
- for (var _ref45 of baseUrl.searchParams.entries()) {
139841
- var _ref46 = _slicedToArray(_ref45, 2);
139842
- var key = _ref46[0];
139843
- var value = _ref46[1];
139729
+ for (var _ref40 of baseUrl.searchParams.entries()) {
139730
+ var _ref41 = _slicedToArray(_ref40, 2);
139731
+ var key = _ref41[0];
139732
+ var value = _ref41[1];
139844
139733
  resultUrl.searchParams.set(key, value);
139845
139734
  }
139846
- for (var _ref47 of schemeUrl.searchParams.entries()) {
139847
- var _ref48 = _slicedToArray(_ref47, 2);
139848
- var _key = _ref48[0];
139849
- var _value = _ref48[1];
139735
+ for (var _ref42 of schemeUrl.searchParams.entries()) {
139736
+ var _ref43 = _slicedToArray(_ref42, 2);
139737
+ var _key = _ref43[0];
139738
+ var _value = _ref43[1];
139850
139739
  resultUrl.searchParams.set(_key, _value);
139851
139740
  }
139852
139741
  return resultUrl;
@@ -139856,8 +139745,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139856
139745
  var devUrl = `http://${local.host}:${local.port}`;
139857
139746
  return mergeSchemeQueryParamsInto(devUrl);
139858
139747
  }
139859
- var _ref49 = (0, import_native_modules18.safeSyncPostMessage)("getWebBundleURL", {}),
139860
- rawUrl = _ref49.url;
139748
+ var _ref44 = (0, import_native_modules18.safeSyncPostMessage)("getWebBundleURL", {}),
139749
+ rawUrl = _ref44.url;
139861
139750
  var url = mergeSchemeQueryParamsInto(rawUrl);
139862
139751
  var deploymentId = env.getDeploymentId();
139863
139752
  if (deploymentId) {
@@ -139874,8 +139763,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139874
139763
  if (!TYPES.includes(type)) {
139875
139764
  throw new Error(`Invalid WebView type: '${type}'`);
139876
139765
  }
139877
- var webViewRef = (0, import_react27.useRef)(null);
139878
- var url = (0, import_react27.useMemo)(() => getWebViewURL(local), [local]);
139766
+ var webViewRef = (0, import_react26.useRef)(null);
139767
+ var url = (0, import_react26.useMemo)(() => getWebViewURL(local), [local]);
139879
139768
  var webBackHandler = useWebBackHandler(url, webViewRef);
139880
139769
  var top = (0, import_private9.useSafeAreaTop)();
139881
139770
  var bottom = (0, import_private9.useSafeAreaBottom)();
@@ -139883,10 +139772,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139883
139772
  var global2 = getAppsInTossGlobals();
139884
139773
  var navigationBarContext = useNavigationBarContext();
139885
139774
  var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
139886
- var _ref50 = (0, import_react27.useState)(props.allowsBackForwardNavigationGestures),
139887
- _ref51 = _slicedToArray(_ref50, 2),
139888
- allowsBackForwardNavigationGestures = _ref51[0],
139889
- setAllowsBackForwardNavigationGestures = _ref51[1];
139775
+ var _ref45 = (0, import_react26.useState)(props.allowsBackForwardNavigationGestures),
139776
+ _ref46 = _slicedToArray(_ref45, 2),
139777
+ allowsBackForwardNavigationGestures = _ref46[0],
139778
+ setAllowsBackForwardNavigationGestures = _ref46[1];
139890
139779
  var handler = useBridgeHandler({
139891
139780
  onMessage,
139892
139781
  eventListenerMap: {
@@ -139894,7 +139783,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139894
139783
  navigationAccessoryEvent: ({
139895
139784
  onEvent,
139896
139785
  onError
139897
- }) => import_tds_react_native15.tdsEvent.addEventListener("navigationAccessoryEvent", {
139786
+ }) => import_tds_react_native12.tdsEvent.addEventListener("navigationAccessoryEvent", {
139898
139787
  onEvent,
139899
139788
  onError
139900
139789
  }),
@@ -139969,19 +139858,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139969
139858
  return appsInTossAsyncBridges.setIosSwipeGestureEnabled(options);
139970
139859
  },
139971
139860
  addAccessoryButton: function () {
139972
- var _ref52 = _asyncToGenerator(function* (params) {
139861
+ var _ref47 = _asyncToGenerator(function* (params) {
139973
139862
  return navigationBarContext.addNavigationRightButton(params);
139974
139863
  });
139975
- return function addAccessoryButton(_x7) {
139976
- return _ref52.apply(this, arguments);
139864
+ return function addAccessoryButton(_x6) {
139865
+ return _ref47.apply(this, arguments);
139977
139866
  };
139978
139867
  }(),
139979
139868
  removeAccessoryButton: function () {
139980
- var _ref53 = _asyncToGenerator(function* () {
139869
+ var _ref48 = _asyncToGenerator(function* () {
139981
139870
  return navigationBarContext.removeNavigationRightButton();
139982
139871
  });
139983
139872
  return function removeAccessoryButton() {
139984
- return _ref53.apply(this, arguments);
139873
+ return _ref48.apply(this, arguments);
139985
139874
  };
139986
139875
  }(),
139987
139876
  requestPermission: appsInTossAsyncBridges.requestPermission,
@@ -140008,16 +139897,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140008
139897
  tossAdEventLog,
140009
139898
  memoryDebugLog: webViewMemoryDebugLog,
140010
139899
  debugLog: function () {
140011
- var _ref54 = _asyncToGenerator(function* (event) {
139900
+ var _ref49 = _asyncToGenerator(function* (event) {
140012
139901
  sendLog(event);
140013
139902
  });
140014
- return function debugLog(_x8) {
140015
- return _ref54.apply(this, arguments);
139903
+ return function debugLog(_x7) {
139904
+ return _ref49.apply(this, arguments);
140016
139905
  };
140017
139906
  }()
140018
139907
  }
140019
139908
  });
140020
- var headerPropForExternalWebView = (0, import_react27.useMemo)(() => {
139909
+ var headerPropForExternalWebView = (0, import_react26.useMemo)(() => {
140021
139910
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
140022
139911
  var initialAccessoryButton = parsedNavigationBar?.initialAccessoryButton;
140023
139912
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
@@ -140038,7 +139927,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140038
139927
  colorPreference: "light"
140039
139928
  });
140040
139929
  var refs = mergeRefs(handler.ref, webViewRef);
140041
- (0, import_react27.useEffect)(() => {
139930
+ (0, import_react26.useEffect)(() => {
140042
139931
  var callback = () => {
140043
139932
  webBackHandler.handleWebBack();
140044
139933
  return true;
@@ -140101,7 +139990,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140101
139990
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types"), module.exports);
140102
139991
  var import_types = _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types");
140103
139992
  var import_react_native41 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
140104
- var import_react30 = _$$_REQUIRE(_dependencyMap[9], "react");
139993
+ var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
140105
139994
  var import_react_native42 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140106
139995
  var SDK_ID = "106";
140107
139996
  var LIST_BANNER_STYLE_ID = "1";
@@ -140288,7 +140177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140288
140177
  function isStructurallyValidAd(ad) {
140289
140178
  return Boolean(ad && ad.creative && typeof ad.creative === "object");
140290
140179
  }
140291
- function loadAd(_x9) {
140180
+ function loadAd(_x8) {
140292
140181
  return _loadAd.apply(this, arguments);
140293
140182
  }
140294
140183
  function _loadAd() {
@@ -140474,7 +140363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140474
140363
  globalEventDeduplicator.markTracked(this.requestId, this.creativeId, eventType);
140475
140364
  }
140476
140365
  });
140477
- function track(_x0) {
140366
+ function track(_x9) {
140478
140367
  return _track.apply(this, arguments);
140479
140368
  }
140480
140369
  return track;
@@ -140496,7 +140385,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140496
140385
  body: JSON.stringify(payload)
140497
140386
  });
140498
140387
  });
140499
- function sendTrackingRequest(_x1, _x10) {
140388
+ function sendTrackingRequest(_x0, _x1) {
140500
140389
  return _sendTrackingRequest.apply(this, arguments);
140501
140390
  }
140502
140391
  return sendTrackingRequest;
@@ -140504,7 +140393,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140504
140393
  }]);
140505
140394
  }();
140506
140395
  var import_react_native_svg = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140507
- var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
140396
+ var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
140508
140397
  var import_react_native39 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140509
140398
  var import_jsx_runtime20 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140510
140399
  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";
@@ -140523,7 +140412,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140523
140412
  paddingStyle,
140524
140413
  onPress
140525
140414
  }) {
140526
- var scale = (0, import_react28.useRef)(new import_react_native39.Animated.Value(1)).current;
140415
+ var scale = (0, import_react27.useRef)(new import_react_native39.Animated.Value(1)).current;
140527
140416
  var animateScale = toValue => {
140528
140417
  import_react_native39.Animated.timing(scale, {
140529
140418
  toValue,
@@ -140800,7 +140689,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140800
140689
  }
140801
140690
  });
140802
140691
  var import_react_native_svg2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140803
- var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
140692
+ var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
140804
140693
  var import_react_native40 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140805
140694
  var import_jsx_runtime21 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140806
140695
  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";
@@ -140814,8 +140703,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140814
140703
  colors,
140815
140704
  onPress
140816
140705
  }) {
140817
- var scale = (0, import_react29.useRef)(new import_react_native40.Animated.Value(1)).current;
140818
- var clipIdRef = (0, import_react29.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140706
+ var scale = (0, import_react28.useRef)(new import_react_native40.Animated.Value(1)).current;
140707
+ var clipIdRef = (0, import_react28.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140819
140708
  var animateScale = toValue => {
140820
140709
  import_react_native40.Animated.timing(scale, {
140821
140710
  toValue,
@@ -141128,27 +141017,27 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141128
141017
  onAdImpression = props.onAdImpression,
141129
141018
  onAdFailedToRender = props.onAdFailedToRender,
141130
141019
  onNoFill = props.onNoFill;
141131
- var slotIdRef = (0, import_react30.useRef)(createSlotId());
141132
- var _ref55 = (0, import_react30.useState)(null),
141133
- _ref56 = _slicedToArray(_ref55, 2),
141134
- ad = _ref56[0],
141135
- setAd = _ref56[1];
141136
- var _ref57 = (0, import_react30.useState)(true),
141137
- _ref58 = _slicedToArray(_ref57, 2),
141138
- isAdBadgeEnabled = _ref58[0],
141139
- setIsAdBadgeEnabled = _ref58[1];
141140
- var eventTrackerRef = (0, import_react30.useRef)(null);
141141
- var eventPayloadRef = (0, import_react30.useRef)(null);
141142
- var hasRenderedRef = (0, import_react30.useRef)(false);
141143
- var hasLoggedImp1pxRef = (0, import_react30.useRef)(false);
141144
- var hasLoggedImp100pRef = (0, import_react30.useRef)(false);
141145
- var hasNotifiedViewableRef = (0, import_react30.useRef)(false);
141146
- var viewableTimerRef = (0, import_react30.useRef)(null);
141147
- var refetchIntervalMsRef = (0, import_react30.useRef)(null);
141148
- var lastImp1pxAtRef = (0, import_react30.useRef)(null);
141149
- var loadingRef = (0, import_react30.useRef)(false);
141150
- var loadRef = (0, import_react30.useRef)(null);
141151
- var callbacksRef = (0, import_react30.useRef)({
141020
+ var slotIdRef = (0, import_react29.useRef)(createSlotId());
141021
+ var _ref50 = (0, import_react29.useState)(null),
141022
+ _ref51 = _slicedToArray(_ref50, 2),
141023
+ ad = _ref51[0],
141024
+ setAd = _ref51[1];
141025
+ var _ref52 = (0, import_react29.useState)(true),
141026
+ _ref53 = _slicedToArray(_ref52, 2),
141027
+ isAdBadgeEnabled = _ref53[0],
141028
+ setIsAdBadgeEnabled = _ref53[1];
141029
+ var eventTrackerRef = (0, import_react29.useRef)(null);
141030
+ var eventPayloadRef = (0, import_react29.useRef)(null);
141031
+ var hasRenderedRef = (0, import_react29.useRef)(false);
141032
+ var hasLoggedImp1pxRef = (0, import_react29.useRef)(false);
141033
+ var hasLoggedImp100pRef = (0, import_react29.useRef)(false);
141034
+ var hasNotifiedViewableRef = (0, import_react29.useRef)(false);
141035
+ var viewableTimerRef = (0, import_react29.useRef)(null);
141036
+ var refetchIntervalMsRef = (0, import_react29.useRef)(null);
141037
+ var lastImp1pxAtRef = (0, import_react29.useRef)(null);
141038
+ var loadingRef = (0, import_react29.useRef)(false);
141039
+ var loadRef = (0, import_react29.useRef)(null);
141040
+ var callbacksRef = (0, import_react29.useRef)({
141152
141041
  onAdRendered,
141153
141042
  onAdViewable,
141154
141043
  onAdClicked,
@@ -141156,7 +141045,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141156
141045
  onAdFailedToRender,
141157
141046
  onNoFill
141158
141047
  });
141159
- var isMountedRef = (0, import_react30.useRef)(false);
141048
+ var isMountedRef = (0, import_react29.useRef)(false);
141160
141049
  var colorScheme = (0, import_react_native42.useColorScheme)();
141161
141050
  var selectedTheme = theme ?? DEFAULT_INLINE_AD_THEME;
141162
141051
  var resolvedTheme = selectedTheme === "auto" ? colorScheme === "dark" ? "dark" : "light" : selectedTheme;
@@ -141173,7 +141062,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141173
141062
  onAdFailedToRender,
141174
141063
  onNoFill
141175
141064
  };
141176
- (0, import_react30.useEffect)(() => {
141065
+ (0, import_react29.useEffect)(() => {
141177
141066
  isMountedRef.current = true;
141178
141067
  return () => {
141179
141068
  isMountedRef.current = false;
@@ -141183,7 +141072,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141183
141072
  }
141184
141073
  };
141185
141074
  }, []);
141186
- (0, import_react30.useEffect)(() => {
141075
+ (0, import_react29.useEffect)(() => {
141187
141076
  var normalizedAdGroupId = normalizeAdGroupId(adGroupId);
141188
141077
  var loadAdRequest = () => {
141189
141078
  if (loadingRef.current) {
@@ -141254,7 +141143,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141254
141143
  loadRef.current?.();
141255
141144
  }
141256
141145
  });
141257
- (0, import_react30.useEffect)(() => {
141146
+ (0, import_react29.useEffect)(() => {
141258
141147
  if (!ad || hasRenderedRef.current) {
141259
141148
  return;
141260
141149
  }
@@ -141435,7 +141324,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141435
141324
  ..._$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"),
141436
141325
  ..._$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types")
141437
141326
  });
141438
- },1283,[21,20,17,48,1284,1285,2,1472,34,6,9,2440,2521,615,2524,2571,2579,2596,2449,1286,754],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
141327
+ },1283,[21,20,17,48,1284,1285,2,1472,34,6,9,2440,2521,615,2524,2573,2581,2598,2449,1286,754],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
141439
141328
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
141440
141329
  "use strict";
141441
141330
 
@@ -142093,6 +141982,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142093
141982
  closeView: () => closeView,
142094
141983
  contactsViral: () => contactsViral,
142095
141984
  eventLog: () => eventLog,
141985
+ fetchAlbumItems: () => fetchAlbumItems,
142096
141986
  fetchAlbumPhotos: () => fetchAlbumPhotos,
142097
141987
  fetchContacts: () => fetchContacts,
142098
141988
  generateHapticFeedback: () => generateHapticFeedback,
@@ -142119,6 +142009,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142119
142009
  onVisibilityChangedByTransparentServiceWeb: () => onVisibilityChangedByTransparentServiceWeb,
142120
142010
  openCamera: () => openCamera,
142121
142011
  openGameCenterLeaderboard: () => openGameCenterLeaderboard,
142012
+ openPDFViewer: () => openPDFViewer,
142122
142013
  openURL: () => openURL2,
142123
142014
  processProductGrant: () => processProductGrant,
142124
142015
  requestNotificationAgreement: () => requestNotificationAgreement,
@@ -143073,7 +142964,43 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143073
142964
  });
143074
142965
  return _saveBase64Data.apply(this, arguments);
143075
142966
  }
143076
- function setDeviceOrientation(_x16) {
142967
+ function openPDFViewer(_x16) {
142968
+ return _openPDFViewer.apply(this, arguments);
142969
+ }
142970
+ function _openPDFViewer() {
142971
+ _openPDFViewer = _asyncToGenerator(function* (params) {
142972
+ var isSupported = isMinVersionSupported({
142973
+ android: "5.261.0",
142974
+ ios: "5.261.0"
142975
+ });
142976
+ if (!isSupported) {
142977
+ var error = new Error("\uD1A0\uC2A4\uC571 5.261.0 \uBC84\uC804 \uC774\uC0C1\uC774 \uD544\uC694\uD574\uC694.");
142978
+ error.code = "UNSUPPORTED_APP_VERSION";
142979
+ throw error;
142980
+ }
142981
+ return safePostMessage("openPDFViewer", params);
142982
+ });
142983
+ return _openPDFViewer.apply(this, arguments);
142984
+ }
142985
+ function fetchAlbumItems(_x17) {
142986
+ return _fetchAlbumItems.apply(this, arguments);
142987
+ }
142988
+ function _fetchAlbumItems() {
142989
+ _fetchAlbumItems = _asyncToGenerator(function* (options) {
142990
+ var isSupported = isMinVersionSupported({
142991
+ android: "5.261.0",
142992
+ ios: "5.261.0"
142993
+ });
142994
+ if (!isSupported) {
142995
+ var error = new Error("\uD1A0\uC2A4\uC571 5.261.0 \uBC84\uC804 \uC774\uC0C1\uC774 \uD544\uC694\uD574\uC694.");
142996
+ error.code = "UNSUPPORTED_APP_VERSION";
142997
+ throw error;
142998
+ }
142999
+ return safePostMessage("fetchAlbumItems", options ?? {});
143000
+ });
143001
+ return _fetchAlbumItems.apply(this, arguments);
143002
+ }
143003
+ function setDeviceOrientation(_x18) {
143077
143004
  return _setDeviceOrientation.apply(this, arguments);
143078
143005
  }
143079
143006
  function _setDeviceOrientation() {
@@ -143167,7 +143094,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143167
143094
  });
143168
143095
  return _getGameCenterGameProfile.apply(this, arguments);
143169
143096
  }
143170
- function submitGameCenterLeaderBoardScore(_x17) {
143097
+ function submitGameCenterLeaderBoardScore(_x19) {
143171
143098
  return _submitGameCenterLeaderBoardScore.apply(this, arguments);
143172
143099
  }
143173
143100
  function _submitGameCenterLeaderBoardScore() {
@@ -143213,7 +143140,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143213
143140
  function isGrantPromotionRewardError(error) {
143214
143141
  return typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
143215
143142
  }
143216
- function grantPromotionReward(_x18) {
143143
+ function grantPromotionReward(_x20) {
143217
143144
  return _grantPromotionReward.apply(this, arguments);
143218
143145
  }
143219
143146
  function _grantPromotionReward() {
@@ -143240,7 +143167,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143240
143167
  });
143241
143168
  return _grantPromotionReward.apply(this, arguments);
143242
143169
  }
143243
- function grantPromotionRewardForGame(_x19) {
143170
+ function grantPromotionRewardForGame(_x21) {
143244
143171
  return _grantPromotionRewardForGame.apply(this, arguments);
143245
143172
  }
143246
143173
  function _grantPromotionRewardForGame() {
@@ -143291,7 +143218,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143291
143218
  });
143292
143219
  return unregisterCallbacks;
143293
143220
  }
143294
- function appsInTossSignTossCert(_x20) {
143221
+ function appsInTossSignTossCert(_x22) {
143295
143222
  return _appsInTossSignTossCert.apply(this, arguments);
143296
143223
  }
143297
143224
  function _appsInTossSignTossCert() {
@@ -143423,7 +143350,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143423
143350
  function generateHapticFeedback(options) {
143424
143351
  return CommonModule2.generateHapticFeedback(options);
143425
143352
  }
143426
- function share(_x21) {
143353
+ function share(_x23) {
143427
143354
  return _share.apply(this, arguments);
143428
143355
  }
143429
143356
  function _share() {
@@ -143435,7 +143362,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143435
143362
  function setSecureScreen(options) {
143436
143363
  return CommonModule2.setSecureScreen(options);
143437
143364
  }
143438
- function setScreenAwakeMode(_x22) {
143365
+ function setScreenAwakeMode(_x24) {
143439
143366
  return _setScreenAwakeMode.apply(this, arguments);
143440
143367
  }
143441
143368
  function _setScreenAwakeMode() {
@@ -143447,7 +143374,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143447
143374
  function getNetworkStatus() {
143448
143375
  return CommonModule2.getNetworkStatus();
143449
143376
  }
143450
- function setIosSwipeGestureEnabled(_x23) {
143377
+ function setIosSwipeGestureEnabled(_x25) {
143451
143378
  return _setIosSwipeGestureEnabled.apply(this, arguments);
143452
143379
  }
143453
143380
  function _setIosSwipeGestureEnabled() {
@@ -143500,6 +143427,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143500
143427
  closeView,
143501
143428
  contactsViral,
143502
143429
  eventLog,
143430
+ fetchAlbumItems,
143503
143431
  fetchAlbumPhotos,
143504
143432
  fetchContacts,
143505
143433
  generateHapticFeedback,
@@ -143526,6 +143454,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143526
143454
  onVisibilityChangedByTransparentServiceWeb,
143527
143455
  openCamera,
143528
143456
  openGameCenterLeaderboard,
143457
+ openPDFViewer,
143529
143458
  openURL,
143530
143459
  processProductGrant,
143531
143460
  requestNotificationAgreement,
@@ -211722,7 +211651,29 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211722
211651
  }
211723
211652
  });
211724
211653
  });
211725
- var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[24], "./MiniAppModule/native-modules/appsInTossSignTossCert");
211654
+ var _openPDFViewer = _$$_REQUIRE(_dependencyMap[24], "./MiniAppModule/native-modules/openPDFViewer");
211655
+ Object.keys(_openPDFViewer).forEach(function (key) {
211656
+ if (key === "default" || key === "__esModule") return;
211657
+ if (key in exports && exports[key] === _openPDFViewer[key]) return;
211658
+ Object.defineProperty(exports, key, {
211659
+ enumerable: true,
211660
+ get: function () {
211661
+ return _openPDFViewer[key];
211662
+ }
211663
+ });
211664
+ });
211665
+ var _fetchAlbumItems = _$$_REQUIRE(_dependencyMap[25], "./MiniAppModule/native-modules/fetchAlbumItems");
211666
+ Object.keys(_fetchAlbumItems).forEach(function (key) {
211667
+ if (key === "default" || key === "__esModule") return;
211668
+ if (key in exports && exports[key] === _fetchAlbumItems[key]) return;
211669
+ Object.defineProperty(exports, key, {
211670
+ enumerable: true,
211671
+ get: function () {
211672
+ return _fetchAlbumItems[key];
211673
+ }
211674
+ });
211675
+ });
211676
+ var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[26], "./MiniAppModule/native-modules/appsInTossSignTossCert");
211726
211677
  Object.keys(_appsInTossSignTossCert).forEach(function (key) {
211727
211678
  if (key === "default" || key === "__esModule") return;
211728
211679
  if (key in exports && exports[key] === _appsInTossSignTossCert[key]) return;
@@ -211733,7 +211684,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211733
211684
  }
211734
211685
  });
211735
211686
  });
211736
- var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[25], "./MiniAppModule/native-modules/getGameCenterGameProfile");
211687
+ var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/getGameCenterGameProfile");
211737
211688
  Object.keys(_getGameCenterGameProfile).forEach(function (key) {
211738
211689
  if (key === "default" || key === "__esModule") return;
211739
211690
  if (key in exports && exports[key] === _getGameCenterGameProfile[key]) return;
@@ -211744,7 +211695,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211744
211695
  }
211745
211696
  });
211746
211697
  });
211747
- var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[26], "./MiniAppModule/native-modules/openGameCenterLeaderboard");
211698
+ var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/openGameCenterLeaderboard");
211748
211699
  Object.keys(_openGameCenterLeaderboard).forEach(function (key) {
211749
211700
  if (key === "default" || key === "__esModule") return;
211750
211701
  if (key in exports && exports[key] === _openGameCenterLeaderboard[key]) return;
@@ -211755,7 +211706,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211755
211706
  }
211756
211707
  });
211757
211708
  });
211758
- var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/submitGameCenterLeaderBoardScore");
211709
+ var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/submitGameCenterLeaderBoardScore");
211759
211710
  Object.keys(_submitGameCenterLeaderBoardScore).forEach(function (key) {
211760
211711
  if (key === "default" || key === "__esModule") return;
211761
211712
  if (key in exports && exports[key] === _submitGameCenterLeaderBoardScore[key]) return;
@@ -211766,7 +211717,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211766
211717
  }
211767
211718
  });
211768
211719
  });
211769
- var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/getAnonymousKey");
211720
+ var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/getAnonymousKey");
211770
211721
  Object.keys(_getAnonymousKey).forEach(function (key) {
211771
211722
  if (key === "default" || key === "__esModule") return;
211772
211723
  if (key in exports && exports[key] === _getAnonymousKey[key]) return;
@@ -211777,7 +211728,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211777
211728
  }
211778
211729
  });
211779
211730
  });
211780
- var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/getUserKeyForGame");
211731
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/getUserKeyForGame");
211781
211732
  Object.keys(_getUserKeyForGame).forEach(function (key) {
211782
211733
  if (key === "default" || key === "__esModule") return;
211783
211734
  if (key in exports && exports[key] === _getUserKeyForGame[key]) return;
@@ -211788,7 +211739,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211788
211739
  }
211789
211740
  });
211790
211741
  });
211791
- var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/grantPromotionReward");
211742
+ var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/grantPromotionReward");
211792
211743
  Object.keys(_grantPromotionReward).forEach(function (key) {
211793
211744
  if (key === "default" || key === "__esModule") return;
211794
211745
  if (key in exports && exports[key] === _grantPromotionReward[key]) return;
@@ -211799,7 +211750,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211799
211750
  }
211800
211751
  });
211801
211752
  });
211802
- var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
211753
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[33], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
211803
211754
  Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
211804
211755
  if (key === "default" || key === "__esModule") return;
211805
211756
  if (key in exports && exports[key] === _grantPromotionRewardForGame[key]) return;
@@ -211810,7 +211761,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211810
211761
  }
211811
211762
  });
211812
211763
  });
211813
- var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
211764
+ var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[34], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
211814
211765
  Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
211815
211766
  if (key === "default" || key === "__esModule") return;
211816
211767
  if (key in exports && exports[key] === _getIsTossLoginIntegratedService[key]) return;
@@ -211821,7 +211772,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211821
211772
  }
211822
211773
  });
211823
211774
  });
211824
- var _getServerTime = _$$_REQUIRE(_dependencyMap[33], "./MiniAppModule/native-modules/getServerTime");
211775
+ var _getServerTime = _$$_REQUIRE(_dependencyMap[35], "./MiniAppModule/native-modules/getServerTime");
211825
211776
  Object.keys(_getServerTime).forEach(function (key) {
211826
211777
  if (key === "default" || key === "__esModule") return;
211827
211778
  if (key in exports && exports[key] === _getServerTime[key]) return;
@@ -211832,7 +211783,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211832
211783
  }
211833
211784
  });
211834
211785
  });
211835
- var _requestReview = _$$_REQUIRE(_dependencyMap[34], "./MiniAppModule/native-modules/requestReview");
211786
+ var _requestReview = _$$_REQUIRE(_dependencyMap[36], "./MiniAppModule/native-modules/requestReview");
211836
211787
  Object.keys(_requestReview).forEach(function (key) {
211837
211788
  if (key === "default" || key === "__esModule") return;
211838
211789
  if (key in exports && exports[key] === _requestReview[key]) return;
@@ -211843,7 +211794,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211843
211794
  }
211844
211795
  });
211845
211796
  });
211846
- },2524,[2525,2533,2534,2535,2536,2537,2538,2539,2540,2541,2542,2543,2545,2546,2547,2548,2549,2550,2551,2554,2555,2556,2557,2558,2559,2560,2562,2563,2564,2565,2566,2567,2568,2569,2570],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
211797
+ },2524,[2525,2533,2534,2535,2536,2537,2538,2539,2540,2541,2542,2543,2545,2546,2547,2548,2549,2550,2551,2554,2555,2556,2557,2558,2559,2560,2561,2562,2564,2565,2566,2567,2568,2569,2570,2571,2572],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
211847
211798
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
211848
211799
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
211849
211800
  Object.defineProperty(exports, "__esModule", {
@@ -212617,6 +212568,62 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212617
212568
  return _saveBase64Data.apply(this, arguments);
212618
212569
  }
212619
212570
  },2558,[1,17,2552,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/saveBase64Data.ts");
212571
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212572
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212573
+ Object.defineProperty(exports, "__esModule", {
212574
+ value: true
212575
+ });
212576
+ exports.openPDFViewer = openPDFViewer;
212577
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
212578
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[2], "./isMinVersionSupported");
212579
+ var _natives = _$$_REQUIRE(_dependencyMap[3], "../../natives");
212580
+ function openPDFViewer(_x) {
212581
+ return _openPDFViewer.apply(this, arguments);
212582
+ }
212583
+ function _openPDFViewer() {
212584
+ _openPDFViewer = (0, _asyncToGenerator2.default)(function* (params) {
212585
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)({
212586
+ android: '5.261.0',
212587
+ ios: '5.261.0'
212588
+ });
212589
+ if (!isSupported) {
212590
+ var error = new Error('토스앱 5.261.0 버전 이상이 필요해요.');
212591
+ error.code = 'UNSUPPORTED_APP_VERSION';
212592
+ throw error;
212593
+ }
212594
+ return (0, _natives.safePostMessage)('openPDFViewer', params);
212595
+ });
212596
+ return _openPDFViewer.apply(this, arguments);
212597
+ }
212598
+ },2559,[1,17,2552,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openPDFViewer.ts");
212599
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212600
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212601
+ Object.defineProperty(exports, "__esModule", {
212602
+ value: true
212603
+ });
212604
+ exports.fetchAlbumItems = fetchAlbumItems;
212605
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
212606
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[2], "./isMinVersionSupported");
212607
+ var _natives = _$$_REQUIRE(_dependencyMap[3], "../../natives");
212608
+ function fetchAlbumItems(_x) {
212609
+ return _fetchAlbumItems.apply(this, arguments);
212610
+ }
212611
+ function _fetchAlbumItems() {
212612
+ _fetchAlbumItems = (0, _asyncToGenerator2.default)(function* (options) {
212613
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)({
212614
+ android: '5.261.0',
212615
+ ios: '5.261.0'
212616
+ });
212617
+ if (!isSupported) {
212618
+ var error = new Error('토스앱 5.261.0 버전 이상이 필요해요.');
212619
+ error.code = 'UNSUPPORTED_APP_VERSION';
212620
+ throw error;
212621
+ }
212622
+ return (0, _natives.safePostMessage)('fetchAlbumItems', options ?? {});
212623
+ });
212624
+ return _fetchAlbumItems.apply(this, arguments);
212625
+ }
212626
+ },2560,[1,17,2552,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/fetchAlbumItems.ts");
212620
212627
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212621
212628
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212622
212629
  Object.defineProperty(exports, "__esModule", {
@@ -212643,7 +212650,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212643
212650
  });
212644
212651
  return _appsInTossSignTossCert.apply(this, arguments);
212645
212652
  }
212646
- },2559,[1,17,2552,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/appsInTossSignTossCert.ts");
212653
+ },2561,[1,17,2552,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/appsInTossSignTossCert.ts");
212647
212654
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212648
212655
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212649
212656
  Object.defineProperty(exports, "__esModule", {
@@ -212667,7 +212674,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212667
212674
  });
212668
212675
  return _getGameCenterGameProfile.apply(this, arguments);
212669
212676
  }
212670
- },2560,[1,17,2552,2527,2561],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGameCenterGameProfile.ts");
212677
+ },2562,[1,17,2552,2527,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGameCenterGameProfile.ts");
212671
212678
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212672
212679
  Object.defineProperty(exports, "__esModule", {
212673
212680
  value: true
@@ -212694,7 +212701,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212694
212701
  android: '5.245.0',
212695
212702
  ios: '5.245.0'
212696
212703
  };
212697
- },2561,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts");
212704
+ },2563,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts");
212698
212705
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212699
212706
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212700
212707
  Object.defineProperty(exports, "__esModule", {
@@ -212724,7 +212731,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212724
212731
  });
212725
212732
  return _openGameCenterLeaderboard.apply(this, arguments);
212726
212733
  }
212727
- },2562,[1,17,2,2552,2561],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openGameCenterLeaderboard.ts");
212734
+ },2564,[1,17,2,2552,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openGameCenterLeaderboard.ts");
212728
212735
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212729
212736
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212730
212737
  Object.defineProperty(exports, "__esModule", {
@@ -212748,7 +212755,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212748
212755
  });
212749
212756
  return _submitGameCenterLeaderBoardScore.apply(this, arguments);
212750
212757
  }
212751
- },2563,[1,17,2552,2527,2561],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/submitGameCenterLeaderBoardScore.ts");
212758
+ },2565,[1,17,2552,2527,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/submitGameCenterLeaderBoardScore.ts");
212752
212759
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212753
212760
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212754
212761
  Object.defineProperty(exports, "__esModule", {
@@ -212780,7 +212787,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212780
212787
  });
212781
212788
  return _getAnonymousKey.apply(this, arguments);
212782
212789
  }
212783
- },2564,[1,17,2552,2527,2561],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts");
212790
+ },2566,[1,17,2552,2527,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts");
212784
212791
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212785
212792
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212786
212793
  Object.defineProperty(exports, "__esModule", {
@@ -212798,7 +212805,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212798
212805
  });
212799
212806
  return _getUserKeyForGame.apply(this, arguments);
212800
212807
  }
212801
- },2565,[1,17,2564],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
212808
+ },2567,[1,17,2566],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
212802
212809
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212803
212810
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212804
212811
  Object.defineProperty(exports, "__esModule", {
@@ -212839,7 +212846,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212839
212846
  });
212840
212847
  return _grantPromotionReward.apply(this, arguments);
212841
212848
  }
212842
- },2566,[1,17,2552,2527,2561],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
212849
+ },2568,[1,17,2552,2527,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
212843
212850
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212844
212851
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212845
212852
  Object.defineProperty(exports, "__esModule", {
@@ -212857,7 +212864,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212857
212864
  });
212858
212865
  return _grantPromotionRewardForGame.apply(this, arguments);
212859
212866
  }
212860
- },2567,[1,17,2566],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
212867
+ },2569,[1,17,2568],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
212861
212868
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212862
212869
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212863
212870
  Object.defineProperty(exports, "__esModule", {
@@ -212882,7 +212889,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212882
212889
  });
212883
212890
  return _getIsTossLoginIntegratedService.apply(this, arguments);
212884
212891
  }
212885
- },2568,[1,17,2552,2527,2561],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
212892
+ },2570,[1,17,2552,2527,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
212886
212893
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212887
212894
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212888
212895
  Object.defineProperty(exports, "__esModule", {
@@ -212907,7 +212914,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212907
212914
  return _getServerTime.apply(this, arguments);
212908
212915
  }
212909
212916
  getServerTime.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
212910
- },2569,[1,17,2552,2527,2561],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
212917
+ },2571,[1,17,2552,2527,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
212911
212918
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212912
212919
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212913
212920
  Object.defineProperty(exports, "__esModule", {
@@ -212941,7 +212948,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212941
212948
  return _requestReview.apply(this, arguments);
212942
212949
  }
212943
212950
  requestReview.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(MIN_VERSION);
212944
- },2570,[1,17,2552,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
212951
+ },2572,[1,17,2552,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
212945
212952
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212946
212953
  Object.defineProperty(exports, "__esModule", {
212947
212954
  value: true
@@ -213023,7 +213030,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213023
213030
  }
213024
213031
  });
213025
213032
  });
213026
- },2571,[2572,2573,2574,2575,2576,2577,2578],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
213033
+ },2573,[2574,2575,2576,2577,2578,2579,2580],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
213027
213034
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213028
213035
  Object.defineProperty(exports, "__esModule", {
213029
213036
  value: true
@@ -213041,7 +213048,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213041
213048
  function replaceUnderbarToHypen(locale) {
213042
213049
  return locale.replace(/_/g, '-');
213043
213050
  }
213044
- },2572,[34,2526],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
213051
+ },2574,[34,2526],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
213045
213052
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213046
213053
  Object.defineProperty(exports, "__esModule", {
213047
213054
  value: true
@@ -213051,7 +213058,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213051
213058
  function getSchemeUri() {
213052
213059
  return _BedrockModule.CommonModule.getConstants().schemeUri;
213053
213060
  }
213054
- },2573,[2526],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
213061
+ },2575,[2526],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
213055
213062
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213056
213063
  Object.defineProperty(exports, "__esModule", {
213057
213064
  value: true
@@ -213061,7 +213068,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213061
213068
  function getPlatformOS() {
213062
213069
  return _reactNative.Platform.OS;
213063
213070
  }
213064
- },2574,[34],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
213071
+ },2576,[34],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
213065
213072
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213066
213073
  Object.defineProperty(exports, "__esModule", {
213067
213074
  value: true
@@ -213071,7 +213078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213071
213078
  function getOperationalEnvironment() {
213072
213079
  return _natives.MiniAppModule.getConstants().operationalEnvironment;
213073
213080
  }
213074
- },2575,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
213081
+ },2577,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
213075
213082
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213076
213083
  Object.defineProperty(exports, "__esModule", {
213077
213084
  value: true
@@ -213081,7 +213088,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213081
213088
  function getTossAppVersion() {
213082
213089
  return _natives.MiniAppModule.getConstants().tossAppVersion;
213083
213090
  }
213084
- },2576,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
213091
+ },2578,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
213085
213092
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213086
213093
  Object.defineProperty(exports, "__esModule", {
213087
213094
  value: true
@@ -213091,7 +213098,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213091
213098
  function getDeviceId() {
213092
213099
  return _natives.MiniAppModule.getConstants().deviceId;
213093
213100
  }
213094
- },2577,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
213101
+ },2579,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
213095
213102
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213096
213103
  Object.defineProperty(exports, "__esModule", {
213097
213104
  value: true
@@ -213101,7 +213108,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213101
213108
  function getGroupId() {
213102
213109
  return _natives.MiniAppModule.getConstants().groupId;
213103
213110
  }
213104
- },2578,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
213111
+ },2580,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
213105
213112
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213106
213113
  Object.defineProperty(exports, "__esModule", {
213107
213114
  value: true
@@ -213139,7 +213146,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213139
213146
  }
213140
213147
  });
213141
213148
  });
213142
- },2579,[2580,2595,2592],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
213149
+ },2581,[2582,2597,2594],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
213143
213150
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213144
213151
  Object.defineProperty(exports, "__esModule", {
213145
213152
  value: true
@@ -213152,7 +213159,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213152
213159
  }
213153
213160
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
213154
213161
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
213155
- },2580,[2581,2587],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
213162
+ },2582,[2583,2589],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
213156
213163
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213157
213164
  Object.defineProperty(exports, "__esModule", {
213158
213165
  value: true
@@ -213163,7 +213170,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213163
213170
  var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
213164
213171
  var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
213165
213172
  var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
213166
- },2581,[2,2582,2583,2586],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
213173
+ },2583,[2,2584,2585,2588],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
213167
213174
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213168
213175
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213169
213176
  Object.defineProperty(exports, "__esModule", {
@@ -213230,7 +213237,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213230
213237
  }
213231
213238
  }]);
213232
213239
  }(_reactNative.GraniteEventDefinition);
213233
- },2582,[1,21,20,22,25,26,1286,2,2527,2541],"../../../../.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");
213240
+ },2584,[1,21,20,22,25,26,1286,2,2527,2541],"../../../../.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");
213234
213241
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213235
213242
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213236
213243
  Object.defineProperty(exports, "__esModule", {
@@ -213290,7 +213297,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213290
213297
  }
213291
213298
  }]);
213292
213299
  }(_reactNative.GraniteEventDefinition);
213293
- },2583,[1,21,20,22,25,26,2,2584,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
213300
+ },2585,[1,21,20,22,25,26,2,2586,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
213294
213301
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213295
213302
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213296
213303
  Object.defineProperty(exports, "__esModule", {
@@ -213355,7 +213362,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213355
213362
  unregisterCallback,
213356
213363
  getCallbackIds
213357
213364
  };
213358
- },2584,[1,48,90,2527,2585],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
213365
+ },2586,[1,48,90,2527,2587],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
213359
213366
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213360
213367
  Object.defineProperty(exports, "__esModule", {
213361
213368
  value: true
@@ -213364,7 +213371,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213364
213371
  function generateUUID(placeholder) {
213365
213372
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
213366
213373
  }
213367
- },2585,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
213374
+ },2587,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
213368
213375
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213369
213376
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213370
213377
  Object.defineProperty(exports, "__esModule", {
@@ -213422,7 +213429,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213422
213429
  }
213423
213430
  }]);
213424
213431
  }(_reactNative.GraniteEventDefinition);
213425
- },2586,[1,21,20,22,25,26,2,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
213432
+ },2588,[1,21,20,22,25,26,2,2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
213426
213433
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213427
213434
  Object.defineProperty(exports, "__esModule", {
213428
213435
  value: true
@@ -213637,7 +213644,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213637
213644
  }
213638
213645
  });
213639
213646
  });
213640
- var _setDeviceOrientation = _$$_REQUIRE(_dependencyMap[18], "./setDeviceOrientation");
213647
+ var _openPDFViewer = _$$_REQUIRE(_dependencyMap[18], "./openPDFViewer");
213648
+ Object.keys(_openPDFViewer).forEach(function (key) {
213649
+ if (key === "default" || key === "__esModule") return;
213650
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
213651
+ if (key in exports && exports[key] === _openPDFViewer[key]) return;
213652
+ Object.defineProperty(exports, key, {
213653
+ enumerable: true,
213654
+ get: function () {
213655
+ return _openPDFViewer[key];
213656
+ }
213657
+ });
213658
+ });
213659
+ var _fetchAlbumItems = _$$_REQUIRE(_dependencyMap[19], "./fetchAlbumItems");
213660
+ Object.keys(_fetchAlbumItems).forEach(function (key) {
213661
+ if (key === "default" || key === "__esModule") return;
213662
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
213663
+ if (key in exports && exports[key] === _fetchAlbumItems[key]) return;
213664
+ Object.defineProperty(exports, key, {
213665
+ enumerable: true,
213666
+ get: function () {
213667
+ return _fetchAlbumItems[key];
213668
+ }
213669
+ });
213670
+ });
213671
+ var _setDeviceOrientation = _$$_REQUIRE(_dependencyMap[20], "./setDeviceOrientation");
213641
213672
  Object.keys(_setDeviceOrientation).forEach(function (key) {
213642
213673
  if (key === "default" || key === "__esModule") return;
213643
213674
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213649,7 +213680,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213649
213680
  }
213650
213681
  });
213651
213682
  });
213652
- var _storage = _$$_REQUIRE(_dependencyMap[19], "./storage");
213683
+ var _storage = _$$_REQUIRE(_dependencyMap[21], "./storage");
213653
213684
  Object.keys(_storage).forEach(function (key) {
213654
213685
  if (key === "default" || key === "__esModule") return;
213655
213686
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213661,7 +213692,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213661
213692
  }
213662
213693
  });
213663
213694
  });
213664
- var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[20], "./openGameCenterLeaderboard");
213695
+ var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[22], "./openGameCenterLeaderboard");
213665
213696
  Object.keys(_openGameCenterLeaderboard).forEach(function (key) {
213666
213697
  if (key === "default" || key === "__esModule") return;
213667
213698
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213673,7 +213704,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213673
213704
  }
213674
213705
  });
213675
213706
  });
213676
- var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[21], "./getGameCenterGameProfile");
213707
+ var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[23], "./getGameCenterGameProfile");
213677
213708
  Object.keys(_getGameCenterGameProfile).forEach(function (key) {
213678
213709
  if (key === "default" || key === "__esModule") return;
213679
213710
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213685,7 +213716,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213685
213716
  }
213686
213717
  });
213687
213718
  });
213688
- var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[22], "./submitGameCenterLeaderBoardScore");
213719
+ var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[24], "./submitGameCenterLeaderBoardScore");
213689
213720
  Object.keys(_submitGameCenterLeaderBoardScore).forEach(function (key) {
213690
213721
  if (key === "default" || key === "__esModule") return;
213691
213722
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213697,7 +213728,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213697
213728
  }
213698
213729
  });
213699
213730
  });
213700
- var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[23], "./getAnonymousKey");
213731
+ var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[25], "./getAnonymousKey");
213701
213732
  Object.keys(_getAnonymousKey).forEach(function (key) {
213702
213733
  if (key === "default" || key === "__esModule") return;
213703
213734
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213709,7 +213740,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213709
213740
  }
213710
213741
  });
213711
213742
  });
213712
- var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[24], "./getUserKeyForGame");
213743
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[26], "./getUserKeyForGame");
213713
213744
  Object.keys(_getUserKeyForGame).forEach(function (key) {
213714
213745
  if (key === "default" || key === "__esModule") return;
213715
213746
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213721,7 +213752,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213721
213752
  }
213722
213753
  });
213723
213754
  });
213724
- var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[25], "./grantPromotionReward");
213755
+ var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[27], "./grantPromotionReward");
213725
213756
  Object.keys(_grantPromotionReward).forEach(function (key) {
213726
213757
  if (key === "default" || key === "__esModule") return;
213727
213758
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213733,7 +213764,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213733
213764
  }
213734
213765
  });
213735
213766
  });
213736
- var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[26], "./grantPromotionRewardForGame");
213767
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[28], "./grantPromotionRewardForGame");
213737
213768
  Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
213738
213769
  if (key === "default" || key === "__esModule") return;
213739
213770
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213745,7 +213776,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213745
213776
  }
213746
213777
  });
213747
213778
  });
213748
- var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[27], "./getIsTossLoginIntegratedService");
213779
+ var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[29], "./getIsTossLoginIntegratedService");
213749
213780
  Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
213750
213781
  if (key === "default" || key === "__esModule") return;
213751
213782
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213757,7 +213788,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213757
213788
  }
213758
213789
  });
213759
213790
  });
213760
- var _contactsViral = _$$_REQUIRE(_dependencyMap[28], "../native-event-emitter/contactsViral");
213791
+ var _contactsViral = _$$_REQUIRE(_dependencyMap[30], "../native-event-emitter/contactsViral");
213761
213792
  Object.keys(_contactsViral).forEach(function (key) {
213762
213793
  if (key === "default" || key === "__esModule") return;
213763
213794
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213769,7 +213800,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213769
213800
  }
213770
213801
  });
213771
213802
  });
213772
- var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[29], "./appsInTossSignTossCert");
213803
+ var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[31], "./appsInTossSignTossCert");
213773
213804
  Object.keys(_appsInTossSignTossCert).forEach(function (key) {
213774
213805
  if (key === "default" || key === "__esModule") return;
213775
213806
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213781,7 +213812,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213781
213812
  }
213782
213813
  });
213783
213814
  });
213784
- var _getGroupId = _$$_REQUIRE(_dependencyMap[30], "./getGroupId");
213815
+ var _getGroupId = _$$_REQUIRE(_dependencyMap[32], "./getGroupId");
213785
213816
  Object.keys(_getGroupId).forEach(function (key) {
213786
213817
  if (key === "default" || key === "__esModule") return;
213787
213818
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213793,7 +213824,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213793
213824
  }
213794
213825
  });
213795
213826
  });
213796
- var _shareWithScheme = _$$_REQUIRE(_dependencyMap[31], "./shareWithScheme");
213827
+ var _shareWithScheme = _$$_REQUIRE(_dependencyMap[33], "./shareWithScheme");
213797
213828
  Object.keys(_shareWithScheme).forEach(function (key) {
213798
213829
  if (key === "default" || key === "__esModule") return;
213799
213830
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213805,7 +213836,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213805
213836
  }
213806
213837
  });
213807
213838
  });
213808
- var _getServerTime = _$$_REQUIRE(_dependencyMap[32], "./getServerTime");
213839
+ var _getServerTime = _$$_REQUIRE(_dependencyMap[34], "./getServerTime");
213809
213840
  Object.keys(_getServerTime).forEach(function (key) {
213810
213841
  if (key === "default" || key === "__esModule") return;
213811
213842
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213817,7 +213848,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213817
213848
  }
213818
213849
  });
213819
213850
  });
213820
- var _requestReview = _$$_REQUIRE(_dependencyMap[33], "./requestReview");
213851
+ var _requestReview = _$$_REQUIRE(_dependencyMap[35], "./requestReview");
213821
213852
  Object.keys(_requestReview).forEach(function (key) {
213822
213853
  if (key === "default" || key === "__esModule") return;
213823
213854
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213829,7 +213860,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213829
213860
  }
213830
213861
  });
213831
213862
  });
213832
- var _requestNotificationAgreement = _$$_REQUIRE(_dependencyMap[34], "./requestNotificationAgreement");
213863
+ var _requestNotificationAgreement = _$$_REQUIRE(_dependencyMap[36], "./requestNotificationAgreement");
213833
213864
  Object.keys(_requestNotificationAgreement).forEach(function (key) {
213834
213865
  if (key === "default" || key === "__esModule") return;
213835
213866
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213850,7 +213881,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213850
213881
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
213851
213882
  isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
213852
213883
  };
213853
- },2587,[2588,2556,2557,2550,2551,2547,2546,2545,2548,2543,2549,2577,2575,2576,2554,2590,2552,2558,2555,2591,2562,2560,2563,2564,2565,2566,2567,2568,2592,2559,2578,2593,2569,2570,2594],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
213884
+ },2589,[2590,2556,2557,2550,2551,2547,2546,2545,2548,2543,2549,2579,2577,2578,2554,2592,2552,2558,2559,2560,2555,2593,2564,2562,2565,2566,2567,2568,2569,2570,2594,2561,2580,2595,2571,2572,2596],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
213854
213885
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213855
213886
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213856
213887
  Object.defineProperty(exports, "__esModule", {
@@ -213983,7 +214014,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213983
214014
  });
213984
214015
  }
213985
214016
  isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
213986
- },2588,[1,17,1287,2589,2584,2575,2552],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
214017
+ },2590,[1,17,1287,2591,2586,2577,2552],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
213987
214018
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213988
214019
  Object.defineProperty(exports, "__esModule", {
213989
214020
  value: true
@@ -213997,7 +214028,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213997
214028
  return null;
213998
214029
  }
213999
214030
  }
214000
- },2589,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
214031
+ },2591,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
214001
214032
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214002
214033
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
214003
214034
  Object.defineProperty(exports, "__esModule", {
@@ -214248,7 +214279,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214248
214279
  completeProductGrant,
214249
214280
  getSubscriptionInfo
214250
214281
  };
214251
- },2590,[1,17,1287,2552,2527,2584],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
214282
+ },2592,[1,17,1287,2552,2527,2586],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
214252
214283
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214253
214284
  Object.defineProperty(exports, "__esModule", {
214254
214285
  value: true
@@ -214280,7 +214311,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214280
214311
  removeItem,
214281
214312
  clearItems
214282
214313
  };
214283
- },2591,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
214314
+ },2593,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
214284
214315
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214285
214316
  Object.defineProperty(exports, "__esModule", {
214286
214317
  value: true
@@ -214316,7 +214347,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214316
214347
  });
214317
214348
  return unregisterCallbacks;
214318
214349
  }
214319
- },2592,[2584,2552],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
214350
+ },2594,[2586,2552],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
214320
214351
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214321
214352
  Object.defineProperty(exports, "__esModule", {
214322
214353
  value: true
@@ -214326,7 +214357,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214326
214357
  function shareWithScheme(params) {
214327
214358
  return (0, _natives.safePostMessage)('shareWithScheme', params);
214328
214359
  }
214329
- },2593,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
214360
+ },2595,[2527],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
214330
214361
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214331
214362
  Object.defineProperty(exports, "__esModule", {
214332
214363
  value: true
@@ -214360,7 +214391,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214360
214391
  }
214361
214392
  });
214362
214393
  }
214363
- },2594,[1287,2552,2584],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestNotificationAgreement.ts");
214394
+ },2596,[1287,2552,2586],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestNotificationAgreement.ts");
214364
214395
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214365
214396
  Object.defineProperty(exports, "__esModule", {
214366
214397
  value: true
@@ -214370,7 +214401,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214370
214401
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
214371
214402
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
214372
214403
  }
214373
- },2595,[2581],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
214404
+ },2597,[2583],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
214374
214405
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214375
214406
  "use strict";
214376
214407
 
@@ -214417,12 +214448,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214417
214448
  }
214418
214449
  \`;document.head.appendChild(e);})();
214419
214450
  `,
214420
- 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';
214451
+ 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';
214421
214452
  0 && (module.exports = {
214422
214453
  afterDocumentLoad,
214423
214454
  beforeDocumentLoad
214424
214455
  });
214425
- },2596,[],"../../user-scripts/dist/index.js");
214456
+ },2598,[],"../../user-scripts/dist/index.js");
214426
214457
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214427
214458
  Object.defineProperty(exports, "__esModule", {
214428
214459
  value: true
@@ -214435,7 +214466,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214435
214466
  return files.get(id);
214436
214467
  }
214437
214468
  context.keys = () => Array.from(files.keys());
214438
- },2597,[2598,2599],"context.ts");
214469
+ },2599,[2600,2601],"context.ts");
214439
214470
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214440
214471
  Object.defineProperty(exports, "__esModule", {
214441
214472
  value: true
@@ -214468,7 +214499,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214468
214499
  })
214469
214500
  });
214470
214501
  }
214471
- },2598,[1283,34,9],"pages/index.tsx");
214502
+ },2600,[1283,34,9],"pages/index.tsx");
214472
214503
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214473
214504
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
214474
214505
  Object.defineProperty(exports, "__esModule", {
@@ -214481,6 +214512,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214481
214512
  }
214482
214513
  });
214483
214514
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
214484
- },2599,[1,2598],"pages/_404.tsx");
214515
+ },2601,[1,2600],"pages/_404.tsx");
214485
214516
  __r(186);
214486
214517
  __r(0);