@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.
@@ -153053,7 +153053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153053
153053
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
153054
153054
  context: _context.context
153055
153055
  });
153056
- },1255,[1256,2680,9],"react-native/src/_app.tsx");
153056
+ },1255,[1256,2682,9],"react-native/src/_app.tsx");
153057
153057
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
153058
153058
  "use strict";
153059
153059
 
@@ -153063,7 +153063,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153063
153063
  var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/asyncToGenerator");
153064
153064
  var _objectDestructuringEmpty = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/objectDestructuringEmpty");
153065
153065
  var _excluded = ["children"],
153066
- _excluded2 = ["type", "local", "onMessage"];
153066
+ _excluded2 = ["canHistoryGoBack"],
153067
+ _excluded3 = ["type", "local", "onMessage"];
153067
153068
  var __create = Object.create;
153068
153069
  var __defProp = Object.defineProperty;
153069
153070
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -153400,7 +153401,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153400
153401
  });
153401
153402
  hasLogged.current = true;
153402
153403
  }
153403
- }, []);
153404
+ }, [logging, withHomeButton]);
153404
153405
  return (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, {
153405
153406
  children: children
153406
153407
  });
@@ -153748,16 +153749,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153748
153749
  }
153749
153750
  handleBackOrClose();
153750
153751
  }, [backEventContext, handleBackOrClose]);
153751
- var handleAndroidBackEvent = (0, import_react9.useCallback)(function () {
153752
- handleBack();
153753
- return true;
153754
- }, [handleBack]);
153755
153752
  (0, import_react9.useEffect)(function () {
153753
+ var handleAndroidBackEvent = function handleAndroidBackEvent() {
153754
+ handleBack();
153755
+ return true;
153756
+ };
153756
153757
  import_react_native16.BackHandler.addEventListener("hardwareBackPress", handleAndroidBackEvent);
153757
153758
  return function () {
153758
153759
  import_react_native16.BackHandler.removeEventListener("hardwareBackPress", handleAndroidBackEvent);
153759
153760
  };
153760
- }, [handleAndroidBackEvent]);
153761
+ }, [handleBack]);
153761
153762
  return (0, import_jsx_runtime4.jsx)(NavigationBarImpressionArea, {
153762
153763
  withHomeButton: withHomeButton,
153763
153764
  children: (0, import_jsx_runtime4.jsx)(import_private2.TopNavigation, {
@@ -153861,9 +153862,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153861
153862
  }
153862
153863
  function AppsInTossScreenContainer(_ref18) {
153863
153864
  var children = _ref18.children;
153864
- var isRN = getAppsInTossGlobals().webViewType == null;
153865
+ var isReactNativeService = getAppsInTossGlobals().webViewType == null;
153865
153866
  return (0, import_jsx_runtime5.jsxs)(import_analytics.Analytics.Screen, {
153866
- children: [isRN && (0, import_jsx_runtime5.jsx)(RNNavigationBar, {}), children]
153867
+ children: [isReactNativeService && (0, import_jsx_runtime5.jsx)(RNNavigationBar, {}), children]
153867
153868
  });
153868
153869
  }
153869
153870
  function getAppName() {
@@ -153877,7 +153878,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153877
153878
  var _AppsInToss = {
153878
153879
  registerApp: registerApp
153879
153880
  };
153880
- var import_native_modules17 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153881
+ var import_native_modules18 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153881
153882
  var appsInTossAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[14], "@apps-in-toss/native-modules/async-bridges"), 1);
153882
153883
  var appsInTossConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[15], "@apps-in-toss/native-modules/constant-bridges"), 1);
153883
153884
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[16], "@apps-in-toss/native-modules/event-bridges"), 1);
@@ -153886,7 +153887,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153886
153887
  var graniteConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[18], "@granite-js/react-native/constant-bridges"), 1);
153887
153888
  var import_react_native37 = _$$_REQUIRE(_dependencyMap[8], "@toss-design-system/react-native");
153888
153889
  var import_private7 = _$$_REQUIRE(_dependencyMap[12], "@toss-design-system/react-native/private");
153889
- var import_react19 = _$$_REQUIRE(_dependencyMap[10], "react");
153890
+ var import_react18 = _$$_REQUIRE(_dependencyMap[10], "react");
153890
153891
  var import_react_native38 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153891
153892
  var import_native_modules12 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153892
153893
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[19], "@granite-js/native/react-native-webview");
@@ -153896,7 +153897,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153896
153897
  var import_react_native24 = _$$_REQUIRE(_dependencyMap[8], "@toss-design-system/react-native");
153897
153898
  var import_react11 = _$$_REQUIRE(_dependencyMap[10], "react");
153898
153899
  var import_react_native25 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153899
- var GAME_PROFILE_WEBVIEW_URL = "https://service.toss.im/game-center/profile";
153900
+ var GAME_PROFILE_WEBVIEW_URL = "servicetoss://game-center/profile";
153900
153901
  var GAME_CENTER_MIN_VERSION = {
153901
153902
  android: "5.221.0",
153902
153903
  ios: "5.221.0"
@@ -154265,16 +154266,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154265
154266
  (0, import_react_native26.closeView)();
154266
154267
  }
154267
154268
  }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
154268
- var handleAndroidBackEvent = (0, import_react12.useCallback)(function () {
154269
- handleGameWebviewClose();
154270
- return true;
154271
- }, [handleGameWebviewClose]);
154272
154269
  (0, import_react12.useEffect)(function () {
154270
+ var handleAndroidBackEvent = function handleAndroidBackEvent() {
154271
+ handleGameWebviewClose();
154272
+ return true;
154273
+ };
154273
154274
  import_react_native28.BackHandler.addEventListener("hardwareBackPress", handleAndroidBackEvent);
154274
154275
  return function () {
154275
154276
  return import_react_native28.BackHandler.removeEventListener("hardwareBackPress", handleAndroidBackEvent);
154276
154277
  };
154277
- }, [handleAndroidBackEvent]);
154278
+ }, [handleGameWebviewClose]);
154278
154279
  return (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, {
154279
154280
  children: [(0, import_jsx_runtime8.jsx)(import_react_native27.PageNavbar, {
154280
154281
  preference: {
@@ -154296,7 +154297,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154296
154297
  children: (0, import_jsx_runtime8.jsx)(import_private5.NavigationRightContent, {
154297
154298
  fixedRightButton: initialAccessoryButton,
154298
154299
  onPressDots: openMoreButtonBottomSheet,
154299
- onPressClose: handleGameWebviewClose,
154300
+ onPressClose: function onPressClose() {
154301
+ logging.closeButtonClick();
154302
+ handleGameWebviewClose();
154303
+ },
154300
154304
  theme: "dark"
154301
154305
  })
154302
154306
  })]
@@ -154341,8 +154345,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154341
154345
  });
154342
154346
  var import_native_modules14 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154343
154347
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[19], "@granite-js/native/react-native-webview");
154344
- var import_react16 = _$$_REQUIRE(_dependencyMap[10], "react");
154345
- var import_react_native33 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154348
+ var import_react15 = _$$_REQUIRE(_dependencyMap[10], "react");
154349
+ var import_react_native32 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154350
+ var import_native_modules13 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154346
154351
  var import_react_native30 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154347
154352
  var import_react_native31 = _$$_REQUIRE(_dependencyMap[8], "@toss-design-system/react-native");
154348
154353
  var import_private6 = _$$_REQUIRE(_dependencyMap[12], "@toss-design-system/react-native/private");
@@ -154351,8 +154356,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154351
154356
  var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154352
