@apps-in-toss/web-framework 0.0.0-dev.1758103372343 → 0.0.0-dev.1758198081085

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.
@@ -153232,7 +153232,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153232
153232
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
153233
153233
  context: _context.context
153234
153234
  });
153235
- },1255,[1256,2681,9],"react-native/src/_app.tsx");
153235
+ },1255,[1256,2683,9],"react-native/src/_app.tsx");
153236
153236
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
153237
153237
  "use strict";
153238
153238
 
@@ -153242,7 +153242,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153242
153242
  var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/asyncToGenerator");
153243
153243
  var _objectDestructuringEmpty = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/objectDestructuringEmpty");
153244
153244
  var _excluded = ["children"],
153245
- _excluded2 = ["type", "local", "onMessage"];
153245
+ _excluded2 = ["canHistoryGoBack"],
153246
+ _excluded3 = ["type", "local", "onMessage"];
153246
153247
  var __create = Object.create;
153247
153248
  var __defProp = Object.defineProperty;
153248
153249
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -153579,7 +153580,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153579
153580
  });
153580
153581
  hasLogged.current = true;
153581
153582
  }
153582
- }, []);
153583
+ }, [logging, withHomeButton]);
153583
153584
  return (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, {
153584
153585
  children: children
153585
153586
  });
@@ -153927,16 +153928,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153927
153928
  }
153928
153929
  handleBackOrClose();
153929
153930
  }, [backEventContext, handleBackOrClose]);
153930
- var handleAndroidBackEvent = (0, import_react9.useCallback)(function () {
153931
- handleBack();
153932
- return true;
153933
- }, [handleBack]);
153934
153931
  (0, import_react9.useEffect)(function () {
153932
+ var handleAndroidBackEvent = function handleAndroidBackEvent() {
153933
+ handleBack();
153934
+ return true;
153935
+ };
153935
153936
  import_react_native16.BackHandler.addEventListener("hardwareBackPress", handleAndroidBackEvent);
153936
153937
  return function () {
153937
153938
  import_react_native16.BackHandler.removeEventListener("hardwareBackPress", handleAndroidBackEvent);
153938
153939
  };
153939
- }, [handleAndroidBackEvent]);
153940
+ }, [handleBack]);
153940
153941
  return (0, import_jsx_runtime4.jsx)(NavigationBarImpressionArea, {
153941
153942
  withHomeButton: withHomeButton,
153942
153943
  children: (0, import_jsx_runtime4.jsx)(import_private2.TopNavigation, {
@@ -154040,9 +154041,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154040
154041
  }
154041
154042
  function AppsInTossScreenContainer(_ref18) {
154042
154043
  var children = _ref18.children;
154043
- var isRN = getAppsInTossGlobals().webViewType == null;
154044
+ var isReactNativeService = getAppsInTossGlobals().webViewType == null;
154044
154045
  return (0, import_jsx_runtime5.jsxs)(import_analytics.Analytics.Screen, {
154045
- children: [isRN && (0, import_jsx_runtime5.jsx)(RNNavigationBar, {}), children]
154046
+ children: [isReactNativeService && (0, import_jsx_runtime5.jsx)(RNNavigationBar, {}), children]
154046
154047
  });
154047
154048
  }
154048
154049
  function getAppName() {
@@ -154056,7 +154057,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154056
154057
  var _AppsInToss = {
154057
154058
  registerApp: registerApp
154058
154059
  };
154059
- var import_native_modules17 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154060
+ var import_native_modules18 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154060
154061
  var appsInTossAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[14], "@apps-in-toss/native-modules/async-bridges"), 1);
154061
154062
  var appsInTossConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[15], "@apps-in-toss/native-modules/constant-bridges"), 1);
154062
154063
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[16], "@apps-in-toss/native-modules/event-bridges"), 1);
@@ -154065,7 +154066,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154065
154066
  var graniteConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[18], "@granite-js/react-native/constant-bridges"), 1);
154066
154067
  var import_react_native37 = _$$_REQUIRE(_dependencyMap[8], "@toss-design-system/react-native");
154067
154068
  var import_private7 = _$$_REQUIRE(_dependencyMap[12], "@toss-design-system/react-native/private");
154068
- var import_react19 = _$$_REQUIRE(_dependencyMap[10], "react");
154069
+ var import_react18 = _$$_REQUIRE(_dependencyMap[10], "react");
154069
154070
  var import_react_native38 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154070
154071
  var import_native_modules12 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154071
154072
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[19], "@granite-js/native/react-native-webview");
@@ -154075,7 +154076,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154075
154076
  var import_react_native24 = _$$_REQUIRE(_dependencyMap[8], "@toss-design-system/react-native");
154076
154077
  var import_react11 = _$$_REQUIRE(_dependencyMap[10], "react");
154077
154078
  var import_react_native25 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154078
- var GAME_PROFILE_WEBVIEW_URL = "https://service.toss.im/game-center/profile";
154079
+ var GAME_PROFILE_WEBVIEW_URL = "servicetoss://game-center/profile";
154079
154080
  var GAME_CENTER_MIN_VERSION = {
154080
154081
  android: "5.221.0",
154081
154082
  ios: "5.221.0"
@@ -154444,16 +154445,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154444
154445
  (0, import_react_native26.closeView)();
154445
154446
  }
154446
154447
  }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
154447
- var handleAndroidBackEvent = (0, import_react12.useCallback)(function () {
154448
- handleGameWebviewClose();
154449
- return true;
154450
- }, [handleGameWebviewClose]);
154451
154448
  (0, import_react12.useEffect)(function () {
154449
+ var handleAndroidBackEvent = function handleAndroidBackEvent() {
154450
+ handleGameWebviewClose();
154451
+ return true;
154452
+ };
154452
154453
  import_react_native28.BackHandler.addEventListener("hardwareBackPress", handleAndroidBackEvent);
154453
154454
  return function () {
154454
154455
  return import_react_native28.BackHandler.removeEventListener("hardwareBackPress", handleAndroidBackEvent);
154455
154456
  };
154456
- }, [handleAndroidBackEvent]);
154457
+ }, [handleGameWebviewClose]);
154457
154458
  return (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, {
154458
154459
  children: [(0, import_jsx_runtime8.jsx)(import_react_native27.PageNavbar, {
154459
154460
  preference: {
@@ -154475,7 +154476,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154475
154476
  children: (0, import_jsx_runtime8.jsx)(import_private5.NavigationRightContent, {
154476
154477
  fixedRightButton: initialAccessoryButton,
154477
154478
  onPressDots: openMoreButtonBottomSheet,
154478
- onPressClose: handleGameWebviewClose,
154479
+ onPressClose: function onPressClose() {
154480
+ logging.closeButtonClick();
154481
+ handleGameWebviewClose();
154482
+ },
154479
154483
  theme: "dark"
154480
154484
  })
154481
154485
  })]
@@ -154520,8 +154524,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154520
154524
  });
154521
154525
  var import_native_modules14 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154522
154526
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[19], "@granite-js/native/react-native-webview");
154523
- var import_react16 = _$$_REQUIRE(_dependencyMap[10], "react");
154524
- var import_react_native33 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154527
+ var import_react15 = _$$_REQUIRE(_dependencyMap[10], "react");
154528
+ var import_react_native32 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154529
+ var import_native_modules13 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154525
154530
  var import_react_native30 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154526
154531
  var import_react_native31 = _$$_REQUIRE(_dependencyMap[8], "@toss-design-system/react-native");
154527
154532
  var import_private6 = _$$_REQUIRE(_dependencyMap[12], "@toss-design-system/react-native/private");
@@ -154530,8 +154535,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154530
154535
  var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154531
