@apps-in-toss/web-framework 2.0.4 → 2.0.5

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.
@@ -1250,19 +1250,25 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
1250
1250
  }
1251
1251
  });
1252
1252
  }
1253
- function createTossCoreModuleCompat(reactNative, miniAppModule) {
1254
- var tossCoreModule = getNativeModule(reactNative, [
1253
+ function createTossCoreModuleCompat(reactNative) {
1254
+ var tossCoreModule = getRequiredNativeModule(reactNative, [
1255
1255
  "TossCoreModule"
1256
- ]);
1257
- if (isRecord(tossCoreModule)) {
1258
- return tossCoreModule;
1259
- }
1260
- return {
1261
- moduleName: "TossCoreModule",
1262
- eventLog: function(params) {
1263
- return Promise.resolve(callMiniAppMethod(miniAppModule, "eventLog", params));
1256
+ ], "TossCoreModule");
1257
+ return new Proxy(tossCoreModule, {
1258
+ get: function get(target, prop) {
1259
+ if (prop === "moduleName") {
1260
+ return "TossCoreModule";
1261
+ }
1262
+ if (prop === "eventLog") {
1263
+ return function(params) {
1264
+ return target[prop]({
1265
+ params
1266
+ });
1267
+ };
1268
+ }
1269
+ return Reflect.get(target, prop);
1264
1270
  }
1265
- };
1271
+ });
1266
1272
  }
1267
1273
  function createBrickModuleCompat(globalRef) {
1268
1274
  var cache = /* @__PURE__ */ new Map();
@@ -1297,7 +1303,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
1297
1303
  return createMiniAppModuleCompat(getMiniAppModule(), getReactNativeRuntime());
1298
1304
  },
1299
1305
  TossCoreModule: function() {
1300
- return createTossCoreModuleCompat(getReactNativeRuntime(), getMiniAppModule());
1306
+ return createTossCoreModuleCompat(getReactNativeRuntime());
1301
1307
  },
1302
1308
  MiniAppBundleLoader: function() {
1303
1309
  return getRequiredNativeModule(getReactNativeRuntime(), [
@@ -45577,11 +45583,16 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45577
45583
  title: "\uD648 \uD654\uBA74\uC5D0 \uCD94\uAC00",
45578
45584
  iconURL: "https://static.toss.im/icons/png/4x/icon-plus-circle-mono.png",
45579
45585
  onPress: function() {
45580
- import_react_native204.NativeModules.AppsInTossModule.addMiniAppShortcut({
45586
+ INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
45581
45587
  title: globals.brandDisplayName,
45582
45588
  appName: global.__granite.app.name,
45583
45589
  iconUrl: globals.brandIcon,
45584
45590
  guideUrl: "https://service.toss.im/app-mini-home/shortcut"
45591
+ }, {
45592
+ onSuccess: function() {
45593
+ },
45594
+ onError: function() {
45595
+ }
45585
45596
  });
45586
45597
  }
45587
45598
  });
@@ -45801,10 +45812,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45801
45812
  type: "none"
45802
45813
  }
45803
45814
  }),