154357
  function PartnerWebviewNavigationBar(_ref41) {
154353
154358
  var _parsedNavigationBar$3, _parsedNavigationBar$4;
154354
- var handleBackEvent = _ref41.handleBackEvent,
154355
- handleHomeIconButtonClick = _ref41.handleHomeIconButtonClick;
154359
+ var handleBackEvent = _ref41.handleBackEvent;
154356
154360
  var globals = getAppsInTossGlobals();
154357
154361
  var _useCaptureExitLog5 = useCaptureExitLog(),
154358
154362
  captureExitLog = _useCaptureExitLog5.captureExitLog;
@@ -154367,8 +154371,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154367
154371
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
154368
154372
  var handlePressTitle = (0, import_react14.useCallback)(function () {
154369
154373
  logging.homeButtonClick();
154370
- handleHomeIconButtonClick();
154371
- }, [handleHomeIconButtonClick, logging]);
154374
+ import_native_modules13.appsInTossEvent.emit("homeIconButtonClickEvent", void 0);
154375
+ }, [logging]);
154372
154376
  var handleClose = (0, import_react14.useCallback)(_asyncToGenerator(function* () {
154373
154377
  logging.closeButtonClick();
154374
154378
  var isConfirmed = yield openConfirm({
@@ -154419,168 +154423,60 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154419
154423
  });
154420
154424
  };
154421
154425
  }
154422
- var import_react15 = _$$_REQUIRE(_dependencyMap[10], "react");
154423
- function useWebViewHistory() {
154424
- var _ref44 = (0, import_react15.useState)([]),
154425
- _ref45 = _slicedToArray(_ref44, 2),
154426
- stack = _ref45[0],
154427
- setStack = _ref45[1];
154428
- var _ref46 = (0, import_react15.useState)(-1),
154429
- _ref47 = _slicedToArray(_ref46, 2),
154430
- index = _ref47[0],
154431
- setIndex = _ref47[1];
154432
- var canGoBack = index > 0;
154433
- var canGoForward = index >= 0 && index < stack.length - 1;
154434
- var push = (0, import_react15.useCallback)(function (url) {
154435
- setStack(function (prev) {
154436
- var base = prev.slice(0, index + 1);
154437
- return [].concat(_toConsumableArray(base), [url]);
154438
- });
154439
- setIndex(function (i) {
154440
- return i + 1;
154441
- });
154442
- }, [index]);
154443
- var onNavigationStateChange = (0, import_react15.useCallback)(function (_ref48) {
154444
- var url = _ref48.url;
154445
- if (stack.length === 0) {
154446
- setStack([url]);
154447
- setIndex(0);
154448
- return;
154449
- }
154450
- var cur = stack[index];
154451
- if (url === cur) {
154452
- return;
154453
- }
154454
- var prev = index > 0 ? stack[index - 1] : void 0;
154455
- var next = index < stack.length - 1 ? stack[index + 1] : void 0;
154456
- if (prev && url === prev) {
154457
- setIndex(function (i) {
154458
- return i - 1;
154459
- });
154460
- return;
154461
- }
154462
- if (next && url === next) {
154463
- setIndex(function (i) {
154464
- return i + 1;
154465
- });
154466
- return;
154467
- }
154468
- push(url);
154469
- }, [stack, index, push]);
154470
- return {
154471
- onNavigationStateChange: onNavigationStateChange,
154472
- canGoBack: canGoBack,
154473
- canGoForward: canGoForward
154474
- };
154475
- }
154476
- var import_native_modules13 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154477
- var import_react_native32 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154478
- var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
154479
- var timestampHex = uuid.split("-").join("").slice(0, 12);
154480
- var timestamp = Number.parseInt(timestampHex, 16);
154481
- return new Date(timestamp);
154482
- };
154483
- var getGroupId = function getGroupId(url) {
154484
- try {
154485
- var urlObject = new URL(url);
154486
- return {
154487
- groupId: urlObject.pathname,
154488
- search: urlObject.search.startsWith("?") ? urlObject.search.substring(1) : urlObject.search
154489
- };
154490
- } catch (_unused4) {
154491
- return {
154492
- groupId: "unknown",
154493
- search: "unknown"
154494
- };
154495
- }
154496
- };
154497
- var getReferrer = function getReferrer() {
154498
- try {
154499
- var referrer = new URL((0, import_react_native32.getSchemeUri)());
154500
- return referrer.searchParams.get("referrer");
154501
- } catch (_unused5) {
154502
- return "";
154503
- }
154504
- };
154505
- var trackScreen = function trackScreen(url) {
154506
- var _getGroupId = getGroupId(url),
154507
- groupId = _getGroupId.groupId,
154508
- search = _getGroupId.search;
154509
- var log = {
154510
- log_type: "screen",
154511
- log_name: groupId + "::screen",
154512
- params: {
154513
- search: search,
154514
- referrer: getReferrer(),
154515
- deployment_id: _env.getDeploymentId(),
154516
- deployment_timestamp: extractDateFromUUIDv7(_env.getDeploymentId()).getTime()
154517
- }
154518
- };
154519
- return (0, import_native_modules13.eventLog)(log);
154520
- };
154521
154426
  var import_jsx_runtime11 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154522