154536
  function PartnerWebviewNavigationBar(_ref41) {
154532
154537
  var _parsedNavigationBar$3, _parsedNavigationBar$4;
154533
- var handleBackEvent = _ref41.handleBackEvent,
154534
- handleHomeIconButtonClick = _ref41.handleHomeIconButtonClick;
154538
+ var handleBackEvent = _ref41.handleBackEvent;
154535
154539
  var globals = getAppsInTossGlobals();
154536
154540
  var _useCaptureExitLog5 = useCaptureExitLog(),
154537
154541
  captureExitLog = _useCaptureExitLog5.captureExitLog;
@@ -154546,8 +154550,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154546
154550
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
154547
154551
  var handlePressTitle = (0, import_react14.useCallback)(function () {
154548
154552
  logging.homeButtonClick();
154549
- handleHomeIconButtonClick();
154550
- }, [handleHomeIconButtonClick, logging]);
154553
+ import_native_modules13.appsInTossEvent.emit("homeIconButtonClickEvent", void 0);
154554
+ }, [logging]);
154551
154555
  var handleClose = (0, import_react14.useCallback)(_asyncToGenerator(function* () {
154552
154556
  logging.closeButtonClick();
154553
154557
  var isConfirmed = yield openConfirm({
@@ -154598,168 +154602,60 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154598
154602
  });
154599
154603
  };
154600
154604
  }
154601
- var import_react15 = _$$_REQUIRE(_dependencyMap[10], "react");
154602
- function useWebViewHistory() {
154603
- var _ref44 = (0, import_react15.useState)([]),
154604
- _ref45 = _slicedToArray(_ref44, 2),
154605
- stack = _ref45[0],
154606
- setStack = _ref45[1];
154607
- var _ref46 = (0, import_react15.useState)(-1),
154608
- _ref47 = _slicedToArray(_ref46, 2),
154609
- index = _ref47[0],
154610
- setIndex = _ref47[1];
154611
- var canGoBack = index > 0;
154612
- var canGoForward = index >= 0 && index < stack.length - 1;
154613
- var push = (0, import_react15.useCallback)(function (url) {
154614
- setStack(function (prev) {
154615
- var base = prev.slice(0, index + 1);
154616
- return [].concat(_toConsumableArray(base), [url]);
154617
- });
154618
- setIndex(function (i) {
154619
- return i + 1;
154620
- });
154621
- }, [index]);
154622
- var onNavigationStateChange = (0, import_react15.useCallback)(function (_ref48) {
154623
- var url = _ref48.url;
154624
- if (stack.length === 0) {
154625
- setStack([url]);
154626
- setIndex(0);
154627
- return;
154628
- }
154629
- var cur = stack[index];
154630
- if (url === cur) {
154631
- return;
154632
- }
154633
- var prev = index > 0 ? stack[index - 1] : void 0;
154634
- var next = index < stack.length - 1 ? stack[index + 1] : void 0;
154635
- if (prev && url === prev) {
154636
- setIndex(function (i) {
154637
- return i - 1;
154638
- });
154639
- return;
154640
- }
154641
- if (next && url === next) {
154642
- setIndex(function (i) {
154643
- return i + 1;
154644
- });
154645
- return;
154646
- }
154647
- push(url);
154648
- }, [stack, index, push]);
154649
- return {
154650
- onNavigationStateChange: onNavigationStateChange,
154651
- canGoBack: canGoBack,
154652
- canGoForward: canGoForward
154653
- };
154654
- }
154655
- var import_native_modules13 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154656
- var import_react_native32 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154657
- var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
154658
- var timestampHex = uuid.split("-").join("").slice(0, 12);
154659
- var timestamp = Number.parseInt(timestampHex, 16);
154660
- return new Date(timestamp);
154661
- };
154662
- var getGroupId = function getGroupId(url) {
154663
- try {
154664
- var urlObject = new URL(url);
154665
- return {
154666
- groupId: urlObject.pathname,
154667
- search: urlObject.search.startsWith("?") ? urlObject.search.substring(1) : urlObject.search
154668
- };
154669
- } catch (_unused4) {
154670
- return {
154671
- groupId: "unknown",
154672
- search: "unknown"
154673
- };
154674
- }
154675
- };
154676
- var getReferrer = function getReferrer() {
154677
- try {
154678
- var referrer = new URL((0, import_react_native32.getSchemeUri)());
154679
- return referrer.searchParams.get("referrer");
154680
- } catch (_unused5) {
154681
- return "";
154682
- }
154683
- };
154684
- var trackScreen = function trackScreen(url) {
154685
- var _getGroupId = getGroupId(url),
154686
- groupId = _getGroupId.groupId,
154687
- search = _getGroupId.search;
154688
- var log = {
154689
- log_type: "screen",
154690
- log_name: groupId + "::screen",
154691
- params: {
154692
- search: search,
154693
- referrer: getReferrer(),
154694
- deployment_id: _env.getDeploymentId(),
154695
- deployment_timestamp: extractDateFromUUIDv7(_env.getDeploymentId()).getTime()
154696
- }
154697
- };
154698
- return (0, import_native_modules13.eventLog)(log);
154699
- };
154700
154605
  var import_jsx_runtime11 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154701