45804
- (0, import_jsx_runtime227.jsx)(import_react_native206.View, {
45815
+ (0, import_jsx_runtime227.jsx)(import_react_native205.View, {
45805
45816
  style: {
45806
45817
  width: "100%",
45807
- height: import_react_native206.Platform.OS === "ios" ? 44 : 54,
45818
+ height: import_react_native205.Platform.OS === "ios" ? 44 : 54,
45808
45819
  flexDirection: "row",
45809
45820
  alignItems: "center",
45810
45821
  justifyContent: "flex-end",
@@ -45939,11 +45950,11 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45939
45950
  var children = param.children;
45940
45951
  var isRNApp = getAppsInTossGlobals().webViewType == null;
45941
45952
  return (0, import_jsx_runtime229.jsx)(NavigationBarContextProvider, {
45942
- children: (0, import_jsx_runtime229.jsx)(Analytics.Screen, {
45943
- children: isRNApp ? (0, import_jsx_runtime229.jsx)(RNAppContainer, {
45953
+ children: isRNApp ? (0, import_jsx_runtime229.jsx)(Analytics.Screen, {
45954
+ children: (0, import_jsx_runtime229.jsx)(RNAppContainer, {
45944
45955
  children
45945
- }) : children
45946
- })
45956
+ })
45957
+ }) : children
45947
45958
  });
45948
45959
  }
45949
45960
  function getAppName() {
@@ -46006,10 +46017,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46006
46017
  type: "none"
46007
46018
  }
46008
46019
  }),
46009
- (0, import_jsx_runtime230.jsx)(import_react_native211.View, {
46020
+ (0, import_jsx_runtime230.jsx)(import_react_native210.View, {
46010
46021
  style: {
46011
46022
  width: "100%",
46012
- height: import_react_native211.Platform.OS === "ios" ? 44 : 54,
46023
+ height: import_react_native210.Platform.OS === "ios" ? 44 : 54,
46013
46024
  flexDirection: "row",
46014
46025
  alignItems: "center",
46015
46026
  justifyContent: "flex-end",
@@ -46959,7 +46970,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46959
46970
  var batteryModePreference = param.batteryModePreference, colorPreference = param.colorPreference, locale = param.locale, navbarPreference = param.navbarPreference, pureSafeArea = param.pureSafeArea, safeArea = param.safeArea, safeAreaBottomTransparency = param.safeAreaBottomTransparency;
46960
46971
  var platform = getPlatformOS();
46961
46972
  var appVersion = getTossAppVersion();
46962
- var fontScale = (0, import_react_native217.useWindowDimensions)().fontScale;
46973
+ var fontScale = (0, import_react_native216.useWindowDimensions)().fontScale;
46963
46974
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
46964
46975
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
46965
46976
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
@@ -47227,12 +47238,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47227
47238
  memoryDebugLog: webViewMemoryDebugLog,
47228
47239
  debugLog: function(event) {
47229
47240
  return _async_to_generator(function() {
47230
- var _NativeModules2_AppsInTossModule, _NativeModules2_TossCoreModule;
47231
47241
  return __generator(this, function(_state) {
47232
- (_NativeModules2_AppsInTossModule = import_react_native208.NativeModules.AppsInTossModule) === null || _NativeModules2_AppsInTossModule === void 0 ? void 0 : _NativeModules2_AppsInTossModule.eventLog(event);
47233
- (_NativeModules2_TossCoreModule = import_react_native208.NativeModules.TossCoreModule) === null || _NativeModules2_TossCoreModule === void 0 ? void 0 : _NativeModules2_TossCoreModule.eventLog({
47234
- params: event
47235
- });
47242
+ eventLog(event);
47243
+ INTERNAL__module.tossCoreEventLog(event);
47236
47244
  return [
47237
47245
  2
47238
47246
  ];
@@ -47271,7 +47279,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47271
47279
  webBackHandler.handleWebBack();
47272
47280
  return true;
47273
47281
  };
47274
- var subscription = import_react_native208.BackHandler.addEventListener("hardwareBackPress", callback);
47282
+ var subscription = import_react_native207.BackHandler.addEventListener("hardwareBackPress", callback);
47275
47283
  return function() {
47276
47284
  return subscription.remove();
47277
47285
  };
@@ -47293,12 +47301,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47293
47301
  onNavigationStateChange: function(event) {
47294
47302
  var _props_onNavigationStateChange;
47295
47303
  if (event.url) {
47296
- trackScreen(event.url);
47304
+ trackScreen(event.url, event.title);
47297
47305
  }
47298
47306
  (_props_onNavigationStateChange = props.onNavigationStateChange) === null || _props_onNavigationStateChange === void 0 ? void 0 : _props_onNavigationStateChange.call(props, event);
47299
47307
  webBackHandler.onNavigationStateChange(event);
47300
47308
  },
47301
- userAgent: import_react_native208.Platform.OS === "ios" ? userAgent : void 0,
47309
+ userAgent: import_react_native207.Platform.OS === "ios" ? userAgent : void 0,
47302
47310
  sharedCookiesEnabled: true,
47303
47311
  webviewDebuggingEnabled: webViewDebuggingEnabled,
47304
47312
  thirdPartyCookiesEnabled: true,
@@ -47308,7 +47316,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47308
47316
  handler.injectedJavaScript,
47309
47317
  t53
47310
47318
  ].join("\n"),
47311
- decelerationRate: import_react_native208.Platform.OS === "ios" ? 1 : void 0,
47319
+ decelerationRate: import_react_native207.Platform.OS === "ios" ? 1 : void 0,
47312
47320
  allowsBackForwardNavigationGestures,
47313
47321
  onShouldStartLoadWithRequest: function(event) {
47314
47322
  try {
@@ -47320,7 +47328,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47320
47328
  return true;
47321
47329
  } else {
47322
47330
  var _convertIntentURL;
47323
- import_react_native208.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
47331
+ import_react_native207.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
47324
47332
  return false;
47325
47333
  }
47326
47334
  } catch (error) {
@@ -47341,7 +47349,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47341
47349
  onRenderProcessGone: handleWebViewProcessDidTerminate
47342
47350
  }));
47343
47351
  }
47344
- var import_react_native184, import_react179, import_react180, import_react181, import_react182, import_jsx_runtime216, import_react183, import_jsx_runtime217, import_react184, import_react_native190, import_react185, import_react_native192, import_react186, import_react_native194, import_react187, import_react188, import_react189, import_react190, import_jsx_runtime218, import_jsx_runtime219, import_react191, import_react_native197, import_react192, import_react193, import_react194, import_react_native202, import_jsx_runtime220, import_jsx_runtime221, import_react_native204, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react195, import_jsx_runtime225, import_jsx_runtime226, import_react_native206, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react196, import_react_native208, import_react197, import_react_native209, import_react198, import_react_native211, import_jsx_runtime230, import_jsx_runtime231, import_react199, import_react200, import_jsx_runtime232, import_jsx_runtime233, import_react201, import_react202, import_react203, import_react204, import_react_native217, import_react205, import_react206, import_jsx_runtime234, import_react207, import_react_native220, import_react208, import_react_native221, import_jsx_runtime235, import_react209, import_react_native222, import_jsx_runtime236, import_jsx_runtime237, __GlobalEventDeduplicator, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, EventEmitter, eventEmitter, homeEvent, safeAreaInsetsChange, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, INITIAL_STATE, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId2, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, ERROR_CODES, _obj6, ERROR_MESSAGES, API_RESULT_ERROR_MAP, AD_STATUS_ERROR_MAP, GlobalEventDeduplicator, globalEventDeduplicator, styles3, styles22, styles32, Analytics2;
47352
+ var import_react_native184, import_react179, import_react180, import_react181, import_react182, import_jsx_runtime216, import_react183, import_jsx_runtime217, import_react184, import_react_native190, import_react185, import_react_native192, import_react186, import_react_native194, import_react187, import_react188, import_react189, import_react190, import_jsx_runtime218, import_jsx_runtime219, import_react191, import_react_native197, import_react192, import_react193, import_react194, import_react_native202, import_jsx_runtime220, import_jsx_runtime221, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react195, import_jsx_runtime225, import_jsx_runtime226, import_react_native205, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react196, import_react_native207, import_react197, import_react_native208, import_react198, import_react_native210, import_jsx_runtime230, import_jsx_runtime231, import_react199, import_react200, import_jsx_runtime232, import_jsx_runtime233, import_react201, import_react202, import_react203, import_react204, import_react_native216, import_react205, import_react206, import_jsx_runtime234, import_react207, import_react_native219, import_react208, import_react_native220, import_jsx_runtime235, import_react209, import_react_native221, import_jsx_runtime236, import_jsx_runtime237, __GlobalEventDeduplicator, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, EventEmitter, eventEmitter, homeEvent, safeAreaInsetsChange, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, INITIAL_STATE, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId2, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, ERROR_CODES, _obj6, ERROR_MESSAGES, API_RESULT_ERROR_MAP, AD_STATUS_ERROR_MAP, GlobalEventDeduplicator, globalEventDeduplicator, styles3, styles22, styles32, Analytics2;
47345
47353
  var init_dist8 = __esm({
47346
47354
  "../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
47347
47355
  "use strict";
@@ -47433,7 +47441,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47433
47441
  import_jsx_runtime220 = __toESM(require_jsx_runtime(), 1);
47434
47442
  import_jsx_runtime221 = __toESM(require_jsx_runtime(), 1);
47435
47443
  init_dist5();
47436
- import_react_native204 = __toESM(require_react_native(), 1);
47437
47444
  import_jsx_runtime222 = __toESM(require_jsx_runtime(), 1);
47438
47445
  init_dist5();
47439
47446
  init_src3();
@@ -47445,7 +47452,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47445
47452
  init_react_native_safe_area_context();
47446
47453
  init_esm7();
47447
47454
  init_private2();
47448
- import_react_native206 = __toESM(require_react_native(), 1);
47455
+ import_react_native205 = __toESM(require_react_native(), 1);
47449
47456
  import_jsx_runtime227 = __toESM(require_jsx_runtime(), 1);
47450
47457
  init_async_bridges();
47451
47458
  init_constant_bridges2();
@@ -47462,18 +47469,18 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47462
47469
  init_esm7();
47463
47470
  init_private2();
47464
47471
  import_react196 = __toESM(require_react(), 1);
47465
- import_react_native208 = __toESM(require_react_native(), 1);
47472
+ import_react_native207 = __toESM(require_react_native(), 1);
47466
47473
  init_dist5();
47467
47474
  init_react_native_webview();
47468
47475
  import_react197 = __toESM(require_react(), 1);
47469
- import_react_native209 = __toESM(require_react_native(), 1);
47476
+ import_react_native208 = __toESM(require_react_native(), 1);
47470
47477
  init_react_native_safe_area_context();
47471
47478
  init_src3();
47472
47479
  init_esm7();
47473
47480
  init_private2();
47474
47481
  init_dist6();
47475
47482
  import_react198 = __toESM(require_react(), 1);
47476
- import_react_native211 = __toESM(require_react_native(), 1);
47483
+ import_react_native210 = __toESM(require_react_native(), 1);
47477
47484
  import_jsx_runtime230 = __toESM(require_jsx_runtime(), 1);
47478
47485
  import_jsx_runtime231 = __toESM(require_jsx_runtime(), 1);
47479
47486
  init_react_native_webview();
@@ -47501,7 +47508,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47501
47508
  import_react203 = __toESM(require_react(), 1);
47502
47509
  import_react204 = __toESM(require_react(), 1);
47503
47510
  init_dist5();
47504
- import_react_native217 = __toESM(require_react_native(), 1);
47511
+ import_react_native216 = __toESM(require_react_native(), 1);
47505
47512
  init_dist5();
47506
47513
  import_react205 = __toESM(require_react(), 1);
47507
47514
  import_react206 = __toESM(require_react(), 1);
@@ -47516,12 +47523,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47516
47523
  init_dist3();
47517
47524
  init_dist3();
47518
47525
  import_react207 = __toESM(require_react(), 1);
47519
- import_react_native220 = __toESM(require_react_native(), 1);
47526
+ import_react_native219 = __toESM(require_react_native(), 1);
47520
47527
  import_react208 = __toESM(require_react(), 1);
47521
- import_react_native221 = __toESM(require_react_native(), 1);
47528
+ import_react_native220 = __toESM(require_react_native(), 1);
47522
47529
  import_jsx_runtime235 = __toESM(require_jsx_runtime(), 1);
47523
47530
  import_react209 = __toESM(require_react(), 1);
47524
- import_react_native222 = __toESM(require_react_native(), 1);
47531
+ import_react_native221 = __toESM(require_react_native(), 1);
47525
47532
  import_jsx_runtime236 = __toESM(require_jsx_runtime(), 1);
47526
47533
  import_jsx_runtime237 = __toESM(require_jsx_runtime(), 1);
47527
47534
  __defProp2 = Object.defineProperty;
@@ -48131,7 +48138,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48131
48138
  };
48132
48139
  GameWebView = /* @__PURE__ */ (0, import_react197.forwardRef)(function GameWebView2(props, ref) {
48133
48140
  (0, import_react197.useEffect)(function() {
48134
- if (import_react_native209.Platform.OS === "ios") {
48141
+ if (import_react_native208.Platform.OS === "ios") {
48135
48142
  setIosSwipeGestureEnabled({
48136
48143
  isEnabled: false
48137
48144
  });
@@ -48275,7 +48282,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48275
48282
  return "";
48276
48283
  }
48277
48284
  };
48278
- trackScreen = function(url) {
48285
+ trackScreen = function(url, title) {
48279
48286
  var _getGroupId = getGroupId2(url), groupId = _getGroupId.groupId, search = _getGroupId.search;
48280
48287
  var log = {
48281
48288
  log_type: "screen",
@@ -48283,6 +48290,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48283
48290
  params: {
48284
48291
  search,
48285
48292
  referrer: getReferrer22(),
48293
+ document_title: title,
48286
48294
  deployment_id: env.getDeploymentId(),
48287
48295
  deployment_timestamp: extractDateFromUUIDv7(env.getDeploymentId()).getTime()
48288
48296
  }
@@ -48418,7 +48426,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48418
48426
  return _GlobalEventDeduplicator;
48419
48427
  }(), __GlobalEventDeduplicator.MAX_EVENTS = 1e4, __GlobalEventDeduplicator);
48420
48428
  globalEventDeduplicator = new GlobalEventDeduplicator();
48421
- styles3 = import_react_native221.StyleSheet.create({
48429
+ styles3 = import_react_native220.StyleSheet.create({
48422
48430
  pressable: {
48423
48431
  width: "100%"
48424
48432
  },
@@ -48456,7 +48464,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48456
48464
  height: 36,
48457
48465
  borderRadius: 18
48458
48466
  },
48459
- logoOverlay: _object_spread_props(_object_spread({}, import_react_native221.StyleSheet.absoluteFillObject), {
48467
+ logoOverlay: _object_spread_props(_object_spread({}, import_react_native220.StyleSheet.absoluteFillObject), {
48460
48468
  borderWidth: 1,
48461
48469
  borderRadius: 18
48462
48470
  }),
@@ -48518,7 +48526,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48518
48526
  fontWeight: "600",
48519
48527
  lineHeight: 22.5
48520
48528
  },
48521
- cardOverlay: _object_spread_props(_object_spread({}, import_react_native221.StyleSheet.absoluteFillObject), {
48529
+ cardOverlay: _object_spread_props(_object_spread({}, import_react_native220.StyleSheet.absoluteFillObject), {
48522
48530
  borderWidth: 2,
48523
48531
  borderRadius: 12,
48524
48532
  pointerEvents: "none"
@@ -48529,7 +48537,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48529
48537
  fontWeight: "400"
48530
48538
  }
48531
48539
  });
48532
- styles22 = import_react_native222.StyleSheet.create({
48540
+ styles22 = import_react_native221.StyleSheet.create({
48533
48541
  pressable: {
48534
48542
  width: "100%"
48535
48543
  },
@@ -48574,7 +48582,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48574
48582
  width: "100%"
48575
48583
  }
48576
48584
  });
48577
- styles32 = import_react_native220.StyleSheet.create({
48585
+ styles32 = import_react_native219.StyleSheet.create({
48578
48586
  impressionArea: {
48579
48587
  width: "100%"
48580
48588
  },
@@ -48609,7 +48617,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48609
48617
  }
48610
48618
  });
48611
48619
  function Index() {
48612
- return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_native223.View, {
48620
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_native222.View, {
48613
48621
  style: {
48614
48622
  flex: 1
48615
48623
  },
@@ -48631,13 +48639,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48631
48639
  })
48632
48640
  });
48633
48641
  }
48634
- var import_jsx_runtime238, import_react_native223;
48642
+ var import_jsx_runtime238, import_react_native222;
48635
48643
  var init_pages = __esm({
48636
48644
  "react-native/pages/index.tsx"() {
48637
48645
  "use strict";
48638
48646
  import_jsx_runtime238 = __toESM(require_jsx_runtime(), 1);
48639
48647
  init_dist8();
48640
- import_react_native223 = __toESM(require_react_native(), 1);
48648
+ import_react_native222 = __toESM(require_react_native(), 1);
48641
48649
  }
48642
48650
  });
48643
48651
 
@@ -44970,11 +44970,16 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
44970
44970
  title: "\uD648 \uD654\uBA74\uC5D0 \uCD94\uAC00",
44971
44971
  iconURL: "https://static.toss.im/icons/png/4x/icon-plus-circle-mono.png",
44972
44972
  onPress: function() {
44973
- import_react_native204.NativeModules.AppsInTossModule.addMiniAppShortcut({
44973
+ INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
44974
44974
  title: globals.brandDisplayName,
44975
44975
  appName: global.__granite.app.name,
44976
44976
  iconUrl: globals.brandIcon,
44977
44977
  guideUrl: "https://service.toss.im/app-mini-home/shortcut"
44978
+ }, {
44979
+ onSuccess: function() {
44980
+ },
44981
+ onError: function() {
44982
+ }
44978
44983
  });
44979
44984
  }
44980
44985
  });
@@ -45194,10 +45199,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45194
45199
  type: "none"
45195
45200
  }
45196
45201
  }),
45197
- (0, import_jsx_runtime227.jsx)(import_react_native206.View, {
45202
+ (0, import_jsx_runtime227.jsx)(import_react_native205.View, {
45198
45203
  style: {
45199
45204
  width: "100%",
45200
- height: import_react_native206.Platform.OS === "ios" ? 44 : 54,
45205
+ height: import_react_native205.Platform.OS === "ios" ? 44 : 54,
45201
45206
  flexDirection: "row",
45202
45207
  alignItems: "center",
45203
45208
  justifyContent: "flex-end",
@@ -45332,11 +45337,11 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45332
45337
  var children = param.children;
45333
45338
  var isRNApp = getAppsInTossGlobals().webViewType == null;
45334
45339
  return (0, import_jsx_runtime229.jsx)(NavigationBarContextProvider, {
45335
- children: (0, import_jsx_runtime229.jsx)(Analytics.Screen, {
45336
- children: isRNApp ? (0, import_jsx_runtime229.jsx)(RNAppContainer, {
45340
+ children: isRNApp ? (0, import_jsx_runtime229.jsx)(Analytics.Screen, {
45341
+ children: (0, import_jsx_runtime229.jsx)(RNAppContainer, {
45337
45342
  children
45338
- }) : children
45339
- })
45343
+ })
45344
+ }) : children
45340
45345
  });
45341
45346
  }
45342
45347
  function getAppName() {
@@ -45399,10 +45404,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45399
45404
  type: "none"
45400
45405
  }
45401
45406
  }),
45402
- (0, import_jsx_runtime230.jsx)(import_react_native211.View, {
45407
+ (0, import_jsx_runtime230.jsx)(import_react_native210.View, {
45403
45408
  style: {
45404
45409
  width: "100%",
45405
- height: import_react_native211.Platform.OS === "ios" ? 44 : 54,
45410
+ height: import_react_native210.Platform.OS === "ios" ? 44 : 54,
45406
45411
  flexDirection: "row",
45407
45412
  alignItems: "center",
45408
45413
  justifyContent: "flex-end",
@@ -46352,7 +46357,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46352
46357
  var batteryModePreference = param.batteryModePreference, colorPreference = param.colorPreference, locale = param.locale, navbarPreference = param.navbarPreference, pureSafeArea = param.pureSafeArea, safeArea = param.safeArea, safeAreaBottomTransparency = param.safeAreaBottomTransparency;
46353
46358
  var platform = getPlatformOS();
46354
46359
  var appVersion = getTossAppVersion();
46355
- var fontScale = (0, import_react_native217.useWindowDimensions)().fontScale;
46360
+ var fontScale = (0, import_react_native216.useWindowDimensions)().fontScale;
46356
46361
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
46357
46362
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
46358
46363
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
@@ -46620,12 +46625,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46620
46625
  memoryDebugLog: webViewMemoryDebugLog,
46621
46626
  debugLog: function(event) {
46622
46627
  return _async_to_generator(function() {
46623
- var _NativeModules2_AppsInTossModule, _NativeModules2_TossCoreModule;
46624
46628
  return __generator(this, function(_state) {
46625
- (_NativeModules2_AppsInTossModule = import_react_native208.NativeModules.AppsInTossModule) === null || _NativeModules2_AppsInTossModule === void 0 ? void 0 : _NativeModules2_AppsInTossModule.eventLog(event);
46626
- (_NativeModules2_TossCoreModule = import_react_native208.NativeModules.TossCoreModule) === null || _NativeModules2_TossCoreModule === void 0 ? void 0 : _NativeModules2_TossCoreModule.eventLog({
46627
- params: event
46628
- });
46629
+ eventLog(event);
46630
+ INTERNAL__module.tossCoreEventLog(event);
46629
46631
  return [
46630
46632
  2
46631
46633
  ];
@@ -46664,7 +46666,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46664
46666
  webBackHandler.handleWebBack();
46665
46667
  return true;
46666
46668
  };
46667
- var subscription = import_react_native208.BackHandler.addEventListener("hardwareBackPress", callback);
46669
+ var subscription = import_react_native207.BackHandler.addEventListener("hardwareBackPress", callback);
46668
46670
  return function() {
46669
46671
  return subscription.remove();
46670
46672
  };
@@ -46686,12 +46688,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46686
46688
  onNavigationStateChange: function(event) {
46687
46689
  var _props_onNavigationStateChange;
46688
46690
  if (event.url) {
46689
- trackScreen(event.url);
46691
+ trackScreen(event.url, event.title);
46690
46692
  }
46691
46693
  (_props_onNavigationStateChange = props.onNavigationStateChange) === null || _props_onNavigationStateChange === void 0 ? void 0 : _props_onNavigationStateChange.call(props, event);
46692
46694
  webBackHandler.onNavigationStateChange(event);
46693
46695
  },
46694
- userAgent: import_react_native208.Platform.OS === "ios" ? userAgent : void 0,
46696
+ userAgent: import_react_native207.Platform.OS === "ios" ? userAgent : void 0,
46695
46697
  sharedCookiesEnabled: true,
46696
46698
  webviewDebuggingEnabled: webViewDebuggingEnabled,
46697
46699
  thirdPartyCookiesEnabled: true,
@@ -46701,7 +46703,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46701
46703
  handler.injectedJavaScript,
46702
46704
  t53
46703
46705
  ].join("\n"),
46704
- decelerationRate: import_react_native208.Platform.OS === "ios" ? 1 : void 0,
46706
+ decelerationRate: import_react_native207.Platform.OS === "ios" ? 1 : void 0,
46705
46707
  allowsBackForwardNavigationGestures,
46706
46708
  onShouldStartLoadWithRequest: function(event) {
46707
46709
  try {
@@ -46713,7 +46715,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46713
46715
  return true;
46714
46716
  } else {
46715
46717
  var _convertIntentURL;
46716
- import_react_native208.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
46718
+ import_react_native207.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
46717
46719
  return false;
46718
46720
  }
46719
46721
  } catch (error) {
@@ -46734,7 +46736,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46734
46736
  onRenderProcessGone: handleWebViewProcessDidTerminate
46735
46737
  }));
46736
46738
  }
46737
- var import_react_native184, import_react179, import_react180, import_react181, import_react182, import_jsx_runtime216, import_react183, import_jsx_runtime217, import_react184, import_react_native190, import_react185, import_react_native192, import_react186, import_react_native194, import_react187, import_react188, import_react189, import_react190, import_jsx_runtime218, import_jsx_runtime219, import_react191, import_react_native197, import_react192, import_react193, import_react194, import_react_native202, import_jsx_runtime220, import_jsx_runtime221, import_react_native204, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react195, import_jsx_runtime225, import_jsx_runtime226, import_react_native206, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react196, import_react_native208, import_react197, import_react_native209, import_react198, import_react_native211, import_jsx_runtime230, import_jsx_runtime231, import_react199, import_react200, import_jsx_runtime232, import_jsx_runtime233, import_react201, import_react202, import_react203, import_react204, import_react_native217, import_react205, import_react206, import_jsx_runtime234, import_react207, import_react_native220, import_react208, import_react_native221, import_jsx_runtime235, import_react209, import_react_native222, import_jsx_runtime236, import_jsx_runtime237, __GlobalEventDeduplicator, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, EventEmitter, eventEmitter, homeEvent, safeAreaInsetsChange, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, INITIAL_STATE, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId2, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, ERROR_CODES, _obj6, ERROR_MESSAGES, API_RESULT_ERROR_MAP, AD_STATUS_ERROR_MAP, GlobalEventDeduplicator, globalEventDeduplicator, styles3, styles22, styles32, Analytics2;
46739
+ var import_react_native184, import_react179, import_react180, import_react181, import_react182, import_jsx_runtime216, import_react183, import_jsx_runtime217, import_react184, import_react_native190, import_react185, import_react_native192, import_react186, import_react_native194, import_react187, import_react188, import_react189, import_react190, import_jsx_runtime218, import_jsx_runtime219, import_react191, import_react_native197, import_react192, import_react193, import_react194, import_react_native202, import_jsx_runtime220, import_jsx_runtime221, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react195, import_jsx_runtime225, import_jsx_runtime226, import_react_native205, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react196, import_react_native207, import_react197, import_react_native208, import_react198, import_react_native210, import_jsx_runtime230, import_jsx_runtime231, import_react199, import_react200, import_jsx_runtime232, import_jsx_runtime233, import_react201, import_react202, import_react203, import_react204, import_react_native216, import_react205, import_react206, import_jsx_runtime234, import_react207, import_react_native219, import_react208, import_react_native220, import_jsx_runtime235, import_react209, import_react_native221, import_jsx_runtime236, import_jsx_runtime237, __GlobalEventDeduplicator, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, EventEmitter, eventEmitter, homeEvent, safeAreaInsetsChange, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, INITIAL_STATE, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId2, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, ERROR_CODES, _obj6, ERROR_MESSAGES, API_RESULT_ERROR_MAP, AD_STATUS_ERROR_MAP, GlobalEventDeduplicator, globalEventDeduplicator, styles3, styles22, styles32, Analytics2;
46738
46740
  var init_dist8 = __esm({
46739
46741
  "../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
46740
46742
  "use strict";
@@ -46826,7 +46828,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46826
46828
  import_jsx_runtime220 = __toESM(require_jsx_runtime(), 1);
46827
46829
  import_jsx_runtime221 = __toESM(require_jsx_runtime(), 1);
46828
46830
  init_dist5();
46829
- import_react_native204 = __toESM(require_react_native(), 1);
46830
46831
  import_jsx_runtime222 = __toESM(require_jsx_runtime(), 1);
46831
46832
  init_dist5();
46832
46833
  init_src3();
@@ -46838,7 +46839,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46838
46839
  init_react_native_safe_area_context();
46839
46840
  init_esm7();
46840
46841
  init_private2();
46841
- import_react_native206 = __toESM(require_react_native(), 1);
46842
+ import_react_native205 = __toESM(require_react_native(), 1);
46842
46843
  import_jsx_runtime227 = __toESM(require_jsx_runtime(), 1);
46843
46844
  init_async_bridges();
46844
46845
  init_constant_bridges2();
@@ -46855,18 +46856,18 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46855
46856
  init_esm7();
46856
46857
  init_private2();
46857
46858
  import_react196 = __toESM(require_react(), 1);
46858
- import_react_native208 = __toESM(require_react_native(), 1);
46859
+ import_react_native207 = __toESM(require_react_native(), 1);
46859
46860
  init_dist5();
46860
46861
  init_react_native_webview();
46861
46862
  import_react197 = __toESM(require_react(), 1);
46862
- import_react_native209 = __toESM(require_react_native(), 1);
46863
+ import_react_native208 = __toESM(require_react_native(), 1);
46863
46864
  init_react_native_safe_area_context();
46864
46865
  init_src3();
46865
46866
  init_esm7();
46866
46867
  init_private2();
46867
46868
  init_dist6();
46868
46869
  import_react198 = __toESM(require_react(), 1);
46869
- import_react_native211 = __toESM(require_react_native(), 1);
46870
+ import_react_native210 = __toESM(require_react_native(), 1);
46870
46871
  import_jsx_runtime230 = __toESM(require_jsx_runtime(), 1);
46871
46872
  import_jsx_runtime231 = __toESM(require_jsx_runtime(), 1);
46872
46873
  init_react_native_webview();
@@ -46894,7 +46895,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46894
46895
  import_react203 = __toESM(require_react(), 1);
46895
46896
  import_react204 = __toESM(require_react(), 1);
46896
46897
  init_dist5();
46897
- import_react_native217 = __toESM(require_react_native(), 1);
46898
+ import_react_native216 = __toESM(require_react_native(), 1);
46898
46899
  init_dist5();
46899
46900
  import_react205 = __toESM(require_react(), 1);
46900
46901
  import_react206 = __toESM(require_react(), 1);
@@ -46909,12 +46910,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46909
46910
  init_dist3();
46910
46911
  init_dist3();
46911
46912
  import_react207 = __toESM(require_react(), 1);
46912
- import_react_native220 = __toESM(require_react_native(), 1);
46913
+ import_react_native219 = __toESM(require_react_native(), 1);
46913
46914
  import_react208 = __toESM(require_react(), 1);
46914
- import_react_native221 = __toESM(require_react_native(), 1);
46915
+ import_react_native220 = __toESM(require_react_native(), 1);
46915
46916
  import_jsx_runtime235 = __toESM(require_jsx_runtime(), 1);
46916
46917
  import_react209 = __toESM(require_react(), 1);
46917
- import_react_native222 = __toESM(require_react_native(), 1);
46918
+ import_react_native221 = __toESM(require_react_native(), 1);
46918
46919
  import_jsx_runtime236 = __toESM(require_jsx_runtime(), 1);
46919
46920
  import_jsx_runtime237 = __toESM(require_jsx_runtime(), 1);
46920
46921
  __defProp2 = Object.defineProperty;
@@ -47524,7 +47525,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47524
47525
  };
47525
47526
  GameWebView = /* @__PURE__ */ (0, import_react197.forwardRef)(function GameWebView2(props, ref) {
47526
47527
  (0, import_react197.useEffect)(function() {
47527
- if (import_react_native209.Platform.OS === "ios") {
47528
+ if (import_react_native208.Platform.OS === "ios") {
47528
47529
  setIosSwipeGestureEnabled({
47529
47530
  isEnabled: false
47530
47531
  });
@@ -47668,7 +47669,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47668
47669
  return "";
47669
47670
  }
47670
47671
  };
47671
- trackScreen = function(url) {
47672
+ trackScreen = function(url, title) {
47672
47673
  var _getGroupId = getGroupId2(url), groupId = _getGroupId.groupId, search = _getGroupId.search;
47673
47674
  var log = {
47674
47675
  log_type: "screen",
@@ -47676,6 +47677,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47676
47677
  params: {
47677
47678
  search,
47678
47679
  referrer: getReferrer22(),
47680
+ document_title: title,
47679
47681
  deployment_id: env.getDeploymentId(),
47680
47682
  deployment_timestamp: extractDateFromUUIDv7(env.getDeploymentId()).getTime()
47681
47683
  }
@@ -47811,7 +47813,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47811
47813
  return _GlobalEventDeduplicator;
47812
47814
  }(), __GlobalEventDeduplicator.MAX_EVENTS = 1e4, __GlobalEventDeduplicator);
47813
47815
  globalEventDeduplicator = new GlobalEventDeduplicator();
47814
- styles3 = import_react_native221.StyleSheet.create({
47816
+ styles3 = import_react_native220.StyleSheet.create({
47815
47817
  pressable: {
47816
47818
  width: "100%"
47817
47819
  },
@@ -47849,7 +47851,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47849
47851
  height: 36,
47850
47852
  borderRadius: 18
47851
47853
  },
47852
- logoOverlay: _object_spread_props(_object_spread({}, import_react_native221.StyleSheet.absoluteFillObject), {
47854
+ logoOverlay: _object_spread_props(_object_spread({}, import_react_native220.StyleSheet.absoluteFillObject), {
47853
47855
  borderWidth: 1,
47854
47856
  borderRadius: 18
47855
47857
  }),
@@ -47911,7 +47913,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47911
47913
  fontWeight: "600",
47912
47914
  lineHeight: 22.5
47913
47915
  },
47914
- cardOverlay: _object_spread_props(_object_spread({}, import_react_native221.StyleSheet.absoluteFillObject), {
47916
+ cardOverlay: _object_spread_props(_object_spread({}, import_react_native220.StyleSheet.absoluteFillObject), {
47915
47917
  borderWidth: 2,
47916
47918
  borderRadius: 12,
47917
47919
  pointerEvents: "none"
@@ -47922,7 +47924,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47922
47924
  fontWeight: "400"
47923
47925
  }
47924
47926
  });
47925
- styles22 = import_react_native222.StyleSheet.create({
47927
+ styles22 = import_react_native221.StyleSheet.create({
47926
47928
  pressable: {
47927
47929
  width: "100%"
47928
47930
  },
@@ -47967,7 +47969,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47967
47969
  width: "100%"
47968
47970
  }
47969
47971
  });
47970
- styles32 = import_react_native220.StyleSheet.create({
47972
+ styles32 = import_react_native219.StyleSheet.create({
47971
47973
  impressionArea: {
47972
47974
  width: "100%"
47973
47975
  },
@@ -48002,7 +48004,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48002
48004
  }
48003
48005
  });
48004
48006
  function Index() {
48005
- return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_native223.View, {
48007
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_native222.View, {
48006
48008
  style: {
48007
48009
  flex: 1
48008
48010
  },
@@ -48024,13 +48026,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48024
48026
  })
48025
48027
  });
48026
48028
  }
48027
- var import_jsx_runtime238, import_react_native223;
48029
+ var import_jsx_runtime238, import_react_native222;
48028
48030
  var init_pages = __esm({
48029
48031
  "react-native/pages/index.tsx"() {
48030
48032
  "use strict";
48031
48033
  import_jsx_runtime238 = __toESM(require_jsx_runtime(), 1);
48032
48034
  init_dist8();
48033
- import_react_native223 = __toESM(require_react_native(), 1);
48035
+ import_react_native222 = __toESM(require_react_native(), 1);
48034
48036
  }
48035
48037
  });
48036
48038