- var PartnerWebView = (0, import_react16.forwardRef)(function PartnerWebViewScreen(webViewProps, ref) {
154523
- var webViewRef = (0, import_react16.useRef)(null);
154427
+ var PartnerWebView = (0, import_react15.forwardRef)(function PartnerWebViewScreen(_ref44, ref) {
154428
+ var canHistoryGoBack = _ref44.canHistoryGoBack,
154429
+ webViewProps = _objectWithoutProperties(_ref44, _excluded2);
154430
+ var webViewRef = (0, import_react15.useRef)(null);
154524
154431
  var refs = mergeRefs(ref, webViewRef);
154525
154432
  var _useCaptureExitLog6 = useCaptureExitLog(),
154526
154433
  captureExitLog = _useCaptureExitLog6.captureExitLog;
154527
- var _useWebViewHistory = useWebViewHistory(),
154528
- canGoBack = _useWebViewHistory.canGoBack,
154529
- onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
154530
- var historyBackScript = "\n (function() {\n history.back();\n true;\n })();\n ";
154531
- var historyHomeScript = "\n (function() {\n history.replaceState(null, '', '/');\n true;\n })();\n ";
154532
- var handleBackEvent = (0, import_react16.useCallback)(function () {
154533
- if (canGoBack) {
154434
+ var handleBackEvent = (0, import_react15.useCallback)(function () {
154435
+ if (canHistoryGoBack) {
154534
154436
  var _webViewRef$current;
154535
- (_webViewRef$current = webViewRef.current) == null ? void 0 : _webViewRef$current.injectJavaScript(historyBackScript);
154437
+ (_webViewRef$current = webViewRef.current) == null ? void 0 : _webViewRef$current.goBack();
154536
154438
  } else {
154537
154439
  captureExitLog(Date.now());
154538
154440
  (0, import_native_modules14.closeView)();
154539
154441
  }
154540
- }, [canGoBack, captureExitLog, historyBackScript]);
154541
- var handleAndroidBackEvent = (0, import_react16.useCallback)(function () {
154542
- if (canGoBack) {
154543
- var _webViewRef$current2;
154544
- (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(historyBackScript);
154545
- return true;
154546
- } else {
154547
- return false;
154548
- }
154549
- }, [canGoBack, historyBackScript]);
154550
- (0, import_react16.useEffect)(function () {
154551
- import_react_native33.BackHandler.addEventListener("hardwareBackPress", handleAndroidBackEvent);
154442
+ }, [canHistoryGoBack, captureExitLog]);
154443
+ (0, import_react15.useEffect)(function () {
154444
+ var handleAndroidBackEvent = function handleAndroidBackEvent() {
154445
+ if (canHistoryGoBack) {
154446
+ var _webViewRef$current2;
154447
+ (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.goBack();
154448
+ return true;
154449
+ } else {
154450
+ captureExitLog(Date.now());
154451
+ return false;
154452
+ }
154453
+ };
154454
+ import_react_native32.BackHandler.addEventListener("hardwareBackPress", handleAndroidBackEvent);
154552
154455
  return function () {
154553
- return import_react_native33.BackHandler.removeEventListener("hardwareBackPress", handleAndroidBackEvent);
154554
- };
154555
- }, [handleAndroidBackEvent]);
154556
- var handleHomeIconButtonClick = (0, import_react16.useCallback)(function () {
154557
- var _webViewRef$current3;
154558
- (_webViewRef$current3 = webViewRef.current) == null ? void 0 : _webViewRef$current3.injectJavaScript(historyHomeScript);
154559
- }, [historyHomeScript]);
154560
- var handleNavigationStateChange = (0, import_react16.useCallback)(function (event) {
154561
- if (event.url) {
154562
- trackScreen(event.url);
154563
- }
154564
- onNavigationStateChange(event);
154565
- }, [onNavigationStateChange]);
154456
+ return import_react_native32.BackHandler.removeEventListener("hardwareBackPress", handleAndroidBackEvent);
154457
+ };
154458
+ }, [canHistoryGoBack, captureExitLog]);
154459
+ (0, import_react15.useEffect)(function () {
154460
+ return import_native_modules14.appsInTossEvent.addEventListener("homeIconButtonClickEvent", {
154461
+ onEvent: function onEvent() {
154462
+ var _webViewRef$current3;
154463
+ (_webViewRef$current3 = webViewRef.current) == null ? void 0 : _webViewRef$current3.injectJavaScript("\n (function() {\n window.history.replaceState(null, '', '/');\n true;\n })();\n ");
154464
+ }
154465
+ });
154466
+ }, [webViewRef]);
154566
154467
  return (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, {
154567
154468
  children: [(0, import_jsx_runtime11.jsx)(PartnerWebviewNavigationBar, {
154568
- handleBackEvent: handleBackEvent,
154569
- handleHomeIconButtonClick: handleHomeIconButtonClick
154469
+ handleBackEvent: handleBackEvent
154570
154470
  }), (0, import_jsx_runtime11.jsx)(import_react_native_webview2.WebView, Object.assign({
154571
154471
  ref: refs
154572
154472
  }, webViewProps, {
154573
154473
  style: {
154574
154474
  flex: 1
154575
- },
154576
- onNavigationStateChange: function onNavigationStateChange(event) {
154577
- webViewProps == null ? void 0 : webViewProps.onNavigationStateChange == null ? void 0 : webViewProps.onNavigationStateChange(event);
154578
- handleNavigationStateChange(event);
154579
154475
  }
154580
154476
  }))]
154581
154477
  });
154582
154478
  });
154583
- var import_react17 = _$$_REQUIRE(_dependencyMap[10], "react");
154479
+ var import_react16 = _$$_REQUIRE(_dependencyMap[10], "react");
154584
154480
  function serializeError(error) {
154585
154481
  return JSON.stringify(error, function (_, value) {
154586
154482
  if (value instanceof Error) {
@@ -154594,24 +154490,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154594
154490
  return value;
154595
154491
  });
154596
154492
  }
154597
- function methodHandler(_ref49) {
154598
- var args = _ref49.args,
154599
- eventId = _ref49.eventId,
154600
- functionName = _ref49.functionName,
154601
- handlerMap = _ref49.handlerMap,
154602
- injectJavaScript = _ref49.injectJavaScript;
154493
+ function methodHandler(_ref45) {
154494
+ var args = _ref45.args,
154495
+ eventId = _ref45.eventId,
154496
+ functionName = _ref45.functionName,
154497
+ handlerMap = _ref45.handlerMap,
154498
+ injectJavaScript = _ref45.injectJavaScript;
154603
154499
  var func = handlerMap[functionName];
154604
154500
  if (!func) {
154605
154501
  console.error(functionName + " is not a function");
154606
154502
  return;
154607
154503
  }
154608
154504
  var wrappedFunc = function () {
154609
- var _ref50 = _asyncToGenerator(function* () {
154505
+ var _ref46 = _asyncToGenerator(function* () {
154610
154506
  var result = yield func.apply(void 0, arguments);
154611
154507
  return result;
154612
154508
  });
154613
154509
  return function wrappedFunc() {
154614
- return _ref50.apply(this, arguments);
154510
+ return _ref46.apply(this, arguments);
154615
154511
  };
154616
154512
  }();
154617
154513
  wrappedFunc.apply(void 0, _toConsumableArray(args)).then(function (result) {
@@ -154622,18 +154518,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154622
154518
  });
154623
154519
  }
154624
154520
  var globalEventListenerMap = new Map();
154625
- function useBridgeHandler(_ref51) {
154626
- var onMessage = _ref51.onMessage,
154627
- constantHandlerMap = _ref51.constantHandlerMap,
154628
- asyncHandlerMap = _ref51.asyncHandlerMap,
154629
- eventListenerMap = _ref51.eventListenerMap,
154630
- originalInjectedJavaScript = _ref51.injectedJavaScript;
154631
- var ref = (0, import_react17.useRef)(null);
154632
- var injectedJavaScript = (0, import_react17.useMemo)(function () {
154633
- return ["window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref52) {
154634
- var _ref53 = _slicedToArray(_ref52, 2),
154635
- key = _ref53[0],
154636
- value = _ref53[1];
154521
+ function useBridgeHandler(_ref47) {
154522
+ var onMessage = _ref47.onMessage,
154523
+ constantHandlerMap = _ref47.constantHandlerMap,
154524
+ asyncHandlerMap = _ref47.asyncHandlerMap,
154525
+ eventListenerMap = _ref47.eventListenerMap,
154526
+ originalInjectedJavaScript = _ref47.injectedJavaScript;
154527
+ var ref = (0, import_react16.useRef)(null);
154528
+ var injectedJavaScript = (0, import_react16.useMemo)(function () {
154529
+ return ["window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref48) {
154530
+ var _ref49 = _slicedToArray(_ref48, 2),
154531
+ key = _ref49[0],
154532
+ value = _ref49[1];
154637
154533
  acc[key] = typeof value === "function" ? value() : value;
154638
154534
  return acc;
154639
154535
  }, {})) + ";", originalInjectedJavaScript, "true"].join("\n");
@@ -154651,8 +154547,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154651
154547
  (_ref$current2 = ref.current) == null ? void 0 : _ref$current2.injectJavaScript("\n window.__GRANITE_NATIVE_EMITTER.emit('" + functionName + "/onError/" + eventId + "', " + serializedError + ");\n ");
154652
154548
  };
154653
154549
  };
154654
- var $onMessage = (0, import_react17.useCallback)(function () {
154655
- var _ref54 = _asyncToGenerator(function* (e) {
154550
+ var $onMessage = (0, import_react16.useCallback)(function () {
154551
+ var _ref50 = _asyncToGenerator(function* (e) {
154656
154552
  onMessage == null ? void 0 : onMessage(e);
154657
154553
  var data = JSON.parse(e.nativeEvent.data);
154658
154554
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -154697,7 +154593,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154697
154593
  }
154698
154594
  });
154699
154595
  return function (_x3) {
154700
- return _ref54.apply(this, arguments);
154596
+ return _ref50.apply(this, arguments);
154701
154597
  };
154702
154598
  }(), [onMessage]);
154703
154599
  return {
@@ -154707,7 +154603,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154707
154603
  };
154708
154604
  }
154709
154605
  var import_native_modules15 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154710
- var import_react_native34 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154606
+ var import_react_native33 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154711
154607
  var FontA11yCategory = {
154712
154608
  Large: "Large",
154713
154609
  xLarge: "xLarge",
@@ -154835,36 +154731,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154835
154731
  function mapFontScaleToCategory(fontScale, platform) {
154836
154732
  return platform === "ios" ? mapIOSFontScaleToCategory(fontScale) : mapAndroidFontScaleToCategory(fontScale);
154837
154733
  }
154838
- function _useCreateUserAgent(_ref55) {
154839
- var batteryModePreference = _ref55.batteryModePreference,
154840
- colorPreference = _ref55.colorPreference,
154841
- locale = _ref55.locale,
154842
- navbarPreference = _ref55.navbarPreference,
154843
- pureSafeArea = _ref55.pureSafeArea,
154844
- safeArea = _ref55.safeArea,
154845
- safeAreaBottomTransparency = _ref55.safeAreaBottomTransparency;
154734
+ function _useCreateUserAgent(_ref51) {
154735
+ var batteryModePreference = _ref51.batteryModePreference,
154736
+ colorPreference = _ref51.colorPreference,
154737
+ locale = _ref51.locale,
154738
+ navbarPreference = _ref51.navbarPreference,
154739
+ pureSafeArea = _ref51.pureSafeArea,
154740
+ safeArea = _ref51.safeArea,
154741
+ safeAreaBottomTransparency = _ref51.safeAreaBottomTransparency;
154846
154742
  var platform = (0, import_native_modules15.getPlatformOS)();
154847
154743
  var appVersion = (0, import_native_modules15.getTossAppVersion)();
154848
- var _ref56 = (0, import_react_native34.useWindowDimensions)(),
154849
- fontScale = _ref56.fontScale;
154744
+ var _ref52 = (0, import_react_native33.useWindowDimensions)(),
154745
+ fontScale = _ref52.fontScale;
154850
154746
  var platformString = platform === "ios" ? "iPhone" : "Android";
154851
154747
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
154852
154748
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
154853
154749
  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(" ");
154854
154750
  }
154855
154751
  var import_native_modules16 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154856
- var import_react_native35 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154857
- var import_react18 = _$$_REQUIRE(_dependencyMap[10], "react");
154858
- function _useGeolocation(_ref57) {
154859
- var accuracy = _ref57.accuracy,
154860
- distanceInterval = _ref57.distanceInterval,
154861
- timeInterval = _ref57.timeInterval;
154862
- var isVisible = (0, import_react_native35.useVisibility)();
154863
- var _ref58 = (0, import_react18.useState)(null),
154864
- _ref59 = _slicedToArray(_ref58, 2),
154865
- location = _ref59[0],
154866
- setLocation = _ref59[1];
154867
- (0, import_react18.useEffect)(function () {
154752
+ var import_react_native34 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154753
+ var import_react17 = _$$_REQUIRE(_dependencyMap[10], "react");
154754
+ function _useGeolocation(_ref53) {
154755
+ var accuracy = _ref53.accuracy,
154756
+ distanceInterval = _ref53.distanceInterval,
154757
+ timeInterval = _ref53.timeInterval;
154758
+ var isVisible = (0, import_react_native34.useVisibility)();
154759
+ var _ref54 = (0, import_react17.useState)(null),
154760
+ _ref55 = _slicedToArray(_ref54, 2),
154761
+ location = _ref55[0],
154762
+ setLocation = _ref55[1];
154763
+ (0, import_react17.useEffect)(function () {
154868
154764
  if (!isVisible) {
154869
154765
  return;
154870
154766
  }
@@ -154880,6 +154776,51 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154880
154776
  }, [accuracy, distanceInterval, timeInterval, isVisible]);
154881
154777
  return location;
154882
154778
  }
154779
+ var import_native_modules17 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154780
+ var import_react_native35 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154781
+ var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
154782
+ var timestampHex = uuid.split("-").join("").slice(0, 12);
154783
+ var timestamp = Number.parseInt(timestampHex, 16);
154784
+ return new Date(timestamp);
154785
+ };
154786
+ var getGroupId = function getGroupId(url) {
154787
+ try {
154788
+ var urlObject = new URL(url);
154789
+ return {
154790
+ groupId: urlObject.pathname,
154791
+ search: urlObject.search.startsWith("?") ? urlObject.search.substring(1) : urlObject.search
154792
+ };
154793
+ } catch (_unused4) {
154794
+ return {
154795
+ groupId: "unknown",
154796
+ search: "unknown"
154797
+ };
154798
+ }
154799
+ };
154800
+ var getReferrer = function getReferrer() {
154801
+ try {
154802
+ var referrer = new URL((0, import_react_native35.getSchemeUri)());
154803
+ return referrer.searchParams.get("referrer");
154804
+ } catch (_unused5) {
154805
+ return "";
154806
+ }
154807
+ };
154808
+ var trackScreen = function trackScreen(url) {
154809
+ var _getGroupId = getGroupId(url),
154810
+ groupId = _getGroupId.groupId,
154811
+ search = _getGroupId.search;
154812
+ var log = {
154813
+ log_type: "screen",
154814
+ log_name: groupId + "::screen",
154815
+ params: {
154816
+ search: search,
154817
+ referrer: getReferrer(),
154818
+ deployment_id: _env.getDeploymentId(),
154819
+ deployment_timestamp: extractDateFromUUIDv7(_env.getDeploymentId()).getTime()
154820
+ }
154821
+ };
154822
+ return (0, import_native_modules17.eventLog)(log);
154823
+ };
154883
154824
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154884
154825
  var operationalEnvironment = appsInTossConstantBridges.getOperationalEnvironment();
154885
154826
  var TYPES = ["partner", "external", "game"];
@@ -154892,10 +154833,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154892
154833
  var baseUrl = new URL(url);
154893
154834
  var schemeUrl = new URL((0, import_react_native36.getSchemeUri)());
154894
154835
  baseUrl.pathname = schemeUrl.pathname;
154895
- for (var _ref60 of schemeUrl.searchParams.entries()) {
154896
- var _ref61 = _slicedToArray(_ref60, 2);
154897
- var key = _ref61[0];
154898
- var value = _ref61[1];
154836
+ for (var _ref56 of schemeUrl.searchParams.entries()) {
154837
+ var _ref57 = _slicedToArray(_ref56, 2);
154838
+ var key = _ref57[0];
154839
+ var value = _ref57[1];
154899
154840
  baseUrl.searchParams.set(key, value);
154900
154841
  }
154901
154842
  return baseUrl;
@@ -154905,7 +154846,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154905
154846
  var devUrl = "http://" + local.host + ":" + local.port;
154906
154847
  return mergeSchemeQueryParamsInto(devUrl).toString();
154907
154848
  }
154908
- var _import_native_module = import_native_modules17.AppsInTossModule.getWebBundleURL({}),
154849
+ var _import_native_module = import_native_modules18.AppsInTossModule.getWebBundleURL({}),
154909
154850
  rawUrl = _import_native_module.url;
154910
154851
  var url = mergeSchemeQueryParamsInto(rawUrl);
154911
154852
  var deploymentId = _env.getDeploymentId();
@@ -154914,16 +154855,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154914
154855
  }
154915
154856
  return url.toString();
154916
154857
  }
154917
- function _WebView(_ref62) {
154918
- var type = _ref62.type,
154919
- local = _ref62.local,
154920
- onMessage = _ref62.onMessage,
154921
- props = _objectWithoutProperties(_ref62, _excluded2);
154858
+ function _WebView(_ref58) {
154859
+ var type = _ref58.type,
154860
+ local = _ref58.local,
154861
+ onMessage = _ref58.onMessage,
154862
+ props = _objectWithoutProperties(_ref58, _excluded3);
154922
154863
  if (!TYPES.includes(type)) {
154923
154864
  throw new Error("Invalid WebView type: '" + type + "'");
154924
154865
  }
154925
154866
  var graniteEvent = (0, import_react_native36.useGraniteEvent)();
154926
- var uri = (0, import_react19.useMemo)(function () {
154867
+ var uri = (0, import_react18.useMemo)(function () {
154927
154868
  return getWebViewUri(local);
154928
154869
  }, [local]);
154929
154870
  var top = (0, import_private7.useSafeAreaTop)();
@@ -154931,66 +154872,66 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154931
154872
  var global2 = getAppsInTossGlobals();
154932
154873
  var topNavigation = (0, import_private7.useTopNavigation)();
154933
154874
  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 ";
154934
- var _ref63 = (0, import_react19.useState)(props.allowsBackForwardNavigationGestures),
154935
- _ref64 = _slicedToArray(_ref63, 2),
154936
- allowsBackForwardNavigationGestures = _ref64[0],
154937
- setAllowsBackForwardNavigationGestures = _ref64[1];
154875
+ var _ref59 = (0, import_react18.useState)(props.allowsBackForwardNavigationGestures),
154876
+ _ref60 = _slicedToArray(_ref59, 2),
154877
+ allowsBackForwardNavigationGestures = _ref60[0],
154878
+ setAllowsBackForwardNavigationGestures = _ref60[1];
154938
154879
  var handler = useBridgeHandler({
154939
154880
  onMessage: onMessage,
154940
154881
  injectedJavaScript: [disableTextSelectionCSS].join("\n"),
154941
154882
  eventListenerMap: Object.assign({}, appsInTossEventBridges, {
154942
- navigationAccessoryEvent: function navigationAccessoryEvent(_ref65) {
154943
- var onEvent = _ref65.onEvent,
154944
- onError = _ref65.onError;
154883
+ navigationAccessoryEvent: function navigationAccessoryEvent(_ref61) {
154884
+ var onEvent = _ref61.onEvent,
154885
+ onError = _ref61.onError;
154945
154886
  return import_react_native37.tdsEvent.addEventListener("navigationAccessoryEvent", {
154946
154887
  onEvent: onEvent,
154947
154888
  onError: onError
154948
154889
  });
154949
154890
  },
154950
- backEvent: function backEvent(_ref66) {
154951
- var onEvent = _ref66.onEvent,
154952
- onError = _ref66.onError,
154953
- options = _ref66.options;
154891
+ backEvent: function backEvent(_ref62) {
154892
+ var onEvent = _ref62.onEvent,
154893
+ onError = _ref62.onError,
154894
+ options = _ref62.options;
154954
154895
  return graniteEvent.addEventListener("backEvent", {
154955
154896
  onEvent: onEvent,
154956
154897
  onError: onError,
154957
154898
  options: options
154958
154899
  });
154959
154900
  },
154960
- entryMessageExited: function entryMessageExited(_ref67) {
154961
- var onEvent = _ref67.onEvent,
154962
- onError = _ref67.onError;
154963
- return import_native_modules17.appsInTossEvent.addEventListener("entryMessageExited", {
154901
+ entryMessageExited: function entryMessageExited(_ref63) {
154902
+ var onEvent = _ref63.onEvent,
154903
+ onError = _ref63.onError;
154904
+ return import_native_modules18.appsInTossEvent.addEventListener("entryMessageExited", {
154964
154905
  onEvent: onEvent,
154965
154906
  onError: onError
154966
154907
  });
154967
154908
  },
154968
- updateLocationEvent: function updateLocationEvent(_ref68) {
154969
- var onEvent = _ref68.onEvent,
154970
- onError = _ref68.onError,
154971
- options = _ref68.options;
154972
- return import_native_modules17.appsInTossEvent.addEventListener("updateLocationEvent", {
154909
+ updateLocationEvent: function updateLocationEvent(_ref64) {
154910
+ var onEvent = _ref64.onEvent,
154911
+ onError = _ref64.onError,
154912
+ options = _ref64.options;
154913
+ return import_native_modules18.appsInTossEvent.addEventListener("updateLocationEvent", {
154973
154914
  onEvent: onEvent,
154974
154915
  onError: onError,
154975
154916
  options: options
154976
154917
  });
154977
154918
  },
154978
- appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref69) {
154979
- var onEvent = _ref69.onEvent,
154980
- onError = _ref69.onError,
154981
- options = _ref69.options;
154982
- return import_native_modules17.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
154919
+ appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref65) {
154920
+ var onEvent = _ref65.onEvent,
154921
+ onError = _ref65.onError,
154922
+ options = _ref65.options;
154923
+ return import_native_modules18.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
154983
154924
  onEvent: onEvent,
154984
154925
  onError: onError,
154985
154926
  options: options
154986
154927
  });
154987
154928
  },
154988
- loadAdMobInterstitialAd: import_native_modules17.GoogleAdMob.loadAdMobInterstitialAd,
154989
- showAdMobInterstitialAd: import_native_modules17.GoogleAdMob.showAdMobInterstitialAd,
154990
- loadAdMobRewardedAd: import_native_modules17.GoogleAdMob.loadAdMobRewardedAd,
154991
- showAdMobRewardedAd: import_native_modules17.GoogleAdMob.showAdMobRewardedAd,
154992
- loadAppsInTossAdMob: import_native_modules17.GoogleAdMob.loadAppsInTossAdMob,
154993
- showAppsInTossAdMob: import_native_modules17.GoogleAdMob.showAppsInTossAdMob
154929
+ loadAdMobInterstitialAd: import_native_modules18.GoogleAdMob.loadAdMobInterstitialAd,
154930
+ showAdMobInterstitialAd: import_native_modules18.GoogleAdMob.showAdMobInterstitialAd,
154931
+ loadAdMobRewardedAd: import_native_modules18.GoogleAdMob.loadAdMobRewardedAd,
154932
+ showAdMobRewardedAd: import_native_modules18.GoogleAdMob.showAdMobRewardedAd,
154933
+ loadAppsInTossAdMob: import_native_modules18.GoogleAdMob.loadAppsInTossAdMob,
154934
+ showAppsInTossAdMob: import_native_modules18.GoogleAdMob.showAppsInTossAdMob
154994
154935
  }),
154995
154936
  constantHandlerMap: Object.assign({}, graniteConstantBridges, appsInTossConstantBridges, {
154996
154937
  getSafeAreaTop: function getSafeAreaTop() {
@@ -154999,20 +154940,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154999
154940
  getSafeAreaBottom: function getSafeAreaBottom() {
155000
154941
  return bottom;
155001
154942
  }
155002
- }, Object.fromEntries(Object.entries(global2).map(function (_ref70) {
155003
- var _ref71 = _slicedToArray(_ref70, 2),
155004
- key = _ref71[0],
155005
- value = _ref71[1];
154943
+ }, Object.fromEntries(Object.entries(global2).map(function (_ref66) {
154944
+ var _ref67 = _slicedToArray(_ref66, 2),
154945
+ key = _ref67[0],
154946
+ value = _ref67[1];
155006
154947
  return [key, function () {
155007
154948
  return value;
155008
154949
  }];
155009
154950
  })), {
155010
- loadAdMobInterstitialAd_isSupported: import_native_modules17.GoogleAdMob.loadAdMobInterstitialAd.isSupported,
155011
- showAdMobInterstitialAd_isSupported: import_native_modules17.GoogleAdMob.showAdMobInterstitialAd.isSupported,
155012
- loadAdMobRewardedAd_isSupported: import_native_modules17.GoogleAdMob.loadAdMobRewardedAd.isSupported,
155013
- showAdMobRewardedAd_isSupported: import_native_modules17.GoogleAdMob.showAdMobRewardedAd.isSupported,
155014
- loadAppsInTossAdMob_isSupported: import_native_modules17.GoogleAdMob.loadAppsInTossAdMob.isSupported,
155015
- showAppsInTossAdMob_isSupported: import_native_modules17.GoogleAdMob.showAppsInTossAdMob.isSupported,
154951
+ loadAdMobInterstitialAd_isSupported: import_native_modules18.GoogleAdMob.loadAdMobInterstitialAd.isSupported,
154952
+ showAdMobInterstitialAd_isSupported: import_native_modules18.GoogleAdMob.showAdMobInterstitialAd.isSupported,
154953
+ loadAdMobRewardedAd_isSupported: import_native_modules18.GoogleAdMob.loadAdMobRewardedAd.isSupported,
154954
+ showAdMobRewardedAd_isSupported: import_native_modules18.GoogleAdMob.showAdMobRewardedAd.isSupported,
154955
+ loadAppsInTossAdMob_isSupported: import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported,
154956
+ showAppsInTossAdMob_isSupported: import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported,
155016
154957
  getDeploymentId: _env.getDeploymentId
155017
154958
  }),
155018
154959
  asyncHandlerMap: Object.assign({}, graniteAsyncBridges, appsInTossAsyncBridges, {
@@ -155047,15 +154988,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155047
154988
  fetchContacts: appsInTossAsyncBridges.fetchContacts,
155048
154989
  getCurrentLocation: appsInTossAsyncBridges.getCurrentLocation,
155049
154990
  openCamera: appsInTossAsyncBridges.openCamera,
155050
- getStorageItem: import_native_modules17.Storage.getItem,
155051
- setStorageItem: import_native_modules17.Storage.setItem,
155052
- removeStorageItem: import_native_modules17.Storage.removeItem,
155053
- clearItems: import_native_modules17.Storage.clearItems,
155054
- iapCreateOneTimePurchaseOrder: import_native_modules17.IAP.createOneTimePurchaseOrder,
155055
- iapGetProductItemList: import_native_modules17.IAP.getProductItemList
154991
+ getStorageItem: import_native_modules18.Storage.getItem,
154992
+ setStorageItem: import_native_modules18.Storage.setItem,
154993
+ removeStorageItem: import_native_modules18.Storage.removeItem,
154994
+ clearItems: import_native_modules18.Storage.clearItems,
154995
+ iapCreateOneTimePurchaseOrder: import_native_modules18.IAP.createOneTimePurchaseOrder,
154996
+ iapGetProductItemList: import_native_modules18.IAP.getProductItemList
155056
154997
  })
155057
154998
  });
155058
- var headerPropForExternalWebView = (0, import_react19.useMemo)(function () {
154999
+ var headerPropForExternalWebView = (0, import_react18.useMemo)(function () {
155059
155000
  var _parsedNavigationBar$5;
155060
155001
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
155061
155002
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
@@ -155073,6 +155014,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155073
155014
  }, [global2.navigationBar, type]);
155074
155015
  var BaseWebView = WEBVIEW_TYPES[type];
155075
155016
  var webViewDebuggingEnabled = operationalEnvironment === "sandbox";
155017
+ var _ref68 = (0, import_react18.useState)(false),
155018
+ _ref69 = _slicedToArray(_ref68, 2),
155019
+ canHistoryGoBack = _ref69[0],
155020
+ setCanHistoryGoBack = _ref69[1];
155021
+ var handleNavigationStateChange = (0, import_react18.useCallback)(function (event) {
155022
+ if (event.url) {
155023
+ trackScreen(event.url);
155024
+ }
155025
+ setCanHistoryGoBack(event.canGoBack);
155026
+ }, [setCanHistoryGoBack]);
155076
155027
  var userAgent = _useCreateUserAgent({
155077
155028
  colorPreference: "light"
155078
155029
  });
@@ -155090,6 +155041,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155090
155041
  webviewDebuggingEnabled: webViewDebuggingEnabled,
155091
155042
  thirdPartyCookiesEnabled: true,
155092
155043
  onMessage: handler.onMessage,
155044
+ canHistoryGoBack: canHistoryGoBack,
155045
+ onNavigationStateChange: handleNavigationStateChange,
155093
155046
  injectedJavaScript: handler.injectedJavaScript,
155094
155047
  injectedJavaScriptBeforeContentLoaded: handler.injectedJavaScript,
155095
155048
  decelerationRate: import_react_native38.Platform.OS === "ios" ? 1 : void 0,
@@ -155116,7 +155069,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155116
155069
  useGeolocation: _useGeolocation,
155117
155070
  useTopNavigation: useTopNavigation
155118
155071
  }, _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/analytics"), _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules"), _$$_REQUIRE(_dependencyMap[20], "@apps-in-toss/types")));
155119
- },1256,[32,207,61,16,1257,1258,1259,2,1446,18,6,9,2620,2609,2621,2654,2661,2678,2679,2588,1260],"../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.cjs");
155072
+ },1256,[32,207,61,16,1257,1258,1259,2,1446,18,6,9,2620,2609,2621,2654,2661,2680,2681,2588,1260],"../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.cjs");
155120
155073
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
155121
155074
  function _objectDestructuringEmpty(obj) {
155122
155075
  if (obj == null) throw new TypeError("Cannot destructure undefined");
@@ -155918,21 +155871,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155918
155871
  }
155919
155872
  });
155920
155873
  module.exports = __toCommonJS(index_exports);
155921
- var import_react_native7 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
155874
+ var import_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
155922
155875
  var import_react_native = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
155923
- var EntryMessageExitedEvent = function (_import_react_native$) {
155924
- function EntryMessageExitedEvent() {
155876
+ var BackButtonClickHandleEvent = function (_import_react_native$) {
155877
+ function BackButtonClickHandleEvent() {
155925
155878
  var _this;
155926
- _classCallCheck(this, EntryMessageExitedEvent);
155879
+ _classCallCheck(this, BackButtonClickHandleEvent);
155927
155880
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
155928
155881
  args[_key] = arguments[_key];
155929
155882
  }
155930
- _this = _callSuper(this, EntryMessageExitedEvent, [].concat(args));
155931
- _this.name = "entryMessageExited";
155883
+ _this = _callSuper(this, BackButtonClickHandleEvent, [].concat(args));
155884
+ _this.name = "backButtonClickEvent";
155932
155885
  return _this;
155933
155886
  }
155934
- _inherits(EntryMessageExitedEvent, _import_react_native$);
155935
- return _createClass(EntryMessageExitedEvent, [{
155887
+ _inherits(BackButtonClickHandleEvent, _import_react_native$);
155888
+ return _createClass(BackButtonClickHandleEvent, [{
155936
155889
  key: "remove",
155937
155890
  value: function remove() {}
155938
155891
  }, {
@@ -155940,10 +155893,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155940
155893
  value: function listener(_) {}
155941
155894
  }]);
155942
155895
  }(import_react_native.GraniteEventDefinition);
155896
+ var import_react_native2 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
155897
+ var EntryMessageExitedEvent = function (_import_react_native) {
155898
+ function EntryMessageExitedEvent() {
155899
+ var _this2;
155900
+ _classCallCheck(this, EntryMessageExitedEvent);
155901
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
155902
+ args[_key2] = arguments[_key2];
155903
+ }
155904
+ _this2 = _callSuper(this, EntryMessageExitedEvent, [].concat(args));
155905
+ _this2.name = "entryMessageExited";
155906
+ return _this2;
155907
+ }
155908
+ _inherits(EntryMessageExitedEvent, _import_react_native);
155909
+ return _createClass(EntryMessageExitedEvent, [{
155910
+ key: "remove",
155911
+ value: function remove() {}
155912
+ }, {
155913
+ key: "listener",
155914
+ value: function listener(_) {}
155915
+ }]);
155916
+ }(import_react_native2.GraniteEventDefinition);
155917
+ var import_react_native3 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
155918
+ var HomeIconButtonClickHandleEvent = function (_import_react_native2) {
155919
+ function HomeIconButtonClickHandleEvent() {
155920
+ var _this3;
155921
+ _classCallCheck(this, HomeIconButtonClickHandleEvent);
155922
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
155923
+ args[_key3] = arguments[_key3];
155924
+ }
155925
+ _this3 = _callSuper(this, HomeIconButtonClickHandleEvent, [].concat(args));
155926
+ _this3.name = "homeIconButtonClickEvent";
155927
+ return _this3;
155928
+ }
155929
+ _inherits(HomeIconButtonClickHandleEvent, _import_react_native2);
155930
+ return _createClass(HomeIconButtonClickHandleEvent, [{
155931
+ key: "remove",
155932
+ value: function remove() {}
155933
+ }, {
155934
+ key: "listener",
155935
+ value: function listener(_) {}
155936
+ }]);
155937
+ }(import_react_native3.GraniteEventDefinition);
155943
155938
  var import_types = _$$_REQUIRE(_dependencyMap[9], "@apps-in-toss/types");
155944
- var import_react_native4 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
155945
- var import_react_native2 = _$$_REQUIRE(_dependencyMap[10], "react-native");
155946
- var Module = import_react_native2.TurboModuleRegistry.getEnforcing("AppsInTossModule");
155939
+ var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
155940
+ var import_react_native4 = _$$_REQUIRE(_dependencyMap[10], "react-native");
155941
+ var Module = import_react_native4.TurboModuleRegistry.getEnforcing("AppsInTossModule");
155947
155942
  var AppsInTossModuleInstance = Module;
155948
155943
  var _AppsInTossModule = Module;
155949
155944
  function openPermissionDialog(permission) {
@@ -155968,24 +155963,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155968
155963
  });
155969
155964
  return _requestPermission.apply(this, arguments);
155970
155965
  }
155971
- var import_react_native3 = _$$_REQUIRE(_dependencyMap[10], "react-native");
155972
- var nativeEventEmitter = new import_react_native3.NativeEventEmitter(AppsInTossModuleInstance);
155973
- var UpdateLocationEvent = function (_import_react_native) {
155966
+ var import_react_native5 = _$$_REQUIRE(_dependencyMap[10], "react-native");
155967
+ var nativeEventEmitter = new import_react_native5.NativeEventEmitter(AppsInTossModuleInstance);
155968
+ var UpdateLocationEvent = function (_import_react_native3) {
155974
155969
  function UpdateLocationEvent() {
155975
- var _this2;
155970
+ var _this4;
155976
155971
  _classCallCheck(this, UpdateLocationEvent);
155977
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
155978
- args[_key2] = arguments[_key2];
155972
+ for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
155973
+ args[_key4] = arguments[_key4];
155979
155974
  }
155980
- _this2 = _callSuper(this, UpdateLocationEvent, [].concat(args));
155981
- _this2.name = "updateLocationEvent";
155982
- _this2.subscriptionCount = 0;
155983
- _this2.ref = {
155975
+ _this4 = _callSuper(this, UpdateLocationEvent, [].concat(args));
155976
+ _this4.name = "updateLocationEvent";
155977
+ _this4.subscriptionCount = 0;
155978
+ _this4.ref = {
155984
155979
  remove: function remove() {}
155985
155980
  };
155986
- return _this2;
155981
+ return _this4;
155987
155982
  }
155988
- _inherits(UpdateLocationEvent, _import_react_native);
155983
+ _inherits(UpdateLocationEvent, _import_react_native3);
155989
155984
  return _createClass(UpdateLocationEvent, [{
155990
155985
  key: "remove",
155991
155986
  value: function remove() {
@@ -155997,7 +155992,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155997
155992
  }, {
155998
155993
  key: "listener",
155999
155994
  value: function listener(options, onEvent, onError) {
156000
- var _this3 = this;
155995
+ var _this5 = this;
156001
155996
  requestPermission({
156002
155997
  name: "geolocation",
156003
155998
  access: "access"
@@ -156008,25 +156003,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156008
156003
  }
156009
156004
  void AppsInTossModuleInstance.startUpdateLocation(options).catch(onError);
156010
156005
  var subscription = nativeEventEmitter.addListener("updateLocation", onEvent);
156011
- _this3.ref = {
156006
+ _this5.ref = {
156012
156007
  remove: function remove() {
156013
156008
  return subscription == null ? void 0 : subscription.remove();
156014
156009
  }
156015
156010
  };
156016
- _this3.subscriptionCount++;
156011
+ _this5.subscriptionCount++;
156017
156012
  }).catch(onError);
156018
156013
  }
156019
156014
  }]);
156020
- }(import_react_native4.GraniteEventDefinition);
156021
- var import_react_native5 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156015
+ }(import_react_native6.GraniteEventDefinition);
156016
+ var import_react_native7 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156022
156017
  function generateUUID(placeholder) {
156023
156018
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
156024
156019
  }
156025
156020
  var INTERNAL__callbacks = new Map();
156026
156021
  function invokeAppBridgeCallback(id) {
156027
156022
  var callback = INTERNAL__callbacks.get(id);
156028
- for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
156029
- args[_key3 - 1] = arguments[_key3];
156023
+ for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {
156024
+ args[_key5 - 1] = arguments[_key5];
156030
156025
  }
156031
156026
  callback == null ? void 0 : callback.call.apply(callback, [null].concat(args));
156032
156027
  return Boolean(callback);
@@ -156088,16 +156083,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156088
156083
  getCallbackIds: getCallbackIds
156089
156084
  };
156090
156085
  var UNSAFE__nativeEventEmitter = nativeEventEmitter;
156091
- var AppBridgeCallbackEvent = function (_import_react_native2) {
156086
+ var AppBridgeCallbackEvent = function (_import_react_native4) {
156092
156087
  function _AppBridgeCallbackEvent() {
156093
- var _this4;
156088
+ var _this6;
156094
156089
  _classCallCheck(this, _AppBridgeCallbackEvent);
156095
- _this4 = _callSuper(this, _AppBridgeCallbackEvent);
156096
- _this4.name = "appBridgeCallbackEvent";
156097
- _this4.registerAppBridgeCallbackEventListener();
156098
- return _this4;
156090
+ _this6 = _callSuper(this, _AppBridgeCallbackEvent);
156091
+ _this6.name = "appBridgeCallbackEvent";
156092
+ _this6.registerAppBridgeCallbackEventListener();
156093
+ return _this6;
156099
156094
  }
156100
- _inherits(_AppBridgeCallbackEvent, _import_react_native2);
156095
+ _inherits(_AppBridgeCallbackEvent, _import_react_native4);
156101
156096
  return _createClass(_AppBridgeCallbackEvent, [{
156102
156097
  key: "remove",
156103
156098
  value: function remove() {}
@@ -156122,21 +156117,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156122
156117
  }
156123
156118
  }
156124
156119
  }]);
156125
- }(import_react_native5.GraniteEventDefinition);
156126
- var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156127
- var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native3) {
156120
+ }(import_react_native7.GraniteEventDefinition);
156121
+ var import_react_native8 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156122
+ var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native5) {
156128
156123
  function VisibilityChangedByTransparentServiceWebEvent() {
156129
- var _this5;
156124
+ var _this7;
156130
156125
  _classCallCheck(this, VisibilityChangedByTransparentServiceWebEvent);
156131
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
156132
- args[_key4] = arguments[_key4];
156126
+ for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
156127
+ args[_key6] = arguments[_key6];
156133
156128
  }
156134
- _this5 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
156135
- _this5.name = "onVisibilityChangedByTransparentServiceWeb";
156136
- _this5.subscription = null;
156137
- return _this5;
156129
+ _this7 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
156130
+ _this7.name = "onVisibilityChangedByTransparentServiceWeb";
156131
+ _this7.subscription = null;
156132
+ return _this7;
156138
156133
  }
156139
- _inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native3);
156134
+ _inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native5);
156140
156135
  return _createClass(VisibilityChangedByTransparentServiceWebEvent, [{
156141
156136
  key: "remove",
156142
156137
  value: function remove() {
@@ -156147,9 +156142,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156147
156142
  }, {
156148
156143
  key: "listener",
156149
156144
  value: function listener(options, onEvent, onError) {
156150
- var _this6 = this;
156145
+ var _this8 = this;
156151
156146
  var subscription = nativeEventEmitter.addListener("visibilityChangedByTransparentServiceWeb", function (params) {
156152
- if (_this6.isVisibilityChangedByTransparentServiceWebResult(params)) {
156147
+ if (_this8.isVisibilityChangedByTransparentServiceWebResult(params)) {
156153
156148
  if (params.callbackId === options.callbackId) {
156154
156149
  onEvent(params.isVisible);
156155
156150
  }
@@ -156165,13 +156160,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156165
156160
  return typeof params === "object" && typeof params.callbackId === "string" && typeof params.isVisible === "boolean";
156166
156161
  }
156167
156162
  }]);
156168
- }(import_react_native6.GraniteEventDefinition);
156169
- var _appsInTossEvent = new import_react_native7.GraniteEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
156163
+ }(import_react_native8.GraniteEventDefinition);
156164
+ var _appsInTossEvent = new import_react_native9.GraniteEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new HomeIconButtonClickHandleEvent(), new BackButtonClickHandleEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
156170
156165
  var import_es_toolkit = _$$_REQUIRE(_dependencyMap[11], "es-toolkit");
156171
156166
  function _getOperationalEnvironment() {
156172
156167
  return _AppsInTossModule.operationalEnvironment;
156173
156168
  }
156174
- var import_react_native8 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156169
+ var import_react_native10 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156175
156170
  var SEMVER_REGEX = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\\-]+(?:\.[\da-z\\-]+)*))?(?:\+[\da-z\\-]+(?:\.[\da-z\\-]+)*)?)?)?$/i;
156176
156171
  var isWildcard = function isWildcard(val) {
156177
156172
  return ["*", "x", "X"].includes(val);
@@ -156254,7 +156249,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156254
156249
  return true;
156255
156250
  }
156256
156251
  var currentVersion = _AppsInTossModule.tossAppVersion;
156257
- var isIOS = import_react_native8.Platform.OS === "ios";
156252
+ var isIOS = import_react_native10.Platform.OS === "ios";
156258
156253
  var minVersion = isIOS ? minVersions.ios : minVersions.android;
156259
156254
  if (minVersion === void 0) {
156260
156255
  return false;
@@ -156800,7 +156795,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156800
156795
  removeItem: removeItem,
156801
156796
  clearItems: clearItems
156802
156797
  };
156803
- var import_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156798
+ var import_react_native11 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156804
156799
  var GAME_CENTER_MIN_VERSION = {
156805
156800
  android: "5.221.0",
156806
156801
  ios: "5.221.0"
@@ -156821,7 +156816,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156821
156816
  var url = new URL("servicetoss://game-center/leaderboard?_navbar=hide");
156822
156817
  url.searchParams.set("appName", appName);
156823
156818
  url.searchParams.set("referrer", "appsintoss." + appName);
156824
- return (0, import_react_native9.openURL)(url.toString());
156819
+ return (0, import_react_native11.openURL)(url.toString());
156825
156820
  });
156826
156821
  return _openGameCenterLeaderboard2.apply(this, arguments);
156827
156822
  }
@@ -156899,8 +156894,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156899
156894
  function _onVisibilityChangedByTransparentServiceWeb(eventParams) {
156900
156895
  return _appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
156901
156896
  }
156902
- var import_react_native10 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156903
- var _BedrockModule = import_react_native10.NativeModules.BedrockModule;
156897
+ var import_react_native12 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156898
+ var _BedrockModule = import_react_native12.NativeModules.BedrockModule;
156904
156899
  function _closeView() {
156905
156900
  return _closeView2.apply(this, arguments);
156906
156901
  }
@@ -156910,11 +156905,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156910
156905
  });
156911
156906
  return _closeView2.apply(this, arguments);
156912
156907
  }
156913
- var import_react_native11 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156908
+ var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156914
156909
  function _getLocale() {
156915
156910
  var _BedrockModule$Device, _BedrockModule$Device2;
156916
156911
  var locale = (_BedrockModule$Device = _BedrockModule == null ? void 0 : (_BedrockModule$Device2 = _BedrockModule.DeviceInfo) == null ? void 0 : _BedrockModule$Device2.locale) != null ? _BedrockModule$Device : "ko-KR";
156917
- if (import_react_native11.Platform.OS === "android") {
156912
+ if (import_react_native13.Platform.OS === "android") {
156918
156913
  return replaceUnderbarToHypen(locale);
156919
156914
  }
156920
156915
  return locale;
@@ -156964,18 +156959,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156964
156959
  });
156965
156960
  return _setIosSwipeGestureEnabled2.apply(this, arguments);
156966
156961
  }
156967
- var import_react_native12 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156962
+ var import_react_native14 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156968
156963
  function openURL2(url) {
156969
- return import_react_native12.Linking.openURL(url);
156964
+ return import_react_native14.Linking.openURL(url);
156970
156965
  }
156971
- var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156966
+ var import_react_native15 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156972
156967
  function _getPlatformOS() {
156973
- return import_react_native13.Platform.OS;
156968
+ return import_react_native15.Platform.OS;
156974
156969
  }
156975
- var import_react_native14 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156976
- var _BedrockCoreModule = import_react_native14.NativeModules.BedrockCoreModule;
156977
- var import_react_native15 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156978
- var TossCoreModule = import_react_native15.NativeModules.TossCoreModule;
156970
+ var import_react_native16 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156971
+ var _BedrockCoreModule = import_react_native16.NativeModules.BedrockCoreModule;
156972
+ var import_react_native17 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156973
+ var TossCoreModule = import_react_native17.NativeModules.TossCoreModule;
156979
156974
  function tossCoreEventLog(params) {
156980
156975
  var supported = _isMinVersionSupported({
156981
156976
  ios: "5.210.0",
@@ -229022,7 +229017,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229022
229017
  }
229023
229018
  });
229024
229019
  });
229025
- },2661,[2662,2677,2676],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
229020
+ },2661,[2662,2679,2678],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
229026
229021
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229027
229022
  Object.defineProperty(exports, "__esModule", {
229028
229023
  value: true
@@ -229035,19 +229030,56 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229035
229030
  }
229036
229031
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
229037
229032
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
229038
- },2662,[2663,2671],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
229033
+ },2662,[2663,2673],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
229039
229034
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229040
229035
  Object.defineProperty(exports, "__esModule", {
229041
229036
  value: true
229042
229037
  });
229043
229038
  exports.appsInTossEvent = void 0;
229044
229039
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "@granite-js/react-native");
229045
- var _EntryMessageExitedEvent = _$$_REQUIRE(_dependencyMap[1], "./event-plugins/EntryMessageExitedEvent");
229046
- var _UpdateLocationEvent = _$$_REQUIRE(_dependencyMap[2], "./event-plugins/UpdateLocationEvent");
229047
- var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/AppBridgeCallbackEvent");
229048
- var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[4], "./internal/VisibilityChangedByTransparentServiceWebEvent");
229049
- var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _EntryMessageExitedEvent.EntryMessageExitedEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
229050
- },2663,[2,2664,2665,2667,2670],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
229040
+ var _BackButtonClickHandleEvent = _$$_REQUIRE(_dependencyMap[1], "./event-plugins/BackButtonClickHandleEvent");
229041
+ var _EntryMessageExitedEvent = _$$_REQUIRE(_dependencyMap[2], "./event-plugins/EntryMessageExitedEvent");
229042
+ var _HomeIconButtonClickHandleEvent = _$$_REQUIRE(_dependencyMap[3], "./event-plugins/HomeIconButtonClickHandleEvent");
229043
+ var _UpdateLocationEvent = _$$_REQUIRE(_dependencyMap[4], "./event-plugins/UpdateLocationEvent");
229044
+ var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[5], "./internal/AppBridgeCallbackEvent");
229045
+ var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[6], "./internal/VisibilityChangedByTransparentServiceWebEvent");
229046
+ 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()]);
229047
+ },2663,[2,2664,2665,2666,2667,2669,2672],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
229048
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229049
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229050
+ Object.defineProperty(exports, "__esModule", {
229051
+ value: true
229052
+ });
229053
+ exports.BackButtonClickHandleEvent = void 0;
229054
+ var _classCallCheck2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/classCallCheck"));
229055
+ var _createClass2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/createClass"));
229056
+ var _possibleConstructorReturn2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/possibleConstructorReturn"));
229057
+ var _getPrototypeOf2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/getPrototypeOf"));
229058
+ var _inherits2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/inherits"));
229059
+ var _reactNative = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
229060
+ 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)); }
229061
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
229062
+ var BackButtonClickHandleEvent = exports.BackButtonClickHandleEvent = function (_GraniteEventDefiniti) {
229063
+ function BackButtonClickHandleEvent() {
229064
+ var _this;
229065
+ (0, _classCallCheck2.default)(this, BackButtonClickHandleEvent);
229066
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
229067
+ args[_key] = arguments[_key];
229068
+ }
229069
+ _this = _callSuper(this, BackButtonClickHandleEvent, [].concat(args));
229070
+ _this.name = 'backButtonClickEvent';
229071
+ return _this;
229072
+ }
229073
+ (0, _inherits2.default)(BackButtonClickHandleEvent, _GraniteEventDefiniti);
229074
+ return (0, _createClass2.default)(BackButtonClickHandleEvent, [{
229075
+ key: "remove",
229076
+ value: function remove() {}
229077
+ }, {
229078
+ key: "listener",
229079
+ value: function listener(_) {}
229080
+ }]);
229081
+ }(_reactNative.GraniteEventDefinition);
229082
+ },2664,[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");
229051
229083
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229052
229084
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229053
229085
  Object.defineProperty(exports, "__esModule", {
@@ -229082,7 +229114,42 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229082
229114
  value: function listener(_) {}
229083
229115
  }]);