- var PartnerWebView = (0, import_react16.forwardRef)(function PartnerWebViewScreen(webViewProps, ref) {
154702
- var webViewRef = (0, import_react16.useRef)(null);
154606
+ var PartnerWebView = (0, import_react15.forwardRef)(function PartnerWebViewScreen(_ref44, ref) {
154607
+ var canHistoryGoBack = _ref44.canHistoryGoBack,
154608
+ webViewProps = _objectWithoutProperties(_ref44, _excluded2);
154609
+ var webViewRef = (0, import_react15.useRef)(null);
154703
154610
  var refs = mergeRefs(ref, webViewRef);
154704
154611
  var _useCaptureExitLog6 = useCaptureExitLog(),
154705
154612
  captureExitLog = _useCaptureExitLog6.captureExitLog;
154706
- var _useWebViewHistory = useWebViewHistory(),
154707
- canGoBack = _useWebViewHistory.canGoBack,
154708
- onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
154709
- var historyBackScript = "\n (function() {\n history.back();\n true;\n })();\n ";
154710
- var historyHomeScript = "\n (function() {\n history.replaceState(null, '', '/');\n true;\n })();\n ";
154711
- var handleBackEvent = (0, import_react16.useCallback)(function () {
154712
- if (canGoBack) {
154613
+ var handleBackEvent = (0, import_react15.useCallback)(function () {
154614
+ if (canHistoryGoBack) {
154713
154615
  var _webViewRef$current;
154714
- (_webViewRef$current = webViewRef.current) == null ? void 0 : _webViewRef$current.injectJavaScript(historyBackScript);
154616
+ (_webViewRef$current = webViewRef.current) == null ? void 0 : _webViewRef$current.goBack();
154715
154617
  } else {
154716
154618
  captureExitLog(Date.now());
154717
154619
  (0, import_native_modules14.closeView)();
154718
154620
  }
154719
- }, [canGoBack, captureExitLog, historyBackScript]);
154720
- var handleAndroidBackEvent = (0, import_react16.useCallback)(function () {
154721
- if (canGoBack) {
154722
- var _webViewRef$current2;
154723
- (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(historyBackScript);
154724
- return true;
154725
- } else {
154726
- return false;
154727
- }
154728
- }, [canGoBack, historyBackScript]);
154729
- (0, import_react16.useEffect)(function () {
154730
- import_react_native33.BackHandler.addEventListener("hardwareBackPress", handleAndroidBackEvent);
154621
+ }, [canHistoryGoBack, captureExitLog]);
154622
+ (0, import_react15.useEffect)(function () {
154623
+ var handleAndroidBackEvent = function handleAndroidBackEvent() {
154624
+ if (canHistoryGoBack) {
154625
+ var _webViewRef$current2;
154626
+ (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.goBack();
154627
+ return true;
154628
+ } else {
154629
+ captureExitLog(Date.now());
154630
+ return false;
154631
+ }
154632
+ };
154633
+ import_react_native32.BackHandler.addEventListener("hardwareBackPress", handleAndroidBackEvent);
154731
154634
  return function () {
154732
- return import_react_native33.BackHandler.removeEventListener("hardwareBackPress", handleAndroidBackEvent);
154733
- };
154734
- }, [handleAndroidBackEvent]);
154735
- var handleHomeIconButtonClick = (0, import_react16.useCallback)(function () {
154736
- var _webViewRef$current3;
154737
- (_webViewRef$current3 = webViewRef.current) == null ? void 0 : _webViewRef$current3.injectJavaScript(historyHomeScript);
154738
- }, [historyHomeScript]);
154739
- var handleNavigationStateChange = (0, import_react16.useCallback)(function (event) {
154740
- if (event.url) {
154741
- trackScreen(event.url);
154742
- }
154743
- onNavigationStateChange(event);
154744
- }, [onNavigationStateChange]);
154635
+ return import_react_native32.BackHandler.removeEventListener("hardwareBackPress", handleAndroidBackEvent);
154636
+ };
154637
+ }, [canHistoryGoBack, captureExitLog]);
154638
+ (0, import_react15.useEffect)(function () {
154639
+ return import_native_modules14.appsInTossEvent.addEventListener("homeIconButtonClickEvent", {
154640
+ onEvent: function onEvent() {
154641
+ var _webViewRef$current3;
154642
+ (_webViewRef$current3 = webViewRef.current) == null ? void 0 : _webViewRef$current3.injectJavaScript("\n (function() {\n window.history.replaceState(null, '', '/');\n true;\n })();\n ");
154643
+ }
154644
+ });
154645
+ }, [webViewRef]);
154745
154646
  return (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, {
154746
154647
  children: [(0, import_jsx_runtime11.jsx)(PartnerWebviewNavigationBar, {
154747
- handleBackEvent: handleBackEvent,
154748
- handleHomeIconButtonClick: handleHomeIconButtonClick
154648
+ handleBackEvent: handleBackEvent
154749
154649
  }), (0, import_jsx_runtime11.jsx)(import_react_native_webview2.WebView, Object.assign({
154750
154650
  ref: refs
154751
154651
  }, webViewProps, {
154752
154652
  style: {
154753
154653
  flex: 1
154754
- },
154755
- onNavigationStateChange: function onNavigationStateChange(event) {
154756
- webViewProps == null ? void 0 : webViewProps.onNavigationStateChange == null ? void 0 : webViewProps.onNavigationStateChange(event);
154757
- handleNavigationStateChange(event);
154758
154654
  }
154759
154655
  }))]
154760
154656
  });
154761
154657
  });
154762
- var import_react17 = _$$_REQUIRE(_dependencyMap[10], "react");
154658
+ var import_react16 = _$$_REQUIRE(_dependencyMap[10], "react");
154763
154659
  function serializeError(error) {
154764
154660
  return JSON.stringify(error, function (_, value) {
154765
154661
  if (value instanceof Error) {
@@ -154773,24 +154669,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154773
154669
  return value;
154774
154670
  });
154775
154671
  }
154776
- function methodHandler(_ref49) {
154777
- var args = _ref49.args,
154778
- eventId = _ref49.eventId,
154779
- functionName = _ref49.functionName,
154780
- handlerMap = _ref49.handlerMap,
154781
- injectJavaScript = _ref49.injectJavaScript;
154672
+ function methodHandler(_ref45) {
154673
+ var args = _ref45.args,
154674
+ eventId = _ref45.eventId,
154675
+ functionName = _ref45.functionName,
154676
+ handlerMap = _ref45.handlerMap,
154677
+ injectJavaScript = _ref45.injectJavaScript;
154782
154678
  var func = handlerMap[functionName];
154783
154679
  if (!func) {
154784
154680
  console.error(functionName + " is not a function");
154785
154681
  return;
154786
154682
  }
154787
154683
  var wrappedFunc = function () {
154788
- var _ref50 = _asyncToGenerator(function* () {
154684
+ var _ref46 = _asyncToGenerator(function* () {
154789
154685
  var result = yield func.apply(void 0, arguments);
154790
154686
  return result;
154791
154687
  });
154792
154688
  return function wrappedFunc() {
154793
- return _ref50.apply(this, arguments);
154689
+ return _ref46.apply(this, arguments);
154794
154690
  };
154795
154691
  }();
154796
154692
  wrappedFunc.apply(void 0, _toConsumableArray(args)).then(function (result) {
@@ -154801,18 +154697,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154801
154697
  });
154802
154698
  }
154803
154699
  var globalEventListenerMap = new Map();
154804
- function useBridgeHandler(_ref51) {
154805
- var onMessage = _ref51.onMessage,
154806
- constantHandlerMap = _ref51.constantHandlerMap,
154807
- asyncHandlerMap = _ref51.asyncHandlerMap,
154808
- eventListenerMap = _ref51.eventListenerMap,
154809
- originalInjectedJavaScript = _ref51.injectedJavaScript;
154810
- var ref = (0, import_react17.useRef)(null);
154811
- var injectedJavaScript = (0, import_react17.useMemo)(function () {
154812
- return ["window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref52) {
154813
- var _ref53 = _slicedToArray(_ref52, 2),
154814
- key = _ref53[0],
154815
- value = _ref53[1];
154700
+ function useBridgeHandler(_ref47) {
154701
+ var onMessage = _ref47.onMessage,
154702
+ constantHandlerMap = _ref47.constantHandlerMap,
154703
+ asyncHandlerMap = _ref47.asyncHandlerMap,
154704
+ eventListenerMap = _ref47.eventListenerMap,
154705
+ originalInjectedJavaScript = _ref47.injectedJavaScript;
154706
+ var ref = (0, import_react16.useRef)(null);
154707
+ var injectedJavaScript = (0, import_react16.useMemo)(function () {
154708
+ return ["window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref48) {
154709
+ var _ref49 = _slicedToArray(_ref48, 2),
154710
+ key = _ref49[0],
154711
+ value = _ref49[1];
154816
154712
  acc[key] = typeof value === "function" ? value() : value;
154817
154713
  return acc;
154818
154714
  }, {})) + ";", originalInjectedJavaScript, "true"].join("\n");
@@ -154830,8 +154726,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154830
154726
  (_ref$current2 = ref.current) == null ? void 0 : _ref$current2.injectJavaScript("\n window.__GRANITE_NATIVE_EMITTER.emit('" + functionName + "/onError/" + eventId + "', " + serializedError + ");\n ");
154831
154727
  };
154832
154728
  };
154833
- var $onMessage = (0, import_react17.useCallback)(function () {
154834
- var _ref54 = _asyncToGenerator(function* (e) {
154729
+ var $onMessage = (0, import_react16.useCallback)(function () {
154730
+ var _ref50 = _asyncToGenerator(function* (e) {
154835
154731
  onMessage == null ? void 0 : onMessage(e);
154836
154732
  var data = JSON.parse(e.nativeEvent.data);
154837
154733
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -154876,7 +154772,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154876
154772
  }
154877
154773
  });
154878
154774
  return function (_x3) {
154879
- return _ref54.apply(this, arguments);
154775
+ return _ref50.apply(this, arguments);
154880
154776
  };
154881
154777
  }(), [onMessage]);
154882
154778
  return {
@@ -154886,7 +154782,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154886
154782
  };
154887
154783
  }
154888
154784
  var import_native_modules15 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154889
- var import_react_native34 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154785
+ var import_react_native33 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154890
154786
  var FontA11yCategory = {
154891
154787
  Large: "Large",
154892
154788
  xLarge: "xLarge",
@@ -155014,36 +154910,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155014
154910
  function mapFontScaleToCategory(fontScale, platform) {
155015
154911
  return platform === "ios" ? mapIOSFontScaleToCategory(fontScale) : mapAndroidFontScaleToCategory(fontScale);
155016
154912
  }
155017
- function _useCreateUserAgent(_ref55) {
155018
- var batteryModePreference = _ref55.batteryModePreference,
155019
- colorPreference = _ref55.colorPreference,
155020
- locale = _ref55.locale,
155021
- navbarPreference = _ref55.navbarPreference,
155022
- pureSafeArea = _ref55.pureSafeArea,
155023
- safeArea = _ref55.safeArea,
155024
- safeAreaBottomTransparency = _ref55.safeAreaBottomTransparency;
154913
+ function _useCreateUserAgent(_ref51) {
154914
+ var batteryModePreference = _ref51.batteryModePreference,
154915
+ colorPreference = _ref51.colorPreference,
154916
+ locale = _ref51.locale,
154917
+ navbarPreference = _ref51.navbarPreference,
154918
+ pureSafeArea = _ref51.pureSafeArea,
154919
+ safeArea = _ref51.safeArea,
154920
+ safeAreaBottomTransparency = _ref51.safeAreaBottomTransparency;
155025
154921
  var platform = (0, import_native_modules15.getPlatformOS)();
155026
154922
  var appVersion = (0, import_native_modules15.getTossAppVersion)();
155027
- var _ref56 = (0, import_react_native34.useWindowDimensions)(),
155028
- fontScale = _ref56.fontScale;
154923
+ var _ref52 = (0, import_react_native33.useWindowDimensions)(),
154924
+ fontScale = _ref52.fontScale;
155029
154925
  var platformString = platform === "ios" ? "iPhone" : "Android";
155030
154926
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
155031
154927
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
155032
154928
  return ["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(" ");
155033
154929
  }
155034
154930
  var import_native_modules16 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
155035
- var import_react_native35 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
155036
- var import_react18 = _$$_REQUIRE(_dependencyMap[10], "react");
155037
- function _useGeolocation(_ref57) {
155038
- var accuracy = _ref57.accuracy,
155039
- distanceInterval = _ref57.distanceInterval,
155040
- timeInterval = _ref57.timeInterval;
155041
- var isVisible = (0, import_react_native35.useVisibility)();
155042
- var _ref58 = (0, import_react18.useState)(null),
155043
- _ref59 = _slicedToArray(_ref58, 2),
155044
- location = _ref59[0],
155045
- setLocation = _ref59[1];
155046
- (0, import_react18.useEffect)(function () {
154931
+ var import_react_native34 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154932
+ var import_react17 = _$$_REQUIRE(_dependencyMap[10], "react");
154933
+ function _useGeolocation(_ref53) {
154934
+ var accuracy = _ref53.accuracy,
154935
+ distanceInterval = _ref53.distanceInterval,
154936
+ timeInterval = _ref53.timeInterval;
154937
+ var isVisible = (0, import_react_native34.useVisibility)();
154938
+ var _ref54 = (0, import_react17.useState)(null),
154939
+ _ref55 = _slicedToArray(_ref54, 2),
154940
+ location = _ref55[0],
154941
+ setLocation = _ref55[1];
154942
+ (0, import_react17.useEffect)(function () {
155047
154943
  if (!isVisible) {
155048
154944
  return;
155049
154945
  }
@@ -155059,6 +154955,51 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155059
154955
  }, [accuracy, distanceInterval, timeInterval, isVisible]);
155060
154956
  return location;
155061
154957
  }
154958
+ var import_native_modules17 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154959
+ var import_react_native35 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154960
+ var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
154961
+ var timestampHex = uuid.split("-").join("").slice(0, 12);
154962
+ var timestamp = Number.parseInt(timestampHex, 16);
154963
+ return new Date(timestamp);
154964
+ };
154965
+ var getGroupId = function getGroupId(url) {
154966
+ try {
154967
+ var urlObject = new URL(url);
154968
+ return {
154969
+ groupId: urlObject.pathname,
154970
+ search: urlObject.search.startsWith("?") ? urlObject.search.substring(1) : urlObject.search
154971
+ };
154972
+ } catch (_unused4) {
154973
+ return {
154974
+ groupId: "unknown",
154975
+ search: "unknown"
154976
+ };
154977
+ }
154978
+ };
154979
+ var getReferrer = function getReferrer() {
154980
+ try {
154981
+ var referrer = new URL((0, import_react_native35.getSchemeUri)());
154982
+ return referrer.searchParams.get("referrer");
154983
+ } catch (_unused5) {
154984
+ return "";
154985
+ }
154986
+ };
154987
+ var trackScreen = function trackScreen(url) {
154988
+ var _getGroupId = getGroupId(url),
154989
+ groupId = _getGroupId.groupId,
154990
+ search = _getGroupId.search;
154991
+ var log = {
154992
+ log_type: "screen",
154993
+ log_name: groupId + "::screen",
154994
+ params: {
154995
+ search: search,
154996
+ referrer: getReferrer(),
154997
+ deployment_id: _env.getDeploymentId(),
154998
+ deployment_timestamp: extractDateFromUUIDv7(_env.getDeploymentId()).getTime()
154999
+ }
155000
+ };
155001
+ return (0, import_native_modules17.eventLog)(log);
155002
+ };
155062
155003
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
155063
155004
  var operationalEnvironment = appsInTossConstantBridges.getOperationalEnvironment();
155064
155005
  var TYPES = ["partner", "external", "game"];
@@ -155071,10 +155012,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155071
155012
  var baseUrl = new URL(url);
155072
155013
  var schemeUrl = new URL((0, import_react_native36.getSchemeUri)());
155073
155014
  baseUrl.pathname = schemeUrl.pathname;
155074
- for (var _ref60 of schemeUrl.searchParams.entries()) {
155075
- var _ref61 = _slicedToArray(_ref60, 2);
155076
- var key = _ref61[0];
155077
- var value = _ref61[1];
155015
+ for (var _ref56 of schemeUrl.searchParams.entries()) {
155016
+ var _ref57 = _slicedToArray(_ref56, 2);
155017
+ var key = _ref57[0];
155018
+ var value = _ref57[1];
155078
155019
  baseUrl.searchParams.set(key, value);
155079
155020
  }
155080
155021
  return baseUrl;
@@ -155084,7 +155025,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155084
155025
  var devUrl = "http://" + local.host + ":" + local.port;
155085
155026
  return mergeSchemeQueryParamsInto(devUrl).toString();
155086
155027
  }
155087
- var _import_native_module = import_native_modules17.AppsInTossModule.getWebBundleURL({}),
155028
+ var _import_native_module = import_native_modules18.AppsInTossModule.getWebBundleURL({}),
155088
155029
  rawUrl = _import_native_module.url;
155089
155030
  var url = mergeSchemeQueryParamsInto(rawUrl);
155090
155031
  var deploymentId = _env.getDeploymentId();
@@ -155093,16 +155034,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155093
155034
  }
155094
155035
  return url.toString();
155095
155036
  }
155096
- function _WebView(_ref62) {
155097
- var type = _ref62.type,
155098
- local = _ref62.local,
155099
- onMessage = _ref62.onMessage,
155100
- props = _objectWithoutProperties(_ref62, _excluded2);
155037
+ function _WebView(_ref58) {
155038
+ var type = _ref58.type,
155039
+ local = _ref58.local,
155040
+ onMessage = _ref58.onMessage,
155041
+ props = _objectWithoutProperties(_ref58, _excluded3);
155101
155042
  if (!TYPES.includes(type)) {
155102
155043
  throw new Error("Invalid WebView type: '" + type + "'");
155103
155044
  }
155104
155045
  var graniteEvent = (0, import_react_native36.useGraniteEvent)();
155105
- var uri = (0, import_react19.useMemo)(function () {
155046
+ var uri = (0, import_react18.useMemo)(function () {
155106
155047
  return getWebViewUri(local);
155107
155048
  }, [local]);
155108
155049
  var top = (0, import_private7.useSafeAreaTop)();
@@ -155110,66 +155051,66 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155110
155051
  var global2 = getAppsInTossGlobals();
155111
155052
  var topNavigation = (0, import_private7.useTopNavigation)();
155112
155053
  var disableTextSelectionCSS = "\n (function() {\n const style = document.createElement('style');\n style.textContent = '*:not(input):not(textarea) { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; }';\n document.head.appendChild(style);\n })();\n ";
155113
- var _ref63 = (0, import_react19.useState)(props.allowsBackForwardNavigationGestures),
155114
- _ref64 = _slicedToArray(_ref63, 2),
155115
- allowsBackForwardNavigationGestures = _ref64[0],
155116
- setAllowsBackForwardNavigationGestures = _ref64[1];
155054
+ var _ref59 = (0, import_react18.useState)(props.allowsBackForwardNavigationGestures),
155055
+ _ref60 = _slicedToArray(_ref59, 2),
155056
+ allowsBackForwardNavigationGestures = _ref60[0],
155057
+ setAllowsBackForwardNavigationGestures = _ref60[1];
155117
155058
  var handler = useBridgeHandler({
155118
155059
  onMessage: onMessage,
155119
155060
  injectedJavaScript: [disableTextSelectionCSS].join("\n"),
155120
155061
  eventListenerMap: Object.assign({}, appsInTossEventBridges, {
155121
- navigationAccessoryEvent: function navigationAccessoryEvent(_ref65) {
155122
- var onEvent = _ref65.onEvent,
155123
- onError = _ref65.onError;
155062
+ navigationAccessoryEvent: function navigationAccessoryEvent(_ref61) {
155063
+ var onEvent = _ref61.onEvent,
155064
+ onError = _ref61.onError;
155124
155065
  return import_react_native37.tdsEvent.addEventListener("navigationAccessoryEvent", {
155125
155066
  onEvent: onEvent,
155126
155067
  onError: onError
155127
155068
  });
155128
155069
  },
155129
- backEvent: function backEvent(_ref66) {
155130
- var onEvent = _ref66.onEvent,
155131
- onError = _ref66.onError,
155132
- options = _ref66.options;
155070
+ backEvent: function backEvent(_ref62) {
155071
+ var onEvent = _ref62.onEvent,
155072
+ onError = _ref62.onError,
155073
+ options = _ref62.options;
155133
155074
  return graniteEvent.addEventListener("backEvent", {
155134
155075
  onEvent: onEvent,
155135
155076
  onError: onError,
155136
155077
  options: options
155137
155078
  });
155138
155079
  },
155139
- entryMessageExited: function entryMessageExited(_ref67) {
155140
- var onEvent = _ref67.onEvent,
155141
- onError = _ref67.onError;
155142
- return import_native_modules17.appsInTossEvent.addEventListener("entryMessageExited", {
155080
+ entryMessageExited: function entryMessageExited(_ref63) {
155081
+ var onEvent = _ref63.onEvent,
155082
+ onError = _ref63.onError;
155083
+ return import_native_modules18.appsInTossEvent.addEventListener("entryMessageExited", {
155143
155084
  onEvent: onEvent,
155144
155085
  onError: onError
155145
155086
  });
155146
155087
  },
155147
- updateLocationEvent: function updateLocationEvent(_ref68) {
155148
- var onEvent = _ref68.onEvent,
155149
- onError = _ref68.onError,
155150
- options = _ref68.options;
155151
- return import_native_modules17.appsInTossEvent.addEventListener("updateLocationEvent", {
155088
+ updateLocationEvent: function updateLocationEvent(_ref64) {
155089
+ var onEvent = _ref64.onEvent,
155090
+ onError = _ref64.onError,
155091
+ options = _ref64.options;
155092
+ return import_native_modules18.appsInTossEvent.addEventListener("updateLocationEvent", {
155152
155093
  onEvent: onEvent,
155153
155094
  onError: onError,
155154
155095
  options: options
155155
155096
  });
155156
155097
  },
155157
- appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref69) {
155158
- var onEvent = _ref69.onEvent,
155159
- onError = _ref69.onError,
155160
- options = _ref69.options;
155161
- return import_native_modules17.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
155098
+ appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref65) {
155099
+ var onEvent = _ref65.onEvent,
155100
+ onError = _ref65.onError,
155101
+ options = _ref65.options;
155102
+ return import_native_modules18.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
155162
155103
  onEvent: onEvent,
155163
155104
  onError: onError,
155164
155105
  options: options
155165
155106
  });
155166
155107
  },
155167
- loadAdMobInterstitialAd: import_native_modules17.GoogleAdMob.loadAdMobInterstitialAd,
155168
- showAdMobInterstitialAd: import_native_modules17.GoogleAdMob.showAdMobInterstitialAd,
155169
- loadAdMobRewardedAd: import_native_modules17.GoogleAdMob.loadAdMobRewardedAd,
155170
- showAdMobRewardedAd: import_native_modules17.GoogleAdMob.showAdMobRewardedAd,
155171
- loadAppsInTossAdMob: import_native_modules17.GoogleAdMob.loadAppsInTossAdMob,
155172
- showAppsInTossAdMob: import_native_modules17.GoogleAdMob.showAppsInTossAdMob
155108
+ loadAdMobInterstitialAd: import_native_modules18.GoogleAdMob.loadAdMobInterstitialAd,
155109
+ showAdMobInterstitialAd: import_native_modules18.GoogleAdMob.showAdMobInterstitialAd,
155110
+ loadAdMobRewardedAd: import_native_modules18.GoogleAdMob.loadAdMobRewardedAd,
155111
+ showAdMobRewardedAd: import_native_modules18.GoogleAdMob.showAdMobRewardedAd,
155112
+ loadAppsInTossAdMob: import_native_modules18.GoogleAdMob.loadAppsInTossAdMob,
155113
+ showAppsInTossAdMob: import_native_modules18.GoogleAdMob.showAppsInTossAdMob
155173
155114
  }),
155174
155115
  constantHandlerMap: Object.assign({}, graniteConstantBridges, appsInTossConstantBridges, {
155175
155116
  getSafeAreaTop: function getSafeAreaTop() {
@@ -155178,20 +155119,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155178
155119
  getSafeAreaBottom: function getSafeAreaBottom() {
155179
155120
  return bottom;
155180
155121
  }
155181
- }, Object.fromEntries(Object.entries(global2).map(function (_ref70) {
155182
- var _ref71 = _slicedToArray(_ref70, 2),
155183
- key = _ref71[0],
155184
- value = _ref71[1];
155122
+ }, Object.fromEntries(Object.entries(global2).map(function (_ref66) {
155123
+ var _ref67 = _slicedToArray(_ref66, 2),
155124
+ key = _ref67[0],
155125
+ value = _ref67[1];
155185
155126
  return [key, function () {
155186
155127
  return value;
155187
155128
  }];
155188
155129
  })), {
155189
- loadAdMobInterstitialAd_isSupported: import_native_modules17.GoogleAdMob.loadAdMobInterstitialAd.isSupported,
155190
- showAdMobInterstitialAd_isSupported: import_native_modules17.GoogleAdMob.showAdMobInterstitialAd.isSupported,
155191
- loadAdMobRewardedAd_isSupported: import_native_modules17.GoogleAdMob.loadAdMobRewardedAd.isSupported,
155192
- showAdMobRewardedAd_isSupported: import_native_modules17.GoogleAdMob.showAdMobRewardedAd.isSupported,
155193
- loadAppsInTossAdMob_isSupported: import_native_modules17.GoogleAdMob.loadAppsInTossAdMob.isSupported,
155194
- showAppsInTossAdMob_isSupported: import_native_modules17.GoogleAdMob.showAppsInTossAdMob.isSupported,
155130
+ loadAdMobInterstitialAd_isSupported: import_native_modules18.GoogleAdMob.loadAdMobInterstitialAd.isSupported,
155131
+ showAdMobInterstitialAd_isSupported: import_native_modules18.GoogleAdMob.showAdMobInterstitialAd.isSupported,
155132
+ loadAdMobRewardedAd_isSupported: import_native_modules18.GoogleAdMob.loadAdMobRewardedAd.isSupported,
155133
+ showAdMobRewardedAd_isSupported: import_native_modules18.GoogleAdMob.showAdMobRewardedAd.isSupported,
155134
+ loadAppsInTossAdMob_isSupported: import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported,
155135
+ showAppsInTossAdMob_isSupported: import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported,
155195
155136
  getDeploymentId: _env.getDeploymentId
155196
155137
  }),
155197
155138
  asyncHandlerMap: Object.assign({}, graniteAsyncBridges, appsInTossAsyncBridges, {
@@ -155226,15 +155167,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155226
155167
  fetchContacts: appsInTossAsyncBridges.fetchContacts,
155227
155168
  getCurrentLocation: appsInTossAsyncBridges.getCurrentLocation,
155228
155169
  openCamera: appsInTossAsyncBridges.openCamera,
155229
- getStorageItem: import_native_modules17.Storage.getItem,
155230
- setStorageItem: import_native_modules17.Storage.setItem,
155231
- removeStorageItem: import_native_modules17.Storage.removeItem,
155232
- clearItems: import_native_modules17.Storage.clearItems,
155233
- iapCreateOneTimePurchaseOrder: import_native_modules17.IAP.createOneTimePurchaseOrder,
155234
- iapGetProductItemList: import_native_modules17.IAP.getProductItemList
155170
+ getStorageItem: import_native_modules18.Storage.getItem,
155171
+ setStorageItem: import_native_modules18.Storage.setItem,
155172
+ removeStorageItem: import_native_modules18.Storage.removeItem,
155173
+ clearItems: import_native_modules18.Storage.clearItems,
155174
+ iapCreateOneTimePurchaseOrder: import_native_modules18.IAP.createOneTimePurchaseOrder,
155175
+ iapGetProductItemList: import_native_modules18.IAP.getProductItemList
155235
155176
  })
155236
155177
  });
155237
- var headerPropForExternalWebView = (0, import_react19.useMemo)(function () {
155178
+ var headerPropForExternalWebView = (0, import_react18.useMemo)(function () {
155238
155179
  var _parsedNavigationBar$5;
155239
155180
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
155240
155181
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
@@ -155252,6 +155193,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155252
155193
  }, [global2.navigationBar, type]);
155253
155194
  var BaseWebView = WEBVIEW_TYPES[type];
155254
155195
  var webViewDebuggingEnabled = operationalEnvironment === "sandbox";
155196
+ var _ref68 = (0, import_react18.useState)(false),
155197
+ _ref69 = _slicedToArray(_ref68, 2),
155198
+ canHistoryGoBack = _ref69[0],
155199
+ setCanHistoryGoBack = _ref69[1];
155200
+ var handleNavigationStateChange = (0, import_react18.useCallback)(function (event) {
155201
+ if (event.url) {
155202
+ trackScreen(event.url);
155203
+ }
155204
+ setCanHistoryGoBack(event.canGoBack);
155205
+ }, [setCanHistoryGoBack]);
155255
155206
  var userAgent = _useCreateUserAgent({
155256
155207
  colorPreference: "light"
155257
155208
  });
@@ -155269,6 +155220,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155269
155220
  webviewDebuggingEnabled: webViewDebuggingEnabled,
155270
155221
  thirdPartyCookiesEnabled: true,
155271
155222
  onMessage: handler.onMessage,
155223
+ canHistoryGoBack: canHistoryGoBack,
155224
+ onNavigationStateChange: handleNavigationStateChange,
155272
155225
  injectedJavaScript: handler.injectedJavaScript,
155273
155226
  injectedJavaScriptBeforeContentLoaded: handler.injectedJavaScript,
155274
155227
  decelerationRate: import_react_native38.Platform.OS === "ios" ? 1 : void 0,
@@ -155295,7 +155248,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155295
155248
  useGeolocation: _useGeolocation,
155296
155249
  useTopNavigation: useTopNavigation
155297
155250
  }, _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/analytics"), _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules"), _$$_REQUIRE(_dependencyMap[20], "@apps-in-toss/types")));
155298
- },1256,[32,207,61,16,1257,1258,1259,2,1446,18,6,9,2621,2610,2622,2655,2662,2679,2680,2589,1260],"../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.cjs");
155251
+ },1256,[32,207,61,16,1257,1258,1259,2,1446,18,6,9,2621,2610,2622,2655,2662,2681,2682,2589,1260],"../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.cjs");
155299
155252
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
155300
155253
  function _objectDestructuringEmpty(obj) {
155301
155254
  if (obj == null) throw new TypeError("Cannot destructure undefined");
@@ -156097,21 +156050,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156097
156050
  }
156098
156051
  });
156099
156052
  module.exports = __toCommonJS(index_exports);
156100
- var import_react_native7 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156053
+ var import_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156101
156054
  var import_react_native = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156102
- var EntryMessageExitedEvent = function (_import_react_native$) {
156103
- function EntryMessageExitedEvent() {
156055
+ var BackButtonClickHandleEvent = function (_import_react_native$) {
156056
+ function BackButtonClickHandleEvent() {
156104
156057
  var _this;
156105
- _classCallCheck(this, EntryMessageExitedEvent);
156058
+ _classCallCheck(this, BackButtonClickHandleEvent);
156106
156059
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
156107
156060
  args[_key] = arguments[_key];
156108
156061
  }
156109
- _this = _callSuper(this, EntryMessageExitedEvent, [].concat(args));
156110
- _this.name = "entryMessageExited";
156062
+ _this = _callSuper(this, BackButtonClickHandleEvent, [].concat(args));
156063
+ _this.name = "backButtonClickEvent";
156111
156064
  return _this;
156112
156065
  }
156113
- _inherits(EntryMessageExitedEvent, _import_react_native$);
156114
- return _createClass(EntryMessageExitedEvent, [{
156066
+ _inherits(BackButtonClickHandleEvent, _import_react_native$);
156067
+ return _createClass(BackButtonClickHandleEvent, [{
156115
156068
  key: "remove",
156116
156069
  value: function remove() {}
156117
156070
  }, {
@@ -156119,10 +156072,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156119
156072
  value: function listener(_) {}
156120
156073
  }]);
156121
156074
  }(import_react_native.GraniteEventDefinition);
156075
+ var import_react_native2 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156076
+ var EntryMessageExitedEvent = function (_import_react_native) {
156077
+ function EntryMessageExitedEvent() {
156078
+ var _this2;
156079
+ _classCallCheck(this, EntryMessageExitedEvent);
156080
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
156081
+ args[_key2] = arguments[_key2];
156082
+ }
156083
+ _this2 = _callSuper(this, EntryMessageExitedEvent, [].concat(args));
156084
+ _this2.name = "entryMessageExited";
156085
+ return _this2;
156086
+ }
156087
+ _inherits(EntryMessageExitedEvent, _import_react_native);
156088
+ return _createClass(EntryMessageExitedEvent, [{
156089
+ key: "remove",
156090
+ value: function remove() {}
156091
+ }, {
156092
+ key: "listener",
156093
+ value: function listener(_) {}
156094
+ }]);
156095
+ }(import_react_native2.GraniteEventDefinition);
156096
+ var import_react_native3 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156097
+ var HomeIconButtonClickHandleEvent = function (_import_react_native2) {
156098
+ function HomeIconButtonClickHandleEvent() {
156099
+ var _this3;
156100
+ _classCallCheck(this, HomeIconButtonClickHandleEvent);
156101
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
156102
+ args[_key3] = arguments[_key3];
156103
+ }
156104
+ _this3 = _callSuper(this, HomeIconButtonClickHandleEvent, [].concat(args));
156105
+ _this3.name = "homeIconButtonClickEvent";
156106
+ return _this3;
156107
+ }
156108
+ _inherits(HomeIconButtonClickHandleEvent, _import_react_native2);
156109
+ return _createClass(HomeIconButtonClickHandleEvent, [{
156110
+ key: "remove",
156111
+ value: function remove() {}
156112
+ }, {
156113
+ key: "listener",
156114
+ value: function listener(_) {}
156115
+ }]);
156116
+ }(import_react_native3.GraniteEventDefinition);
156122
156117
  var import_types = _$$_REQUIRE(_dependencyMap[9], "@apps-in-toss/types");
156123
- var import_react_native4 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156124
- var import_react_native2 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156125
- var Module = import_react_native2.TurboModuleRegistry.getEnforcing("AppsInTossModule");
156118
+ var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156119
+ var import_react_native4 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156120
+ var Module = import_react_native4.TurboModuleRegistry.getEnforcing("AppsInTossModule");
156126
156121
  var AppsInTossModuleInstance = Module;
156127
156122
  var _AppsInTossModule = Module;
156128
156123
  function openPermissionDialog(permission) {
@@ -156147,24 +156142,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156147
156142
  });
156148
156143
  return _requestPermission.apply(this, arguments);
156149
156144
  }
156150
- var import_react_native3 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156151
- var nativeEventEmitter = new import_react_native3.NativeEventEmitter(AppsInTossModuleInstance);
156152
- var UpdateLocationEvent = function (_import_react_native) {
156145
+ var import_react_native5 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156146
+ var nativeEventEmitter = new import_react_native5.NativeEventEmitter(AppsInTossModuleInstance);
156147
+ var UpdateLocationEvent = function (_import_react_native3) {
156153
156148
  function UpdateLocationEvent() {
156154
- var _this2;
156149
+ var _this4;
156155
156150
  _classCallCheck(this, UpdateLocationEvent);
156156
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
156157
- args[_key2] = arguments[_key2];
156151
+ for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
156152
+ args[_key4] = arguments[_key4];
156158
156153
  }
156159
- _this2 = _callSuper(this, UpdateLocationEvent, [].concat(args));
156160
- _this2.name = "updateLocationEvent";
156161
- _this2.subscriptionCount = 0;
156162
- _this2.ref = {
156154
+ _this4 = _callSuper(this, UpdateLocationEvent, [].concat(args));
156155
+ _this4.name = "updateLocationEvent";
156156
+ _this4.subscriptionCount = 0;
156157
+ _this4.ref = {
156163
156158
  remove: function remove() {}
156164
156159
  };
156165
- return _this2;
156160
+ return _this4;
156166
156161
  }
156167
- _inherits(UpdateLocationEvent, _import_react_native);
156162
+ _inherits(UpdateLocationEvent, _import_react_native3);
156168
156163
  return _createClass(UpdateLocationEvent, [{
156169
156164
  key: "remove",
156170
156165
  value: function remove() {
@@ -156176,7 +156171,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156176
156171
  }, {
156177
156172
  key: "listener",
156178
156173
  value: function listener(options, onEvent, onError) {
156179
- var _this3 = this;
156174
+ var _this5 = this;
156180
156175
  requestPermission({
156181
156176
  name: "geolocation",
156182
156177
  access: "access"
@@ -156187,25 +156182,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156187
156182
  }
156188
156183
  void AppsInTossModuleInstance.startUpdateLocation(options).catch(onError);
156189
156184
  var subscription = nativeEventEmitter.addListener("updateLocation", onEvent);
156190
- _this3.ref = {
156185
+ _this5.ref = {
156191
156186
  remove: function remove() {
156192
156187
  return subscription == null ? void 0 : subscription.remove();
156193
156188
  }
156194
156189
  };
156195
- _this3.subscriptionCount++;
156190
+ _this5.subscriptionCount++;
156196
156191
  }).catch(onError);
156197
156192
  }
156198
156193
  }]);
156199
- }(import_react_native4.GraniteEventDefinition);
156200
- var import_react_native5 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156194
+ }(import_react_native6.GraniteEventDefinition);
156195
+ var import_react_native7 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156201
156196
  function generateUUID(placeholder) {
156202
156197
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
156203
156198
  }
156204
156199
  var INTERNAL__callbacks = new Map();
156205
156200
  function invokeAppBridgeCallback(id) {
156206
156201
  var callback = INTERNAL__callbacks.get(id);
156207
- for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
156208
- args[_key3 - 1] = arguments[_key3];
156202
+ for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {
156203
+ args[_key5 - 1] = arguments[_key5];
156209
156204
  }
156210
156205
  callback == null ? void 0 : callback.call.apply(callback, [null].concat(args));
156211
156206
  return Boolean(callback);
@@ -156267,16 +156262,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156267
156262
  getCallbackIds: getCallbackIds
156268
156263
  };
156269
156264
  var UNSAFE__nativeEventEmitter = nativeEventEmitter;
156270
- var AppBridgeCallbackEvent = function (_import_react_native2) {
156265
+ var AppBridgeCallbackEvent = function (_import_react_native4) {
156271
156266
  function _AppBridgeCallbackEvent() {
156272
- var _this4;
156267
+ var _this6;
156273
156268
  _classCallCheck(this, _AppBridgeCallbackEvent);
156274
- _this4 = _callSuper(this, _AppBridgeCallbackEvent);
156275
- _this4.name = "appBridgeCallbackEvent";
156276
- _this4.registerAppBridgeCallbackEventListener();
156277
- return _this4;
156269
+ _this6 = _callSuper(this, _AppBridgeCallbackEvent);
156270
+ _this6.name = "appBridgeCallbackEvent";
156271
+ _this6.registerAppBridgeCallbackEventListener();
156272
+ return _this6;
156278
156273
  }
156279
- _inherits(_AppBridgeCallbackEvent, _import_react_native2);
156274
+ _inherits(_AppBridgeCallbackEvent, _import_react_native4);
156280
156275
  return _createClass(_AppBridgeCallbackEvent, [{
156281
156276
  key: "remove",
156282
156277
  value: function remove() {}
@@ -156301,21 +156296,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156301
156296
  }
156302
156297
  }
156303
156298
  }]);
156304
- }(import_react_native5.GraniteEventDefinition);
156305
- var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156306
- var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native3) {
156299
+ }(import_react_native7.GraniteEventDefinition);
156300
+ var import_react_native8 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156301
+ var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native5) {
156307
156302
  function VisibilityChangedByTransparentServiceWebEvent() {
156308
- var _this5;
156303
+ var _this7;
156309
156304
  _classCallCheck(this, VisibilityChangedByTransparentServiceWebEvent);
156310
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
156311
- args[_key4] = arguments[_key4];
156305
+ for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
156306
+ args[_key6] = arguments[_key6];
156312
156307
  }
156313
- _this5 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
156314
- _this5.name = "onVisibilityChangedByTransparentServiceWeb";
156315
- _this5.subscription = null;
156316
- return _this5;
156308
+ _this7 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
156309
+ _this7.name = "onVisibilityChangedByTransparentServiceWeb";
156310
+ _this7.subscription = null;
156311
+ return _this7;
156317
156312
  }
156318
- _inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native3);
156313
+ _inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native5);
156319
156314
  return _createClass(VisibilityChangedByTransparentServiceWebEvent, [{
156320
156315
  key: "remove",
156321
156316
  value: function remove() {
@@ -156326,9 +156321,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156326
156321
  }, {
156327
156322
  key: "listener",
156328
156323
  value: function listener(options, onEvent, onError) {
156329
- var _this6 = this;
156324
+ var _this8 = this;
156330
156325
  var subscription = nativeEventEmitter.addListener("visibilityChangedByTransparentServiceWeb", function (params) {
156331
- if (_this6.isVisibilityChangedByTransparentServiceWebResult(params)) {
156326
+ if (_this8.isVisibilityChangedByTransparentServiceWebResult(params)) {
156332
156327
  if (params.callbackId === options.callbackId) {
156333
156328
  onEvent(params.isVisible);
156334
156329
  }
@@ -156344,13 +156339,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156344
156339
  return typeof params === "object" && typeof params.callbackId === "string" && typeof params.isVisible === "boolean";
156345
156340
  }
156346
156341
  }]);
156347
- }(import_react_native6.GraniteEventDefinition);
156348
- var _appsInTossEvent = new import_react_native7.GraniteEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
156342
+ }(import_react_native8.GraniteEventDefinition);
156343
+ var _appsInTossEvent = new import_react_native9.GraniteEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new HomeIconButtonClickHandleEvent(), new BackButtonClickHandleEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
156349
156344
  var import_es_toolkit = _$$_REQUIRE(_dependencyMap[11], "es-toolkit");
156350
156345
  function _getOperationalEnvironment() {
156351
156346
  return _AppsInTossModule.operationalEnvironment;
156352
156347
  }
156353
- var import_react_native8 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156348
+ var import_react_native10 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156354
156349
  var SEMVER_REGEX = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\\-]+(?:\.[\da-z\\-]+)*))?(?:\+[\da-z\\-]+(?:\.[\da-z\\-]+)*)?)?)?$/i;
156355
156350
  var isWildcard = function isWildcard(val) {
156356
156351
  return ["*", "x", "X"].includes(val);
@@ -156433,7 +156428,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156433
156428
  return true;
156434
156429
  }
156435
156430
  var currentVersion = _AppsInTossModule.tossAppVersion;
156436
- var isIOS = import_react_native8.Platform.OS === "ios";
156431
+ var isIOS = import_react_native10.Platform.OS === "ios";
156437
156432
  var minVersion = isIOS ? minVersions.ios : minVersions.android;
156438
156433
  if (minVersion === void 0) {
156439
156434
  return false;
@@ -156979,7 +156974,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156979
156974
  removeItem: removeItem,
156980
156975
  clearItems: clearItems
156981
156976
  };
156982
- var import_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156977
+ var import_react_native11 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156983
156978
  var GAME_CENTER_MIN_VERSION = {
156984
156979
  android: "5.221.0",
156985
156980
  ios: "5.221.0"
@@ -157000,7 +156995,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157000
156995
  var url = new URL("servicetoss://game-center/leaderboard?_navbar=hide");
157001
156996
  url.searchParams.set("appName", appName);
157002
156997
  url.searchParams.set("referrer", "appsintoss." + appName);
157003
- return (0, import_react_native9.openURL)(url.toString());
156998
+ return (0, import_react_native11.openURL)(url.toString());
157004
156999
  });
157005
157000
  return _openGameCenterLeaderboard2.apply(this, arguments);
157006
157001
  }
@@ -157078,8 +157073,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157078
157073
  function _onVisibilityChangedByTransparentServiceWeb(eventParams) {
157079
157074
  return _appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
157080
157075
  }
157081
- var import_react_native10 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157082
- var _BedrockModule = import_react_native10.NativeModules.BedrockModule;
157076
+ var import_react_native12 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157077
+ var _BedrockModule = import_react_native12.NativeModules.BedrockModule;
157083
157078
  function _closeView() {
157084
157079
  return _closeView2.apply(this, arguments);
157085
157080
  }
@@ -157089,11 +157084,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157089
157084
  });
157090
157085
  return _closeView2.apply(this, arguments);
157091
157086
  }
157092
- var import_react_native11 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157087
+ var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157093
157088
  function _getLocale() {
157094
157089
  var _BedrockModule$Device, _BedrockModule$Device2;
157095
157090
  var locale = (_BedrockModule$Device = _BedrockModule == null ? void 0 : (_BedrockModule$Device2 = _BedrockModule.DeviceInfo) == null ? void 0 : _BedrockModule$Device2.locale) != null ? _BedrockModule$Device : "ko-KR";
157096
- if (import_react_native11.Platform.OS === "android") {
157091
+ if (import_react_native13.Platform.OS === "android") {
157097
157092
  return replaceUnderbarToHypen(locale);
157098
157093
  }
157099
157094
  return locale;
@@ -157143,18 +157138,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157143
157138
  });
157144
157139
  return _setIosSwipeGestureEnabled2.apply(this, arguments);
157145
157140
  }
157146
- var import_react_native12 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157141
+ var import_react_native14 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157147
157142
  function openURL2(url) {
157148
- return import_react_native12.Linking.openURL(url);
157143
+ return import_react_native14.Linking.openURL(url);
157149
157144
  }
157150
- var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157145
+ var import_react_native15 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157151
157146
  function _getPlatformOS() {
157152
- return import_react_native13.Platform.OS;
157147
+ return import_react_native15.Platform.OS;
157153
157148
  }
157154
- var import_react_native14 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157155
- var _BedrockCoreModule = import_react_native14.NativeModules.BedrockCoreModule;
157156
- var import_react_native15 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157157
- var TossCoreModule = import_react_native15.NativeModules.TossCoreModule;
157149
+ var import_react_native16 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157150
+ var _BedrockCoreModule = import_react_native16.NativeModules.BedrockCoreModule;
157151
+ var import_react_native17 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157152
+ var TossCoreModule = import_react_native17.NativeModules.TossCoreModule;
157158
157153
  function tossCoreEventLog(params) {
157159
157154
  var supported = _isMinVersionSupported({
157160
157155
  ios: "5.210.0",
@@ -229182,7 +229177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229182
229177
  }
229183
229178
  });
229184
229179
  });
229185
- },2662,[2663,2678,2677],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
229180
+ },2662,[2663,2680,2679],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
229186
229181
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229187
229182
  Object.defineProperty(exports, "__esModule", {
229188
229183
  value: true
@@ -229195,19 +229190,56 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229195
229190
  }
229196
229191
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
229197
229192
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
229198
- },2663,[2664,2672],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
229193
+ },2663,[2664,2674],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
229199
229194
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229200
229195
  Object.defineProperty(exports, "__esModule", {
229201
229196
  value: true
229202
229197
  });
229203
229198
  exports.appsInTossEvent = void 0;
229204
229199
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "@granite-js/react-native");
229205
- var _EntryMessageExitedEvent = _$$_REQUIRE(_dependencyMap[1], "./event-plugins/EntryMessageExitedEvent");
229206
- var _UpdateLocationEvent = _$$_REQUIRE(_dependencyMap[2], "./event-plugins/UpdateLocationEvent");
229207
- var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/AppBridgeCallbackEvent");
229208
- var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[4], "./internal/VisibilityChangedByTransparentServiceWebEvent");
229209
- var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _EntryMessageExitedEvent.EntryMessageExitedEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
229210
- },2664,[2,2665,2666,2668,2671],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
229200
+ var _BackButtonClickHandleEvent = _$$_REQUIRE(_dependencyMap[1], "./event-plugins/BackButtonClickHandleEvent");
229201
+ var _EntryMessageExitedEvent = _$$_REQUIRE(_dependencyMap[2], "./event-plugins/EntryMessageExitedEvent");
229202
+ var _HomeIconButtonClickHandleEvent = _$$_REQUIRE(_dependencyMap[3], "./event-plugins/HomeIconButtonClickHandleEvent");
229203
+ var _UpdateLocationEvent = _$$_REQUIRE(_dependencyMap[4], "./event-plugins/UpdateLocationEvent");
229204
+ var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[5], "./internal/AppBridgeCallbackEvent");
229205
+ var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[6], "./internal/VisibilityChangedByTransparentServiceWebEvent");
229206
+ var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _EntryMessageExitedEvent.EntryMessageExitedEvent(), new _HomeIconButtonClickHandleEvent.HomeIconButtonClickHandleEvent(), new _BackButtonClickHandleEvent.BackButtonClickHandleEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
229207
+ },2664,[2,2665,2666,2667,2668,2670,2673],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
229208
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229209
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229210
+ Object.defineProperty(exports, "__esModule", {
229211
+ value: true
229212
+ });
229213
+ exports.BackButtonClickHandleEvent = void 0;
229214
+ var _classCallCheck2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/classCallCheck"));
229215
+ var _createClass2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/createClass"));
229216
+ var _possibleConstructorReturn2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/possibleConstructorReturn"));
229217
+ var _getPrototypeOf2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/getPrototypeOf"));
229218
+ var _inherits2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/inherits"));
229219
+ var _reactNative = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
229220
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
229221
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
229222
+ var BackButtonClickHandleEvent = exports.BackButtonClickHandleEvent = function (_GraniteEventDefiniti) {
229223
+ function BackButtonClickHandleEvent() {
229224
+ var _this;
229225
+ (0, _classCallCheck2.default)(this, BackButtonClickHandleEvent);
229226
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
229227
+ args[_key] = arguments[_key];
229228
+ }
229229
+ _this = _callSuper(this, BackButtonClickHandleEvent, [].concat(args));
229230
+ _this.name = 'backButtonClickEvent';
229231
+ return _this;
229232
+ }
229233
+ (0, _inherits2.default)(BackButtonClickHandleEvent, _GraniteEventDefiniti);
229234
+ return (0, _createClass2.default)(BackButtonClickHandleEvent, [{
229235
+ key: "remove",
229236
+ value: function remove() {}
229237
+ }, {
229238
+ key: "listener",
229239
+ value: function listener(_) {}
229240
+ }]);
229241
+ }(_reactNative.GraniteEventDefinition);
229242
+ },2665,[1,24,25,43,46,47,2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/BackButtonClickHandleEvent.ts");
229211
229243
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229212
229244
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229213
229245
  Object.defineProperty(exports, "__esModule", {
@@ -229242,7 +229274,42 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229242
229274
  value: function listener(_) {}
229243
229275
  }]);
