@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(), [
@@ -45568,11 +45574,16 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45568
45574
  title: "\uD648 \uD654\uBA74\uC5D0 \uCD94\uAC00",
45569
45575
  iconURL: "https://static.toss.im/icons/png/4x/icon-plus-circle-mono.png",
45570
45576
  onPress: function() {
45571
- import_react_native204.NativeModules.AppsInTossModule.addMiniAppShortcut({
45577
+ INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
45572
45578
  title: globals.brandDisplayName,
45573
45579
  appName: global.__granite.app.name,
45574
45580
  iconUrl: globals.brandIcon,
45575
45581
  guideUrl: "https://service.toss.im/app-mini-home/shortcut"
45582
+ }, {
45583
+ onSuccess: function() {
45584
+ },
45585
+ onError: function() {
45586
+ }
45576
45587
  });
45577
45588
  }
45578
45589
  });
@@ -45792,10 +45803,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45792
45803
  type: "none"
45793
45804
  }
45794
45805
  }),
45795
- (0, import_jsx_runtime227.jsx)(import_react_native206.View, {
45806
+ (0, import_jsx_runtime227.jsx)(import_react_native205.View, {
45796
45807
  style: {
45797
45808
  width: "100%",
45798
- height: import_react_native206.Platform.OS === "ios" ? 44 : 54,
45809
+ height: import_react_native205.Platform.OS === "ios" ? 44 : 54,
45799
45810
  flexDirection: "row",
45800
45811
  alignItems: "center",
45801
45812
  justifyContent: "flex-end",
@@ -45930,11 +45941,11 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45930
45941
  var children = param.children;
45931
45942
  var isRNApp = getAppsInTossGlobals().webViewType == null;
45932
45943
  return (0, import_jsx_runtime229.jsx)(NavigationBarContextProvider, {
45933
- children: (0, import_jsx_runtime229.jsx)(Analytics.Screen, {
45934
- children: isRNApp ? (0, import_jsx_runtime229.jsx)(RNAppContainer, {
45944
+ children: isRNApp ? (0, import_jsx_runtime229.jsx)(Analytics.Screen, {
45945
+ children: (0, import_jsx_runtime229.jsx)(RNAppContainer, {
45935
45946
  children
45936
- }) : children
45937
- })
45947
+ })
45948
+ }) : children
45938
45949
  });
45939
45950
  }
45940
45951
  function getAppName() {
@@ -45997,10 +46008,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45997
46008
  type: "none"
45998
46009
  }
45999
46010
  }),
46000
- (0, import_jsx_runtime230.jsx)(import_react_native211.View, {
46011
+ (0, import_jsx_runtime230.jsx)(import_react_native210.View, {
46001
46012
  style: {
46002
46013
  width: "100%",
46003
- height: import_react_native211.Platform.OS === "ios" ? 44 : 54,
46014
+ height: import_react_native210.Platform.OS === "ios" ? 44 : 54,
46004
46015
  flexDirection: "row",
46005
46016
  alignItems: "center",
46006
46017
  justifyContent: "flex-end",
@@ -46950,7 +46961,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46950
46961
  var batteryModePreference = param.batteryModePreference, colorPreference = param.colorPreference, locale = param.locale, navbarPreference = param.navbarPreference, pureSafeArea = param.pureSafeArea, safeArea = param.safeArea, safeAreaBottomTransparency = param.safeAreaBottomTransparency;
46951
46962
  var platform = getPlatformOS();
46952
46963
  var appVersion = getTossAppVersion();
46953
- var fontScale = (0, import_react_native217.useWindowDimensions)().fontScale;
46964
+ var fontScale = (0, import_react_native216.useWindowDimensions)().fontScale;
46954
46965
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
46955
46966
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
46956
46967
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
@@ -47218,12 +47229,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47218
47229
  memoryDebugLog: webViewMemoryDebugLog,
47219
47230
  debugLog: function(event) {
47220
47231
  return _async_to_generator(function() {
47221
- var _NativeModules2_AppsInTossModule, _NativeModules2_TossCoreModule;
47222
47232
  return __generator(this, function(_state) {
47223
- (_NativeModules2_AppsInTossModule = import_react_native208.NativeModules.AppsInTossModule) === null || _NativeModules2_AppsInTossModule === void 0 ? void 0 : _NativeModules2_AppsInTossModule.eventLog(event);
47224
- (_NativeModules2_TossCoreModule = import_react_native208.NativeModules.TossCoreModule) === null || _NativeModules2_TossCoreModule === void 0 ? void 0 : _NativeModules2_TossCoreModule.eventLog({
47225
- params: event
47226
- });
47233
+ eventLog(event);
47234
+ INTERNAL__module.tossCoreEventLog(event);
47227
47235
  return [
47228
47236
  2
47229
47237
  ];
@@ -47262,7 +47270,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47262
47270
  webBackHandler.handleWebBack();
47263
47271
  return true;
47264
47272
  };
47265
- var subscription = import_react_native208.BackHandler.addEventListener("hardwareBackPress", callback);
47273
+ var subscription = import_react_native207.BackHandler.addEventListener("hardwareBackPress", callback);
47266
47274
  return function() {
47267
47275
  return subscription.remove();
47268
47276
  };
@@ -47284,12 +47292,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47284
47292
  onNavigationStateChange: function(event) {
47285
47293
  var _props_onNavigationStateChange;
47286
47294
  if (event.url) {
47287
- trackScreen(event.url);
47295
+ trackScreen(event.url, event.title);
47288
47296
  }
47289
47297
  (_props_onNavigationStateChange = props.onNavigationStateChange) === null || _props_onNavigationStateChange === void 0 ? void 0 : _props_onNavigationStateChange.call(props, event);
47290
47298
  webBackHandler.onNavigationStateChange(event);
47291
47299
  },
47292
- userAgent: import_react_native208.Platform.OS === "ios" ? userAgent : void 0,
47300
+ userAgent: import_react_native207.Platform.OS === "ios" ? userAgent : void 0,
47293
47301
  sharedCookiesEnabled: true,
47294
47302
  webviewDebuggingEnabled: webViewDebuggingEnabled,
47295
47303
  thirdPartyCookiesEnabled: true,
@@ -47299,7 +47307,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47299
47307
  handler.injectedJavaScript,
47300
47308
  t53
47301
47309
  ].join("\n"),
47302
- decelerationRate: import_react_native208.Platform.OS === "ios" ? 1 : void 0,
47310
+ decelerationRate: import_react_native207.Platform.OS === "ios" ? 1 : void 0,
47303
47311
  allowsBackForwardNavigationGestures,
47304
47312
  onShouldStartLoadWithRequest: function(event) {
47305
47313
  try {
@@ -47311,7 +47319,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47311
47319
  return true;
47312
47320
  } else {
47313
47321
  var _convertIntentURL;
47314
- import_react_native208.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
47322
+ import_react_native207.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
47315
47323
  return false;
47316
47324
  }
47317
47325
  } catch (error) {
@@ -47332,7 +47340,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47332
47340
  onRenderProcessGone: handleWebViewProcessDidTerminate
47333
47341
  }));
47334
47342
  }
47335
- var import_react_native184, import_react178, import_react179, import_react180, import_react181, import_jsx_runtime216, import_react182, import_jsx_runtime217, import_react183, import_react_native190, import_react184, import_react_native192, import_react185, import_react_native194, import_react186, import_react187, import_react188, import_react189, import_jsx_runtime218, import_jsx_runtime219, import_react190, import_react_native197, import_react191, import_react192, import_react193, import_react_native202, import_jsx_runtime220, import_jsx_runtime221, import_react_native204, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react194, import_jsx_runtime225, import_jsx_runtime226, import_react_native206, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react195, import_react_native208, import_react196, import_react_native209, import_react197, import_react_native211, import_jsx_runtime230, import_jsx_runtime231, import_react198, import_react199, import_jsx_runtime232, import_jsx_runtime233, import_react200, import_react201, import_react202, import_react203, import_react_native217, import_react204, import_react205, import_jsx_runtime234, import_react206, import_react_native220, import_react207, import_react_native221, import_jsx_runtime235, import_react208, 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;
47343
+ var import_react_native184, import_react178, import_react179, import_react180, import_react181, import_jsx_runtime216, import_react182, import_jsx_runtime217, import_react183, import_react_native190, import_react184, import_react_native192, import_react185, import_react_native194, import_react186, import_react187, import_react188, import_react189, import_jsx_runtime218, import_jsx_runtime219, import_react190, import_react_native197, import_react191, import_react192, import_react193, import_react_native202, import_jsx_runtime220, import_jsx_runtime221, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react194, import_jsx_runtime225, import_jsx_runtime226, import_react_native205, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react195, import_react_native207, import_react196, import_react_native208, import_react197, import_react_native210, import_jsx_runtime230, import_jsx_runtime231, import_react198, import_react199, import_jsx_runtime232, import_jsx_runtime233, import_react200, import_react201, import_react202, import_react203, import_react_native216, import_react204, import_react205, import_jsx_runtime234, import_react206, import_react_native219, import_react207, import_react_native220, import_jsx_runtime235, import_react208, 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;
47336
47344
  var init_dist8 = __esm({
47337
47345
  "../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
47338
47346
  "use strict";
@@ -47424,7 +47432,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47424
47432
  import_jsx_runtime220 = __toESM(require_jsx_runtime(), 1);
47425
47433
  import_jsx_runtime221 = __toESM(require_jsx_runtime(), 1);
47426
47434
  init_dist5();
47427
- import_react_native204 = __toESM(require_react_native(), 1);
47428
47435
  import_jsx_runtime222 = __toESM(require_jsx_runtime(), 1);
47429
47436
  init_dist5();
47430
47437
  init_src3();
@@ -47436,7 +47443,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47436
47443
  init_react_native_safe_area_context();
47437
47444
  init_esm7();
47438
47445
  init_private2();
47439
- import_react_native206 = __toESM(require_react_native(), 1);
47446
+ import_react_native205 = __toESM(require_react_native(), 1);
47440
47447
  import_jsx_runtime227 = __toESM(require_jsx_runtime(), 1);
47441
47448
  init_async_bridges();
47442
47449
  init_constant_bridges2();
@@ -47453,18 +47460,18 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47453
47460
  init_esm7();
47454
47461
  init_private2();
47455
47462
  import_react195 = __toESM(require_react(), 1);
47456
- import_react_native208 = __toESM(require_react_native(), 1);
47463
+ import_react_native207 = __toESM(require_react_native(), 1);
47457
47464
  init_dist5();
47458
47465
  init_react_native_webview();
47459
47466
  import_react196 = __toESM(require_react(), 1);
47460
- import_react_native209 = __toESM(require_react_native(), 1);
47467
+ import_react_native208 = __toESM(require_react_native(), 1);
47461
47468
  init_react_native_safe_area_context();
47462
47469
  init_src3();
47463
47470
  init_esm7();
47464
47471
  init_private2();
47465
47472
  init_dist6();
47466
47473
  import_react197 = __toESM(require_react(), 1);
47467
- import_react_native211 = __toESM(require_react_native(), 1);
47474
+ import_react_native210 = __toESM(require_react_native(), 1);
47468
47475
  import_jsx_runtime230 = __toESM(require_jsx_runtime(), 1);
47469
47476
  import_jsx_runtime231 = __toESM(require_jsx_runtime(), 1);
47470
47477
  init_react_native_webview();
@@ -47492,7 +47499,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47492
47499
  import_react202 = __toESM(require_react(), 1);
47493
47500
  import_react203 = __toESM(require_react(), 1);
47494
47501
  init_dist5();
47495
- import_react_native217 = __toESM(require_react_native(), 1);
47502
+ import_react_native216 = __toESM(require_react_native(), 1);
47496
47503
  init_dist5();
47497
47504
  import_react204 = __toESM(require_react(), 1);
47498
47505
  import_react205 = __toESM(require_react(), 1);
@@ -47507,12 +47514,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47507
47514
  init_dist3();
47508
47515
  init_dist3();
47509
47516
  import_react206 = __toESM(require_react(), 1);
47510
- import_react_native220 = __toESM(require_react_native(), 1);
47517
+ import_react_native219 = __toESM(require_react_native(), 1);
47511
47518
  import_react207 = __toESM(require_react(), 1);
47512
- import_react_native221 = __toESM(require_react_native(), 1);
47519
+ import_react_native220 = __toESM(require_react_native(), 1);
47513
47520
  import_jsx_runtime235 = __toESM(require_jsx_runtime(), 1);
47514
47521
  import_react208 = __toESM(require_react(), 1);
47515
- import_react_native222 = __toESM(require_react_native(), 1);
47522
+ import_react_native221 = __toESM(require_react_native(), 1);
47516
47523
  import_jsx_runtime236 = __toESM(require_jsx_runtime(), 1);
47517
47524
  import_jsx_runtime237 = __toESM(require_jsx_runtime(), 1);
47518
47525
  __defProp2 = Object.defineProperty;
@@ -48122,7 +48129,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48122
48129
  };
48123
48130
  GameWebView = /* @__PURE__ */ (0, import_react196.forwardRef)(function GameWebView2(props, ref) {
48124
48131
  (0, import_react196.useEffect)(function() {
48125
- if (import_react_native209.Platform.OS === "ios") {
48132
+ if (import_react_native208.Platform.OS === "ios") {
48126
48133
  setIosSwipeGestureEnabled({
48127
48134
  isEnabled: false
48128
48135
  });
@@ -48266,7 +48273,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48266
48273
  return "";
48267
48274
  }
48268
48275
  };
48269
- trackScreen = function(url) {
48276
+ trackScreen = function(url, title) {
48270
48277
  var _getGroupId = getGroupId2(url), groupId = _getGroupId.groupId, search = _getGroupId.search;
48271
48278
  var log = {
48272
48279
  log_type: "screen",
@@ -48274,6 +48281,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48274
48281
  params: {
48275
48282
  search,
48276
48283
  referrer: getReferrer22(),
48284
+ document_title: title,
48277
48285
  deployment_id: env.getDeploymentId(),
48278
48286
  deployment_timestamp: extractDateFromUUIDv7(env.getDeploymentId()).getTime()
48279
48287
  }
@@ -48409,7 +48417,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48409
48417
  return _GlobalEventDeduplicator;
48410
48418
  }(), __GlobalEventDeduplicator.MAX_EVENTS = 1e4, __GlobalEventDeduplicator);
48411
48419
  globalEventDeduplicator = new GlobalEventDeduplicator();
48412
- styles3 = import_react_native221.StyleSheet.create({
48420
+ styles3 = import_react_native220.StyleSheet.create({
48413
48421
  pressable: {
48414
48422
  width: "100%"
48415
48423
  },
@@ -48447,7 +48455,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48447
48455
  height: 36,
48448
48456
  borderRadius: 18
48449
48457
  },
48450
- logoOverlay: _object_spread_props(_object_spread({}, import_react_native221.StyleSheet.absoluteFillObject), {
48458
+ logoOverlay: _object_spread_props(_object_spread({}, import_react_native220.StyleSheet.absoluteFillObject), {
48451
48459
  borderWidth: 1,
48452
48460
  borderRadius: 18
48453
48461
  }),
@@ -48509,7 +48517,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48509
48517
  fontWeight: "600",
48510
48518
  lineHeight: 22.5
48511
48519
  },
48512
- cardOverlay: _object_spread_props(_object_spread({}, import_react_native221.StyleSheet.absoluteFillObject), {
48520
+ cardOverlay: _object_spread_props(_object_spread({}, import_react_native220.StyleSheet.absoluteFillObject), {
48513
48521
  borderWidth: 2,
48514
48522
  borderRadius: 12,
48515
48523
  pointerEvents: "none"
@@ -48520,7 +48528,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48520
48528
  fontWeight: "400"
48521
48529
  }
48522
48530
  });
48523
- styles22 = import_react_native222.StyleSheet.create({
48531
+ styles22 = import_react_native221.StyleSheet.create({
48524
48532
  pressable: {
48525
48533
  width: "100%"
48526
48534
  },
@@ -48565,7 +48573,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48565
48573
  width: "100%"
48566
48574
  }
48567
48575
  });
48568
- styles32 = import_react_native220.StyleSheet.create({
48576
+ styles32 = import_react_native219.StyleSheet.create({
48569
48577
  impressionArea: {
48570
48578
  width: "100%"
48571
48579
  },
@@ -48600,7 +48608,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48600
48608
  }
48601
48609
  });
48602
48610
  function Index() {
48603
- return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_native223.View, {
48611
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_native222.View, {
48604
48612
  style: {
48605
48613
  flex: 1
48606
48614
  },
@@ -48622,13 +48630,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48622
48630
  })
48623
48631
  });
48624
48632
  }
48625
- var import_jsx_runtime238, import_react_native223;
48633
+ var import_jsx_runtime238, import_react_native222;
48626
48634
  var init_pages = __esm({
48627
48635
  "react-native/pages/index.tsx"() {
48628
48636
  "use strict";
48629
48637
  import_jsx_runtime238 = __toESM(require_jsx_runtime(), 1);
48630
48638
  init_dist8();
48631
- import_react_native223 = __toESM(require_react_native(), 1);
48639
+ import_react_native222 = __toESM(require_react_native(), 1);
48632
48640
  }
48633
48641
  });
48634
48642
 
@@ -44961,11 +44961,16 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
44961
44961
  title: "\uD648 \uD654\uBA74\uC5D0 \uCD94\uAC00",
44962
44962
  iconURL: "https://static.toss.im/icons/png/4x/icon-plus-circle-mono.png",
44963
44963
  onPress: function() {
44964
- import_react_native204.NativeModules.AppsInTossModule.addMiniAppShortcut({
44964
+ INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
44965
44965
  title: globals.brandDisplayName,
44966
44966
  appName: global.__granite.app.name,
44967
44967
  iconUrl: globals.brandIcon,
44968
44968
  guideUrl: "https://service.toss.im/app-mini-home/shortcut"
44969
+ }, {
44970
+ onSuccess: function() {
44971
+ },
44972
+ onError: function() {
44973
+ }
44969
44974
  });
44970
44975
  }
44971
44976
  });
@@ -45185,10 +45190,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45185
45190
  type: "none"
45186
45191
  }
45187
45192
  }),
45188
- (0, import_jsx_runtime227.jsx)(import_react_native206.View, {
45193
+ (0, import_jsx_runtime227.jsx)(import_react_native205.View, {
45189
45194
  style: {
45190
45195
  width: "100%",
45191
- height: import_react_native206.Platform.OS === "ios" ? 44 : 54,
45196
+ height: import_react_native205.Platform.OS === "ios" ? 44 : 54,
45192
45197
  flexDirection: "row",
45193
45198
  alignItems: "center",
45194
45199
  justifyContent: "flex-end",
@@ -45323,11 +45328,11 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45323
45328
  var children = param.children;
45324
45329
  var isRNApp = getAppsInTossGlobals().webViewType == null;
45325
45330
  return (0, import_jsx_runtime229.jsx)(NavigationBarContextProvider, {
45326
- children: (0, import_jsx_runtime229.jsx)(Analytics.Screen, {
45327
- children: isRNApp ? (0, import_jsx_runtime229.jsx)(RNAppContainer, {
45331
+ children: isRNApp ? (0, import_jsx_runtime229.jsx)(Analytics.Screen, {
45332
+ children: (0, import_jsx_runtime229.jsx)(RNAppContainer, {
45328
45333
  children
45329
- }) : children
45330
- })
45334
+ })
45335
+ }) : children
45331
45336
  });
45332
45337
  }
45333
45338
  function getAppName() {
@@ -45390,10 +45395,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
45390
45395
  type: "none"
45391
45396
  }
45392
45397
  }),
45393
- (0, import_jsx_runtime230.jsx)(import_react_native211.View, {
45398
+ (0, import_jsx_runtime230.jsx)(import_react_native210.View, {
45394
45399
  style: {
45395
45400
  width: "100%",
45396
- height: import_react_native211.Platform.OS === "ios" ? 44 : 54,
45401
+ height: import_react_native210.Platform.OS === "ios" ? 44 : 54,
45397
45402
  flexDirection: "row",
45398
45403
  alignItems: "center",
45399
45404
  justifyContent: "flex-end",
@@ -46343,7 +46348,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46343
46348
  var batteryModePreference = param.batteryModePreference, colorPreference = param.colorPreference, locale = param.locale, navbarPreference = param.navbarPreference, pureSafeArea = param.pureSafeArea, safeArea = param.safeArea, safeAreaBottomTransparency = param.safeAreaBottomTransparency;
46344
46349
  var platform = getPlatformOS();
46345
46350
  var appVersion = getTossAppVersion();
46346
- var fontScale = (0, import_react_native217.useWindowDimensions)().fontScale;
46351
+ var fontScale = (0, import_react_native216.useWindowDimensions)().fontScale;
46347
46352
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
46348
46353
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
46349
46354
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
@@ -46611,12 +46616,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46611
46616
  memoryDebugLog: webViewMemoryDebugLog,
46612
46617
  debugLog: function(event) {
46613
46618
  return _async_to_generator(function() {
46614
- var _NativeModules2_AppsInTossModule, _NativeModules2_TossCoreModule;
46615
46619
  return __generator(this, function(_state) {
46616
- (_NativeModules2_AppsInTossModule = import_react_native208.NativeModules.AppsInTossModule) === null || _NativeModules2_AppsInTossModule === void 0 ? void 0 : _NativeModules2_AppsInTossModule.eventLog(event);
46617
- (_NativeModules2_TossCoreModule = import_react_native208.NativeModules.TossCoreModule) === null || _NativeModules2_TossCoreModule === void 0 ? void 0 : _NativeModules2_TossCoreModule.eventLog({
46618
- params: event
46619
- });
46620
+ eventLog(event);
46621
+ INTERNAL__module.tossCoreEventLog(event);
46620
46622
  return [
46621
46623
  2
46622
46624
  ];
@@ -46655,7 +46657,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46655
46657
  webBackHandler.handleWebBack();
46656
46658
  return true;
46657
46659
  };
46658
- var subscription = import_react_native208.BackHandler.addEventListener("hardwareBackPress", callback);
46660
+ var subscription = import_react_native207.BackHandler.addEventListener("hardwareBackPress", callback);
46659
46661
  return function() {
46660
46662
  return subscription.remove();
46661
46663
  };
@@ -46677,12 +46679,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46677
46679
  onNavigationStateChange: function(event) {
46678
46680
  var _props_onNavigationStateChange;
46679
46681
  if (event.url) {
46680
- trackScreen(event.url);
46682
+ trackScreen(event.url, event.title);
46681
46683
  }
46682
46684
  (_props_onNavigationStateChange = props.onNavigationStateChange) === null || _props_onNavigationStateChange === void 0 ? void 0 : _props_onNavigationStateChange.call(props, event);
46683
46685
  webBackHandler.onNavigationStateChange(event);
46684
46686
  },
46685
- userAgent: import_react_native208.Platform.OS === "ios" ? userAgent : void 0,
46687
+ userAgent: import_react_native207.Platform.OS === "ios" ? userAgent : void 0,
46686
46688
  sharedCookiesEnabled: true,
46687
46689
  webviewDebuggingEnabled: webViewDebuggingEnabled,
46688
46690
  thirdPartyCookiesEnabled: true,
@@ -46692,7 +46694,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46692
46694
  handler.injectedJavaScript,
46693
46695
  t53
46694
46696
  ].join("\n"),
46695
- decelerationRate: import_react_native208.Platform.OS === "ios" ? 1 : void 0,
46697
+ decelerationRate: import_react_native207.Platform.OS === "ios" ? 1 : void 0,
46696
46698
  allowsBackForwardNavigationGestures,
46697
46699
  onShouldStartLoadWithRequest: function(event) {
46698
46700
  try {
@@ -46704,7 +46706,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46704
46706
  return true;
46705
46707
  } else {
46706
46708
  var _convertIntentURL;
46707
- import_react_native208.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
46709
+ import_react_native207.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
46708
46710
  return false;
46709
46711
  }
46710
46712
  } catch (error) {
@@ -46725,7 +46727,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46725
46727
  onRenderProcessGone: handleWebViewProcessDidTerminate
46726
46728
  }));
46727
46729
  }
46728
- var import_react_native184, import_react178, import_react179, import_react180, import_react181, import_jsx_runtime216, import_react182, import_jsx_runtime217, import_react183, import_react_native190, import_react184, import_react_native192, import_react185, import_react_native194, import_react186, import_react187, import_react188, import_react189, import_jsx_runtime218, import_jsx_runtime219, import_react190, import_react_native197, import_react191, import_react192, import_react193, import_react_native202, import_jsx_runtime220, import_jsx_runtime221, import_react_native204, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react194, import_jsx_runtime225, import_jsx_runtime226, import_react_native206, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react195, import_react_native208, import_react196, import_react_native209, import_react197, import_react_native211, import_jsx_runtime230, import_jsx_runtime231, import_react198, import_react199, import_jsx_runtime232, import_jsx_runtime233, import_react200, import_react201, import_react202, import_react203, import_react_native217, import_react204, import_react205, import_jsx_runtime234, import_react206, import_react_native220, import_react207, import_react_native221, import_jsx_runtime235, import_react208, 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;
46730
+ var import_react_native184, import_react178, import_react179, import_react180, import_react181, import_jsx_runtime216, import_react182, import_jsx_runtime217, import_react183, import_react_native190, import_react184, import_react_native192, import_react185, import_react_native194, import_react186, import_react187, import_react188, import_react189, import_jsx_runtime218, import_jsx_runtime219, import_react190, import_react_native197, import_react191, import_react192, import_react193, import_react_native202, import_jsx_runtime220, import_jsx_runtime221, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react194, import_jsx_runtime225, import_jsx_runtime226, import_react_native205, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react195, import_react_native207, import_react196, import_react_native208, import_react197, import_react_native210, import_jsx_runtime230, import_jsx_runtime231, import_react198, import_react199, import_jsx_runtime232, import_jsx_runtime233, import_react200, import_react201, import_react202, import_react203, import_react_native216, import_react204, import_react205, import_jsx_runtime234, import_react206, import_react_native219, import_react207, import_react_native220, import_jsx_runtime235, import_react208, 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;
46729
46731
  var init_dist8 = __esm({
46730
46732
  "../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
46731
46733
  "use strict";
@@ -46817,7 +46819,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46817
46819
  import_jsx_runtime220 = __toESM(require_jsx_runtime(), 1);
46818
46820
  import_jsx_runtime221 = __toESM(require_jsx_runtime(), 1);
46819
46821
  init_dist5();
46820
- import_react_native204 = __toESM(require_react_native(), 1);
46821
46822
  import_jsx_runtime222 = __toESM(require_jsx_runtime(), 1);
46822
46823
  init_dist5();
46823
46824
  init_src3();
@@ -46829,7 +46830,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46829
46830
  init_react_native_safe_area_context();
46830
46831
  init_esm7();
46831
46832
  init_private2();
46832
- import_react_native206 = __toESM(require_react_native(), 1);
46833
+ import_react_native205 = __toESM(require_react_native(), 1);
46833
46834
  import_jsx_runtime227 = __toESM(require_jsx_runtime(), 1);
46834
46835
  init_async_bridges();
46835
46836
  init_constant_bridges2();
@@ -46846,18 +46847,18 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46846
46847
  init_esm7();
46847
46848
  init_private2();
46848
46849
  import_react195 = __toESM(require_react(), 1);
46849
- import_react_native208 = __toESM(require_react_native(), 1);
46850
+ import_react_native207 = __toESM(require_react_native(), 1);
46850
46851
  init_dist5();
46851
46852
  init_react_native_webview();
46852
46853
  import_react196 = __toESM(require_react(), 1);
46853
- import_react_native209 = __toESM(require_react_native(), 1);
46854
+ import_react_native208 = __toESM(require_react_native(), 1);
46854
46855
  init_react_native_safe_area_context();
46855
46856
  init_src3();
46856
46857
  init_esm7();
46857
46858
  init_private2();
46858
46859
  init_dist6();
46859
46860
  import_react197 = __toESM(require_react(), 1);
46860
- import_react_native211 = __toESM(require_react_native(), 1);
46861
+ import_react_native210 = __toESM(require_react_native(), 1);
46861
46862
  import_jsx_runtime230 = __toESM(require_jsx_runtime(), 1);
46862
46863
  import_jsx_runtime231 = __toESM(require_jsx_runtime(), 1);
46863
46864
  init_react_native_webview();
@@ -46885,7 +46886,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46885
46886
  import_react202 = __toESM(require_react(), 1);
46886
46887
  import_react203 = __toESM(require_react(), 1);
46887
46888
  init_dist5();
46888
- import_react_native217 = __toESM(require_react_native(), 1);
46889
+ import_react_native216 = __toESM(require_react_native(), 1);
46889
46890
  init_dist5();
46890
46891
  import_react204 = __toESM(require_react(), 1);
46891
46892
  import_react205 = __toESM(require_react(), 1);
@@ -46900,12 +46901,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46900
46901
  init_dist3();
46901
46902
  init_dist3();
46902
46903
  import_react206 = __toESM(require_react(), 1);
46903
- import_react_native220 = __toESM(require_react_native(), 1);
46904
+ import_react_native219 = __toESM(require_react_native(), 1);
46904
46905
  import_react207 = __toESM(require_react(), 1);
46905
- import_react_native221 = __toESM(require_react_native(), 1);
46906
+ import_react_native220 = __toESM(require_react_native(), 1);
46906
46907
  import_jsx_runtime235 = __toESM(require_jsx_runtime(), 1);
46907
46908
  import_react208 = __toESM(require_react(), 1);
46908
- import_react_native222 = __toESM(require_react_native(), 1);
46909
+ import_react_native221 = __toESM(require_react_native(), 1);
46909
46910
  import_jsx_runtime236 = __toESM(require_jsx_runtime(), 1);
46910
46911
  import_jsx_runtime237 = __toESM(require_jsx_runtime(), 1);
46911
46912
  __defProp2 = Object.defineProperty;
@@ -47515,7 +47516,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47515
47516
  };
47516
47517
  GameWebView = /* @__PURE__ */ (0, import_react196.forwardRef)(function GameWebView2(props, ref) {
47517
47518
  (0, import_react196.useEffect)(function() {
47518
- if (import_react_native209.Platform.OS === "ios") {
47519
+ if (import_react_native208.Platform.OS === "ios") {
47519
47520
  setIosSwipeGestureEnabled({
47520
47521
  isEnabled: false
47521
47522
  });
@@ -47659,7 +47660,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47659
47660
  return "";
47660
47661
  }
47661
47662
  };
47662
- trackScreen = function(url) {
47663
+ trackScreen = function(url, title) {
47663
47664
  var _getGroupId = getGroupId2(url), groupId = _getGroupId.groupId, search = _getGroupId.search;
47664
47665
  var log = {
47665
47666
  log_type: "screen",
@@ -47667,6 +47668,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47667
47668
  params: {
47668
47669
  search,
47669
47670
  referrer: getReferrer22(),
47671
+ document_title: title,
47670
47672
  deployment_id: env.getDeploymentId(),
47671
47673
  deployment_timestamp: extractDateFromUUIDv7(env.getDeploymentId()).getTime()
47672
47674
  }
@@ -47802,7 +47804,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47802
47804
  return _GlobalEventDeduplicator;
47803
47805
  }(), __GlobalEventDeduplicator.MAX_EVENTS = 1e4, __GlobalEventDeduplicator);
47804
47806
  globalEventDeduplicator = new GlobalEventDeduplicator();
47805
- styles3 = import_react_native221.StyleSheet.create({
47807
+ styles3 = import_react_native220.StyleSheet.create({
47806
47808
  pressable: {
47807
47809
  width: "100%"
47808
47810
  },
@@ -47840,7 +47842,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47840
47842
  height: 36,
47841
47843
  borderRadius: 18
47842
47844
  },
47843
- logoOverlay: _object_spread_props(_object_spread({}, import_react_native221.StyleSheet.absoluteFillObject), {
47845
+ logoOverlay: _object_spread_props(_object_spread({}, import_react_native220.StyleSheet.absoluteFillObject), {
47844
47846
  borderWidth: 1,
47845
47847
  borderRadius: 18
47846
47848
  }),
@@ -47902,7 +47904,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47902
47904
  fontWeight: "600",
47903
47905
  lineHeight: 22.5
47904
47906
  },
47905
- cardOverlay: _object_spread_props(_object_spread({}, import_react_native221.StyleSheet.absoluteFillObject), {
47907
+ cardOverlay: _object_spread_props(_object_spread({}, import_react_native220.StyleSheet.absoluteFillObject), {
47906
47908
  borderWidth: 2,
47907
47909
  borderRadius: 12,
47908
47910
  pointerEvents: "none"
@@ -47913,7 +47915,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47913
47915
  fontWeight: "400"
47914
47916
  }
47915
47917
  });
47916
- styles22 = import_react_native222.StyleSheet.create({
47918
+ styles22 = import_react_native221.StyleSheet.create({
47917
47919
  pressable: {
47918
47920
  width: "100%"
47919
47921
  },
@@ -47958,7 +47960,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47958
47960
  width: "100%"
47959
47961
  }
47960
47962
  });
47961
- styles32 = import_react_native220.StyleSheet.create({
47963
+ styles32 = import_react_native219.StyleSheet.create({
47962
47964
  impressionArea: {
47963
47965
  width: "100%"
47964
47966
  },
@@ -47993,7 +47995,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47993
47995
  }
47994
47996
  });
47995
47997
  function Index() {
47996
- return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_native223.View, {
47998
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_native222.View, {
47997
47999
  style: {
47998
48000
  flex: 1
47999
48001
  },
@@ -48015,13 +48017,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
48015
48017
  })
48016
48018
  });
48017
48019
  }
48018
- var import_jsx_runtime238, import_react_native223;
48020
+ var import_jsx_runtime238, import_react_native222;
48019
48021
  var init_pages = __esm({
48020
48022
  "react-native/pages/index.tsx"() {
48021
48023
  "use strict";
48022
48024
  import_jsx_runtime238 = __toESM(require_jsx_runtime(), 1);
48023
48025
  init_dist8();
48024
- import_react_native223 = __toESM(require_react_native(), 1);
48026
+ import_react_native222 = __toESM(require_react_native(), 1);
48025
48027
  }
48026
48028
  });
48027
48029