229084
229116
  }(_reactNative.GraniteEventDefinition);
229085
- },2664,[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");
229117
+ },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");
229118
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229119
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229120
+ Object.defineProperty(exports, "__esModule", {
229121
+ value: true
229122
+ });
229123
+ exports.HomeIconButtonClickHandleEvent = void 0;
229124
+ var _classCallCheck2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/classCallCheck"));
229125
+ var _createClass2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/createClass"));
229126
+ var _possibleConstructorReturn2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/possibleConstructorReturn"));
229127
+ var _getPrototypeOf2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/getPrototypeOf"));
229128
+ var _inherits2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/inherits"));
229129
+ var _reactNative = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
229130
+ 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)); }
229131
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
229132
+ var HomeIconButtonClickHandleEvent = exports.HomeIconButtonClickHandleEvent = function (_GraniteEventDefiniti) {
229133
+ function HomeIconButtonClickHandleEvent() {
229134
+ var _this;
229135
+ (0, _classCallCheck2.default)(this, HomeIconButtonClickHandleEvent);
229136
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
229137
+ args[_key] = arguments[_key];
229138
+ }
229139
+ _this = _callSuper(this, HomeIconButtonClickHandleEvent, [].concat(args));
229140
+ _this.name = 'homeIconButtonClickEvent';
229141
+ return _this;
229142
+ }
229143
+ (0, _inherits2.default)(HomeIconButtonClickHandleEvent, _GraniteEventDefiniti);
229144
+ return (0, _createClass2.default)(HomeIconButtonClickHandleEvent, [{
229145
+ key: "remove",
229146
+ value: function remove() {}
229147
+ }, {
229148
+ key: "listener",
229149
+ value: function listener(_) {}
229150
+ }]);
229151
+ }(_reactNative.GraniteEventDefinition);
229152
+ },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/HomeIconButtonClickHandleEvent.ts");
229086
229153
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229087
229154
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229088
229155
  Object.defineProperty(exports, "__esModule", {
@@ -229149,7 +229216,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229149
229216
  }
229150
229217
  }]);