229244
229276
  }(_reactNative.GraniteEventDefinition);
229245
- },2665,[1,24,25,43,46,47,2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/EntryMessageExitedEvent.ts");
229277
+ },2666,[1,24,25,43,46,47,2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/EntryMessageExitedEvent.ts");
229278
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229279
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229280
+ Object.defineProperty(exports, "__esModule", {
229281
+ value: true
229282
+ });
229283
+ exports.HomeIconButtonClickHandleEvent = void 0;
229284
+ var _classCallCheck2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/classCallCheck"));
229285
+ var _createClass2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/createClass"));
229286
+ var _possibleConstructorReturn2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/possibleConstructorReturn"));
229287
+ var _getPrototypeOf2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/getPrototypeOf"));
229288
+ var _inherits2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/inherits"));
229289
+ var _reactNative = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
229290
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
229291
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
229292
+ var HomeIconButtonClickHandleEvent = exports.HomeIconButtonClickHandleEvent = function (_GraniteEventDefiniti) {
229293
+ function HomeIconButtonClickHandleEvent() {
229294
+ var _this;
229295
+ (0, _classCallCheck2.default)(this, HomeIconButtonClickHandleEvent);
229296
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
229297
+ args[_key] = arguments[_key];
229298
+ }
229299
+ _this = _callSuper(this, HomeIconButtonClickHandleEvent, [].concat(args));
229300
+ _this.name = 'homeIconButtonClickEvent';
229301
+ return _this;
229302
+ }
229303
+ (0, _inherits2.default)(HomeIconButtonClickHandleEvent, _GraniteEventDefiniti);
229304
+ return (0, _createClass2.default)(HomeIconButtonClickHandleEvent, [{
229305
+ key: "remove",
229306
+ value: function remove() {}
229307
+ }, {
229308
+ key: "listener",
229309
+ value: function listener(_) {}
229310
+ }]);
229311
+ }(_reactNative.GraniteEventDefinition);
229312
+ },2667,[1,24,25,43,46,47,2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/HomeIconButtonClickHandleEvent.ts");
229246
229313
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229247
229314
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229248
229315
  Object.defineProperty(exports, "__esModule", {
@@ -229309,7 +229376,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229309
229376
  }
229310
229377
  }]);
