@apps-in-toss/web-framework 2.4.2 → 2.4.4

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.
@@ -136510,7 +136510,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136510
136510
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
136511
136511
  context: _context.context
136512
136512
  });
136513
- },1273,[1274,2581,9],"src/_app.tsx");
136513
+ },1273,[1274,2582,9],"src/_app.tsx");
136514
136514
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
136515
136515
  "use strict";
136516
136516
 
@@ -136576,140 +136576,72 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136576
136576
  module.exports = __toCommonJS(src_exports);
136577
136577
  var import_analytics2 = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
136578
136578
  var import_analytics = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
136579
- var import_native_modules14 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136580
- var import_react_native22 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136579
+ var import_native_modules10 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136580
+ var import_react_native21 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136581
136581
  var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
136582
- var import_react_native23 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136583
- var import_native_modules2 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136584
- var import_react_native4 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136585
- var import_react3 = _$$_REQUIRE(_dependencyMap[9], "react");
136582
+ var import_react_native22 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136583
+ var import_react_native2 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136584
+ var import_react = _$$_REQUIRE(_dependencyMap[9], "react");
136586
136585
  var env = {
136587
136586
  getDeploymentId: () => __DEV__ ? "local" : global.__appsInToss?.deploymentId,
136588
136587
  getWebViewType: () => global.__appsInToss.webViewType,
136589
136588
  getAppName: () => global.__granite.app.name
136590
136589
  };
136591
- var import_native_modules = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136592
- var import_react_native3 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136593
- var import_react2 = _$$_REQUIRE(_dependencyMap[9], "react");
136594
136590
  var import_react_native = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136595
- var import_react = _$$_REQUIRE(_dependencyMap[9], "react");
136596
- function useReferrer() {
136597
- return (0, import_react.useMemo)(() => {
136598
- try {
136599
- return new URL((0, import_react_native.getSchemeUri)()).searchParams.get("referrer");
136600
- } catch {
136601
- return null;
136602
- }
136603
- }, []);
136604
- }
136605
- var import_react_native2 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136606
136591
  function isPrivateScheme() {
136607
136592
  try {
136608
- return new URL((0, import_react_native2.getSchemeUri)()).protocol === "intoss-private:";
136593
+ return new URL((0, import_react_native.getSchemeUri)()).protocol === "intoss-private:";
136609
136594
  } catch {
136610
136595
  return false;
136611
136596
  }
136612
136597
  }