229151
229218
  }(_reactNative.GraniteEventDefinition);
229152
- },2665,[1,24,25,43,46,47,1260,2,2632,2633,2666],"../../.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");
229219
+ },2667,[1,24,25,43,46,47,1260,2,2632,2633,2668],"../../.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");
229153
229220
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229154
229221
  Object.defineProperty(exports, "__esModule", {
229155
229222
  value: true
@@ -229158,7 +229225,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229158
229225
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "react-native");
229159
229226
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[1], "../native-modules/AppsInTossModule");
229160
229227
  var nativeEventEmitter = exports.nativeEventEmitter = new _reactNative.NativeEventEmitter(_AppsInTossModule.AppsInTossModuleInstance);
229161
- },2666,[18,2632],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
229228
+ },2668,[18,2632],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
229162
229229
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229163
229230
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229164
229231
  Object.defineProperty(exports, "__esModule", {
@@ -229211,7 +229278,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229211
229278
  }
229212
229279
  }]);
229213
229280
  }(_reactNative.GraniteEventDefinition);
229214
- },2667,[1,24,25,43,46,47,2,2668,2666],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
229281
+ },2669,[1,24,25,43,46,47,2,2670,2668],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
229215
229282
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229216
229283
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229217
229284
  Object.defineProperty(exports, "__esModule", {
@@ -229288,7 +229355,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229288
229355
  unregisterCallback: unregisterCallback,
229289
229356
  getCallbackIds: getCallbackIds
229290
229357
  };
229291
- },2668,[1,61,207,2669,2632],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
229358
+ },2670,[1,61,207,2671,2632],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
229292
229359
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229293
229360
  Object.defineProperty(exports, "__esModule", {
229294
229361
  value: true
@@ -229297,7 +229364,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229297
229364
  function generateUUID(placeholder) {
229298
229365
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
229299
229366
  }
229300
- },2669,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
229367
+ },2671,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
229301
229368
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229302
229369
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229303
229370
  Object.defineProperty(exports, "__esModule", {
@@ -229355,7 +229422,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229355
229422
  }
229356
229423
  }]);