229311
229378
  }(_reactNative.GraniteEventDefinition);
229312
- },2666,[1,24,25,43,46,47,1260,2,2633,2634,2667],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
229379
+ },2668,[1,24,25,43,46,47,1260,2,2633,2634,2669],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
229313
229380
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229314
229381
  Object.defineProperty(exports, "__esModule", {
229315
229382
  value: true
@@ -229318,7 +229385,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229318
229385
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "react-native");
229319
229386
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[1], "../native-modules/AppsInTossModule");
229320
229387
  var nativeEventEmitter = exports.nativeEventEmitter = new _reactNative.NativeEventEmitter(_AppsInTossModule.AppsInTossModuleInstance);
229321
- },2667,[18,2633],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
229388
+ },2669,[18,2633],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
229322
229389
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229323
229390
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229324
229391
  Object.defineProperty(exports, "__esModule", {
@@ -229371,7 +229438,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229371
229438
  }
229372
229439
  }]);
229373
229440
  }(_reactNative.GraniteEventDefinition);
229374
- },2668,[1,24,25,43,46,47,2,2669,2667],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
229441
+ },2670,[1,24,25,43,46,47,2,2671,2669],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
229375
229442
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229376
229443
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229377
229444
  Object.defineProperty(exports, "__esModule", {
@@ -229448,7 +229515,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229448
229515
  unregisterCallback: unregisterCallback,
229449
229516
  getCallbackIds: getCallbackIds
229450
229517
  };
229451
- },2669,[1,61,207,2670,2633],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
229518
+ },2671,[1,61,207,2672,2633],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
229452
229519
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229453
229520
  Object.defineProperty(exports, "__esModule", {
229454
229521
  value: true
@@ -229457,7 +229524,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229457
229524
  function generateUUID(placeholder) {
229458
229525
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
229459
229526
  }
229460
- },2670,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
229527
+ },2672,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
229461
229528
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229462
229529
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229463
229530
  Object.defineProperty(exports, "__esModule", {
@@ -229515,7 +229582,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229515
229582
  }
229516
229583
  }]);