136613
- var EXIT_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__stay_time";
136614
- var EXIT_IMPRESSION_SCHEMA_ID = 1631628;
136615
- function useCaptureExitLog() {
136616
- var referrer = useReferrer();
136617
- var visible = (0, import_react_native3.useVisibility)();
136618
- var enterTime = (0, import_react2.useRef)(void 0);
136619
- (0, import_react2.useEffect)(() => {
136620
- if (visible === true) {
136621
- enterTime.current = Date.now();
136622
- }
136623
- }, [visible]);
136624
- var captureExitLog = (0, import_react2.useCallback)(exitTime => {
136625
- if (enterTime.current == null) {
136626
- return;
136627
- }
136628
- var stayTime = Math.floor(exitTime - enterTime.current);
136629
- import_native_modules.INTERNAL__module.tossCoreEventLog({
136630
- log_name: EXIT_IMPRESSION_LOG_NAME,
136631
- log_type: "event",
136632
- params: {
136633
- schema_id: EXIT_IMPRESSION_SCHEMA_ID,
136634
- event_type: "impression",
136635
- referrer,
136636
- deployment_id: env.getDeploymentId(),
136637
- app_name: import_react_native3.Granite.appName,
136638
- is_private: isPrivateScheme(),
136639
- stay_time: stayTime.toString(),
136640
- exit_time: exitTime.toString()
136641
- }
136642
- });
136643
- enterTime.current = void 0;
136644
- }, [referrer]);
136645
- return {
136646
- captureExitLog
136647
- };
136648
- }
136649
- var ENTRY_APP_EVENT_SCHEMA_ID = 1562181;
136650
- function EntryAppEvent() {
136651
- var referrer = useReferrer() ?? "";
136652
- (0, import_react3.useEffect)(() => {
136653
- import_native_modules2.INTERNAL__module.tossCoreEventLog({
136654
- log_name: "appsintoss_app_visit::impression__enter_appsintoss",
136655
- log_type: "info",
136656
- params: {
136657
- is_transform: true,
136658
- schema_id: ENTRY_APP_EVENT_SCHEMA_ID,
136659
- referrer,
136660
- deployment_id: env.getDeploymentId(),
136661
- app_name: import_react_native4.Granite.appName,
136662
- is_private: isPrivateScheme()
136663
- }
136664
- });
136665
- }, [referrer]);
136666
- return null;
136598
+ var import_native_modules = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136599
+ var DEFAULT_PIPELINES = ["core", "partner"];
136600
+ function sendLog(logData, options) {
136601
+ var _ref = options ?? {},
136602
+ _ref$pipelines = _ref.pipelines,
136603
+ pipelines = _ref$pipelines === void 0 ? DEFAULT_PIPELINES : _ref$pipelines;
136604
+ if (pipelines.includes("core")) {
136605
+ import_native_modules.INTERNAL__module.tossCoreEventLog(logData);
136606
+ }
136607
+ if (pipelines.includes("partner")) {
136608
+ (0, import_native_modules.eventLog)(logData);
136609
+ }
136667
136610
  }
136668
136611
  function SystemAppEvent({
136669
136612
  ...initialProps
136670
136613
  }) {
136671
- (0, import_react3.useEffect)(() => {
136672
- import_native_modules2.INTERNAL__module.tossCoreEventLog({
136614
+ (0, import_react.useEffect)(() => {
136615
+ sendLog({
136673
136616
  log_name: "AppsInTossInitialProps",
136674
136617
  log_type: "debug",
136675
136618
  params: {
136676
136619
  ...initialProps,
136677
- schemeUri: (0, import_react_native4.getSchemeUri)(),
136620
+ schemeUri: (0, import_react_native2.getSchemeUri)(),
136678
136621
  deployment_id: env.getDeploymentId(),
136679
- app_name: import_react_native4.Granite.appName,
136622
+ app_name: import_react_native2.Granite.appName,
136680
136623
  is_private: isPrivateScheme()
136681
136624
  }
136625
+ }, {
136626
+ pipelines: ["core"]
136682
136627
  });
136683
136628
  }, [initialProps]);
136684
136629
  return null;
136685
136630
  }
136686
- function StayTimeAppEvent() {
136687
- var visible = (0, import_react_native4.useVisibility)();
136688
- var _useCaptureExitLog = useCaptureExitLog(),
136689
- captureExitLog = _useCaptureExitLog.captureExitLog;
136690
- (0, import_react3.useEffect)(() => {
136691
- if (visible === false) {
136692
- captureExitLog(Date.now());
136693
- }
136694
- }, [visible, captureExitLog]);
136695
- return null;
136696
- }
136697
136631
  var AppEvent = {
136698
- Entry: EntryAppEvent,
136699
- System: SystemAppEvent,
136700
- StayTime: StayTimeAppEvent
136632
+ System: SystemAppEvent
136701
136633
  };
136702
- var import_react_native5 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136703
- var import_react4 = _$$_REQUIRE(_dependencyMap[9], "react");
136634
+ var import_react_native3 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136635
+ var import_react2 = _$$_REQUIRE(_dependencyMap[9], "react");
136704
136636
  var import_jsx_runtime = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
136705
136637
  var UPDATE_SCHEME = "servicetoss://update/forced/j?updateType=required";
136706
136638
  function AppUpdate() {
136707
- (0, import_react4.useEffect)(() => {
136708
- (0, import_react_native5.openURL)(`supertoss://closePage?url=${UPDATE_SCHEME}`);
136639
+ (0, import_react2.useEffect)(() => {
136640
+ (0, import_react_native3.openURL)(`supertoss://closePage?url=${UPDATE_SCHEME}`);
136709
136641
  }, []);
136710
136642
  return (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {});
136711
136643
  }
136712
- var import_react5 = _$$_REQUIRE(_dependencyMap[9], "react");
136644
+ var import_react3 = _$$_REQUIRE(_dependencyMap[9], "react");
136713
136645
  function getAppsInTossGlobals() {
136714
136646
  if (global.__appsInToss == null) {
136715
136647
  throw new Error("invalid apps-in-toss globals");
@@ -136727,16 +136659,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136727
136659
  }
136728
136660
  }
136729
136661
  var import_jsx_runtime2 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
136730
- var NavigationBarContext = (0, import_react5.createContext)(null);
136662
+ var NavigationBarContext = (0, import_react3.createContext)(null);
136731
136663
  function NavigationBarContextProvider({
136732
136664
  children
136733
136665
  }) {
136734
136666
  var globals = getAppsInTossGlobals();
136735
136667
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
136736
- var _ref = (0, import_react5.useState)(parsedNavigationBar?.initialAccessoryButton),
136737
- _ref2 = _slicedToArray(_ref, 2),
136738
- navigationRightButton = _ref2[0],
136739
- setNavigationRightButton = _ref2[1];
136668
+ var _ref2 = (0, import_react3.useState)(parsedNavigationBar?.initialAccessoryButton),
136669
+ _ref3 = _slicedToArray(_ref2, 2),
136670
+ navigationRightButton = _ref3[0],
136671
+ setNavigationRightButton = _ref3[1];
136740
136672
  var addNavigationRightButton = button => {
136741
136673
  setNavigationRightButton(button);
136742
136674
  };
@@ -136753,42 +136685,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136753
136685
  });
136754
136686
  }
136755
136687
  function useNavigationBarContext() {
136756
- var context = (0, import_react5.useContext)(NavigationBarContext);
136688
+ var context = (0, import_react3.useContext)(NavigationBarContext);
136757
136689
  if (context == null) {
136758
136690
  throw Error("useNavigationBarContext must be used within NavigationBarContextProvider");
136759
136691
  }
136760
136692
  return context;
136761
136693
  }
136762
- var import_native_modules13 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136763
- var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
136764
- var import_react_native21 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136765
- var import_native_modules6 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136766
- var import_react_native10 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136694
+ var import_native_modules9 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136695
+ var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
136696
+ var import_react_native20 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136697
+ var import_native_modules4 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136698
+ var import_react_native9 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136767
136699
  var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
136768
136700
  var import_es_hangul = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
136769
- var import_react11 = _$$_REQUIRE(_dependencyMap[9], "react");
136770
- var import_react_native11 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136701
+ var import_react10 = _$$_REQUIRE(_dependencyMap[9], "react");
136702
+ var import_react_native10 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136771
136703
  var GAME_PROFILE_WEBVIEW_URL = "servicetoss://game-center/profile";
136772
136704
  var GAME_MIN_VERSION = {
136773
136705
  android: "5.232.0",
136774
136706
  ios: "5.232.0"
136775
136707
  };
136776
- var import_native_modules3 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136777
- var import_react_native7 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136708
+ var import_react_native6 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136778
136709
  var import_tds_react_native = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
136779
- var import_react6 = _$$_REQUIRE(_dependencyMap[9], "react");
136780
- var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136710
+ var import_react5 = _$$_REQUIRE(_dependencyMap[9], "react");
136711
+ var import_react_native4 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136712
+ var import_react4 = _$$_REQUIRE(_dependencyMap[9], "react");
136713
+ function useReferrer() {
136714
+ return (0, import_react4.useMemo)(() => {
136715
+ try {
136716
+ return new URL((0, import_react_native4.getSchemeUri)()).searchParams.get("referrer");
136717
+ } catch {
136718
+ return null;
136719
+ }
136720
+ }, []);
136721
+ }
136722
+ var import_react_native5 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136781
136723
  var PLAYSTORE_LINK = "https://play.google.com/store/apps/details?id=viva.republica.toss";
136782
136724
  var APPSTORE_LINK = "https://itunes.apple.com/app/id839333328";
136783
136725
  var getMarketLink = () => {
136784
- return import_react_native6.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
136726
+ return import_react_native5.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
136785
136727
  };
136786
136728
  function useAppUpdateDialog() {
136787
- var _ref3 = (0, import_tds_react_native.useDialog)(),
136788
- openConfirm = _ref3.openConfirm;
136729
+ var _ref4 = (0, import_tds_react_native.useDialog)(),
136730
+ openConfirm = _ref4.openConfirm;
136789
136731
  var logging = useAppUpdateDialogLogging();
136790
- var openAppUpdateDialog = (0, import_react6.useCallback)(function () {
136791
- var _ref4 = _asyncToGenerator(function* ({
136732
+ var openAppUpdateDialog = (0, import_react5.useCallback)(function () {
136733
+ var _ref5 = _asyncToGenerator(function* ({
136792
136734
  title,
136793
136735
  description,
136794
136736
  leftButton = "\uB2EB\uAE30",
@@ -136810,10 +136752,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136810
136752
  }
136811
136753
  logging.update();
136812
136754
  var STORE_SCHEME = getMarketLink();
136813
- (0, import_react_native7.openURL)(`supertoss://web?url=${STORE_SCHEME}&external=browser`);
136755
+ (0, import_react_native6.openURL)(`supertoss://web?url=${STORE_SCHEME}&external=browser`);
136814
136756
  });
136815
136757
  return function (_x) {
136816
- return _ref4.apply(this, arguments);
136758
+ return _ref5.apply(this, arguments);
136817
136759
  };
136818
136760
  }(), [logging, openConfirm]);
136819
136761
  return {
@@ -136828,10 +136770,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136828
136770
  var referrer = useReferrer();
136829
136771
  var baseParams = {
136830
136772
  referrer,
136831
- app_name: import_react_native7.Granite.appName
136773
+ app_name: import_react_native6.Granite.appName
136832
136774
  };
136833
136775
  var logUpdateClick = () => {
136834
- import_native_modules3.INTERNAL__module.tossCoreEventLog({
136776
+ sendLog({
136835
136777
  log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
136836
136778
  log_type: "event",
136837
136779
  params: {
@@ -136843,7 +136785,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136843
136785
  });
136844
136786
  };
136845
136787
  var logCloseClick = () => {
136846
- import_native_modules3.INTERNAL__module.tossCoreEventLog({
136788
+ sendLog({
136847
136789
  log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
136848
136790
  log_type: "event",
136849
136791
  params: {
@@ -136855,7 +136797,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136855
136797
  });
136856
136798
  };
136857
136799
  var logDialogShow = () => {
136858
- import_native_modules3.INTERNAL__module.tossCoreEventLog({
136800
+ sendLog({
136859
136801
  log_name: UPDATE_DIALOG_LOG_NAME,
136860
136802
  log_type: "popup",
136861
136803
  params: {
@@ -136870,33 +136812,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136870
136812
  show: logDialogShow
136871
136813
  };
136872
136814
  }
136873
- var import_native_modules5 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136874
- var import_react10 = _$$_REQUIRE(_dependencyMap[9], "react");
136875
- var import_react_native8 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136815
+ var import_native_modules3 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136816
+ var import_react9 = _$$_REQUIRE(_dependencyMap[9], "react");
136817
+ var import_react_native7 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136876
136818
  var import_tds_react_native2 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
136877
- var import_react7 = _$$_REQUIRE(_dependencyMap[9], "react");
136819
+ var import_react6 = _$$_REQUIRE(_dependencyMap[9], "react");
136878
136820
  var DEFAULT_ERROR = {
136879
136821
  title: "\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",
136880
136822
  description: "\uBB38\uC81C\uAC00 \uACC4\uC18D\uB418\uBA74 \uD1A0\uC2A4 \uACE0\uAC1D\uC13C\uD130(1599-4905)\uB85C \uBB38\uC758\uD574\uC8FC\uC138\uC694."
136881
136823
  };
136882
136824
  var useErrorAlert = () => {
136883
- var _ref5 = (0, import_tds_react_native2.useDialog)(),
136884
- openAlert = _ref5.openAlert;
136885
- var openErrorAlert = (0, import_react7.useCallback)(_asyncToGenerator(function* () {
136825
+ var _ref6 = (0, import_tds_react_native2.useDialog)(),
136826
+ openAlert = _ref6.openAlert;
136827
+ var openErrorAlert = (0, import_react6.useCallback)(_asyncToGenerator(function* () {
136886
136828
  yield openAlert({
136887
136829
  title: DEFAULT_ERROR.title,
136888
136830
  description: DEFAULT_ERROR.description
136889
136831
  });
136890
- (0, import_react_native8.closeView)();
136832
+ (0, import_react_native7.closeView)();
136891
136833
  }), [openAlert]);
136892
136834
  return {
136893
136835
  open: openErrorAlert
136894
136836
  };
136895
136837
  };
136896
- var import_react8 = _$$_REQUIRE(_dependencyMap[9], "react");
136897
- var import_react_native9 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136898
- var import_native_modules4 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136899
- var INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules4.onVisibilityChangedByTransparentServiceWeb;
136838
+ var import_react7 = _$$_REQUIRE(_dependencyMap[9], "react");
136839
+ var import_react_native8 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136840
+ var import_native_modules2 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136841
+ var INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules2.onVisibilityChangedByTransparentServiceWeb;
136900
136842
  var openTransparentWebView = ({
136901
136843
  webUrl,
136902
136844
  cleanupWhenDismissed = true,
@@ -136926,16 +136868,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136926
136868
  }
136927
136869
  }
136928
136870
  });
136929
- (0, import_react_native9.openURL)(url.toString());
136871
+ (0, import_react_native8.openURL)(url.toString());
136930
136872
  };
136931
136873
  var useTransparentWebview = () => {
136932
- var _ref7 = (0, import_react8.useState)(false),
136933
- _ref8 = _slicedToArray(_ref7, 2),
136934
- isWebviewLoading = _ref8[0],
136935
- setIsWebviewLoading = _ref8[1];
136874
+ var _ref8 = (0, import_react7.useState)(false),
136875
+ _ref9 = _slicedToArray(_ref8, 2),
136876
+ isWebviewLoading = _ref9[0],
136877
+ setIsWebviewLoading = _ref9[1];
136936
136878
  var _useErrorAlert = useErrorAlert(),
136937
136879
  openErrorAlert = _useErrorAlert.open;
136938
- var _openTransparentWebview = (0, import_react8.useCallback)(({
136880
+ var _openTransparentWebview = (0, import_react7.useCallback)(({
136939
136881
  webUrl,
136940
136882
  onClose,
136941
136883
  onError
@@ -136947,14 +136889,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136947
136889
  openTransparentWebView({
136948
136890
  webUrl,
136949
136891
  onEvent: function () {
136950
- var _ref9 = _asyncToGenerator(function* (isClosedTransparentWebView) {
136892
+ var _ref0 = _asyncToGenerator(function* (isClosedTransparentWebView) {
136951
136893
  if (isClosedTransparentWebView) {
136952
136894
  setIsWebviewLoading(false);
136953
136895
  onClose?.();
136954
136896
  }
136955
136897
  });
136956
136898
  return function onEvent(_x2) {
136957
- return _ref9.apply(this, arguments);
136899
+ return _ref0.apply(this, arguments);
136958
136900
  };
136959
136901
  }(),
136960
136902
  onError: error => {
@@ -136973,11 +136915,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136973
136915
  };
136974
136916
  var import_tds_react_native3 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
136975
136917
  var import_private2 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
136976
- var import_react9 = _$$_REQUIRE(_dependencyMap[9], "react");
136918
+ var import_react8 = _$$_REQUIRE(_dependencyMap[9], "react");
136977
136919
  var import_jsx_runtime3 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
136978
136920
  var useGameProfileToast = () => {
136979
136921
  var overlay = (0, import_private2.useOverlay)();
136980
- var openGameProfileToast = (0, import_react9.useCallback)((nickname, profileImageUri) => {
136922
+ var openGameProfileToast = (0, import_react8.useCallback)((nickname, profileImageUri) => {
136981
136923
  return new Promise(resolve => {
136982
136924
  overlay.open(({
136983
136925
  isOpen,
@@ -137017,18 +136959,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137017
136959
  };
137018
136960
  };
137019
136961
  var useGameCenterProfile = () => {
137020
- var _ref0 = (0, import_react10.useState)(void 0),
137021
- _ref1 = _slicedToArray(_ref0, 2),
137022
- profileData = _ref1[0],
137023
- setProfileData = _ref1[1];
137024
- var _ref10 = (0, import_react10.useState)(true),
137025
- _ref11 = _slicedToArray(_ref10, 2),
137026
- isProfileDataLoading = _ref11[0],
137027
- setIsProfileDataLoading = _ref11[1];
137028
- var _ref12 = (0, import_react10.useState)(false),
137029
- _ref13 = _slicedToArray(_ref12, 2),
137030
- isProfileDataRefetching = _ref13[0],
137031
- setIsProfileDataRefetching = _ref13[1];
136962
+ var _ref1 = (0, import_react9.useState)(void 0),
136963
+ _ref10 = _slicedToArray(_ref1, 2),
136964
+ profileData = _ref10[0],
136965
+ setProfileData = _ref10[1];
136966
+ var _ref11 = (0, import_react9.useState)(true),
136967
+ _ref12 = _slicedToArray(_ref11, 2),
136968
+ isProfileDataLoading = _ref12[0],
136969
+ setIsProfileDataLoading = _ref12[1];
136970
+ var _ref13 = (0, import_react9.useState)(false),
136971
+ _ref14 = _slicedToArray(_ref13, 2),
136972
+ isProfileDataRefetching = _ref14[0],
136973
+ setIsProfileDataRefetching = _ref14[1];
137032
136974
  var shouldShowProfileLoadingOverlay = isProfileDataLoading || isProfileDataRefetching;
137033
136975
  var shouldShowProfileNotFoundOverlay = profileData?.statusCode === "PROFILE_NOT_FOUND" && !isProfileDataRefetching;
137034
136976
  var canShowBottomSheetOrToast = !isProfileDataLoading;
@@ -137038,9 +136980,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137038
136980
  openErrorAlert = _useErrorAlert2.open;
137039
136981
  var _useTransparentWebvie = useTransparentWebview(),
137040
136982
  openTransparentWebView2 = _useTransparentWebvie.open;
137041
- var fetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
136983
+ var fetchProfileData = (0, import_react9.useCallback)(_asyncToGenerator(function* () {
137042
136984
  try {
137043
- var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
136985
+ var data = yield (0, import_native_modules3.getGameCenterGameProfile)();
137044
136986
  setProfileData(data);
137045
136987
  setIsProfileDataLoading(false);
137046
136988
  } catch (_) {
@@ -137048,10 +136990,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137048
136990
  setIsProfileDataLoading(false);
137049
136991
  }
137050
136992
  }), [openErrorAlert]);
137051
- var refetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
136993
+ var refetchProfileData = (0, import_react9.useCallback)(_asyncToGenerator(function* () {
137052
136994
  try {
137053
136995
  setIsProfileDataRefetching(true);
137054
- var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
136996
+ var data = yield (0, import_native_modules3.getGameCenterGameProfile)();
137055
136997
  setProfileData(data);
137056
136998
  setIsProfileDataRefetching(false);
137057
136999
  if (data?.statusCode === "SUCCESS") {
@@ -137062,15 +137004,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137062
137004
  openErrorAlert();
137063
137005
  }
137064
137006
  }), [openErrorAlert, openGameProfileToast]);
137065
- var openProfileWebview = (0, import_react10.useCallback)(() => {
137007
+ var openProfileWebview = (0, import_react9.useCallback)(() => {
137066
137008
  openTransparentWebView2({
137067
137009
  webUrl: `${GAME_PROFILE_WEBVIEW_URL}?appName=${getAppName()}&referrer=appsintoss.${getAppName()}`,
137068
137010
  onClose: function () {
137069
- var _ref16 = _asyncToGenerator(function* () {
137011
+ var _ref17 = _asyncToGenerator(function* () {
137070
137012
  refetchProfileData();
137071
137013
  });
137072
137014
  return function onClose() {
137073
- return _ref16.apply(this, arguments);
137015
+ return _ref17.apply(this, arguments);
137074
137016
  };
137075
137017
  }()
137076
137018
  });
@@ -137105,15 +137047,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137105
137047
  openProfileWebview = _useGameCenterProfile.openProfileWebview,
137106
137048
  openGameProfileToast = _useGameCenterProfile.openGameProfileToast,
137107
137049
  fetchProfileData = _useGameCenterProfile.fetchProfileData;
137108
- var isCompletedFlow = (0, import_react11.useRef)(false);
137050
+ var isCompletedFlow = (0, import_react10.useRef)(false);
137109
137051
  var _useAppUpdateDialog = useAppUpdateDialog(),
137110
137052
  openAppUpdateDialog = _useAppUpdateDialog.open;
137111
- (0, import_react11.useEffect)(() => {
137053
+ (0, import_react10.useEffect)(() => {
137112
137054
  fetchProfileData();
137113
137055
  }, []);
137114
- (0, import_react11.useEffect)(() => {
137056
+ (0, import_react10.useEffect)(() => {
137115
137057
  var handleGameProfileFlow = function () {
137116
- var _ref17 = _asyncToGenerator(function* () {
137058
+ var _ref18 = _asyncToGenerator(function* () {
137117
137059
  if (!canShowBottomSheetOrToast) {
137118
137060
  return;
137119
137061
  }
@@ -137121,12 +137063,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137121
137063
  return;
137122
137064
  }
137123
137065
  isCompletedFlow.current = true;
137124
- if (!(0, import_native_modules6.isMinVersionSupported)(GAME_MIN_VERSION)) {
137066
+ if (!(0, import_native_modules4.isMinVersionSupported)(GAME_MIN_VERSION)) {
137125
137067
  openAppUpdateDialog({
137126
137068
  title: `${(0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C")} \uD558\uB824\uBA74
137127
137069
  \uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694`,
137128
137070
  onDismiss: () => {
137129
- (0, import_react_native10.closeView)();
137071
+ (0, import_react_native9.closeView)();
137130
137072
  }
137131
137073
  });
137132
137074
  return;
@@ -137140,20 +137082,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137140
137082
  }
137141
137083
  });
137142
137084
  return function handleGameProfileFlow() {
137143
- return _ref17.apply(this, arguments);
137085
+ return _ref18.apply(this, arguments);
137144
137086
  };
137145
137087
  }();
137146
137088
  handleGameProfileFlow();
137147
137089
  }, [canShowBottomSheetOrToast, isCompletedFlow, openAppUpdateDialog, openGameProfileToast, openProfileWebview, profileData]);
137148
- if (!(0, import_native_modules6.isMinVersionSupported)(GAME_MIN_VERSION)) {
137090
+ if (!(0, import_native_modules4.isMinVersionSupported)(GAME_MIN_VERSION)) {
137149
137091
  return (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, {
137150
- children: [(0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137092
+ children: [(0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137151
137093
  style: {
137152
137094
  flex: 1,
137153
137095
  position: "relative"
137154
137096
  },
137155
137097
  children
137156
- }), (0, import_jsx_runtime4.jsx)(import_react_native11.Pressable, {
137098
+ }), (0, import_jsx_runtime4.jsx)(import_react_native10.Pressable, {
137157
137099
  style: {
137158
137100
  ...overlayStyle
137159
137101
  },
@@ -137162,7 +137104,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137162
137104
  title: `${(0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C")} \uD558\uB824\uBA74
137163
137105
  \uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694`,
137164
137106
  onDismiss: () => {
137165
- (0, import_react_native10.closeView)();
137107
+ (0, import_react_native9.closeView)();
137166
137108
  }
137167
137109
  });
137168
137110
  }
@@ -137171,13 +137113,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137171
137113
  }
137172
137114
  if (shouldShowProfileLoadingOverlay) {
137173
137115
  return (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, {
137174
- children: [(0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137116
+ children: [(0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137175
137117
  style: {
137176
137118
  flex: 1,
137177
137119
  position: "relative"
137178
137120
  },
137179
137121
  children
137180
- }), (0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137122
+ }), (0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137181
137123
  style: {
137182
137124
  ...overlayStyle,
137183
137125
  justifyContent: "center",
@@ -137193,13 +137135,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137193
137135
  }
137194
137136
  if (shouldShowProfileNotFoundOverlay) {
137195
137137
  return (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, {
137196
- children: [(0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137138
+ children: [(0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137197
137139
  style: {
137198
137140
  flex: 1,
137199
137141
  position: "relative"
137200
137142
  },
137201
137143
  children
137202
- }), shouldShowProfileNotFoundOverlay && (0, import_jsx_runtime4.jsx)(import_react_native11.Pressable, {
137144
+ }), shouldShowProfileNotFoundOverlay && (0, import_jsx_runtime4.jsx)(import_react_native10.Pressable, {
137203
137145
  style: {
137204
137146
  ...overlayStyle
137205
137147
  },
@@ -137210,7 +137152,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137210
137152
  });
137211
137153
  }
137212
137154
  return (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, {
137213
- children: (0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137155
+ children: (0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137214
137156
  style: {
137215
137157
  flex: 1,
137216
137158
  position: "relative"
@@ -137228,30 +137170,30 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137228
137170
  zIndex: Z_INDEX.PROFILE_OVERLAY
137229
137171
  };
137230
137172
  var import_private5 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137231
- var import_react12 = _$$_REQUIRE(_dependencyMap[9], "react");
137232
- var import_react_native12 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137173
+ var import_react11 = _$$_REQUIRE(_dependencyMap[9], "react");
137174
+ var import_react_native11 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137233
137175
  function useHardwareBackPress(handler) {
137234
- (0, import_react12.useEffect)(() => {
137176
+ (0, import_react11.useEffect)(() => {
137235
137177
  var handleBackPress = () => {
137236
137178
  handler();
137237
137179
  return true;
137238
137180
  };
137239
- var backHandler = import_react_native12.BackHandler.addEventListener("hardwareBackPress", handleBackPress);
137181
+ var backHandler = import_react_native11.BackHandler.addEventListener("hardwareBackPress", handleBackPress);
137240
137182
  return () => backHandler.remove();
137241
137183
  }, [handler]);
137242
137184
  }
137243
- var import_react_native14 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137244
- var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
137185
+ var import_react_native13 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137186
+ var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
137245
137187
  var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137246
137188
  var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
137247
- var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
137189
+ var import_react12 = _$$_REQUIRE(_dependencyMap[9], "react");
137248
137190
  function useCloseConfirm() {
137249
137191
  var _getAppsInTossGlobals = getAppsInTossGlobals(),
137250
137192
  brandDisplayName = _getAppsInTossGlobals.brandDisplayName;
137251
- var _ref18 = (0, import_tds_react_native5.useDialog)(),
137252
- openConfirm = _ref18.openConfirm;
137253
- return (0, import_react13.useCallback)(function () {
137254
- var _ref19 = _asyncToGenerator(function* ({
137193
+ var _ref19 = (0, import_tds_react_native5.useDialog)(),
137194
+ openConfirm = _ref19.openConfirm;
137195
+ return (0, import_react12.useCallback)(function () {
137196
+ var _ref20 = _asyncToGenerator(function* ({
137255
137197
  onEntered
137256
137198
  }) {
137257
137199
  return yield openConfirm({
@@ -137263,7 +137205,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137263
137205
  });
137264
137206
  });
137265
137207
  return function (_x3) {
137266
- return _ref19.apply(this, arguments);
137208
+ return _ref20.apply(this, arguments);
137267
137209
  };
137268
137210
  }(), [brandDisplayName, openConfirm]);
137269
137211
  }
@@ -137315,8 +137257,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137315
137257
  }
137316
137258
  var homeEvent = createEvent("homeEvent");
137317
137259
  var safeAreaInsetsChange = createEvent("safeAreaInsetsChange");
137318
- var import_native_modules7 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137319
- var import_react_native13 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137260
+ var import_react_native12 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137320
137261
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
137321
137262
  var NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
137322
137263
  var CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
@@ -137331,10 +137272,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137331
137272
  var referrer = useReferrer();
137332
137273
  var baseParams = {
137333
137274
  referrer,
137334
- app_name: import_react_native13.Granite.appName
137275
+ app_name: import_react_native12.Granite.appName
137335
137276
  };
137336
137277
  var logNavBarImpression = naviBarConfig => {
137337
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137278
+ sendLog({
137338
137279
  log_name: NAVI_BAR_IMPRESSION_LOG_NAME,
137339
137280
  log_type: "event",
137340
137281
  params: {
@@ -137346,7 +137287,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137346
137287
  });
137347
137288
  };
137348
137289
  var logHomeButtonClick = () => {
137349
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137290
+ sendLog({
137350
137291
  log_name: HOME_BUTTON_CLICK_LOG_NAME,
137351
137292
  log_type: "event",
137352
137293
  params: {
@@ -137357,7 +137298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137357
137298
  });
137358
137299
  };
137359
137300
  var logCloseButtonClick = () => {
137360
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137301
+ sendLog({
137361
137302
  log_name: CLOSE_BUTTON_CLICK_LOG_NAME,
137362
137303
  log_type: "event",
137363
137304
  params: {
@@ -137368,7 +137309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137368
137309
  });
137369
137310
  };
137370
137311
  var logClosePopupShow = () => {
137371
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137312
+ sendLog({
137372
137313
  log_name: CLOSE_POPUP_SHOW_LOG_NAME,
137373
137314
  log_type: "popup",
137374
137315
  params: {
@@ -137378,7 +137319,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137378
137319
  });
137379
137320
  };
137380
137321
  var logClosePopupCtaClick = confirm => {
137381
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137322
+ sendLog({
137382
137323
  log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
137383
137324
  log_type: "event",
137384
137325
  params: {
@@ -137398,26 +137339,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137398
137339
  };
137399
137340
  }
137400
137341
  function useNavigationEvent() {
137401
- var backEventContext = (0, import_react_native14.useBackEventContext)();
137342
+ var backEventContext = (0, import_react_native13.useBackEventContext)();
137402
137343
  var logging = useNavigationBarLogging();
137403
- var navigation = (0, import_react_native14.useNavigation)();
137344
+ var navigation = (0, import_react_native13.useNavigation)();
137404
137345
  var closeConfirm = useCloseConfirm();
137405
- var _useCaptureExitLog2 = useCaptureExitLog(),
137406
- captureExitLog = _useCaptureExitLog2.captureExitLog;
137407
- return (0, import_react14.useMemo)(() => {
137346
+ return (0, import_react13.useMemo)(() => {
137408
137347
  var close = function () {
137409
- var _ref20 = _asyncToGenerator(function* () {
137348
+ var _ref21 = _asyncToGenerator(function* () {
137410
137349
  var hasConfirmed = yield closeConfirm({
137411
137350
  onEntered: logging.closePopupShow
137412
137351
  });
137413
137352
  logging.closePopupCtaClick(hasConfirmed);
137414
137353
  if (hasConfirmed) {
137415
- captureExitLog(Date.now());
137416
- (0, import_react_native14.closeView)();
137354
+ (0, import_react_native13.closeView)();
137417
137355
  }
137418
137356
  });
137419
137357
  return function close() {
137420
- return _ref20.apply(this, arguments);
137358
+ return _ref21.apply(this, arguments);
137421
137359
  };
137422
137360
  }();
137423
137361
  return {
@@ -137443,21 +137381,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137443
137381
  close();
137444
137382
  }
137445
137383
  };
137446
- }, [backEventContext, navigation, closeConfirm, logging, captureExitLog]);
137384
+ }, [backEventContext, navigation, closeConfirm, logging]);
137447
137385
  }
137448
- var import_native_modules12 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137449
- var import_react_native19 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137386
+ var import_native_modules8 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137387
+ var import_react_native18 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137450
137388
  var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137451
137389
  var import_private4 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137452
- var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
137453
- var import_native_modules9 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137454
- var import_react_native17 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137390
+ var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
137391
+ var import_native_modules5 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137392
+ var import_react_native16 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137455
137393
  var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137456
137394
  var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137457
137395
  var import_private3 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137458
- var import_react_native16 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137459
- var import_native_modules8 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137460
- var import_react_native15 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137396
+ var import_react_native15 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137397
+ var import_react_native14 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137461
137398
  var BOTTOM_SHEET_SCHEMA_ID = 1596825;
137462
137399
  var BOTTOM_SHEET_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__more";
137463
137400
  var BOTTOM_SHEET_OPEN_SCHEMA_ID = 1596829;
@@ -137470,10 +137407,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137470
137407
  var referrer = useReferrer();
137471
137408
  var baseParams = {
137472
137409
  referrer,
137473
- app_name: import_react_native15.Granite.appName
137410
+ app_name: import_react_native14.Granite.appName
137474
137411
  };
137475
137412
  var logBottomSheetShow = () => {
137476
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
137413
+ sendLog({
137477
137414
  log_name: BOTTOM_SHEET_LOG_NAME,
137478
137415
  log_type: "popup",
137479
137416
  params: {
@@ -137483,7 +137420,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137483
137420
  });
137484
137421
  };
137485
137422
  var logBottomSheetOpen = () => {
137486
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
137423
+ sendLog({
137487
137424
  log_name: BOTTOM_SHEET_OPEN_LOG_NAME,
137488
137425
  log_type: "event",
137489
137426
  params: {
@@ -137494,7 +137431,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137494
137431
  });
137495
137432
  };
137496
137433
  var logBottomSheetCloseClick = () => {
137497
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
137434
+ sendLog({
137498
137435
  log_name: BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME,
137499
137436
  log_type: "event",
137500
137437
  params: {
@@ -137507,7 +137444,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137507
137444
  var logBottomSheetMenuClick = ({
137508
137445
  title
137509
137446
  }) => {
137510
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
137447
+ sendLog({
137511
137448
  log_name: BOTTOM_SHEET_MENU_CLICK_LOG_NAME,
137512
137449
  log_type: "event",
137513
137450
  params: {
@@ -137538,7 +137475,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137538
137475
  var brandPrimaryColorRGB = hexToRGB(globals.brandPrimaryColor);
137539
137476
  var iconBackgroundColor = brandPrimaryColorRGB ? `rgba(${brandPrimaryColorRGB.join(",")},0.1)` : adaptive.grey100;
137540
137477
  return (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow, {
137541
- left: (0, import_jsx_runtime5.jsx)(import_react_native16.View, {
137478
+ left: (0, import_jsx_runtime5.jsx)(import_react_native15.View, {
137542
137479
  style: {
137543
137480
  width: 30,
137544
137481
  height: 30,
@@ -137602,10 +137539,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137602
137539
  }
137603
137540
  function addParamsToUrl(url, params) {
137604
137541
  var urlObj = new URL(url);
137605
- for (var _ref21 of Object.entries(params)) {
137606
- var _ref22 = _slicedToArray(_ref21, 2);
137607
- var key = _ref22[0];
137608
- var value = _ref22[1];
137542
+ for (var _ref22 of Object.entries(params)) {
137543
+ var _ref23 = _slicedToArray(_ref22, 2);
137544
+ var key = _ref23[0];
137545
+ var value = _ref23[1];
137609
137546
  urlObj.searchParams.set(key, value);
137610
137547
  }
137611
137548
  return urlObj.toString();
@@ -137617,10 +137554,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137617
137554
  contactIconUrl: "https://static.toss.im/icons/png/4x/icon-share-dots-mono.png"
137618
137555
  };
137619
137556
  function AppShareListMenu() {
137620
- var initialScheme = (0, import_react_native17.getSchemeUri)();
137621
- var isSandbox = (0, import_native_modules9.getOperationalEnvironment)() === "sandbox";
137622
- var _ref23 = (0, import_tds_react_native7.useDialog)(),
137623
- openConfirm = _ref23.openConfirm;
137557
+ var initialScheme = (0, import_react_native16.getSchemeUri)();
137558
+ var isSandbox = (0, import_native_modules5.getOperationalEnvironment)() === "sandbox";
137559
+ var _ref24 = (0, import_tds_react_native7.useDialog)(),
137560
+ openConfirm = _ref24.openConfirm;
137624
137561
  var schemeForShare = addParamsToUrl(initialScheme, {
137625
137562
  referrer: SHARE_SCHEME_REFERRER
137626
137563
  });
@@ -137637,16 +137574,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137637
137574
  });
137638
137575
  return;
137639
137576
  }
137640
- (0, import_native_modules9.shareWithScheme)({
137577
+ (0, import_native_modules5.shareWithScheme)({
137641
137578
  schemeURL: schemeForShare
137642
137579
  });
137643
137580
  }
137644
137581
  });
137645
137582
  }
137646
- var import_native_modules10 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137583
+ var import_native_modules6 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137647
137584
  var import_jsx_runtime7 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137648
137585
  function HomeShortcutMenu() {
137649
- var isSandbox = (0, import_native_modules10.getOperationalEnvironment)() === "sandbox";
137586
+ var isSandbox = (0, import_native_modules6.getOperationalEnvironment)() === "sandbox";
137650
137587
  var globals = getAppsInTossGlobals();
137651
137588
  if (isSandbox) {
137652
137589
  return null;
@@ -137655,7 +137592,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137655
137592
  title: "\uD648 \uD654\uBA74\uC5D0 \uCD94\uAC00",
137656
137593
  iconURL: "https://static.toss.im/icons/png/4x/icon-plus-circle-mono.png",
137657
137594
  onPress: () => {
137658
- import_native_modules10.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
137595
+ import_native_modules6.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
137659
137596
  title: globals.brandDisplayName,
137660
137597
  appName: global.__granite.app.name,
137661
137598
  iconUrl: globals.brandIcon,
@@ -137667,18 +137604,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137667
137604
  }
137668
137605
  });
137669
137606
  }
137670
- var import_native_modules11 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137671
- var import_react_native18 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137607
+ var import_native_modules7 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137608
+ var import_react_native17 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137672
137609
  var import_jsx_runtime8 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137673
137610
  function SettingsMenu() {
137674
137611
  var globals = getAppsInTossGlobals();
137675
- if ((0, import_native_modules11.getOperationalEnvironment)() === "sandbox") {
137612
+ if ((0, import_native_modules7.getOperationalEnvironment)() === "sandbox") {
137676
137613
  return null;
137677
137614
  }
137678
137615
  return (0, import_jsx_runtime8.jsx)(Menu, {
137679
137616
  title: "\uC124\uC815",
137680
137617
  iconURL: "https://static.toss.im/icons/png/4x/icon-setting-mono.png",
137681
- onPress: () => (0, import_react_native18.openURL)(`servicetoss://apps-in-toss-menu/settings?appName=${import_react_native18.Granite.appName}&displayAppName=${globals.brandDisplayName}`)
137618
+ onPress: () => (0, import_react_native17.openURL)(`servicetoss://apps-in-toss-menu/settings?appName=${import_react_native17.Granite.appName}&displayAppName=${globals.brandDisplayName}`)
137682
137619
  });
137683
137620
  }
137684
137621
  function ensureValue(value, name) {
@@ -137710,23 +137647,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137710
137647
  function useMoreButtonBottomSheet() {
137711
137648
  var globals = getAppsInTossGlobals();
137712
137649
  var adaptive = (0, import_private4.useAdaptive)();
137713
- var _ref24 = (0, import_react15.useState)([]),
137714
- _ref25 = _slicedToArray(_ref24, 2),
137715
- itemList = _ref25[0],
137716
- setItemList = _ref25[1];
137650
+ var _ref25 = (0, import_react14.useState)([]),
137651
+ _ref26 = _slicedToArray(_ref25, 2),
137652
+ itemList = _ref26[0],
137653
+ setItemList = _ref26[1];
137717
137654
  var appUpdateDialog = useAppUpdateDialog();
137718
137655
  var logging = useMoreButtonBottomSheetLogging();
137719
137656
  var overlay = (0, import_private4.useOverlay)();
137720
137657
  var title = ensureValue(globals.brandDisplayName, "displayName");
137721
- var isHomeShortcutSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.HOME_SHORTCUT_MENU);
137722
- var isBottomSheetSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
137723
- var isShareListMenuSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
137724
- var isSettingsMenuSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.SETTINGS_MENU);
137725
- (0, import_react15.useEffect)(() => {
137658
+ var isHomeShortcutSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.HOME_SHORTCUT_MENU);
137659
+ var isBottomSheetSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
137660
+ var isShareListMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
137661
+ var isSettingsMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SETTINGS_MENU);
137662
+ (0, import_react14.useEffect)(() => {
137726
137663
  if (!isBottomSheetSupported) {
137727
137664
  return;
137728
137665
  }
137729
- import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
137666
+ import_native_modules8.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
137730
137667
  onSuccess: ({
137731
137668
  items
137732
137669
  }) => setItemList(items),
@@ -137734,7 +137671,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137734
137671
  });
137735
137672
  }, [isBottomSheetSupported]);
137736
137673
  var onClickHandler = function () {
137737
- var _ref26 = _asyncToGenerator(function* () {
137674
+ var _ref27 = _asyncToGenerator(function* () {
137738
137675
  logging.open();
137739
137676
  if (!isBottomSheetSupported) {
137740
137677
  yield appUpdateDialog.open({
@@ -137779,7 +137716,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137779
137716
  children: [itemList.map(item => (0, import_jsx_runtime9.jsx)(Menu, {
137780
137717
  title: item.contactItemName,
137781
137718
  iconURL: item.contactIconUrl,
137782
- onPress: () => (0, import_react_native19.openURL)(item.contactUri)
137719
+ onPress: () => (0, import_react_native18.openURL)(item.contactUri)
137783
137720
  }, item.contactItemName)), isHomeShortcutSupported && (0, import_jsx_runtime9.jsx)(HomeShortcutMenu, {}), isShareListMenuSupported && (0, import_jsx_runtime9.jsx)(AppShareListMenu, {}), isSettingsMenuSupported && (0, import_jsx_runtime9.jsx)(SettingsMenu, {})]
137784
137721
  })
137785
137722
  })
@@ -137787,7 +137724,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137787
137724
  });
137788
137725
  });
137789
137726
  return function onClickHandler() {
137790
- return _ref26.apply(this, arguments);
137727
+ return _ref27.apply(this, arguments);
137791
137728
  };
137792
137729
  }();
137793
137730
  return {
@@ -137798,7 +137735,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137798
137735
  children
137799
137736
  }) {
137800
137737
  var logging = useMoreButtonBottomSheetLogging();
137801
- (0, import_react15.useEffect)(() => {
137738
+ (0, import_react14.useEffect)(() => {
137802
137739
  logging.show();
137803
137740
  }, [logging]);
137804
137741
  return (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {
@@ -137814,15 +137751,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137814
137751
  name: source
137815
137752
  };
137816
137753
  }
137817
- var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
137754
+ var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
137818
137755
  var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137819
137756
  function NavigationBarImpressionArea({
137820
137757
  children,
137821
137758
  withHomeButton
137822
137759
  }) {
137823
- var hasLogged = (0, import_react16.useRef)(false);
137760
+ var hasLogged = (0, import_react15.useRef)(false);
137824
137761
  var logging = useNavigationBarLogging();
137825
- (0, import_react16.useEffect)(() => {
137762
+ (0, import_react15.useEffect)(() => {
137826
137763
  if (hasLogged.current === false) {
137827
137764
  logging.navBarImpression({
137828
137765
  home_icon_yn: withHomeButton ? "Y" : "N"
@@ -137871,7 +137808,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137871
137808
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
137872
137809
  var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137873
137810
  var import_private6 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137874
- var import_react_native20 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137811
+ var import_react_native19 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137875
137812
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137876
137813
  function GameNavigationBar() {
137877
137814
  var safeAreaTop = (0, import_private6.useSafeAreaTop)();
@@ -137880,18 +137817,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137880
137817
  var navigationEvent = useNavigationEvent();
137881
137818
  var _useNavigationBarCont2 = useNavigationBarContext(),
137882
137819
  navigationRightButton = _useNavigationBarCont2.navigationRightButton;
137883
- var _ref27 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
137884
- safeAreaRight = _ref27.right;
137820
+ var _ref28 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
137821
+ safeAreaRight = _ref28.right;
137885
137822
  useHardwareBackPress(navigationEvent.handleBack);
137886
137823
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
137887
137824
  children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native9.PageNavbar, {
137888
137825
  preference: {
137889
137826
  type: "none"
137890
137827
  }
137891
- }), (0, import_jsx_runtime12.jsx)(import_react_native20.View, {
137828
+ }), (0, import_jsx_runtime12.jsx)(import_react_native19.View, {
137892
137829
  style: {
137893
137830
  width: "100%",
137894
- height: import_react_native20.Platform.OS === "ios" ? 44 : 54,
137831
+ height: import_react_native19.Platform.OS === "ios" ? 44 : 54,
137895
137832
  flexDirection: "row",
137896
137833
  alignItems: "center",
137897
137834
  justifyContent: "flex-end",
@@ -137938,13 +137875,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137938
137875
  function GameAppContainer({
137939
137876
  children
137940
137877
  }) {
137941
- (0, import_react17.useEffect)(() => {
137942
- if (import_react_native21.Platform.OS === "ios") {
137943
- (0, import_native_modules13.setIosSwipeGestureEnabled)({
137878
+ (0, import_react16.useEffect)(() => {
137879
+ if (import_react_native20.Platform.OS === "ios") {
137880
+ (0, import_native_modules9.setIosSwipeGestureEnabled)({
137944
137881
  isEnabled: false
137945
137882
  });
137946
137883
  return () => {
137947
- (0, import_native_modules13.setIosSwipeGestureEnabled)({
137884
+ (0, import_native_modules9.setIosSwipeGestureEnabled)({
137948
137885
  isEnabled: true
137949
137886
  });
137950
137887
  };
@@ -137969,18 +137906,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137969
137906
  children,
137970
137907
  ...initialProps
137971
137908
  }) {
137972
- if (!(0, import_native_modules14.isMinVersionSupported)({
137909
+ if (!(0, import_native_modules10.isMinVersionSupported)({
137973
137910
  android: "5.220.0",
137974
137911
  ios: "5.221.0"
137975
137912
  })) {
137976
137913
  return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
137977
- children: [(0, import_jsx_runtime14.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime14.jsx)(AppEvent.System, {
137914
+ children: [(0, import_jsx_runtime14.jsx)(AppEvent.System, {
137978
137915
  ...initialProps
137979
137916
  }), (0, import_jsx_runtime14.jsx)(AppUpdate, {})]
137980
137917
  });
137981
137918
  }
137982
137919
  return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
137983
- children: [(0, import_jsx_runtime14.jsx)(AppEvent.StayTime, {}), (0, import_jsx_runtime14.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime14.jsx)(AppEvent.System, {
137920
+ children: [(0, import_jsx_runtime14.jsx)(AppEvent.System, {
137984
137921
  ...initialProps
137985
137922
  }), (0, import_jsx_runtime14.jsx)(Container, {
137986
137923
  ...initialProps,
@@ -138001,17 +137938,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138001
137938
  analytics
138002
137939
  }) {
138003
137940
  var appName = getAppName();
138004
- var isRegistered = import_react_native23.AppRegistry.getAppKeys().includes(appName);
137941
+ var isRegistered = import_react_native22.AppRegistry.getAppKeys().includes(appName);
138005
137942
  if (!isRegistered) {
138006
137943
  import_analytics.Analytics.init({
138007
- logger: params => void (0, import_native_modules14.eventLog)(params),
137944
+ logger: params => void (0, import_native_modules10.eventLog)(params),
138008
137945
  debug: analytics?.debug ?? __DEV__
138009
137946
  });
138010
- var App = import_react_native22.Granite.registerApp(AppsInTossContainer.bind(null, container), {
137947
+ var App = import_react_native21.Granite.registerApp(AppsInTossContainer.bind(null, container), {
138011
137948
  appName,
138012
137949
  context,
138013
- initialScheme: (0, import_native_modules14.getSchemeUri)(),
138014
- setIosSwipeGestureEnabled: import_native_modules14.setIosSwipeGestureEnabled,
137950
+ initialScheme: (0, import_native_modules10.getSchemeUri)(),
137951
+ setIosSwipeGestureEnabled: import_native_modules10.setIosSwipeGestureEnabled,
138015
137952
  router: {
138016
137953
  screenContainer: AppsInTossScreenContainer,
138017
137954
  defaultScreenOption: {
@@ -138046,44 +137983,42 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138046
137983
  var AppsInToss = {
138047
137984
  registerApp
138048
137985
  };
138049
- var import_native_modules24 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137986
+ var import_native_modules19 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138050
137987
  var appsInTossAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[14], "@apps-in-toss/native-modules/async-bridges"), 1);
138051
137988
  var appsInTossConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[15], "@apps-in-toss/native-modules/constant-bridges"), 1);
138052
137989
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[16], "@apps-in-toss/native-modules/event-bridges"), 1);
138053
137990
  var import_user_scripts = _$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/user-scripts");
138054
137991
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138055
- var import_react_native37 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137992
+ var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138056
137993
  var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138057
137994
  var import_private9 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138058
- var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
138059
- var import_react_native38 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138060
- var import_native_modules15 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137995
+ var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
137996
+ var import_react_native37 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137997
+ var import_native_modules11 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138061
137998
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138062
- var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138063
- var import_react_native26 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137999
+ var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138000
+ var import_react_native25 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138064
138001
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138065
- var import_react_native24 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138002
+ var import_react_native23 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138066
138003
  var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138067
138004
  var import_private7 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138068
138005
  var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138069
- var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138070
- var import_react_native25 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138006
+ var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
138007
+ var import_react_native24 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138071
138008
  var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138072
138009
  function GameWebviewNavigationBar() {
138073
138010
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
138074
- var _ref28 = (0, import_tds_react_native11.useDialog)(),
138075
- openConfirm = _ref28.openConfirm;
138076
- var _useCaptureExitLog3 = useCaptureExitLog(),
138077
- captureExitLog = _useCaptureExitLog3.captureExitLog;
138011
+ var _ref29 = (0, import_tds_react_native11.useDialog)(),
138012
+ openConfirm = _ref29.openConfirm;
138078
138013
  var global2 = getAppsInTossGlobals();
138079
138014
  var logging = useNavigationBarLogging();
138080
138015
  var _useMoreButtonBottomS3 = useMoreButtonBottomSheet(),
138081
138016
  openMoreButtonBottomSheet = _useMoreButtonBottomS3.open;
138082
138017
  var _useNavigationBarCont3 = useNavigationBarContext(),
138083
138018
  navigationRightButton = _useNavigationBarCont3.navigationRightButton;
138084
- var _ref29 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138085
- safeAreaRight = _ref29.right;
138086
- var handleGameWebviewClose = (0, import_react18.useCallback)(_asyncToGenerator(function* () {
138019
+ var _ref30 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138020
+ safeAreaRight = _ref30.right;
138021
+ var handleGameWebviewClose = (0, import_react17.useCallback)(_asyncToGenerator(function* () {
138087
138022
  logging.closeButtonClick();
138088
138023
  var isConfirmed = yield openConfirm({
138089
138024
  title: `${(0, import_es_hangul3.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
@@ -138094,19 +138029,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138094
138029
  });
138095
138030
  logging.closePopupCtaClick(isConfirmed);
138096
138031
  if (isConfirmed) {
138097
- captureExitLog(Date.now());
138098
- (0, import_react_native24.closeView)();
138032
+ (0, import_react_native23.closeView)();
138099
138033
  }
138100
- }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
138034
+ }), [global2.brandDisplayName, logging, openConfirm]);
138101
138035
  return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
138102
138036
  children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native11.PageNavbar, {
138103
138037
  preference: {
138104
138038
  type: "none"
138105
138039
  }
138106
- }), (0, import_jsx_runtime15.jsx)(import_react_native25.View, {
138040
+ }), (0, import_jsx_runtime15.jsx)(import_react_native24.View, {
138107
138041
  style: {
138108
138042
  width: "100%",
138109
- height: import_react_native25.Platform.OS === "ios" ? 44 : 54,
138043
+ height: import_react_native24.Platform.OS === "ios" ? 44 : 54,
138110
138044
  flexDirection: "row",
138111
138045
  alignItems: "center",
138112
138046
  justifyContent: "flex-end",
@@ -138128,14 +138062,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138128
138062
  });
138129
138063
  }
138130
138064
  var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138131
- var GameWebView = (0, import_react19.forwardRef)(function GameWebView2(props, ref) {
138132
- (0, import_react19.useEffect)(() => {
138133
- if (import_react_native26.Platform.OS === "ios") {
138134
- (0, import_native_modules15.setIosSwipeGestureEnabled)({
138065
+ var GameWebView = (0, import_react18.forwardRef)(function GameWebView2(props, ref) {
138066
+ (0, import_react18.useEffect)(() => {
138067
+ if (import_react_native25.Platform.OS === "ios") {
138068
+ (0, import_native_modules11.setIosSwipeGestureEnabled)({
138135
138069
  isEnabled: false
138136
138070
  });
138137
138071
  return () => {
138138
- (0, import_native_modules15.setIosSwipeGestureEnabled)({
138072
+ (0, import_native_modules11.setIosSwipeGestureEnabled)({
138139
138073
  isEnabled: true
138140
138074
  });
138141
138075
  };
@@ -138143,7 +138077,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138143
138077
  return;
138144
138078
  }, []);
138145
138079
  return (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, {
138146
- children: [(0, import_jsx_runtime16.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules15.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime16.jsx)(GameInitializer, {
138080
+ children: [(0, import_jsx_runtime16.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules11.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime16.jsx)(GameInitializer, {
138147
138081
  children: (0, import_jsx_runtime16.jsx)(import_react_native_webview.WebView, {
138148
138082
  ref,
138149
138083
  ...props
@@ -138155,23 +138089,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138155
138089
  });
138156
138090
  });
138157
138091
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138158
- var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
138159
- var import_react_native27 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138092
+ var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
138093
+ var import_react_native26 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138160
138094
  var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138161
138095
  var import_private8 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138162
138096
  var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138163
- var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
138097
+ var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138164
138098
  var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138165
138099
  function PartnerWebviewNavigationBar({
138166
138100
  onBackButtonClick,
138167
138101
  onHomeButtonClick
138168
138102
  }) {
138169
138103
  var globals = getAppsInTossGlobals();
138170
- var _useCaptureExitLog4 = useCaptureExitLog(),
138171
- captureExitLog = _useCaptureExitLog4.captureExitLog;
138172
138104
  var logging = useNavigationBarLogging();
138173
- var _ref31 = (0, import_tds_react_native12.useDialog)(),
138174
- openConfirm = _ref31.openConfirm;
138105
+ var _ref32 = (0, import_tds_react_native12.useDialog)(),
138106
+ openConfirm = _ref32.openConfirm;
138175
138107
  var _useMoreButtonBottomS4 = useMoreButtonBottomSheet(),
138176
138108
  openMoreButtonBottomSheet = _useMoreButtonBottomS4.open;
138177
138109
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
@@ -138179,7 +138111,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138179
138111
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
138180
138112
  var _useNavigationBarCont4 = useNavigationBarContext(),
138181
138113
  navigationRightButton = _useNavigationBarCont4.navigationRightButton;
138182
- var handleClose = (0, import_react20.useCallback)(_asyncToGenerator(function* () {
138114
+ var handleClose = (0, import_react19.useCallback)(_asyncToGenerator(function* () {
138183
138115
  logging.closeButtonClick();
138184
138116
  var isConfirmed = yield openConfirm({
138185
138117
  title: `${(0, import_es_hangul4.josa)(globals.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
@@ -138190,10 +138122,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138190
138122
  });
138191
138123
  logging.closePopupCtaClick(isConfirmed);
138192
138124
  if (isConfirmed) {
138193
- captureExitLog(Date.now());
138194
- (0, import_react_native27.closeView)();
138125
+ (0, import_react_native26.closeView)();
138195
138126
  }
138196
- }), [captureExitLog, globals.brandDisplayName, logging, openConfirm]);
138127
+ }), [globals.brandDisplayName, logging, openConfirm]);
138197
138128
  return (0, import_jsx_runtime17.jsx)(NavigationBarImpressionArea, {
138198
138129
  withHomeButton,
138199
138130
  children: (0, import_jsx_runtime17.jsx)(import_private8.TopNavigation, {
@@ -138217,7 +138148,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138217
138148
  });
138218
138149
  }
138219
138150
  var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138220
- var PartnerWebView = (0, import_react21.forwardRef)(function PartnerWebViewScreen({
138151
+ var PartnerWebView = (0, import_react20.forwardRef)(function PartnerWebViewScreen({
138221
138152
  onBackButtonClick,
138222
138153
  onHomeButtonClick,
138223
138154
  ...webViewProps
@@ -138246,7 +138177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138246
138177
  }
138247
138178
  return `${scheme}://${url.hostname}${url.pathname}${url.search}`;
138248
138179
  }
138249
- var import_native_modules16 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138180
+ var import_native_modules12 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138250
138181
  function noop() {}
138251
138182
  var INVALID_AD_GROUP_ID_ERROR_MESSAGE = "\uC798\uBABB\uB41C \uC694\uCCAD\uC774\uC5D0\uC694. \uD544\uC694\uD55C \uAC12\uC774 \uBE44\uC5B4 \uC788\uC5B4\uC694.";
138252
138183
  function normalizeAdGroupId(adGroupId) {
@@ -138266,7 +138197,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138266
138197
  var ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
138267
138198
  var IOS_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
138268
138199
  var UNSUPPORTED_ERROR_MESSAGE = "This feature is not supported in the current environment";
138269
- var ENVIRONMENT = (0, import_native_modules16.getOperationalEnvironment)();
138200
+ var ENVIRONMENT = (0, import_native_modules12.getOperationalEnvironment)();
138270
138201
  function fetchTossAd(params) {
138271
138202
  if (!fetchTossAd.isSupported()) {
138272
138203
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
@@ -138280,7 +138211,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138280
138211
  params.onError(createInvalidAdGroupIdError());
138281
138212
  return noop;
138282
138213
  }
138283
- var unregisterCallbacks = import_native_modules16.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("fetchTossAd", {
138214
+ var unregisterCallbacks = import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("fetchTossAd", {
138284
138215
  spaceUnitId: adGroupId,
138285
138216
  sessionId,
138286
138217
  sdkId: options.sdkId,
@@ -138299,37 +138230,37 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138299
138230
  if (ENVIRONMENT !== "toss") {
138300
138231
  return false;
138301
138232
  }
138302
- return (0, import_native_modules16.isMinVersionSupported)({
138233
+ return (0, import_native_modules12.isMinVersionSupported)({
138303
138234
  android: ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION,
138304
138235
  ios: IOS_FETCH_TOSS_AD_SUPPORTED_VERSION
138305
138236
  });
138306
138237
  };
138307
- var import_native_modules18 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138238
+ var import_native_modules14 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138308
138239
  function generateRequestId() {
138309
138240
  var timestamp = Date.now().toString(36).toUpperCase();
138310
138241
  var random = Math.random().toString(36).substring(2, 7).toUpperCase();
138311
138242
  return `ait-${timestamp}${random}`;
138312
138243
  }
138313
- var import_react_native28 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138244
+ var import_react_native27 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138314
138245
  function getReferrer() {
138315
138246
  try {
138316
- return new URL((0, import_react_native28.getSchemeUri)()).searchParams.get("referrer");
138247
+ return new URL((0, import_react_native27.getSchemeUri)()).searchParams.get("referrer");
138317
138248
  } catch {
138318
138249
  return null;
138319
138250
  }
138320
138251
  }
138321
- var import_native_modules17 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138322
- var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138252
+ var import_native_modules13 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138253
+ var import_react_native28 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138323
138254
  function getIsDev() {
138324
138255
  try {
138325
- return new URL((0, import_react_native29.getSchemeUri)()).searchParams.get("isDev") === "true";
138256
+ return new URL((0, import_react_native28.getSchemeUri)()).searchParams.get("isDev") === "true";
138326
138257
  } catch {
138327
138258
  return false;
138328
138259
  }
138329
138260
  }
138330
- var OPERATIONAL_ENVIRONMENT = (0, import_native_modules17.getOperationalEnvironment)();
138331
- var OS = (0, import_native_modules17.getPlatformOS)();
138332
- var APP_VER = (0, import_native_modules17.getTossAppVersion)();
138261
+ var OPERATIONAL_ENVIRONMENT = (0, import_native_modules13.getOperationalEnvironment)();
138262
+ var OS = (0, import_native_modules13.getPlatformOS)();
138263
+ var APP_VER = (0, import_native_modules13.getTossAppVersion)();
138333
138264
  var ALPHA_EVENT_TRACKER_HTTP_ENDPOINT = "https://alpha-trillion.toss.im/trk/sdk-mediation/event";
138334
138265
  var LIVE_EVENT_TRACKER_HTTP_ENDPOINT = "https://trillion.toss.im/trk/sdk-mediation/event";
138335
138266
  function getPostEventTrackingUrl() {
@@ -138362,14 +138293,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138362
138293
  var UNSUPPORTED_ERROR_MESSAGE2 = "This feature is not supported in the current environment";
138363
138294
  var INTG_AD_ADM_FALLBACK_RID_MAP = {};
138364
138295
  function integratedAdIsSupported() {
138365
- return (0, import_native_modules18.isMinVersionSupported)({
138296
+ return (0, import_native_modules14.isMinVersionSupported)({
138366
138297
  android: ANDROID_INTEGRATED_AD_SUPPORTED_VERSION,
138367
138298
  ios: IOS_INTEGRATED_AD_SUPPORTED_VERSION
138368
138299
  });
138369
138300
  }
138370
138301
  function generateLoadFullScreenAd(sdkId) {
138371
138302
  var fn = params => {
138372
- if (!import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported()) {
138303
+ if (!import_native_modules14.GoogleAdMob.loadAppsInTossAdMob.isSupported()) {
138373
138304
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
138374
138305
  return noop;
138375
138306
  }
@@ -138386,7 +138317,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138386
138317
  }
138387
138318
  };
138388
138319
  if (!integratedAdIsSupported()) {
138389
- return import_native_modules18.GoogleAdMob.loadAppsInTossAdMob({
138320
+ return import_native_modules14.GoogleAdMob.loadAppsInTossAdMob({
138390
138321
  ...normalizedParams,
138391
138322
  onEvent: event => {
138392
138323
  if (event.type === "loaded") {
@@ -138426,7 +138357,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138426
138357
  options = normalizedParams.options;
138427
138358
  var adGroupId = options.adGroupId;
138428
138359
  var referrer = getReferrer();
138429
- var unregisterCallbacks = import_native_modules18.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadTossAdOrAdmob", {
138360
+ var unregisterCallbacks = import_native_modules14.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadTossAdOrAdmob", {
138430
138361
  spaceUnitId: adGroupId,
138431
138362
  referrer,
138432
138363
  sessionId,
@@ -138443,13 +138374,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138443
138374
  });
138444
138375
  return unregisterCallbacks;
138445
138376
  };
138446
- fn.isSupported = import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported;
138377
+ fn.isSupported = import_native_modules14.GoogleAdMob.loadAppsInTossAdMob.isSupported;
138447
138378
  return fn;
138448
138379
  }
138449
138380
  var loadFullScreenAd = generateLoadFullScreenAd("107");
138450
138381
  var loadFullScreenAdForWeb = generateLoadFullScreenAd("107");
138451
138382
  function showFullScreenAd(params) {
138452
- if (!import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported()) {
138383
+ if (!import_native_modules14.GoogleAdMob.showAppsInTossAdMob.isSupported()) {
138453
138384
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
138454
138385
  return noop;
138455
138386
  }
@@ -138466,7 +138397,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138466
138397
  }
138467
138398
  };
138468
138399
  if (!integratedAdIsSupported()) {
138469
- return import_native_modules18.GoogleAdMob.showAppsInTossAdMob({
138400
+ return import_native_modules14.GoogleAdMob.showAppsInTossAdMob({
138470
138401
  ...normalizedParams,
138471
138402
  onEvent: event => {
138472
138403
  var requestId = INTG_AD_ADM_FALLBACK_RID_MAP[normalizedAdGroupId] ?? "";
@@ -138567,7 +138498,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138567
138498
  options = normalizedParams.options;
138568
138499
  var adGroupId = options.adGroupId;
138569
138500
  var referrer = getReferrer();
138570
- var unregisterCallbacks = import_native_modules18.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showTossAdOrAdmob", {
138501
+ var unregisterCallbacks = import_native_modules14.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showTossAdOrAdmob", {
138571
138502
  spaceUnitId: adGroupId,
138572
138503
  referrer,
138573
138504
  sessionId
@@ -138614,16 +138545,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138614
138545
  });
138615
138546
  return unregisterCallbacks;
138616
138547
  }
138617
- showFullScreenAd.isSupported = import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported;
138618
- var import_native_modules19 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138619
- var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138548
+ showFullScreenAd.isSupported = import_native_modules14.GoogleAdMob.showAppsInTossAdMob.isSupported;
138549
+ var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138620
138550
  function tossAdEventLog(_x4) {
138621
138551
  return _tossAdEventLog.apply(this, arguments);
138622
138552
  }
138623
138553
  function _tossAdEventLog() {
138624
138554
  _tossAdEventLog = _asyncToGenerator(function* (params) {
138625
138555
  var referrer = getReferrer();
138626
- var appName = import_react_native30.Granite.appName;
138556
+ var appName = import_react_native29.Granite.appName;
138627
138557
  var eventLogParams = {
138628
138558
  ...params,
138629
138559
  params: {
@@ -138632,11 +138562,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138632
138562
  app_name: appName
138633
138563
  }
138634
138564
  };
138635
- return import_native_modules19.INTERNAL__module.tossCoreEventLog(eventLogParams);
138565
+ return sendLog(eventLogParams, {
138566
+ pipelines: ["core"]
138567
+ });
138636
138568
  });
138637
138569
  return _tossAdEventLog.apply(this, arguments);
138638
138570
  }
138639
- var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
138571
+ var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
138640
138572
  function serializeError(error) {
138641
138573
  return JSON.stringify(error, (_, value) => {
138642
138574
  if (value instanceof Error) {
@@ -138667,12 +138599,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138667
138599
  return;
138668
138600
  }
138669
138601
  var wrappedFunc = function () {
138670
- var _ref33 = _asyncToGenerator(function* (...args2) {
138602
+ var _ref34 = _asyncToGenerator(function* (...args2) {
138671
138603
  var result = yield func(...args2);
138672
138604
  return result;
138673
138605
  });
138674
138606
  return function wrappedFunc() {
138675
- return _ref33.apply(this, arguments);
138607
+ return _ref34.apply(this, arguments);
138676
138608
  };
138677
138609
  }();
138678
138610
  wrappedFunc(...args).then(result => {
@@ -138693,12 +138625,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138693
138625
  asyncHandlerMap,
138694
138626
  eventListenerMap
138695
138627
  }) {
138696
- var ref = (0, import_react22.useRef)(null);
138697
- var injectedJavaScript = (0, import_react22.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
138628
+ var ref = (0, import_react21.useRef)(null);
138629
+ var injectedJavaScript = (0, import_react21.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
138698
138630
  acc[key] = typeof value === "function" ? value() : value;
138699
138631
  return acc;
138700
138632
  }, {}))};`, [constantHandlerMap]);
138701
- (0, import_react22.useEffect)(() => {
138633
+ (0, import_react21.useEffect)(() => {
138702
138634
  ref.current?.injectJavaScript(injectedJavaScript);
138703
138635
  }, [injectedJavaScript]);
138704
138636
  var createHandleOnEvent = (functionName, eventId) => response => {
@@ -138712,8 +138644,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138712
138644
  window.__GRANITE_NATIVE_EMITTER.emit('${functionName}/onError/${eventId}', ${serializedError});
138713
138645
  `);
138714
138646
  };
138715
- var $onMessage = (0, import_react22.useCallback)(function () {
138716
- var _ref34 = _asyncToGenerator(function* (e) {
138647
+ var $onMessage = (0, import_react21.useCallback)(function () {
138648
+ var _ref35 = _asyncToGenerator(function* (e) {
138717
138649
  onMessage?.(e);
138718
138650
  var data = parseNativeEventData(e.nativeEvent.data);
138719
138651
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -138756,7 +138688,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138756
138688
  }
138757
138689
  });
138758
138690
  return function (_x5) {
138759
- return _ref34.apply(this, arguments);
138691
+ return _ref35.apply(this, arguments);
138760
138692
  };
138761
138693
  }(), [onMessage]);
138762
138694
  return {
@@ -138774,22 +138706,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138774
138706
  }
138775
138707
  }
138776
138708
  var import_react_native_safe_area_context3 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138777
- var import_react23 = _$$_REQUIRE(_dependencyMap[9], "react");
138709
+ var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
138778
138710
  function useSafeAreaInsetsEvent() {
138779
138711
  var insets = (0, import_react_native_safe_area_context3.useSafeAreaInsets)();
138780
- (0, import_react23.useEffect)(() => {
138712
+ (0, import_react22.useEffect)(() => {
138781
138713
  safeAreaInsetsChange.emit(insets);
138782
138714
  }, [insets]);
138783
- (0, import_react23.useEffect)(() => {
138715
+ (0, import_react22.useEffect)(() => {
138784
138716
  return () => safeAreaInsetsChange.clearSubscriptions();
138785
138717
  }, []);
138786
138718
  return safeAreaInsetsChange;
138787
138719
  }
138788
- var import_react_native31 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138720
+ var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138789
138721
  var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138790
138722
  var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138791
- var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
138792
138723
  var import_react24 = _$$_REQUIRE(_dependencyMap[9], "react");
138724
+ var import_react23 = _$$_REQUIRE(_dependencyMap[9], "react");
138793
138725
  var INITIAL_STATE = {
138794
138726
  stack: [],
138795
138727
  index: -1
@@ -138838,11 +138770,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138838
138770
  }
138839
138771
  }
138840
138772
  function useWebViewHistory() {
138841
- var _ref35 = (0, import_react24.useReducer)(reducer, INITIAL_STATE),
138842
- _ref36 = _slicedToArray(_ref35, 2),
138843
- state = _ref36[0],
138844
- dispatch = _ref36[1];
138845
- var onNavigationStateChange = (0, import_react24.useCallback)(({
138773
+ var _ref36 = (0, import_react23.useReducer)(reducer, INITIAL_STATE),
138774
+ _ref37 = _slicedToArray(_ref36, 2),
138775
+ state = _ref37[0],
138776
+ dispatch = _ref37[1];
138777
+ var onNavigationStateChange = (0, import_react23.useCallback)(({
138846
138778
  url,
138847
138779
  canGoForward: canGoForward2
138848
138780
  }) => {
@@ -138852,7 +138784,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138852
138784
  canGoForward: canGoForward2
138853
138785
  });
138854
138786
  }, []);
138855
- var _ref37 = (0, import_react24.useMemo)(() => {
138787
+ var _ref38 = (0, import_react23.useMemo)(() => {
138856
138788
  var canBack = state.index > 0;
138857
138789
  var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
138858
138790
  return {
@@ -138860,8 +138792,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138860
138792
  canGoForward: canFwd
138861
138793
  };
138862
138794
  }, [state.index, state.stack.length]),
138863
- canGoBack = _ref37.canGoBack,
138864
- canGoForward = _ref37.canGoForward;
138795
+ canGoBack = _ref38.canGoBack,
138796
+ canGoForward = _ref38.canGoForward;
138865
138797
  return {
138866
138798
  onNavigationStateChange,
138867
138799
  hasHistory: canGoBack,
@@ -138869,27 +138801,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138869
138801
  };
138870
138802
  }
138871
138803
  function useWebBackHandler(webViewInitialURL, webViewRef) {
138872
- var _useCaptureExitLog5 = useCaptureExitLog(),
138873
- captureExitLog = _useCaptureExitLog5.captureExitLog;
138874
138804
  var _useWebViewHistory = useWebViewHistory(),
138875
138805
  hasHistory = _useWebViewHistory.hasHistory,
138876
138806
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
138877
- var _ref38 = (0, import_react_native31.useBackEventState)(),
138878
- webBackHandlersRef = _ref38.handlersRef,
138879
- hasWebBackEvent = _ref38.hasBackEvent,
138880
- addWebBackEventListener = _ref38.addEventListener,
138881
- removeWebBackEventListener = _ref38.removeEventListener;
138807
+ var _ref39 = (0, import_react_native30.useBackEventState)(),
138808
+ webBackHandlersRef = _ref39.handlersRef,
138809
+ hasWebBackEvent = _ref39.hasBackEvent,
138810
+ addWebBackEventListener = _ref39.addEventListener,
138811
+ removeWebBackEventListener = _ref39.removeEventListener;
138882
138812
  var logging = useNavigationBarLogging();
138883
- var _ref39 = (0, import_tds_react_native13.useDialog)(),
138884
- openConfirm = _ref39.openConfirm;
138813
+ var _ref40 = (0, import_tds_react_native13.useDialog)(),
138814
+ openConfirm = _ref40.openConfirm;
138885
138815
  var global2 = getAppsInTossGlobals();
138886
- var addEventListener = (0, import_react25.useCallback)(handler => {
138816
+ var addEventListener = (0, import_react24.useCallback)(handler => {
138887
138817
  addWebBackEventListener(handler);
138888
138818
  }, [addWebBackEventListener]);
138889
- var removeEventListener = (0, import_react25.useCallback)(handler => {
138819
+ var removeEventListener = (0, import_react24.useCallback)(handler => {
138890
138820
  removeWebBackEventListener(handler);
138891
138821
  }, [removeWebBackEventListener]);
138892
- var handleWebBack = (0, import_react25.useCallback)(_asyncToGenerator(function* () {
138822
+ var handleWebBack = (0, import_react24.useCallback)(_asyncToGenerator(function* () {
138893
138823
  if (hasWebBackEvent) {
138894
138824
  for (var handler of webBackHandlersRef) {
138895
138825
  handler();
@@ -138908,12 +138838,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138908
138838
  });
138909
138839
  logging.closePopupCtaClick(isConfirmed);
138910
138840
  if (isConfirmed) {
138911
- captureExitLog(Date.now());
138912
- (0, import_react_native31.closeView)();
138841
+ (0, import_react_native30.closeView)();
138913
138842
  }
138914
138843
  }
138915
- }), [captureExitLog, global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
138916
- var handleWebHome = (0, import_react25.useCallback)(() => {
138844
+ }), [global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
138845
+ var handleWebHome = (0, import_react24.useCallback)(() => {
138917
138846
  logging.homeButtonClick();
138918
138847
  if (homeEvent.hasSubscriptions()) {
138919
138848
  homeEvent.emit({});
@@ -138926,7 +138855,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138926
138855
  })();
138927
138856
  `);
138928
138857
  }, [hasWebBackEvent, webBackHandlersRef, logging, webViewInitialURL, webViewRef]);
138929
- return (0, import_react25.useMemo)(() => ({
138858
+ return (0, import_react24.useMemo)(() => ({
138930
138859
  addEventListener,
138931
138860
  removeEventListener,
138932
138861
  handleWebBack,
@@ -138945,8 +138874,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138945
138874
  });
138946
138875
  };
138947
138876
  }
138948
- var import_native_modules20 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138949
- var import_react_native32 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138877
+ var import_native_modules15 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138878
+ var import_react_native31 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138950
138879
  var FontA11yCategory = {
138951
138880
  Large: "Large",
138952
138881
  xLarge: "xLarge",
@@ -139079,33 +139008,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139079
139008
  safeArea,
139080
139009
  safeAreaBottomTransparency
139081
139010
  }) {
139082
- var platform = (0, import_native_modules20.getPlatformOS)();
139083
- var appVersion = (0, import_native_modules20.getTossAppVersion)();
139084
- var _ref41 = (0, import_react_native32.useWindowDimensions)(),
139085
- fontScale = _ref41.fontScale;
139011
+ var platform = (0, import_native_modules15.getPlatformOS)();
139012
+ var appVersion = (0, import_native_modules15.getTossAppVersion)();
139013
+ var _ref42 = (0, import_react_native31.useWindowDimensions)(),
139014
+ fontScale = _ref42.fontScale;
139086
139015
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
139087
139016
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
139088
139017
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
139089
139018
  return ["AppsInToss", `TossApp/${appVersion}`, batteryModePreference && `TossBatteryModePreference/${batteryModePreference}`, colorPreference && `TossColorPreference/${colorPreference}`, `TossFontAccessibility/${fontA11y}`, `TossFontScale/${normalizedFontScale}`, locale && `TossLocale/${locale}`, navbarPreference && `TossNavbarPreference/${navbarPreference}`, pureSafeArea && `TossPureSafeArea/${pureSafeArea}`, safeArea && `TossSafeArea/${safeArea}`, safeAreaBottomTransparency && `TossSafeAreaBottomTransparency/${safeAreaBottomTransparency}`, platformString].filter(Boolean).join(" ");
139090
139019
  }
139091
- var import_native_modules21 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139092
- var import_react_native33 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139093
- var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
139020
+ var import_native_modules16 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139021
+ var import_react_native32 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139022
+ var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139094
139023
  function useGeolocation({
139095
139024
  accuracy,
139096
139025
  distanceInterval,
139097
139026
  timeInterval
139098
139027
  }) {
139099
- var isVisible = (0, import_react_native33.useVisibility)();
139100
- var _ref42 = (0, import_react26.useState)(null),
139101
- _ref43 = _slicedToArray(_ref42, 2),
139102
- location = _ref43[0],
139103
- setLocation = _ref43[1];
139104
- (0, import_react26.useEffect)(() => {
139028
+ var isVisible = (0, import_react_native32.useVisibility)();
139029
+ var _ref43 = (0, import_react25.useState)(null),
139030
+ _ref44 = _slicedToArray(_ref43, 2),
139031
+ location = _ref44[0],
139032
+ setLocation = _ref44[1];
139033
+ (0, import_react25.useEffect)(() => {
139105
139034
  if (!isVisible) {
139106
139035
  return;
139107
139036
  }
139108
- return (0, import_native_modules21.startUpdateLocation)({
139037
+ return (0, import_native_modules16.startUpdateLocation)({
139109
139038
  options: {
139110
139039
  accuracy,
139111
139040
  distanceInterval,
@@ -139117,18 +139046,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139117
139046
  }, [accuracy, distanceInterval, timeInterval, isVisible]);
139118
139047
  return location;
139119
139048
  }
139120
- var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139121
- var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
139049
+ var import_react_native33 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139050
+ var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
139122
139051
  function useWaitForReturnNavigator() {
139123
- var callbacks = (0, import_react27.useRef)([]).current;
139124
- var navigation = (0, import_react_native34.useNavigation)();
139125
- var startNavigating = (0, import_react27.useCallback)((route, params) => {
139052
+ var callbacks = (0, import_react26.useRef)([]).current;
139053
+ var navigation = (0, import_react_native33.useNavigation)();
139054
+ var startNavigating = (0, import_react26.useCallback)((route, params) => {
139126
139055
  return new Promise(resolve => {
139127
139056
  callbacks.push(resolve);
139128
139057
  navigation.navigate(route, params);
139129
139058
  });
139130
139059
  }, [callbacks, navigation]);
139131
- var handleVisibilityChange = (0, import_react27.useCallback)(state => {
139060
+ var handleVisibilityChange = (0, import_react26.useCallback)(state => {
139132
139061
  if (state === "visible" && callbacks.length > 0) {
139133
139062
  for (var callback of callbacks) {
139134
139063
  callback();
@@ -139136,7 +139065,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139136
139065
  callbacks.splice(0, callbacks.length);
139137
139066
  }
139138
139067
  }, [callbacks]);
139139
- (0, import_react_native34.useVisibilityChange)(handleVisibilityChange);
139068
+ (0, import_react_native33.useVisibilityChange)(handleVisibilityChange);
139140
139069
  return startNavigating;
139141
139070
  }
139142
139071
  function useTopNavigation() {
@@ -139148,8 +139077,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139148
139077
  removeAccessoryButton: removeNavigationRightButton
139149
139078
  };
139150
139079
  }
139151
- var import_native_modules22 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139152
- var import_react_native35 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139080
+ var import_native_modules17 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139081
+ var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139153
139082
  var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139154
139083
  function useHandleWebViewProcessDidTerminate(webViewRef) {
139155
139084
  var toast = (0, import_tds_react_native14.useToast)();
@@ -139178,18 +139107,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139178
139107
  log_type: "debug",
139179
139108
  params: {
139180
139109
  ...params,
139181
- app_name: import_react_native35.Granite.appName,
139110
+ app_name: import_react_native34.Granite.appName,
139182
139111
  deployment_id: global2.deploymentId
139183
139112
  }
139184
139113
  };
139185
- if ((0, import_native_modules22.getOperationalEnvironment)() === "toss") {
139186
- import_native_modules22.INTERNAL__module.tossCoreEventLog(event);
139114
+ if ((0, import_native_modules17.getOperationalEnvironment)() === "toss") {
139115
+ sendLog(event, {
139116
+ pipelines: ["core"]
139117
+ });
139187
139118
  } else {
139188
139119
  console.log("[webViewDebugLog]", event);
139189
139120
  }
139190
139121
  }
139191
- var import_native_modules23 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139192
- var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139122
+ var import_native_modules18 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139123
+ var import_react_native35 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139193
139124
  var extractDateFromUUIDv7 = uuid => {
139194
139125
  var timestampHex = uuid.split("-").join("").slice(0, 12);
139195
139126
  var timestamp = Number.parseInt(timestampHex, 16);
@@ -139211,7 +139142,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139211
139142
  };
139212
139143
  var getReferrer2 = () => {
139213
139144
  try {
139214
- var referrer = new URL((0, import_react_native36.getSchemeUri)());
139145
+ var referrer = new URL((0, import_react_native35.getSchemeUri)());
139215
139146
  return referrer.searchParams.get("referrer");
139216
139147
  } catch {
139217
139148
  return "";
@@ -139232,7 +139163,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139232
139163
  deployment_timestamp: extractDateFromUUIDv7(env.getDeploymentId()).getTime()
139233
139164
  }
139234
139165
  };
139235
- return (0, import_native_modules23.eventLog)(log);
139166
+ return (0, import_native_modules18.eventLog)(log);
139236
139167
  };
139237
139168
  var import_jsx_runtime19 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
139238
139169
  var operationalEnvironment = appsInTossConstantBridges.getOperationalEnvironment();
@@ -139244,18 +139175,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139244
139175
  };
139245
139176
  function mergeSchemeQueryParamsInto(url) {
139246
139177
  var baseUrl = new URL(url);
139247
- var schemeUrl = new URL((0, import_react_native37.getSchemeUri)());
139178
+ var schemeUrl = new URL((0, import_react_native36.getSchemeUri)());
139248
139179
  var resultUrl = new URL(schemeUrl.pathname, baseUrl.origin);
139249
- for (var _ref44 of baseUrl.searchParams.entries()) {
139250
- var _ref45 = _slicedToArray(_ref44, 2);
139251
- var key = _ref45[0];
139252
- var value = _ref45[1];
139180
+ for (var _ref45 of baseUrl.searchParams.entries()) {
139181
+ var _ref46 = _slicedToArray(_ref45, 2);
139182
+ var key = _ref46[0];
139183
+ var value = _ref46[1];
139253
139184
  resultUrl.searchParams.set(key, value);
139254
139185
  }
139255
- for (var _ref46 of schemeUrl.searchParams.entries()) {
139256
- var _ref47 = _slicedToArray(_ref46, 2);
139257
- var _key = _ref47[0];
139258
- var _value = _ref47[1];
139186
+ for (var _ref47 of schemeUrl.searchParams.entries()) {
139187
+ var _ref48 = _slicedToArray(_ref47, 2);
139188
+ var _key = _ref48[0];
139189
+ var _value = _ref48[1];
139259
139190
  resultUrl.searchParams.set(_key, _value);
139260
139191
  }
139261
139192
  return resultUrl;
@@ -139265,8 +139196,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139265
139196
  var devUrl = `http://${local.host}:${local.port}`;
139266
139197
  return mergeSchemeQueryParamsInto(devUrl);
139267
139198
  }
139268
- var _ref48 = (0, import_native_modules24.safeSyncPostMessage)("getWebBundleURL", {}),
139269
- rawUrl = _ref48.url;
139199
+ var _ref49 = (0, import_native_modules19.safeSyncPostMessage)("getWebBundleURL", {}),
139200
+ rawUrl = _ref49.url;
139270
139201
  var url = mergeSchemeQueryParamsInto(rawUrl);
139271
139202
  var deploymentId = env.getDeploymentId();
139272
139203
  if (deploymentId) {
@@ -139283,8 +139214,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139283
139214
  if (!TYPES.includes(type)) {
139284
139215
  throw new Error(`Invalid WebView type: '${type}'`);
139285
139216
  }
139286
- var webViewRef = (0, import_react28.useRef)(null);
139287
- var url = (0, import_react28.useMemo)(() => getWebViewURL(local), [local]);
139217
+ var webViewRef = (0, import_react27.useRef)(null);
139218
+ var url = (0, import_react27.useMemo)(() => getWebViewURL(local), [local]);
139288
139219
  var webBackHandler = useWebBackHandler(url, webViewRef);
139289
139220
  var top = (0, import_private9.useSafeAreaTop)();
139290
139221
  var bottom = (0, import_private9.useSafeAreaBottom)();
@@ -139292,10 +139223,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139292
139223
  var global2 = getAppsInTossGlobals();
139293
139224
  var navigationBarContext = useNavigationBarContext();
139294
139225
  var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
139295
- var _ref49 = (0, import_react28.useState)(props.allowsBackForwardNavigationGestures),
139296
- _ref50 = _slicedToArray(_ref49, 2),
139297
- allowsBackForwardNavigationGestures = _ref50[0],
139298
- setAllowsBackForwardNavigationGestures = _ref50[1];
139226
+ var _ref50 = (0, import_react27.useState)(props.allowsBackForwardNavigationGestures),
139227
+ _ref51 = _slicedToArray(_ref50, 2),
139228
+ allowsBackForwardNavigationGestures = _ref51[0],
139229
+ setAllowsBackForwardNavigationGestures = _ref51[1];
139299
139230
  var handler = useBridgeHandler({
139300
139231
  onMessage,
139301
139232
  eventListenerMap: {
@@ -139322,7 +139253,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139322
139253
  onEvent,
139323
139254
  onError,
139324
139255
  options
139325
- }) => import_native_modules24.appsInTossEvent.addEventListener("updateLocationEvent", {
139256
+ }) => import_native_modules19.appsInTossEvent.addEventListener("updateLocationEvent", {
139326
139257
  onEvent,
139327
139258
  onError,
139328
139259
  options
@@ -139334,19 +139265,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139334
139265
  onEvent,
139335
139266
  onError,
139336
139267
  options
139337
- }) => import_native_modules24.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
139268
+ }) => import_native_modules19.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
139338
139269
  onEvent,
139339
139270
  onError,
139340
139271
  options
139341
139272
  }),
139342
- loadAppsInTossAdMob: import_native_modules24.GoogleAdMob.loadAppsInTossAdMob,
139343
- showAppsInTossAdMob: import_native_modules24.GoogleAdMob.showAppsInTossAdMob,
139273
+ loadAppsInTossAdMob: import_native_modules19.GoogleAdMob.loadAppsInTossAdMob,
139274
+ showAppsInTossAdMob: import_native_modules19.GoogleAdMob.showAppsInTossAdMob,
139344
139275
  loadFullScreenAd: loadFullScreenAdForWeb,
139345
139276
  showFullScreenAd,
139346
139277
  fetchTossAd,
139347
- iapCreateOneTimePurchaseOrder: import_native_modules24.IAP.createOneTimePurchaseOrder,
139348
- requestSubscriptionPurchase: import_native_modules24.IAP.createSubscriptionPurchaseOrder,
139349
- requestOneTimePurchase: import_native_modules24.requestOneTimePurchase
139278
+ iapCreateOneTimePurchaseOrder: import_native_modules19.IAP.createOneTimePurchaseOrder,
139279
+ requestSubscriptionPurchase: import_native_modules19.IAP.createSubscriptionPurchaseOrder,
139280
+ requestOneTimePurchase: import_native_modules19.requestOneTimePurchase
139350
139281
  },
139351
139282
  constantHandlerMap: {
139352
139283
  ...appsInTossConstantBridges,
@@ -139357,11 +139288,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139357
139288
  right: insets.right
139358
139289
  }),
139359
139290
  ...Object.fromEntries(Object.entries(global2).map(([key, value]) => [key, () => value])),
139360
- getServerTime_isSupported: import_native_modules24.getServerTime.isSupported,
139361
- requestReview_isSupported: import_native_modules24.requestReview.isSupported,
139362
- loadAppsInTossAdMob_isSupported: import_native_modules24.GoogleAdMob.loadAppsInTossAdMob.isSupported,
139363
- showAppsInTossAdMob_isSupported: import_native_modules24.GoogleAdMob.showAppsInTossAdMob.isSupported,
139364
- isAppsInTossAdMobLoaded_isSupported: import_native_modules24.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
139291
+ getServerTime_isSupported: import_native_modules19.getServerTime.isSupported,
139292
+ requestReview_isSupported: import_native_modules19.requestReview.isSupported,
139293
+ loadAppsInTossAdMob_isSupported: import_native_modules19.GoogleAdMob.loadAppsInTossAdMob.isSupported,
139294
+ showAppsInTossAdMob_isSupported: import_native_modules19.GoogleAdMob.showAppsInTossAdMob.isSupported,
139295
+ isAppsInTossAdMobLoaded_isSupported: import_native_modules19.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
139365
139296
  loadFullScreenAd_isSupported: loadFullScreenAdForWeb.isSupported,
139366
139297
  showFullScreenAd_isSupported: showFullScreenAd.isSupported,
139367
139298
  fetchTossAd_isSupported: fetchTossAd.isSupported,
@@ -139371,25 +139302,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139371
139302
  },
139372
139303
  asyncHandlerMap: {
139373
139304
  ...appsInTossAsyncBridges,
139374
- getServerTime: import_native_modules24.getServerTime,
139305
+ getServerTime: import_native_modules19.getServerTime,
139375
139306
  setIosSwipeGestureEnabled: options => {
139376
139307
  setAllowsBackForwardNavigationGestures(options.isEnabled);
139377
139308
  return appsInTossAsyncBridges.setIosSwipeGestureEnabled(options);
139378
139309
  },
139379
139310
  addAccessoryButton: function () {
139380
- var _ref51 = _asyncToGenerator(function* (params) {
139311
+ var _ref52 = _asyncToGenerator(function* (params) {
139381
139312
  return navigationBarContext.addNavigationRightButton(params);
139382
139313
  });
139383
139314
  return function addAccessoryButton(_x7) {
139384
- return _ref51.apply(this, arguments);
139315
+ return _ref52.apply(this, arguments);
139385
139316
  };
139386
139317
  }(),
139387
139318
  removeAccessoryButton: function () {
139388
- var _ref52 = _asyncToGenerator(function* () {
139319
+ var _ref53 = _asyncToGenerator(function* () {
139389
139320
  return navigationBarContext.removeNavigationRightButton();
139390
139321
  });
139391
139322
  return function removeAccessoryButton() {
139392
- return _ref52.apply(this, arguments);
139323
+ return _ref53.apply(this, arguments);
139393
139324
  };
139394
139325
  }(),
139395
139326
  requestPermission: appsInTossAsyncBridges.requestPermission,
@@ -139401,32 +139332,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139401
139332
  fetchContacts: appsInTossAsyncBridges.fetchContacts,
139402
139333
  getCurrentLocation: appsInTossAsyncBridges.getCurrentLocation,
139403
139334
  openCamera: appsInTossAsyncBridges.openCamera,
139404
- getStorageItem: import_native_modules24.Storage.getItem,
139405
- setStorageItem: import_native_modules24.Storage.setItem,
139406
- removeStorageItem: import_native_modules24.Storage.removeItem,
139407
- clearItems: import_native_modules24.Storage.clearItems,
139408
- iapGetProductItemList: import_native_modules24.IAP.getProductItemList,
139409
- iapCreateOneTimePurchaseOrder: import_native_modules24.iapCreateOneTimePurchaseOrder,
139410
- processProductGrant: import_native_modules24.processProductGrant,
139411
- getPendingOrders: import_native_modules24.IAP.getPendingOrders,
139412
- getCompletedOrRefundedOrders: import_native_modules24.IAP.getCompletedOrRefundedOrders,
139413
- completeProductGrant: import_native_modules24.IAP.completeProductGrant,
139414
- getSubscriptionInfo: import_native_modules24.IAP.getSubscriptionInfo,
139415
- isAppsInTossAdMobLoaded: import_native_modules24.GoogleAdMob.isAppsInTossAdMobLoaded,
139335
+ getStorageItem: import_native_modules19.Storage.getItem,
139336
+ setStorageItem: import_native_modules19.Storage.setItem,
139337
+ removeStorageItem: import_native_modules19.Storage.removeItem,
139338
+ clearItems: import_native_modules19.Storage.clearItems,
139339
+ iapGetProductItemList: import_native_modules19.IAP.getProductItemList,
139340
+ iapCreateOneTimePurchaseOrder: import_native_modules19.iapCreateOneTimePurchaseOrder,
139341
+ processProductGrant: import_native_modules19.processProductGrant,
139342
+ getPendingOrders: import_native_modules19.IAP.getPendingOrders,
139343
+ getCompletedOrRefundedOrders: import_native_modules19.IAP.getCompletedOrRefundedOrders,
139344
+ completeProductGrant: import_native_modules19.IAP.completeProductGrant,
139345
+ getSubscriptionInfo: import_native_modules19.IAP.getSubscriptionInfo,
139346
+ isAppsInTossAdMobLoaded: import_native_modules19.GoogleAdMob.isAppsInTossAdMobLoaded,
139416
139347
  tossAdEventLog,
139417
139348
  memoryDebugLog: webViewMemoryDebugLog,
139418
139349
  debugLog: function () {
139419
- var _ref53 = _asyncToGenerator(function* (event) {
139420
- (0, import_native_modules24.eventLog)(event);
139421
- import_native_modules24.INTERNAL__module.tossCoreEventLog(event);
139350
+ var _ref54 = _asyncToGenerator(function* (event) {
139351
+ sendLog(event);
139422
139352
  });
139423
139353
  return function debugLog(_x8) {
139424
- return _ref53.apply(this, arguments);
139354
+ return _ref54.apply(this, arguments);
139425
139355
  };
139426
139356
  }()
139427
139357
  }
139428
139358
  });
139429
- var headerPropForExternalWebView = (0, import_react28.useMemo)(() => {
139359
+ var headerPropForExternalWebView = (0, import_react27.useMemo)(() => {
139430
139360
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
139431
139361
  var initialAccessoryButton = parsedNavigationBar?.initialAccessoryButton;
139432
139362
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
@@ -139447,12 +139377,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139447
139377
  colorPreference: "light"
139448
139378
  });
139449
139379
  var refs = mergeRefs(handler.ref, webViewRef);
139450
- (0, import_react28.useEffect)(() => {
139380
+ (0, import_react27.useEffect)(() => {
139451
139381
  var callback = () => {
139452
139382
  webBackHandler.handleWebBack();
139453
139383
  return true;
139454
139384
  };
139455
- var subscription = import_react_native38.BackHandler.addEventListener("hardwareBackPress", callback);
139385
+ var subscription = import_react_native37.BackHandler.addEventListener("hardwareBackPress", callback);
139456
139386
  return () => subscription.remove();
139457
139387
  }, [webBackHandler]);
139458
139388
  var handleWebViewProcessDidTerminate = useHandleWebViewProcessDidTerminate(webViewRef);
@@ -139476,14 +139406,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139476
139406
  webBackHandler.onNavigationStateChange(event);
139477
139407
  },
139478
139408
  textZoom: 100,
139479
- userAgent: import_react_native38.Platform.OS === "ios" ? userAgent : void 0,
139409
+ userAgent: import_react_native37.Platform.OS === "ios" ? userAgent : void 0,
139480
139410
  sharedCookiesEnabled: true,
139481
139411
  webviewDebuggingEnabled: webViewDebuggingEnabled,
139482
139412
  thirdPartyCookiesEnabled: true,
139483
139413
  onMessage: handler.onMessage,
139484
139414
  injectedJavaScript: import_user_scripts.afterDocumentLoad,
139485
139415
  injectedJavaScriptBeforeContentLoaded: [handler.injectedJavaScript, import_user_scripts.beforeDocumentLoad].join("\n"),
139486
- decelerationRate: import_react_native38.Platform.OS === "ios" ? 1 : void 0,
139416
+ decelerationRate: import_react_native37.Platform.OS === "ios" ? 1 : void 0,
139487
139417
  allowsBackForwardNavigationGestures,
139488
139418
  onShouldStartLoadWithRequest: event => {
139489
139419
  try {
@@ -139491,7 +139421,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139491
139421
  if (["https:", "http:"].includes(url2.protocol) || url2.href === "about:blank") {
139492
139422
  return true;
139493
139423
  } else {
139494
- import_react_native38.Linking.openURL(convertIntentURL(url2) ?? url2.href);
139424
+ import_react_native37.Linking.openURL(convertIntentURL(url2) ?? url2.href);
139495
139425
  return false;
139496
139426
  }
139497
139427
  } catch (error) {
@@ -139509,9 +139439,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139509
139439
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"), module.exports);
139510
139440
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types"), module.exports);
139511
139441
  var import_types = _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types");
139512
- var import_react_native42 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139513
- var import_react31 = _$$_REQUIRE(_dependencyMap[9], "react");
139514
- var import_react_native43 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139442
+ var import_react_native41 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139443
+ var import_react30 = _$$_REQUIRE(_dependencyMap[9], "react");
139444
+ var import_react_native42 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139515
139445
  var SDK_ID = "106";
139516
139446
  var LIST_BANNER_STYLE_ID = "1";
139517
139447
  var NATIVE_IMAGE_STYLE_ID = "2";
@@ -139789,7 +139719,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139789
139719
  });
139790
139720
  return _loadAd.apply(this, arguments);
139791
139721
  }
139792
- var import_react_native39 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139722
+ var import_react_native38 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139793
139723
  function isSafeUrl(url) {
139794
139724
  try {
139795
139725
  var parsed = new URL(url);
@@ -139805,7 +139735,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139805
139735
  return;
139806
139736
  }
139807
139737
  try {
139808
- (0, import_react_native39.openURL)(getWebSchemeOrUri(url));
139738
+ (0, import_react_native38.openURL)(getWebSchemeOrUri(url));
139809
139739
  } catch (error) {
139810
139740
  console.error("[InlineAd] Failed to open landing URL:", error);
139811
139741
  }
@@ -139913,8 +139843,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139913
139843
  }]);
139914
139844
  }();
139915
139845
  var import_react_native_svg = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
139916
- var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
139917
- var import_react_native40 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139846
+ var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
139847
+ var import_react_native39 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139918
139848
  var import_jsx_runtime20 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
139919
139849
  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";
139920
139850
  function FeedBannerAdView({
@@ -139932,12 +139862,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139932
139862
  paddingStyle,
139933
139863
  onPress
139934
139864
  }) {
139935
- var scale = (0, import_react29.useRef)(new import_react_native40.Animated.Value(1)).current;
139865
+ var scale = (0, import_react28.useRef)(new import_react_native39.Animated.Value(1)).current;
139936
139866
  var animateScale = toValue => {
139937
- import_react_native40.Animated.timing(scale, {
139867
+ import_react_native39.Animated.timing(scale, {
139938
139868
  toValue,
139939
139869
  duration: 100,
139940
- easing: import_react_native40.Easing.inOut(import_react_native40.Easing.ease),
139870
+ easing: import_react_native39.Easing.inOut(import_react_native39.Easing.ease),
139941
139871
  useNativeDriver: true
139942
139872
  }).start();
139943
139873
  };
@@ -139949,52 +139879,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139949
139879
  };
139950
139880
  var resolvedCtaBackground = ctaBackgroundColor ?? "#3081F9";
139951
139881
  var resolvedCtaTextColor = ctaTextColor ?? "#ffffff";
139952
- return (0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139882
+ return (0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
139953
139883
  accessibilityRole: "button",
139954
139884
  onPress: () => onPress(null),
139955
139885
  onPressIn: handlePressIn,
139956
139886
  onPressOut: handlePressOut,
139957
139887
  style: styles.pressable,
139958
- children: (0, import_jsx_runtime20.jsxs)(import_react_native40.Animated.View, {
139888
+ children: (0, import_jsx_runtime20.jsxs)(import_react_native39.Animated.View, {
139959
139889
  style: [styles.container, paddingStyle, {
139960
139890
  transform: [{
139961
139891
  scale
139962
139892
  }]
139963
139893
  }],
139964
- children: [(0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139894
+ children: [(0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
139965
139895
  style: styles.profileContainer,
139966
- children: [(0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139896
+ children: [(0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
139967
139897
  style: styles.brandArea,
139968
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139898
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
139969
139899
  accessibilityRole: "button",
139970
139900
  onPress: () => onPress("202"),
139971
139901
  onPressIn: handlePressIn,
139972
139902
  onPressOut: handlePressOut,
139973
139903
  style: styles.logoContainer,
139974
- children: (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139904
+ children: (0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
139975
139905
  style: [styles.logoWrapper, {
139976
139906
  backgroundColor: colors.brandLogoBg
139977
139907
  }],
139978
- children: [brandLogoUri ? (0, import_jsx_runtime20.jsx)(import_react_native40.Image, {
139908
+ children: [brandLogoUri ? (0, import_jsx_runtime20.jsx)(import_react_native39.Image, {
139979
139909
  source: {
139980
139910
  uri: brandLogoUri
139981
139911
  },
139982
139912
  style: styles.logoImage,
139983
139913
  resizeMode: "cover"
139984
- }) : null, (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
139914
+ }) : null, (0, import_jsx_runtime20.jsx)(import_react_native39.View, {
139985
139915
  style: [styles.logoOverlay, {
139986
139916
  borderColor: colors.brandLogoBorder
139987
139917
  }]
139988
139918
  })]
139989
139919
  })
139990
- }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139920
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
139991
139921
  style: styles.brandTextContainer,
139992
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139922
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
139993
139923
  accessibilityRole: "button",
139994
139924
  onPress: () => onPress("103"),
139995
139925
  onPressIn: handlePressIn,
139996
139926
  onPressOut: handlePressOut,
139997
- children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139927
+ children: (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
139998
139928
  allowFontScaling: false,
139999
139929
  numberOfLines: 1,
140000
139930
  style: [styles.brandName, {
@@ -140002,7 +139932,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140002
139932
  }],
140003
139933
  children: brandName
140004
139934
  })
140005
- }), isAdBadgeEnabled ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139935
+ }), isAdBadgeEnabled ? (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140006
139936
  allowFontScaling: false,
140007
139937
  numberOfLines: 1,
140008
139938
  style: [styles.adBadge, {
@@ -140011,26 +139941,26 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140011
139941
  children: "\uAD11\uACE0"
140012
139942
  }) : null]
140013
139943
  })]
140014
- }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139944
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
140015
139945
  style: styles.textArea,
140016
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139946
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140017
139947
  accessibilityRole: "button",
140018
139948
  onPress: () => onPress("101"),
140019
139949
  onPressIn: handlePressIn,
140020
139950
  onPressOut: handlePressOut,
140021
- children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139951
+ children: (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140022
139952
  allowFontScaling: false,
140023
139953
  style: [styles.title, {
140024
139954
  color: colors.title
140025
139955
  }],
140026
139956
  children: title
140027
139957
  })
140028
- }), (0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139958
+ }), (0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140029
139959
  accessibilityRole: "button",
140030
139960
  onPress: () => onPress("102"),
140031
139961
  onPressIn: handlePressIn,
140032
139962
  onPressOut: handlePressOut,
140033
- children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139963
+ children: (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140034
139964
  allowFontScaling: false,
140035
139965
  style: [styles.subtitle, {
140036
139966
  color: colors.subtitle
@@ -140039,17 +139969,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140039
139969
  })
140040
139970
  })]
140041
139971
  })]
140042
- }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139972
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
140043
139973
  style: styles.card,
140044
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139974
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140045
139975
  accessibilityRole: "button",
140046
139976
  onPress: () => onPress("201"),
140047
139977
  onPressIn: handlePressIn,
140048
139978
  onPressOut: handlePressOut,
140049
139979
  style: styles.imageButton,
140050
- children: (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
139980
+ children: (0, import_jsx_runtime20.jsx)(import_react_native39.View, {
140051
139981
  style: styles.imageContainer,
140052
- children: mainImageUri ? (0, import_jsx_runtime20.jsx)(import_react_native40.Image, {
139982
+ children: mainImageUri ? (0, import_jsx_runtime20.jsx)(import_react_native39.Image, {
140053
139983
  source: {
140054
139984
  uri: mainImageUri
140055
139985
  },
@@ -140057,7 +139987,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140057
139987
  resizeMode: "cover"
140058
139988
  }) : null
140059
139989
  })
140060
- }), (0, import_jsx_runtime20.jsxs)(import_react_native40.Pressable, {
139990
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native39.Pressable, {
140061
139991
  accessibilityRole: "button",
140062
139992
  onPress: () => onPress("0"),
140063
139993
  onPressIn: handlePressIn,
@@ -140065,7 +139995,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140065
139995
  style: [styles.cta, {
140066
139996
  backgroundColor: resolvedCtaBackground
140067
139997
  }],
140068
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139998
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140069
139999
  allowFontScaling: false,
140070
140000
  style: [styles.ctaText, {
140071
140001
  color: resolvedCtaTextColor
@@ -140080,12 +140010,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140080
140010
  fill: resolvedCtaTextColor
140081
140011
  })
140082
140012
  })]
140083
- }), (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
140013
+ }), (0, import_jsx_runtime20.jsx)(import_react_native39.View, {
140084
140014
  style: [styles.cardOverlay, {
140085
140015
  borderColor: colors.imageOverlayBorder
140086
140016
  }]
140087
140017
  })]
140088
- }), adClearanceText ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140018
+ }), adClearanceText ? (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140089
140019
  allowFontScaling: false,
140090
140020
  style: [styles.adClearance, {
140091
140021
  color: colors.adClearance
@@ -140095,7 +140025,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140095
140025
  })
140096
140026
  });
140097
140027
  }
140098
- var styles = import_react_native40.StyleSheet.create({
140028
+ var styles = import_react_native39.StyleSheet.create({
140099
140029
  pressable: {
140100
140030
  width: "100%"
140101
140031
  },
@@ -140134,7 +140064,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140134
140064
  borderRadius: 18
140135
140065
  },
140136
140066
  logoOverlay: {
140137
- ...import_react_native40.StyleSheet.absoluteFillObject,
140067
+ ...import_react_native39.StyleSheet.absoluteFillObject,
140138
140068
  borderWidth: 1,
140139
140069
  borderRadius: 18
140140
140070
  },
@@ -140197,7 +140127,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140197
140127
  lineHeight: 22.5
140198
140128
  },
140199
140129
  cardOverlay: {
140200
- ...import_react_native40.StyleSheet.absoluteFillObject,
140130
+ ...import_react_native39.StyleSheet.absoluteFillObject,
140201
140131
  borderWidth: 2,
140202
140132
  borderRadius: 12,
140203
140133
  pointerEvents: "none"
@@ -140209,8 +140139,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140209
140139
  }
140210
140140
  });
140211
140141
  var import_react_native_svg2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140212
- var import_react30 = _$$_REQUIRE(_dependencyMap[9], "react");
140213
- var import_react_native41 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140142
+ var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
140143
+ var import_react_native40 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140214
140144
  var import_jsx_runtime21 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140215
140145
  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";
140216
140146
  function ListBannerAdView({
@@ -140223,13 +140153,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140223
140153
  colors,
140224
140154
  onPress
140225
140155
  }) {
140226
- var scale = (0, import_react30.useRef)(new import_react_native41.Animated.Value(1)).current;
140227
- var clipIdRef = (0, import_react30.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140156
+ var scale = (0, import_react29.useRef)(new import_react_native40.Animated.Value(1)).current;
140157
+ var clipIdRef = (0, import_react29.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140228
140158
  var animateScale = toValue => {
140229
- import_react_native41.Animated.timing(scale, {
140159
+ import_react_native40.Animated.timing(scale, {
140230
140160
  toValue,
140231
140161
  duration: 100,
140232
- easing: import_react_native41.Easing.inOut(import_react_native41.Easing.ease),
140162
+ easing: import_react_native40.Easing.inOut(import_react_native40.Easing.ease),
140233
140163
  useNativeDriver: true
140234
140164
  }).start();
140235
140165
  };
@@ -140239,21 +140169,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140239
140169
  var handlePressOut = () => {
140240
140170
  animateScale(1);
140241
140171
  };
140242
- return (0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140172
+ return (0, import_jsx_runtime21.jsx)(import_react_native40.Pressable, {
140243
140173
  accessibilityRole: "button",
140244
140174
  onPress: () => onPress(null),
140245
140175
  onPressIn: handlePressIn,
140246
140176
  onPressOut: handlePressOut,
140247
140177
  style: styles2.pressable,
140248
- children: (0, import_jsx_runtime21.jsxs)(import_react_native41.Animated.View, {
140178
+ children: (0, import_jsx_runtime21.jsxs)(import_react_native40.Animated.View, {
140249
140179
  style: [styles2.container, paddingStyle, {
140250
140180
  transform: [{
140251
140181
  scale
140252
140182
  }]
140253
140183
  }],
140254
- children: [(0, import_jsx_runtime21.jsxs)(import_react_native41.View, {
140184
+ children: [(0, import_jsx_runtime21.jsxs)(import_react_native40.View, {
140255
140185
  style: styles2.titleRow,
140256
- children: [(0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140186
+ children: [(0, import_jsx_runtime21.jsx)(import_react_native40.Pressable, {
140257
140187
  accessibilityRole: "button",
140258
140188
  onPress: () => onPress("202"),
140259
140189
  onPressIn: handlePressIn,
@@ -140289,26 +140219,26 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140289
140219
  clipPath: `url(#${clipIdRef.current})`
140290
140220
  })]
140291
140221
  })
140292
- }), (0, import_jsx_runtime21.jsxs)(import_react_native41.View, {
140222
+ }), (0, import_jsx_runtime21.jsxs)(import_react_native40.View, {
140293
140223
  style: styles2.textWrapper,
140294
- children: [(0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140224
+ children: [(0, import_jsx_runtime21.jsx)(import_react_native40.Pressable, {
140295
140225
  accessibilityRole: "button",
140296
140226
  onPress: () => onPress("101"),
140297
140227
  onPressIn: handlePressIn,
140298
140228
  onPressOut: handlePressOut,
140299
- children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140229
+ children: (0, import_jsx_runtime21.jsx)(import_react_native40.Text, {
140300
140230
  allowFontScaling: false,
140301
140231
  style: [styles2.title, {
140302
140232
  color: colors.title
140303
140233
  }],
140304
140234
  children: title
140305
140235
  })
140306
- }), (0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140236
+ }), (0, import_jsx_runtime21.jsx)(import_react_native40.Pressable, {
140307
140237
  accessibilityRole: "button",
140308
140238
  onPress: () => onPress("102"),
140309
140239
  onPressIn: handlePressIn,
140310
140240
  onPressOut: handlePressOut,
140311
- children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140241
+ children: (0, import_jsx_runtime21.jsx)(import_react_native40.Text, {
140312
140242
  allowFontScaling: false,
140313
140243
  style: [styles2.subtitle, {
140314
140244
  color: colors.subtitle
@@ -140317,7 +140247,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140317
140247
  })
140318
140248
  })]
140319
140249
  })]
140320
- }), adClearanceText ? (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140250
+ }), adClearanceText ? (0, import_jsx_runtime21.jsx)(import_react_native40.Text, {
140321
140251
  allowFontScaling: false,
140322
140252
  style: [styles2.adClearance, {
140323
140253
  color: colors.adClearance,
@@ -140329,7 +140259,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140329
140259
  })
140330
140260
  });
140331
140261
  }
140332
- var styles2 = import_react_native41.StyleSheet.create({
140262
+ var styles2 = import_react_native40.StyleSheet.create({
140333
140263
  pressable: {
140334
140264
  width: "100%"
140335
140265
  },
@@ -140537,27 +140467,27 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140537
140467
  onAdImpression = props.onAdImpression,
140538
140468
  onAdFailedToRender = props.onAdFailedToRender,
140539
140469
  onNoFill = props.onNoFill;
140540
- var slotIdRef = (0, import_react31.useRef)(createSlotId());
140541
- var _ref54 = (0, import_react31.useState)(null),
140542
- _ref55 = _slicedToArray(_ref54, 2),
140543
- ad = _ref55[0],
140544
- setAd = _ref55[1];
140545
- var _ref56 = (0, import_react31.useState)(true),
140546
- _ref57 = _slicedToArray(_ref56, 2),
140547
- isAdBadgeEnabled = _ref57[0],
140548
- setIsAdBadgeEnabled = _ref57[1];
140549
- var eventTrackerRef = (0, import_react31.useRef)(null);
140550
- var eventPayloadRef = (0, import_react31.useRef)(null);
140551
- var hasRenderedRef = (0, import_react31.useRef)(false);
140552
- var hasLoggedImp1pxRef = (0, import_react31.useRef)(false);
140553
- var hasLoggedImp100pRef = (0, import_react31.useRef)(false);
140554
- var hasNotifiedViewableRef = (0, import_react31.useRef)(false);
140555
- var viewableTimerRef = (0, import_react31.useRef)(null);
140556
- var refetchIntervalMsRef = (0, import_react31.useRef)(null);
140557
- var lastImp1pxAtRef = (0, import_react31.useRef)(null);
140558
- var loadingRef = (0, import_react31.useRef)(false);
140559
- var loadRef = (0, import_react31.useRef)(null);
140560
- var callbacksRef = (0, import_react31.useRef)({
140470
+ var slotIdRef = (0, import_react30.useRef)(createSlotId());
140471
+ var _ref55 = (0, import_react30.useState)(null),
140472
+ _ref56 = _slicedToArray(_ref55, 2),
140473
+ ad = _ref56[0],
140474
+ setAd = _ref56[1];
140475
+ var _ref57 = (0, import_react30.useState)(true),
140476
+ _ref58 = _slicedToArray(_ref57, 2),
140477
+ isAdBadgeEnabled = _ref58[0],
140478
+ setIsAdBadgeEnabled = _ref58[1];
140479
+ var eventTrackerRef = (0, import_react30.useRef)(null);
140480
+ var eventPayloadRef = (0, import_react30.useRef)(null);
140481
+ var hasRenderedRef = (0, import_react30.useRef)(false);
140482
+ var hasLoggedImp1pxRef = (0, import_react30.useRef)(false);
140483
+ var hasLoggedImp100pRef = (0, import_react30.useRef)(false);
140484
+ var hasNotifiedViewableRef = (0, import_react30.useRef)(false);
140485
+ var viewableTimerRef = (0, import_react30.useRef)(null);
140486
+ var refetchIntervalMsRef = (0, import_react30.useRef)(null);
140487
+ var lastImp1pxAtRef = (0, import_react30.useRef)(null);
140488
+ var loadingRef = (0, import_react30.useRef)(false);
140489
+ var loadRef = (0, import_react30.useRef)(null);
140490
+ var callbacksRef = (0, import_react30.useRef)({
140561
140491
  onAdRendered,
140562
140492
  onAdViewable,
140563
140493
  onAdClicked,
@@ -140565,8 +140495,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140565
140495
  onAdFailedToRender,
140566
140496
  onNoFill
140567
140497
  });
140568
- var isMountedRef = (0, import_react31.useRef)(false);
140569
- var colorScheme = (0, import_react_native43.useColorScheme)();
140498
+ var isMountedRef = (0, import_react30.useRef)(false);
140499
+ var colorScheme = (0, import_react_native42.useColorScheme)();
140570
140500
  var selectedTheme = theme ?? DEFAULT_INLINE_AD_THEME;
140571
140501
  var resolvedTheme = selectedTheme === "auto" ? colorScheme === "dark" ? "dark" : "light" : selectedTheme;
140572
140502
  var resolvedTone = tone ?? DEFAULT_INLINE_AD_TONE;
@@ -140582,7 +140512,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140582
140512
  onAdFailedToRender,
140583
140513
  onNoFill
140584
140514
  };
140585
- (0, import_react31.useEffect)(() => {
140515
+ (0, import_react30.useEffect)(() => {
140586
140516
  isMountedRef.current = true;
140587
140517
  return () => {
140588
140518
  isMountedRef.current = false;
@@ -140592,7 +140522,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140592
140522
  }
140593
140523
  };
140594
140524
  }, []);
140595
- (0, import_react31.useEffect)(() => {
140525
+ (0, import_react30.useEffect)(() => {
140596
140526
  var normalizedAdGroupId = normalizeAdGroupId(adGroupId);
140597
140527
  var loadAdRequest = () => {
140598
140528
  if (loadingRef.current) {
@@ -140650,7 +140580,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140650
140580
  loadRef.current = null;
140651
140581
  };
140652
140582
  }, [adGroupId]);
140653
- (0, import_react_native42.useVisibilityChange)(documentVisibility => {
140583
+ (0, import_react_native41.useVisibilityChange)(documentVisibility => {
140654
140584
  if (documentVisibility !== "visible") {
140655
140585
  return;
140656
140586
  }
@@ -140663,7 +140593,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140663
140593
  loadRef.current?.();
140664
140594
  }
140665
140595
  });
140666
- (0, import_react31.useEffect)(() => {
140596
+ (0, import_react30.useEffect)(() => {
140667
140597
  if (!ad || hasRenderedRef.current) {
140668
140598
  return;
140669
140599
  }
@@ -140748,23 +140678,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140748
140678
  callbacksRef.current.onAdClicked?.(basePayload);
140749
140679
  }
140750
140680
  };
140751
- return (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
140681
+ return (0, import_jsx_runtime22.jsx)(import_react_native41.ImpressionArea, {
140752
140682
  style: styles3.impressionArea,
140753
140683
  onImpressionStart: handleImpression1px,
140754
140684
  areaThreshold: 0,
140755
140685
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
140756
- children: (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
140686
+ children: (0, import_jsx_runtime22.jsx)(import_react_native41.ImpressionArea, {
140757
140687
  onImpressionStart: handleImpression100p,
140758
140688
  areaThreshold: 1,
140759
140689
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
140760
- children: (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
140690
+ children: (0, import_jsx_runtime22.jsx)(import_react_native41.ImpressionArea, {
140761
140691
  onImpressionStart: handleViewableStart,
140762
140692
  onImpressionEnd: handleViewableEnd,
140763
140693
  areaThreshold: 0.5,
140764
140694
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
140765
- children: (0, import_jsx_runtime22.jsx)(import_react_native43.View, {
140695
+ children: (0, import_jsx_runtime22.jsx)(import_react_native42.View, {
140766
140696
  style: [styles3.wrapper, resolvedVariant === "card" && styles3.cardWrapper],
140767
- children: (0, import_jsx_runtime22.jsxs)(import_react_native43.View, {
140697
+ children: (0, import_jsx_runtime22.jsxs)(import_react_native42.View, {
140768
140698
  style: [styles3.surface, {
140769
140699
  backgroundColor
140770
140700
  }, resolvedVariant === "card" && styles3.cardSurface],
@@ -140798,7 +140728,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140798
140728
  })
140799
140729
  }, impressionKey);
140800
140730
  }
140801
- var styles3 = import_react_native43.StyleSheet.create({
140731
+ var styles3 = import_react_native42.StyleSheet.create({
140802
140732
  impressionArea: {
140803
140733
  width: "100%"
140804
140734
  },
@@ -140844,7 +140774,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140844
140774
  ..._$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"),
140845
140775
  ..._$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types")
140846
140776
  });
140847
- },1274,[20,19,16,47,1275,1276,2,1463,33,6,9,2427,2508,610,2511,2556,2564,2580,2436,1277,749],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
140777
+ },1274,[20,19,16,47,1275,1276,2,1463,33,6,9,2427,2508,610,2511,2557,2565,2581,2436,1277,749],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
140848
140778
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
140849
140779
  "use strict";
140850
140780
 
@@ -141516,6 +141446,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141516
141446
  getServerTime: () => getServerTime,
141517
141447
  getTossAppVersion: () => getTossAppVersion,
141518
141448
  getTossShareLink: () => getTossShareLink,
141449
+ getUserKey: () => getUserKey,
141519
141450
  getUserKeyForGame: () => getUserKeyForGame,
141520
141451
  grantPromotionReward: () => grantPromotionReward,
141521
141452
  grantPromotionRewardForGame: () => grantPromotionRewardForGame,
@@ -142504,7 +142435,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142504
142435
  android: "5.221.0",
142505
142436
  ios: "5.221.0"
142506
142437
  };
142507
- var GAME_USER_KEY_MIN_VERSION = {
142438
+ var USER_KEY_MIN_VERSION = {
142508
142439
  android: "5.232.0",
142509
142440
  ios: "5.232.0"
142510
142441
  };
@@ -142565,12 +142496,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142565
142496
  });
142566
142497
  return _submitGameCenterLeaderBoardScore.apply(this, arguments);
142567
142498
  }
142568
- function getUserKeyForGame() {
142569
- return _getUserKeyForGame.apply(this, arguments);
142499
+ function getUserKey() {
142500
+ return _getUserKey.apply(this, arguments);
142570
142501
  }
142571
- function _getUserKeyForGame() {
142572
- _getUserKeyForGame = _asyncToGenerator(function* () {
142573
- var isSupported = isMinVersionSupported(GAME_USER_KEY_MIN_VERSION);
142502
+ function _getUserKey() {
142503
+ _getUserKey = _asyncToGenerator(function* () {
142504
+ var isSupported = isMinVersionSupported(USER_KEY_MIN_VERSION);
142574
142505
  if (!isSupported) {
142575
142506
  return;
142576
142507
  }
@@ -142579,14 +142510,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142579
142510
  if (response.type === "HASH") {
142580
142511
  return response;
142581
142512
  }
142582
- if (response.type === "NOT_AVAILABLE") {
142583
- return "INVALID_CATEGORY";
142584
- }
142585
142513
  return "ERROR";
142586
- } catch (_) {
142514
+ } catch {
142587
142515
  return "ERROR";
142588
142516
  }
142589
142517
  });
142518
+ return _getUserKey.apply(this, arguments);
142519
+ }
142520
+ function getUserKeyForGame() {
142521
+ return _getUserKeyForGame.apply(this, arguments);
142522
+ }
142523
+ function _getUserKeyForGame() {
142524
+ _getUserKeyForGame = _asyncToGenerator(function* () {
142525
+ return getUserKey();
142526
+ });
142590
142527
  return _getUserKeyForGame.apply(this, arguments);
142591
142528
  }
142592
142529
  function isGrantPromotionRewardError(error) {
@@ -142869,6 +142806,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142869
142806
  getServerTime,
142870
142807
  getTossAppVersion,
142871
142808
  getTossShareLink,
142809
+ getUserKey,
142872
142810
  getUserKeyForGame,
142873
142811
  grantPromotionReward,
142874
142812
  grantPromotionRewardForGame,
@@ -210964,7 +210902,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
210964
210902
  }
210965
210903
  });
210966
210904
  });
210967
- var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/getUserKeyForGame");
210905
+ var _getUserKey = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/getUserKey");
210906
+ Object.keys(_getUserKey).forEach(function (key) {
210907
+ if (key === "default" || key === "__esModule") return;
210908
+ if (key in exports && exports[key] === _getUserKey[key]) return;
210909
+ Object.defineProperty(exports, key, {
210910
+ enumerable: true,
210911
+ get: function () {
210912
+ return _getUserKey[key];
210913
+ }
210914
+ });
210915
+ });
210916
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/getUserKeyForGame");
210968
210917
  Object.keys(_getUserKeyForGame).forEach(function (key) {
210969
210918
  if (key === "default" || key === "__esModule") return;
210970
210919
  if (key in exports && exports[key] === _getUserKeyForGame[key]) return;
@@ -210975,7 +210924,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
210975
210924
  }
210976
210925
  });
210977
210926
  });
210978
- var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/grantPromotionReward");
210927
+ var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/grantPromotionReward");
210979
210928
  Object.keys(_grantPromotionReward).forEach(function (key) {
210980
210929
  if (key === "default" || key === "__esModule") return;
210981
210930
  if (key in exports && exports[key] === _grantPromotionReward[key]) return;
@@ -210986,7 +210935,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
210986
210935
  }
210987
210936
  });
210988
210937
  });
210989
- var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
210938
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
210990
210939
  Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
210991
210940
  if (key === "default" || key === "__esModule") return;
210992
210941
  if (key in exports && exports[key] === _grantPromotionRewardForGame[key]) return;
@@ -210997,7 +210946,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
210997
210946
  }
210998
210947
  });
210999
210948
  });
211000
- var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
210949
+ var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
211001
210950
  Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
211002
210951
  if (key === "default" || key === "__esModule") return;
211003
210952
  if (key in exports && exports[key] === _getIsTossLoginIntegratedService[key]) return;
@@ -211008,7 +210957,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211008
210957
  }
211009
210958
  });
211010
210959
  });
211011
- var _getServerTime = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/getServerTime");
210960
+ var _getServerTime = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/getServerTime");
211012
210961
  Object.keys(_getServerTime).forEach(function (key) {
211013
210962
  if (key === "default" || key === "__esModule") return;
211014
210963
  if (key in exports && exports[key] === _getServerTime[key]) return;
@@ -211019,7 +210968,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211019
210968
  }
211020
210969
  });
211021
210970
  });
211022
- var _requestReview = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/requestReview");
210971
+ var _requestReview = _$$_REQUIRE(_dependencyMap[33], "./MiniAppModule/native-modules/requestReview");
211023
210972
  Object.keys(_requestReview).forEach(function (key) {
211024
210973
  if (key === "default" || key === "__esModule") return;
211025
210974
  if (key in exports && exports[key] === _requestReview[key]) return;
@@ -211030,7 +210979,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211030
210979
  }
211031
210980
  });
211032
210981
  });
211033
- },2511,[2512,2520,2521,2522,2523,2524,2525,2526,2527,2528,2529,2530,2532,2533,2534,2535,2536,2537,2538,2541,2542,2543,2544,2545,2546,2548,2549,2550,2551,2552,2553,2554,2555],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
210982
+ },2511,[2512,2520,2521,2522,2523,2524,2525,2526,2527,2528,2529,2530,2532,2533,2534,2535,2536,2537,2538,2541,2542,2543,2544,2545,2546,2548,2549,2550,2551,2552,2553,2554,2555,2556],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
211034
210983
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
211035
210984
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
211036
210985
  Object.defineProperty(exports, "__esModule", {
@@ -211831,13 +211780,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211831
211780
  Object.defineProperty(exports, "__esModule", {
211832
211781
  value: true
211833
211782
  });
211834
- exports.PROMOTION_REWARD_MIN_VERSION = exports.GET_SERVER_TIME_MIN_VERSION = exports.GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
211783
+ exports.USER_KEY_MIN_VERSION = exports.PROMOTION_REWARD_MIN_VERSION = exports.GET_SERVER_TIME_MIN_VERSION = exports.GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
211835
211784
  var GAME_PROFILE_WEBVIEW_URL = exports.GAME_PROFILE_WEBVIEW_URL = 'https://service.toss.im/game-center/profile';
211836
211785
  var GAME_CENTER_MIN_VERSION = exports.GAME_CENTER_MIN_VERSION = {
211837
211786
  android: '5.221.0',
211838
211787
  ios: '5.221.0'
211839
211788
  };
211840
- var GAME_USER_KEY_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = {
211789
+ var USER_KEY_MIN_VERSION = exports.USER_KEY_MIN_VERSION = {
211841
211790
  android: '5.232.0',
211842
211791
  ios: '5.232.0'
211843
211792
  };
@@ -211913,17 +211862,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211913
211862
  Object.defineProperty(exports, "__esModule", {
211914
211863
  value: true
211915
211864
  });
211916
- exports.getUserKeyForGame = getUserKeyForGame;
211865
+ exports.getUserKey = getUserKey;
211917
211866
  var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
211918
211867
  var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[2], "./isMinVersionSupported");
211919
211868
  var _natives = _$$_REQUIRE(_dependencyMap[3], "../../natives");
211920
211869
  var _constants = _$$_REQUIRE(_dependencyMap[4], "../constants");
211921
- function getUserKeyForGame() {
211922
- return _getUserKeyForGame.apply(this, arguments);
211870
+ function getUserKey() {
211871
+ return _getUserKey.apply(this, arguments);
211923
211872
  }
211924
- function _getUserKeyForGame() {
211925
- _getUserKeyForGame = (0, _asyncToGenerator2.default)(function* () {
211926
- var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GAME_USER_KEY_MIN_VERSION);
211873
+ function _getUserKey() {
211874
+ _getUserKey = (0, _asyncToGenerator2.default)(function* () {
211875
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(_constants.USER_KEY_MIN_VERSION);
211927
211876
  if (!isSupported) {
211928
211877
  return;
211929
211878
  }
@@ -211932,17 +211881,32 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211932
211881
  if (response.type === 'HASH') {
211933
211882
  return response;
211934
211883
  }
211935
- if (response.type === 'NOT_AVAILABLE') {
211936
- return 'INVALID_CATEGORY';
211937
- }
211938
211884
  return 'ERROR';
211939
- } catch (_) {
211885
+ } catch {
211940
211886
  return 'ERROR';
211941
211887
  }
211942
211888
  });
211889
+ return _getUserKey.apply(this, arguments);
211890
+ }
211891
+ },2550,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKey.ts");
211892
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
211893
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
211894
+ Object.defineProperty(exports, "__esModule", {
211895
+ value: true
211896
+ });
211897
+ exports.getUserKeyForGame = getUserKeyForGame;
211898
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
211899
+ var _getUserKey = _$$_REQUIRE(_dependencyMap[2], "./getUserKey");
211900
+ function getUserKeyForGame() {
211901
+ return _getUserKeyForGame.apply(this, arguments);
211902
+ }
211903
+ function _getUserKeyForGame() {
211904
+ _getUserKeyForGame = (0, _asyncToGenerator2.default)(function* () {
211905
+ return (0, _getUserKey.getUserKey)();
211906
+ });
211943
211907
  return _getUserKeyForGame.apply(this, arguments);
211944
211908
  }
211945
- },2550,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
211909
+ },2551,[1,16,2550],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
211946
211910
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
211947
211911
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
211948
211912
  Object.defineProperty(exports, "__esModule", {
@@ -211983,7 +211947,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211983
211947
  });
211984
211948
  return _grantPromotionReward.apply(this, arguments);
211985
211949
  }
211986
- },2551,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
211950
+ },2552,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
211987
211951
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
211988
211952
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
211989
211953
  Object.defineProperty(exports, "__esModule", {
@@ -212001,7 +211965,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212001
211965
  });
212002
211966
  return _grantPromotionRewardForGame.apply(this, arguments);
212003
211967
  }
212004
- },2552,[1,16,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
211968
+ },2553,[1,16,2552],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
212005
211969
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212006
211970
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212007
211971
  Object.defineProperty(exports, "__esModule", {
@@ -212026,7 +211990,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212026
211990
  });
212027
211991
  return _getIsTossLoginIntegratedService.apply(this, arguments);
212028
211992
  }
212029
- },2553,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
211993
+ },2554,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
212030
211994
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212031
211995
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212032
211996
  Object.defineProperty(exports, "__esModule", {
@@ -212051,7 +212015,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212051
212015
  return _getServerTime.apply(this, arguments);
212052
212016
  }
212053
212017
  getServerTime.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
212054
- },2554,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
212018
+ },2555,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
212055
212019
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212056
212020
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212057
212021
  Object.defineProperty(exports, "__esModule", {
@@ -212085,7 +212049,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212085
212049
  return _requestReview.apply(this, arguments);
212086
212050
  }
212087
212051
  requestReview.isSupported = () => _natives.MiniAppModule.getConstants().operationalEnvironment === 'toss' && (0, _isMinVersionSupported.isMinVersionSupported)(MIN_VERSION);
212088
- },2555,[1,16,2539,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
212052
+ },2556,[1,16,2539,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
212089
212053
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212090
212054
  Object.defineProperty(exports, "__esModule", {
212091
212055
  value: true
@@ -212167,7 +212131,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212167
212131
  }
212168
212132
  });
212169
212133
  });
212170
- },2556,[2557,2558,2559,2560,2561,2562,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
212134
+ },2557,[2558,2559,2560,2561,2562,2563,2564],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
212171
212135
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212172
212136
  Object.defineProperty(exports, "__esModule", {
212173
212137
  value: true
@@ -212185,7 +212149,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212185
212149
  function replaceUnderbarToHypen(locale) {
212186
212150
  return locale.replace(/_/g, '-');
212187
212151
  }
212188
- },2557,[33,2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
212152
+ },2558,[33,2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
212189
212153
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212190
212154
  Object.defineProperty(exports, "__esModule", {
212191
212155
  value: true
@@ -212195,7 +212159,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212195
212159
  function getSchemeUri() {
212196
212160
  return _BedrockModule.CommonModule.getConstants().schemeUri;
212197
212161
  }
212198
- },2558,[2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
212162
+ },2559,[2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
212199
212163
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212200
212164
  Object.defineProperty(exports, "__esModule", {
212201
212165
  value: true
@@ -212205,7 +212169,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212205
212169
  function getPlatformOS() {
212206
212170
  return _reactNative.Platform.OS;
212207
212171
  }
212208
- },2559,[33],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
212172
+ },2560,[33],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
212209
212173
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212210
212174
  Object.defineProperty(exports, "__esModule", {
212211
212175
  value: true
@@ -212215,7 +212179,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212215
212179
  function getOperationalEnvironment() {
212216
212180
  return _natives.MiniAppModule.getConstants().operationalEnvironment;
212217
212181
  }
212218
- },2560,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
212182
+ },2561,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
212219
212183
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212220
212184
  Object.defineProperty(exports, "__esModule", {
212221
212185
  value: true
@@ -212225,7 +212189,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212225
212189
  function getTossAppVersion() {
212226
212190
  return _natives.MiniAppModule.getConstants().tossAppVersion;
212227
212191
  }
212228
- },2561,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
212192
+ },2562,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
212229
212193
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212230
212194
  Object.defineProperty(exports, "__esModule", {
212231
212195
  value: true
@@ -212235,7 +212199,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212235
212199
  function getDeviceId() {
212236
212200
  return _natives.MiniAppModule.getConstants().deviceId;
212237
212201
  }
212238
- },2562,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
212202
+ },2563,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
212239
212203
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212240
212204
  Object.defineProperty(exports, "__esModule", {
212241
212205
  value: true
@@ -212245,7 +212209,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212245
212209
  function getGroupId() {
212246
212210
  return _natives.MiniAppModule.getConstants().groupId;
212247
212211
  }
212248
- },2563,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
212212
+ },2564,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
212249
212213
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212250
212214
  Object.defineProperty(exports, "__esModule", {
212251
212215
  value: true
@@ -212283,7 +212247,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212283
212247
  }
212284
212248
  });
212285
212249
  });
212286
- },2564,[2565,2579,2577],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
212250
+ },2565,[2566,2580,2578],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
212287
212251
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212288
212252
  Object.defineProperty(exports, "__esModule", {
212289
212253
  value: true
@@ -212296,7 +212260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212296
212260
  }
212297
212261
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
212298
212262
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
212299
- },2565,[2566,2572],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
212263
+ },2566,[2567,2573],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
212300
212264
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212301
212265
  Object.defineProperty(exports, "__esModule", {
212302
212266
  value: true
@@ -212307,7 +212271,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212307
212271
  var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
212308
212272
  var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
212309
212273
  var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
212310
- },2566,[2,2567,2568,2571],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
212274
+ },2567,[2,2568,2569,2572],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
212311
212275
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212312
212276
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212313
212277
  Object.defineProperty(exports, "__esModule", {
@@ -212374,7 +212338,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212374
212338
  }
212375
212339
  }]);
212376
212340
  }(_reactNative.GraniteEventDefinition);
212377
- },2567,[1,20,19,21,24,25,1277,2,2514,2528],"../../../../.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");
212341
+ },2568,[1,20,19,21,24,25,1277,2,2514,2528],"../../../../.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");
212378
212342
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212379
212343
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212380
212344
  Object.defineProperty(exports, "__esModule", {
@@ -212434,7 +212398,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212434
212398
  }
212435
212399
  }]);
212436
212400
  }(_reactNative.GraniteEventDefinition);
212437
- },2568,[1,20,19,21,24,25,2,2569,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
212401
+ },2569,[1,20,19,21,24,25,2,2570,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
212438
212402
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212439
212403
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212440
212404
  Object.defineProperty(exports, "__esModule", {
@@ -212499,7 +212463,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212499
212463
  unregisterCallback,
212500
212464
  getCallbackIds
212501
212465
  };
212502
- },2569,[1,47,89,2514,2570],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
212466
+ },2570,[1,47,89,2514,2571],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
212503
212467
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212504
212468
  Object.defineProperty(exports, "__esModule", {
212505
212469
  value: true
@@ -212508,7 +212472,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212508
212472
  function generateUUID(placeholder) {
212509
212473
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
212510
212474
  }
212511
- },2570,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
212475
+ },2571,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
212512
212476
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212513
212477
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212514
212478
  Object.defineProperty(exports, "__esModule", {
@@ -212566,7 +212530,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212566
212530
  }
212567
212531
  }]);
212568
212532
  }(_reactNative.GraniteEventDefinition);
212569
- },2571,[1,20,19,21,24,25,2,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
212533
+ },2572,[1,20,19,21,24,25,2,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
212570
212534
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212571
212535
  Object.defineProperty(exports, "__esModule", {
212572
212536
  value: true
@@ -212829,7 +212793,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212829
212793
  }
212830
212794
  });
212831
212795
  });
212832
- var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[22], "./getUserKeyForGame");
212796
+ var _getUserKey = _$$_REQUIRE(_dependencyMap[22], "./getUserKey");
212797
+ Object.keys(_getUserKey).forEach(function (key) {
212798
+ if (key === "default" || key === "__esModule") return;
212799
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
212800
+ if (key in exports && exports[key] === _getUserKey[key]) return;
212801
+ Object.defineProperty(exports, key, {
212802
+ enumerable: true,
212803
+ get: function () {
212804
+ return _getUserKey[key];
212805
+ }
212806
+ });
212807
+ });
212808
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[23], "./getUserKeyForGame");
212833
212809
  Object.keys(_getUserKeyForGame).forEach(function (key) {
212834
212810
  if (key === "default" || key === "__esModule") return;
212835
212811
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212841,7 +212817,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212841
212817
  }
212842
212818
  });
212843
212819
  });
212844
- var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[23], "./grantPromotionReward");
212820
+ var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[24], "./grantPromotionReward");
212845
212821
  Object.keys(_grantPromotionReward).forEach(function (key) {
212846
212822
  if (key === "default" || key === "__esModule") return;
212847
212823
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212853,7 +212829,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212853
212829
  }
212854
212830
  });
212855
212831
  });
212856
- var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[24], "./grantPromotionRewardForGame");
212832
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[25], "./grantPromotionRewardForGame");
212857
212833
  Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
212858
212834
  if (key === "default" || key === "__esModule") return;
212859
212835
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212865,7 +212841,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212865
212841
  }
212866
212842
  });
212867
212843
  });
212868
- var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[25], "./getIsTossLoginIntegratedService");
212844
+ var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[26], "./getIsTossLoginIntegratedService");
212869
212845
  Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
212870
212846
  if (key === "default" || key === "__esModule") return;
212871
212847
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212877,7 +212853,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212877
212853
  }
212878
212854
  });
212879
212855
  });
212880
- var _contactsViral = _$$_REQUIRE(_dependencyMap[26], "../native-event-emitter/contactsViral");
212856
+ var _contactsViral = _$$_REQUIRE(_dependencyMap[27], "../native-event-emitter/contactsViral");
212881
212857
  Object.keys(_contactsViral).forEach(function (key) {
212882
212858
  if (key === "default" || key === "__esModule") return;
212883
212859
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212889,7 +212865,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212889
212865
  }
212890
212866
  });
212891
212867
  });
212892
- var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[27], "./appsInTossSignTossCert");
212868
+ var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[28], "./appsInTossSignTossCert");
212893
212869
  Object.keys(_appsInTossSignTossCert).forEach(function (key) {
212894
212870
  if (key === "default" || key === "__esModule") return;
212895
212871
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212901,7 +212877,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212901
212877
  }
212902
212878
  });
212903
212879
  });
212904
- var _getGroupId = _$$_REQUIRE(_dependencyMap[28], "./getGroupId");
212880
+ var _getGroupId = _$$_REQUIRE(_dependencyMap[29], "./getGroupId");
212905
212881
  Object.keys(_getGroupId).forEach(function (key) {
212906
212882
  if (key === "default" || key === "__esModule") return;
212907
212883
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212913,7 +212889,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212913
212889
  }
212914
212890
  });
212915
212891
  });
212916
- var _shareWithScheme = _$$_REQUIRE(_dependencyMap[29], "./shareWithScheme");
212892
+ var _shareWithScheme = _$$_REQUIRE(_dependencyMap[30], "./shareWithScheme");
212917
212893
  Object.keys(_shareWithScheme).forEach(function (key) {
212918
212894
  if (key === "default" || key === "__esModule") return;
212919
212895
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212925,7 +212901,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212925
212901
  }
212926
212902
  });
212927
212903
  });
212928
- var _getServerTime = _$$_REQUIRE(_dependencyMap[30], "./getServerTime");
212904
+ var _getServerTime = _$$_REQUIRE(_dependencyMap[31], "./getServerTime");
212929
212905
  Object.keys(_getServerTime).forEach(function (key) {
212930
212906
  if (key === "default" || key === "__esModule") return;
212931
212907
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212937,7 +212913,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212937
212913
  }
212938
212914
  });
212939
212915
  });
212940
- var _requestReview = _$$_REQUIRE(_dependencyMap[31], "./requestReview");
212916
+ var _requestReview = _$$_REQUIRE(_dependencyMap[32], "./requestReview");
212941
212917
  Object.keys(_requestReview).forEach(function (key) {
212942
212918
  if (key === "default" || key === "__esModule") return;
212943
212919
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -212957,7 +212933,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212957
212933
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
212958
212934
  isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
212959
212935
  };
212960
- },2572,[2573,2543,2537,2538,2534,2533,2532,2535,2530,2536,2562,2560,2561,2541,2575,2539,2544,2542,2576,2548,2546,2549,2550,2551,2552,2553,2577,2545,2563,2578,2554,2555],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
212936
+ },2573,[2574,2543,2537,2538,2534,2533,2532,2535,2530,2536,2563,2561,2562,2541,2576,2539,2544,2542,2577,2548,2546,2549,2550,2551,2552,2553,2554,2578,2545,2564,2579,2555,2556],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
212961
212937
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212962
212938
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212963
212939
  Object.defineProperty(exports, "__esModule", {
@@ -213090,7 +213066,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213090
213066
  });
213091
213067
  }
213092
213068
  isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
213093
- },2573,[1,16,1278,2574,2569,2560,2539],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
213069
+ },2574,[1,16,1278,2575,2570,2561,2539],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
213094
213070
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213095
213071
  Object.defineProperty(exports, "__esModule", {
213096
213072
  value: true
@@ -213104,7 +213080,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213104
213080
  return null;
213105
213081
  }
213106
213082
  }
213107
- },2574,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
213083
+ },2575,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
213108
213084
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213109
213085
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213110
213086
  Object.defineProperty(exports, "__esModule", {
@@ -213355,7 +213331,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213355
213331
  completeProductGrant,
213356
213332
  getSubscriptionInfo
213357
213333
  };
213358
- },2575,[1,16,1278,2539,2514,2569],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
213334
+ },2576,[1,16,1278,2539,2514,2570],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
213359
213335
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213360
213336
  Object.defineProperty(exports, "__esModule", {
213361
213337
  value: true
@@ -213387,7 +213363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213387
213363
  removeItem,
213388
213364
  clearItems
213389
213365
  };
213390
- },2576,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
213366
+ },2577,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
213391
213367
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213392
213368
  Object.defineProperty(exports, "__esModule", {
213393
213369
  value: true
@@ -213423,7 +213399,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213423
213399
  });
213424
213400
  return unregisterCallbacks;
213425
213401
  }
213426
- },2577,[2569,2539],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
213402
+ },2578,[2570,2539],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
213427
213403
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213428
213404
  Object.defineProperty(exports, "__esModule", {
213429
213405
  value: true
@@ -213433,7 +213409,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213433
213409
  function shareWithScheme(params) {
213434
213410
  return (0, _natives.safePostMessage)('shareWithScheme', params);
213435
213411
  }
213436
- },2578,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
213412
+ },2579,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
213437
213413
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213438
213414
  Object.defineProperty(exports, "__esModule", {
213439
213415
  value: true
@@ -213443,7 +213419,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213443
213419
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
213444
213420
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
213445
213421
  }
213446
- },2579,[2566],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
213422
+ },2580,[2567],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
213447
213423
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213448
213424
  "use strict";
213449
213425
 
@@ -213490,12 +213466,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213490
213466
  }
213491
213467
  \`;document.head.appendChild(e);})();
213492
213468
  `,
213493
- m = '"use strict";(()=>{var fe=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 fe,q=()=>Math.random().toString(36).substring(2,15),z=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=q(),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(z(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=q(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError(z(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 ve=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=ve());var at=c("closeView"),it=c("generateHapticFeedback"),dt=c("share"),ct=c("setSecureScreen"),ut=c("setScreenAwakeMode"),pt=c("getNetworkStatus"),mt=c("setIosSwipeGestureEnabled"),lt=c("openURL"),gt=c("openPermissionDialog"),ft=c("getPermission"),vt=c("requestPermission"),ht=v("setClipboardText"),wt=v("getClipboardText"),Et=v("fetchContacts"),bt=v("fetchAlbumPhotos"),At=v("getCurrentLocation"),_t=v("openCamera"),Ct=c("appLogin"),St=c("eventLog"),It=c("getTossShareLink"),Tt=c("setDeviceOrientation"),yt=c("checkoutPayment"),Rt=c("saveBase64Data"),Lt=c("appsInTossSignTossCert"),Pt=c("getGameCenterGameProfile"),xt=c("openGameCenterLeaderboard"),Dt=c("submitGameCenterLeaderBoardScore"),Nt=c("getUserKeyForGame"),Mt=c("grantPromotionReward"),Ft=c("grantPromotionRewardForGame"),Gt=c("getIsTossLoginIntegratedService"),Bt=c("getServerTime"),kt=c("requestReview"),Ot=v("getLocale"),Vt=v("getSchemeUri"),Ht=v("getPlatformOS"),Ut=v("getOperationalEnvironment"),Wt=v("getTossAppVersion"),qt=v("getDeviceId"),zt=v("getGroupId"),$t=D("contactsViral"),jt=D("startUpdateLocation"),Kt=D("onVisibilityChangedByTransparentServiceWeb");var S=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},$=class extends S{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},j=class extends S{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends S{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends S{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=V,X=class extends S{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Y=class extends S{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var he=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`)}},b=new he,ie=()=>Math.random().toString(36).substring(2,15),de=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=ie(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(b.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(b.on(`${e}/reject/${r}`,i=>{o(),a(de(i))})),b.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function A(e){return t=>{let r=ie(),n=[b.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),b.on(`${e}/onError/${r}`,o=>{t.onError(de(o))})];return b.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{b.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>b.getConstant(e)}var or={getItem:d("getStorageItem"),setItem:d("setStorageItem"),removeItem:d("removeStorageItem"),clearItems:d("clearItems")},we=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Z=e=>["*","x","X"].includes(e),Q=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ee=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Z(e)||Z(t))return 0;let[r,n]=Ee(Q(e),Q(t));return r>n?1:r<n?-1:0},ee=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(we);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},te=(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},Ae=(e,t)=>{let r=ee(e),n=ee(t),o=r.pop(),s=n.pop(),a=te(r,n);return a!==0?a:o&&s?te(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:Ae(r,o)>=0}function re(e){return d("processProductGrant")(e)}var sr={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?A("requestOneTimePurchase")({options:{sku:i},onEvent:async l=>{if(l.type==="purchased"){let u=await o.processProductGrant({orderId:l.data.orderId});await re({orderId:l.data.orderId,isProductGranted:u}).catch(a)}else s(l)},onError:l=>{a(l)}}):(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 A("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 re({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")},ar=p("getSafeAreaInsets");var ir=p("getSafeAreaInsets");var dr={loadAppsInTossAdMob:Object.assign(A("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(A("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(d("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var cr={getDeploymentId:p("getDeploymentId")},ur=p("deploymentId"),pr=p("brandDisplayName"),mr=p("brandIcon"),lr=p("brandPrimaryColor");var gr={addAccessoryButton:d("addAccessoryButton"),removeAccessoryButton:d("removeAccessoryButton")},_e=d("requestPermission"),Ce=d("getPermission"),Se=d("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await _e(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Se(e),n}var vr=I({handler:e=>d("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:$}),wr=I({handler:e=>d("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:j}),br=I({handler:e=>d("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),_r=I({handler:e=>d("openCamera")(e),permission:{name:"camera",access:"access"},error:K}),Sr=I({handler:e=>d("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Y}),Tr=I({handler:()=>d("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:X}),Ie=d("getPermission"),Te=d("openPermissionDialog"),ce=e=>A("updateLocationEvent")({...e,onError:t=>{let r=new J;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ce.getPermission=()=>Ie({name:"geolocation",access:"access"});ce.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Rr=Object.assign(A("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Lr=Object.assign(A("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function ye(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 Re(){P=new WeakMap}var Le=d("openURL");function Pe(e){let t=xe(e);return Le(t)}function xe(e){return["http://","https://"].some(r=>e.startsWith(r))?De(e):e}function De(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var ne="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",oe=15e3,N=null;function C(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Ne(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=C();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 l=C();if(l){s(),r(l);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 ${ne}.`))},m=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${oe}ms.`))},oe);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=ne,document.head.appendChild(o)});return N=t,t}var _=Object.assign(A("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Me=d("tossAdEventLog"),Fe=new Set(["1","2"]),ue="\\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(ue)}function Ge(){return{resultType:"FAIL",error:{reason:ue}}}function Be(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 se(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Fe.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function ke(e){return Oe(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:se(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:Ve(e)?{resultType:"SUCCESS",success:se(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Oe(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function Ve(e){return!!(e&&typeof e=="object"&&"ads"in e)}function He(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Ge();try{let n=await Be({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return ke(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(C()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Ne().then(a=>{if(a.isInitialized())return;let m={environment:"live",customAdFetcher:He(),opener:Pe};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=C();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 l={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:me(o,r.callbacks)};i.banner.createSlot(m,l)}catch(a){s(a)}}var qe="16px 20px",ze="20px",$e="auto",je="blackAndWhite",Ke="expanded",h="toss-ads-attach",ae="toss-ads-attach-style",pe="data-toss-ads-attach-banner-wrapper";function Je(e){let t=e.ownerDocument;if(!t||t.getElementById(ae))return;let r=t.createElement("style");r.id=ae,r.textContent=`\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 Xe(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(pe)==="true"&&e.removeChild(t)})}function Ye(e,t,r={}){let{callbacks:n,theme:o=$e,tone:s=je,variant:a=Ke}=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}})},l=me(i,n);try{let u=i;if(u.length===0)throw U();let f=C();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 ye(R,()=>{let g=document.createElement("div");g.style.width="100%",g.style.height="100%",g.style.boxSizing="border-box",g.style.display="flex",g.style.flexDirection="column",g.style.justifyContent="center",g.style.overflow="hidden",g.setAttribute(pe,"true"),a==="card"&&(g.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),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"),g.appendChild(w);let x=!1,W=null;try{Je(R),Xe(R),R.appendChild(g),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:ge=>ge==="1"?qe:ze,callbacks:l};W=f.banner.createSlot(w,O)}catch(O){throw x&&g.parentNode&&g.parentNode.removeChild(g),O}return{destroy(){W?.destroy(),x&&g.parentNode&&g.parentNode.removeChild(g),x=!1}}})}catch(u){return m(u),{destroy(){}}}}function Ze(e){let t=C();t?.banner&&t.banner.destroy(e)}function Qe(){let e=C();e?.banner&&(e.banner.destroyAll(),Re())}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=>{Me({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 Pr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ye,{isSupported:_.isSupported}),destroy:Object.assign(Ze,{isSupported:_.isSupported}),destroyAll:Object.assign(Qe,{isSupported:_.isSupported})},xr=Object.assign(d("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Dr=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 T=/\\.(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(!T.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let l=i.headers.get("ETag"),u=i.headers.get("Last-Modified");l&&s.headers.set("If-None-Match",l),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 le=window.__appsInToss.debugLogger;le.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}:{};le.log("load_complete",{isNavigationDebugSupported:r,...n})});function y(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:y(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:y(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:y(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})=>{T.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(!T.test(n.url))return;let a=await s.clone().blob().then(m=>y(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})=>{T.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function et(){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 tt(){if(k.length===0)return;let e=k;k=[];let t=rt(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 rt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>et(),1e3);setInterval(()=>tt(),3e5);})();\n';
213469
+ m = '"use strict";(()=>{var fe=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 fe,q=()=>Math.random().toString(36).substring(2,15),z=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=q(),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(z(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=q(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError(z(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 ve=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=ve());var at=c("closeView"),it=c("generateHapticFeedback"),dt=c("share"),ct=c("setSecureScreen"),ut=c("setScreenAwakeMode"),pt=c("getNetworkStatus"),mt=c("setIosSwipeGestureEnabled"),lt=c("openURL"),gt=c("openPermissionDialog"),ft=c("getPermission"),vt=c("requestPermission"),ht=v("setClipboardText"),wt=v("getClipboardText"),Et=v("fetchContacts"),bt=v("fetchAlbumPhotos"),At=v("getCurrentLocation"),_t=v("openCamera"),Ct=c("appLogin"),St=c("eventLog"),It=c("getTossShareLink"),Tt=c("setDeviceOrientation"),yt=c("checkoutPayment"),Rt=c("saveBase64Data"),Lt=c("appsInTossSignTossCert"),Pt=c("getGameCenterGameProfile"),xt=c("openGameCenterLeaderboard"),Dt=c("submitGameCenterLeaderBoardScore"),Nt=c("getUserKey"),Mt=c("getUserKeyForGame"),Ft=c("grantPromotionReward"),Gt=c("grantPromotionRewardForGame"),Bt=c("getIsTossLoginIntegratedService"),kt=c("getServerTime"),Ot=c("requestReview"),Vt=v("getLocale"),Ht=v("getSchemeUri"),Ut=v("getPlatformOS"),Wt=v("getOperationalEnvironment"),qt=v("getTossAppVersion"),zt=v("getDeviceId"),$t=v("getGroupId"),jt=D("contactsViral"),Kt=D("startUpdateLocation"),Jt=D("onVisibilityChangedByTransparentServiceWeb");var S=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},$=class extends S{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},j=class extends S{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends S{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends S{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=V,X=class extends S{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Y=class extends S{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var he=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`)}},b=new he,ie=()=>Math.random().toString(36).substring(2,15),de=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=ie(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(b.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(b.on(`${e}/reject/${r}`,i=>{o(),a(de(i))})),b.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function A(e){return t=>{let r=ie(),n=[b.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),b.on(`${e}/onError/${r}`,o=>{t.onError(de(o))})];return b.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{b.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>b.getConstant(e)}var sr={getItem:d("getStorageItem"),setItem:d("setStorageItem"),removeItem:d("removeStorageItem"),clearItems:d("clearItems")},we=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Z=e=>["*","x","X"].includes(e),Q=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ee=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Z(e)||Z(t))return 0;let[r,n]=Ee(Q(e),Q(t));return r>n?1:r<n?-1:0},ee=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(we);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},te=(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},Ae=(e,t)=>{let r=ee(e),n=ee(t),o=r.pop(),s=n.pop(),a=te(r,n);return a!==0?a:o&&s?te(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:Ae(r,o)>=0}function re(e){return d("processProductGrant")(e)}var ar={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?A("requestOneTimePurchase")({options:{sku:i},onEvent:async l=>{if(l.type==="purchased"){let u=await o.processProductGrant({orderId:l.data.orderId});await re({orderId:l.data.orderId,isProductGranted:u}).catch(a)}else s(l)},onError:l=>{a(l)}}):(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 A("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 re({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")},ir=p("getSafeAreaInsets");var dr=p("getSafeAreaInsets");var cr={loadAppsInTossAdMob:Object.assign(A("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(A("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(d("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var ur={getDeploymentId:p("getDeploymentId")},pr=p("deploymentId"),mr=p("brandDisplayName"),lr=p("brandIcon"),gr=p("brandPrimaryColor");var fr={addAccessoryButton:d("addAccessoryButton"),removeAccessoryButton:d("removeAccessoryButton")},_e=d("requestPermission"),Ce=d("getPermission"),Se=d("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await _e(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Se(e),n}var hr=I({handler:e=>d("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:$}),Er=I({handler:e=>d("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:j}),Ar=I({handler:e=>d("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),Cr=I({handler:e=>d("openCamera")(e),permission:{name:"camera",access:"access"},error:K}),Ir=I({handler:e=>d("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Y}),yr=I({handler:()=>d("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:X}),Ie=d("getPermission"),Te=d("openPermissionDialog"),ce=e=>A("updateLocationEvent")({...e,onError:t=>{let r=new J;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ce.getPermission=()=>Ie({name:"geolocation",access:"access"});ce.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Lr=Object.assign(A("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Pr=Object.assign(A("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function ye(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 Re(){P=new WeakMap}var Le=d("openURL");function Pe(e){let t=xe(e);return Le(t)}function xe(e){return["http://","https://"].some(r=>e.startsWith(r))?De(e):e}function De(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var ne="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",oe=15e3,N=null;function C(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Ne(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=C();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 l=C();if(l){s(),r(l);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 ${ne}.`))},m=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${oe}ms.`))},oe);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=ne,document.head.appendChild(o)});return N=t,t}var _=Object.assign(A("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Me=d("tossAdEventLog"),Fe=new Set(["1","2"]),ue="\\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(ue)}function Ge(){return{resultType:"FAIL",error:{reason:ue}}}function Be(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 se(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Fe.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function ke(e){return Oe(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:se(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:Ve(e)?{resultType:"SUCCESS",success:se(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Oe(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function Ve(e){return!!(e&&typeof e=="object"&&"ads"in e)}function He(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Ge();try{let n=await Be({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return ke(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(C()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Ne().then(a=>{if(a.isInitialized())return;let m={environment:"live",customAdFetcher:He(),opener:Pe};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=C();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 l={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:me(o,r.callbacks)};i.banner.createSlot(m,l)}catch(a){s(a)}}var qe="16px 20px",ze="20px",$e="auto",je="blackAndWhite",Ke="expanded",h="toss-ads-attach",ae="toss-ads-attach-style",pe="data-toss-ads-attach-banner-wrapper";function Je(e){let t=e.ownerDocument;if(!t||t.getElementById(ae))return;let r=t.createElement("style");r.id=ae,r.textContent=`\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 Xe(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(pe)==="true"&&e.removeChild(t)})}function Ye(e,t,r={}){let{callbacks:n,theme:o=$e,tone:s=je,variant:a=Ke}=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}})},l=me(i,n);try{let u=i;if(u.length===0)throw U();let f=C();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 ye(R,()=>{let g=document.createElement("div");g.style.width="100%",g.style.height="100%",g.style.boxSizing="border-box",g.style.display="flex",g.style.flexDirection="column",g.style.justifyContent="center",g.style.overflow="hidden",g.setAttribute(pe,"true"),a==="card"&&(g.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),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"),g.appendChild(w);let x=!1,W=null;try{Je(R),Xe(R),R.appendChild(g),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:ge=>ge==="1"?qe:ze,callbacks:l};W=f.banner.createSlot(w,O)}catch(O){throw x&&g.parentNode&&g.parentNode.removeChild(g),O}return{destroy(){W?.destroy(),x&&g.parentNode&&g.parentNode.removeChild(g),x=!1}}})}catch(u){return m(u),{destroy(){}}}}function Ze(e){let t=C();t?.banner&&t.banner.destroy(e)}function Qe(){let e=C();e?.banner&&(e.banner.destroyAll(),Re())}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=>{Me({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 xr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ye,{isSupported:_.isSupported}),destroy:Object.assign(Ze,{isSupported:_.isSupported}),destroyAll:Object.assign(Qe,{isSupported:_.isSupported})},Dr=Object.assign(d("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Nr=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 T=/\\.(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(!T.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let l=i.headers.get("ETag"),u=i.headers.get("Last-Modified");l&&s.headers.set("If-None-Match",l),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 le=window.__appsInToss.debugLogger;le.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}:{};le.log("load_complete",{isNavigationDebugSupported:r,...n})});function y(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:y(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:y(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:y(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})=>{T.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(!T.test(n.url))return;let a=await s.clone().blob().then(m=>y(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})=>{T.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function et(){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 tt(){if(k.length===0)return;let e=k;k=[];let t=rt(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 rt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>et(),1e3);setInterval(()=>tt(),3e5);})();\n';
213494
213470
  0 && (module.exports = {
213495
213471
  afterDocumentLoad,
213496
213472
  beforeDocumentLoad
213497
213473
  });
213498
- },2580,[],"../../user-scripts/dist/index.js");
213474
+ },2581,[],"../../user-scripts/dist/index.js");
213499
213475
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213500
213476
  Object.defineProperty(exports, "__esModule", {
213501
213477
  value: true
@@ -213508,7 +213484,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213508
213484
  return files.get(id);
213509
213485
  }
213510
213486
  context.keys = () => Array.from(files.keys());
213511
- },2581,[2582,2583],"context.ts");
213487
+ },2582,[2583,2584],"context.ts");
213512
213488
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213513
213489
  Object.defineProperty(exports, "__esModule", {
213514
213490
  value: true
@@ -213541,7 +213517,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213541
213517
  })
213542
213518
  });
213543
213519
  }
213544
- },2582,[1274,33,9],"pages/index.tsx");
213520
+ },2583,[1274,33,9],"pages/index.tsx");
213545
213521
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213546
213522
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213547
213523
  Object.defineProperty(exports, "__esModule", {
@@ -213554,6 +213530,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213554
213530
  }
213555
213531
  });
213556
213532
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
213557
- },2583,[1,2582],"pages/_404.tsx");
213533
+ },2584,[1,2583],"pages/_404.tsx");
213558
213534
  __r(187);
213559
213535
  __r(0);