229357
229424
  }(_reactNative.GraniteEventDefinition);
229358
- },2670,[1,24,25,43,46,47,2,2666],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
229425
+ },2672,[1,24,25,43,46,47,2,2668],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
229359
229426
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229360
229427
  Object.defineProperty(exports, "__esModule", {
229361
229428
  value: true
@@ -229647,7 +229714,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229647
229714
  loadAppsInTossAdMob: _googleAdMobV.loadAppsInTossAdMob,
229648
229715
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob
229649
229716
  };
229650
- },2671,[2672,2673,2648,2632,2642,2643,2639,2638,2637,2640,2635,2641,2660,2658,2659,2646,2674,2644,2649,2647,2675,2652,2650,2653,2676],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
229717
+ },2673,[2674,2675,2648,2632,2642,2643,2639,2638,2637,2640,2635,2641,2660,2658,2659,2646,2676,2644,2649,2647,2677,2652,2650,2653,2678],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
229651
229718
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229652
229719
  Object.defineProperty(exports, "__esModule", {
229653
229720
  value: true
@@ -229808,7 +229875,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229808
229875
  loadAdMobRewardedAd.isSupported = createIsSupported();
229809
229876
  showAdMobInterstitialAd.isSupported = createIsSupported();
229810
229877
  showAdMobRewardedAd.isSupported = createIsSupported();
229811
- },2672,[1261,2668,2658,2644],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
229878
+ },2674,[1261,2670,2658,2644],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
229812
229879
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229813
229880
  Object.defineProperty(exports, "__esModule", {
229814
229881
  value: true
@@ -229904,7 +229971,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229904
229971
  }
229905
229972
  loadAppsInTossAdMob.isSupported = createIsSupported();
229906
229973
  showAppsInTossAdMob.isSupported = createIsSupported();
229907
- },2673,[1261,2668,2658,2644],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
229974
+ },2675,[1261,2670,2658,2644],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
229908
229975
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229909
229976
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
229910
229977
  Object.defineProperty(exports, "__esModule", {
@@ -229950,7 +230017,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229950
230017
  createOneTimePurchaseOrder: createOneTimePurchaseOrder,
229951
230018
  getProductItemList: getProductItemList
229952
230019
  };
229953
- },2674,[1,16,2632,2644],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
230020
+ },2676,[1,16,2632,2644],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
229954
230021
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229955
230022
  Object.defineProperty(exports, "__esModule", {
229956
230023
  value: true
@@ -229982,7 +230049,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
229982
230049
  removeItem: removeItem,
229983
230050
  clearItems: clearItems
229984
230051
  };
229985
- },2675,[2632],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
230052
+ },2677,[2632],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
229986
230053
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
229987
230054
  Object.defineProperty(exports, "__esModule", {
229988
230055
  value: true
@@ -230018,7 +230085,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230018
230085
  });