229517
229584
  }(_reactNative.GraniteEventDefinition);
229518
- },2671,[1,24,25,43,46,47,2,2667],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
229585
+ },2673,[1,24,25,43,46,47,2,2669],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
229519
229586
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229520
229587
  Object.defineProperty(exports, "__esModule", {
229521
229588
  value: true
@@ -229807,7 +229874,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229807
229874
  loadAppsInTossAdMob: _googleAdMobV.loadAppsInTossAdMob,
229808
229875
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob
229809
229876
  };
229810
- },2672,[2673,2674,2649,2633,2643,2644,2640,2639,2638,2641,2636,2642,2661,2659,2660,2647,2675,2645,2650,2648,2676,2653,2651,2654,2677],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
229877
+ },2674,[2675,2676,2649,2633,2643,2644,2640,2639,2638,2641,2636,2642,2661,2659,2660,2647,2677,2645,2650,2648,2678,2653,2651,2654,2679],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
229811
229878
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229812
229879
  Object.defineProperty(exports, "__esModule", {
229813
229880
  value: true
@@ -229968,7 +230035,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229968
230035
  loadAdMobRewardedAd.isSupported = createIsSupported();
229969
230036
  showAdMobInterstitialAd.isSupported = createIsSupported();
229970
230037
  showAdMobRewardedAd.isSupported = createIsSupported();
229971
- },2673,[1261,2669,2659,2645],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
230038
+ },2675,[1261,2671,2659,2645],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
229972
230039
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229973
230040
  Object.defineProperty(exports, "__esModule", {
229974
230041
  value: true
@@ -230064,7 +230131,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230064
230131
  }
230065
230132
  loadAppsInTossAdMob.isSupported = createIsSupported();
230066
230133
  showAppsInTossAdMob.isSupported = createIsSupported();
230067
- },2674,[1261,2669,2659,2645],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
230134
+ },2676,[1261,2671,2659,2645],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
230068
230135
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230069
230136
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
230070
230137
  Object.defineProperty(exports, "__esModule", {
@@ -230110,7 +230177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230110
230177
  createOneTimePurchaseOrder: createOneTimePurchaseOrder,
230111
230178
  getProductItemList: getProductItemList
230112
230179
  };
230113
- },2675,[1,16,2633,2645],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
230180
+ },2677,[1,16,2633,2645],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
230114
230181
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230115
230182
  Object.defineProperty(exports, "__esModule", {
230116
230183
  value: true
@@ -230142,7 +230209,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230142
230209
  removeItem: removeItem,
230143
230210
  clearItems: clearItems
230144
230211
  };
230145
- },2676,[2633],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
230212
+ },2678,[2633],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
230146
230213
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230147
230214
  Object.defineProperty(exports, "__esModule", {
230148
230215
  value: true
@@ -230178,7 +230245,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230178
230245
  });
230179
230246
  return unregisterCallbacks;
230180
230247
  }
230181
- },2677,[2669,2645],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
230248
+ },2679,[2671,2645],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
230182
230249
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230183
230250
  Object.defineProperty(exports, "__esModule", {
230184
230251
  value: true
@@ -230188,7 +230255,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230188
230255
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
230189
230256
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
230190
230257
  }
230191
- },2678,[2664],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
230258
+ },2680,[2664],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
230192
230259
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230193
230260
  "use strict";
230194
230261
 
@@ -230253,7 +230320,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230253
230320
  closeView: _closeView,
230254
230321
  openURL: _openURL
230255
230322
  });
230256
- },2679,[16,18],"../../.yarn/__virtual__/@granite-js-react-native-virtual-3bd9b9ab6b/0/cache/@granite-js-react-native-npm-0.1.22-f7a1f119e2-ae5bd16544.zip/node_modules/@granite-js/react-native/dist/async-bridges.js");
230323
+ },2681,[16,18],"../../.yarn/__virtual__/@granite-js-react-native-virtual-3bd9b9ab6b/0/cache/@granite-js-react-native-npm-0.1.22-f7a1f119e2-ae5bd16544.zip/node_modules/@granite-js/react-native/dist/async-bridges.js");
230257
230324
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230258
230325
  "use strict";