230019
230086
  return unregisterCallbacks;
230020
230087
  }
230021
- },2676,[2668,2644],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
230088
+ },2678,[2670,2644],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
230022
230089
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230023
230090
  Object.defineProperty(exports, "__esModule", {
230024
230091
  value: true
@@ -230028,7 +230095,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230028
230095
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
230029
230096
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
230030
230097
  }
230031
- },2677,[2663],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
230098
+ },2679,[2663],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
230032
230099
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230033
230100
  "use strict";
230034
230101
 
@@ -230093,7 +230160,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230093
230160
  closeView: _closeView,
230094
230161
  openURL: _openURL
230095
230162
  });
230096
- },2678,[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");
230163
+ },2680,[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");
230097
230164
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230098
230165
  "use strict";
230099
230166
 
@@ -230143,7 +230210,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230143
230210
  0 && (module.exports = {
230144
230211
  getSchemeUri: _getSchemeUri
230145
230212
  });
230146
- },2679,[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");
230213
+ },2681,[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");
230147
230214
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230148
230215
  Object.defineProperty(exports, "__esModule", {
230149
230216
  value: true
@@ -230158,7 +230225,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230158
230225
  context.keys = function () {
230159
230226
  return Array.from(files.keys());
230160
230227
  };
230161
- },2680,[2681,2682],"react-native/context.ts");
230228
+ },2682,[2683,2684],"react-native/context.ts");
230162
230229
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230163
230230
  Object.defineProperty(exports, "__esModule", {
230164
230231
  value: true
@@ -230191,7 +230258,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230191
230258
  })
230192
230259
  });
230193
230260
  }
230194
- },2681,[1256,18,9],"react-native/pages/index.tsx");
230261
+ },2683,[1256,18,9],"react-native/pages/index.tsx");
230195
230262
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
230196
230263
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
230197
230264
  Object.defineProperty(exports, "__esModule", {
@@ -230204,6 +230271,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
230204
230271
  }
230205
230272
  });
230206
230273
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
230207
- },2682,[1,2681],"react-native/pages/_404.tsx");
230274
+ },2684,[1,2683],"react-native/pages/_404.tsx");
230208
230275
  __r(134);
230209
230276
  __r(0);