230259
230326
 
@@ -230303,7 +230370,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230303
230370
  0 && (module.exports = {
230304
230371
  getSchemeUri: _getSchemeUri
230305
230372
  });
230306
- },2680,[18],"../../.yarn/__virtual__/@granite-js-react-native-virtual-3bd9b9ab6b/0/cache/@granite-js-react-native-npm-0.1.22-f7a1f119e2-ae5bd16544.zip/node_modules/@granite-js/react-native/dist/constant-bridges.js");
230373
+ },2682,[18],"../../.yarn/__virtual__/@granite-js-react-native-virtual-3bd9b9ab6b/0/cache/@granite-js-react-native-npm-0.1.22-f7a1f119e2-ae5bd16544.zip/node_modules/@granite-js/react-native/dist/constant-bridges.js");
230307
230374
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230308
230375
  Object.defineProperty(exports, "__esModule", {
230309
230376
  value: true
@@ -230318,7 +230385,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230318
230385
  context.keys = function () {
230319
230386
  return Array.from(files.keys());
230320
230387
  };
230321
- },2681,[2682,2683],"react-native/context.ts");
230388
+ },2683,[2684,2685],"react-native/context.ts");
230322
230389
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230323
230390
  Object.defineProperty(exports, "__esModule", {
230324
230391
  value: true
@@ -230351,7 +230418,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230351
230418
  })
230352
230419
  });
230353
230420
  }
230354
- },2682,[1256,18,9],"react-native/pages/index.tsx");
230421
+ },2684,[1256,18,9],"react-native/pages/index.tsx");
230355
230422
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230356
230423
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
230357
230424
  Object.defineProperty(exports, "__esModule", {
@@ -230364,6 +230431,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230364
230431
  }
230365
230432
  });
230366
230433
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
230367
- },2683,[1,2682],"react-native/pages/_404.tsx");
230434
+ },2685,[1,2684],"react-native/pages/_404.tsx");
230368
230435
  __r(133);
230369
230436
  __r(0);