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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136971,7 +136971,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136971
136971
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
136972
136972
  context: _context.context
136973
136973
  });
136974
- },1276,[1277,2585,9],"src/_app.tsx");
136974
+ },1276,[1277,2586,9],"src/_app.tsx");
136975
136975
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
136976
136976
  "use strict";
136977
136977
 
@@ -137037,140 +137037,72 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137037
137037
  module.exports = __toCommonJS(src_exports);
137038
137038
  var import_analytics2 = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
137039
137039
  var import_analytics = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
137040
- var import_native_modules14 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137041
- var import_react_native22 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137040
+ var import_native_modules10 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137041
+ var import_react_native21 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137042
137042
  var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137043
- var import_react_native23 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137044
- var import_native_modules2 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137045
- var import_react_native4 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137046
- var import_react3 = _$$_REQUIRE(_dependencyMap[9], "react");
137043
+ var import_react_native22 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137044
+ var import_react_native2 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137045
+ var import_react = _$$_REQUIRE(_dependencyMap[9], "react");
137047
137046
  var env = {
137048
137047
  getDeploymentId: () => __DEV__ ? "local" : global.__appsInToss?.deploymentId,
137049
137048
  getWebViewType: () => global.__appsInToss.webViewType,
137050
137049
  getAppName: () => global.__granite.app.name
137051
137050
  };
137052
- var import_native_modules = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137053
- var import_react_native3 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137054
- var import_react2 = _$$_REQUIRE(_dependencyMap[9], "react");
137055
137051
  var import_react_native = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137056
- var import_react = _$$_REQUIRE(_dependencyMap[9], "react");
137057
- function useReferrer() {
137058
- return (0, import_react.useMemo)(() => {
137059
- try {
137060
- return new URL((0, import_react_native.getSchemeUri)()).searchParams.get("referrer");
137061
- } catch {
137062
- return null;
137063
- }
137064
- }, []);
137065
- }
137066
- var import_react_native2 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137067
137052
  function isPrivateScheme() {
137068
137053
  try {
137069
- return new URL((0, import_react_native2.getSchemeUri)()).protocol === "intoss-private:";
137054
+ return new URL((0, import_react_native.getSchemeUri)()).protocol === "intoss-private:";
137070
137055
  } catch {
137071
137056
  return false;
137072
137057
  }
137073
137058
  }
137074
- var EXIT_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__stay_time";
137075
- var EXIT_IMPRESSION_SCHEMA_ID = 1631628;
137076
- function useCaptureExitLog() {
137077
- var referrer = useReferrer();
137078
- var visible = (0, import_react_native3.useVisibility)();
137079
- var enterTime = (0, import_react2.useRef)(void 0);
137080
- (0, import_react2.useEffect)(() => {
137081
- if (visible === true) {
137082
- enterTime.current = Date.now();
137083
- }
137084
- }, [visible]);
137085
- var captureExitLog = (0, import_react2.useCallback)(exitTime => {
137086
- if (enterTime.current == null) {
137087
- return;
137088
- }
137089
- var stayTime = Math.floor(exitTime - enterTime.current);
137090
- import_native_modules.INTERNAL__module.tossCoreEventLog({
137091
- log_name: EXIT_IMPRESSION_LOG_NAME,
137092
- log_type: "event",
137093
- params: {
137094
- schema_id: EXIT_IMPRESSION_SCHEMA_ID,
137095
- event_type: "impression",
137096
- referrer,
137097
- deployment_id: env.getDeploymentId(),
137098
- app_name: import_react_native3.Granite.appName,
137099
- is_private: isPrivateScheme(),
137100
- stay_time: stayTime.toString(),
137101
- exit_time: exitTime.toString()
137102
- }
137103
- });
137104
- enterTime.current = void 0;
137105
- }, [referrer]);
137106
- return {
137107
- captureExitLog
137108
- };
137109
- }
137110
- var ENTRY_APP_EVENT_SCHEMA_ID = 1562181;
137111
- function EntryAppEvent() {
137112
- var referrer = useReferrer() ?? "";
137113
- (0, import_react3.useEffect)(() => {
137114
- import_native_modules2.INTERNAL__module.tossCoreEventLog({
137115
- log_name: "appsintoss_app_visit::impression__enter_appsintoss",
137116
- log_type: "info",
137117
- params: {
137118
- is_transform: true,
137119
- schema_id: ENTRY_APP_EVENT_SCHEMA_ID,
137120
- referrer,
137121
- deployment_id: env.getDeploymentId(),
137122
- app_name: import_react_native4.Granite.appName,
137123
- is_private: isPrivateScheme()
137124
- }
137125
- });
137126
- }, [referrer]);
137127
- return null;
137059
+ var import_native_modules = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137060
+ var DEFAULT_PIPELINES = ["core", "partner"];
137061
+ function sendLog(logData, options) {
137062
+ var _ref = options ?? {},
137063
+ _ref$pipelines = _ref.pipelines,
137064
+ pipelines = _ref$pipelines === void 0 ? DEFAULT_PIPELINES : _ref$pipelines;
137065
+ if (pipelines.includes("core")) {
137066
+ import_native_modules.INTERNAL__module.tossCoreEventLog(logData);
137067
+ }
137068
+ if (pipelines.includes("partner")) {
137069
+ (0, import_native_modules.eventLog)(logData);
137070
+ }
137128
137071
  }
137129
137072
  function SystemAppEvent({
137130
137073
  ...initialProps
137131
137074
  }) {
137132
- (0, import_react3.useEffect)(() => {
137133
- import_native_modules2.INTERNAL__module.tossCoreEventLog({
137075
+ (0, import_react.useEffect)(() => {
137076
+ sendLog({
137134
137077
  log_name: "AppsInTossInitialProps",
137135
137078
  log_type: "debug",
137136
137079
  params: {
137137
137080
  ...initialProps,
137138
- schemeUri: (0, import_react_native4.getSchemeUri)(),
137081
+ schemeUri: (0, import_react_native2.getSchemeUri)(),
137139
137082
  deployment_id: env.getDeploymentId(),
137140
- app_name: import_react_native4.Granite.appName,
137083
+ app_name: import_react_native2.Granite.appName,
137141
137084
  is_private: isPrivateScheme()
137142
137085
  }
137086
+ }, {
137087
+ pipelines: ["core"]
137143
137088
  });
137144
137089
  }, [initialProps]);
137145
137090
  return null;
137146
137091
  }
137147
- function StayTimeAppEvent() {
137148
- var visible = (0, import_react_native4.useVisibility)();
137149
- var _useCaptureExitLog = useCaptureExitLog(),
137150
- captureExitLog = _useCaptureExitLog.captureExitLog;
137151
- (0, import_react3.useEffect)(() => {
137152
- if (visible === false) {
137153
- captureExitLog(Date.now());
137154
- }
137155
- }, [visible, captureExitLog]);
137156
- return null;
137157
- }
137158
137092
  var AppEvent = {
137159
- Entry: EntryAppEvent,
137160
- System: SystemAppEvent,
137161
- StayTime: StayTimeAppEvent
137093
+ System: SystemAppEvent
137162
137094
  };
137163
- var import_react_native5 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137164
- var import_react4 = _$$_REQUIRE(_dependencyMap[9], "react");
137095
+ var import_react_native3 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137096
+ var import_react2 = _$$_REQUIRE(_dependencyMap[9], "react");
137165
137097
  var import_jsx_runtime = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137166
137098
  var UPDATE_SCHEME = "servicetoss://update/forced/j?updateType=required";
137167
137099
  function AppUpdate() {
137168
- (0, import_react4.useEffect)(() => {
137169
- (0, import_react_native5.openURL)(`supertoss://closePage?url=${UPDATE_SCHEME}`);
137100
+ (0, import_react2.useEffect)(() => {
137101
+ (0, import_react_native3.openURL)(`supertoss://closePage?url=${UPDATE_SCHEME}`);
137170
137102
  }, []);
137171
137103
  return (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {});
137172
137104
  }
137173
- var import_react5 = _$$_REQUIRE(_dependencyMap[9], "react");
137105
+ var import_react3 = _$$_REQUIRE(_dependencyMap[9], "react");
137174
137106
  function getAppsInTossGlobals() {
137175
137107
  if (global.__appsInToss == null) {
137176
137108
  throw new Error("invalid apps-in-toss globals");
@@ -137188,16 +137120,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137188
137120
  }
137189
137121
  }
137190
137122
  var import_jsx_runtime2 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137191
- var NavigationBarContext = (0, import_react5.createContext)(null);
137123
+ var NavigationBarContext = (0, import_react3.createContext)(null);
137192
137124
  function NavigationBarContextProvider({
137193
137125
  children
137194
137126
  }) {
137195
137127
  var globals = getAppsInTossGlobals();
137196
137128
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
137197
- var _ref = (0, import_react5.useState)(parsedNavigationBar?.initialAccessoryButton),
137198
- _ref2 = _slicedToArray(_ref, 2),
137199
- navigationRightButton = _ref2[0],
137200
- setNavigationRightButton = _ref2[1];
137129
+ var _ref2 = (0, import_react3.useState)(parsedNavigationBar?.initialAccessoryButton),
137130
+ _ref3 = _slicedToArray(_ref2, 2),
137131
+ navigationRightButton = _ref3[0],
137132
+ setNavigationRightButton = _ref3[1];
137201
137133
  var addNavigationRightButton = button => {
137202
137134
  setNavigationRightButton(button);
137203
137135
  };
@@ -137214,42 +137146,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137214
137146
  });
137215
137147
  }
137216
137148
  function useNavigationBarContext() {
137217
- var context = (0, import_react5.useContext)(NavigationBarContext);
137149
+ var context = (0, import_react3.useContext)(NavigationBarContext);
137218
137150
  if (context == null) {
137219
137151
  throw Error("useNavigationBarContext must be used within NavigationBarContextProvider");
137220
137152
  }
137221
137153
  return context;
137222
137154
  }
137223
- var import_native_modules13 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137224
- var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
137225
- var import_react_native21 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137226
- var import_native_modules6 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137227
- var import_react_native10 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137155
+ var import_native_modules9 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137156
+ var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
137157
+ var import_react_native20 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137158
+ var import_native_modules4 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137159
+ var import_react_native9 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137228
137160
  var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137229
137161
  var import_es_hangul = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
137230
- var import_react11 = _$$_REQUIRE(_dependencyMap[9], "react");
137231
- var import_react_native11 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137162
+ var import_react10 = _$$_REQUIRE(_dependencyMap[9], "react");
137163
+ var import_react_native10 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137232
137164
  var GAME_PROFILE_WEBVIEW_URL = "servicetoss://game-center/profile";
137233
137165
  var GAME_MIN_VERSION = {
137234
137166
  android: "5.232.0",
137235
137167
  ios: "5.232.0"
137236
137168
  };
137237
- var import_native_modules3 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137238
- var import_react_native7 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137169
+ var import_react_native6 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137239
137170
  var import_tds_react_native = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137240
- var import_react6 = _$$_REQUIRE(_dependencyMap[9], "react");
137241
- var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137171
+ var import_react5 = _$$_REQUIRE(_dependencyMap[9], "react");
137172
+ var import_react_native4 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137173
+ var import_react4 = _$$_REQUIRE(_dependencyMap[9], "react");
137174
+ function useReferrer() {
137175
+ return (0, import_react4.useMemo)(() => {
137176
+ try {
137177
+ return new URL((0, import_react_native4.getSchemeUri)()).searchParams.get("referrer");
137178
+ } catch {
137179
+ return null;
137180
+ }
137181
+ }, []);
137182
+ }
137183
+ var import_react_native5 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137242
137184
  var PLAYSTORE_LINK = "https://play.google.com/store/apps/details?id=viva.republica.toss";
137243
137185
  var APPSTORE_LINK = "https://itunes.apple.com/app/id839333328";
137244
137186
  var getMarketLink = () => {
137245
- return import_react_native6.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
137187
+ return import_react_native5.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
137246
137188
  };
137247
137189
  function useAppUpdateDialog() {
137248
- var _ref3 = (0, import_tds_react_native.useDialog)(),
137249
- openConfirm = _ref3.openConfirm;
137190
+ var _ref4 = (0, import_tds_react_native.useDialog)(),
137191
+ openConfirm = _ref4.openConfirm;
137250
137192
  var logging = useAppUpdateDialogLogging();
137251
- var openAppUpdateDialog = (0, import_react6.useCallback)(function () {
137252
- var _ref4 = _asyncToGenerator(function* ({
137193
+ var openAppUpdateDialog = (0, import_react5.useCallback)(function () {
137194
+ var _ref5 = _asyncToGenerator(function* ({
137253
137195
  title,
137254
137196
  description,
137255
137197
  leftButton = "\uB2EB\uAE30",
@@ -137271,10 +137213,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137271
137213
  }
137272
137214
  logging.update();
137273
137215
  var STORE_SCHEME = getMarketLink();
137274
- (0, import_react_native7.openURL)(`supertoss://web?url=${STORE_SCHEME}&external=browser`);
137216
+ (0, import_react_native6.openURL)(`supertoss://web?url=${STORE_SCHEME}&external=browser`);
137275
137217
  });
137276
137218
  return function (_x) {
137277
- return _ref4.apply(this, arguments);
137219
+ return _ref5.apply(this, arguments);
137278
137220
  };
137279
137221
  }(), [logging, openConfirm]);
137280
137222
  return {
@@ -137289,10 +137231,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137289
137231
  var referrer = useReferrer();
137290
137232
  var baseParams = {
137291
137233
  referrer,
137292
- app_name: import_react_native7.Granite.appName
137234
+ app_name: import_react_native6.Granite.appName
137293
137235
  };
137294
137236
  var logUpdateClick = () => {
137295
- import_native_modules3.INTERNAL__module.tossCoreEventLog({
137237
+ sendLog({
137296
137238
  log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
137297
137239
  log_type: "event",
137298
137240
  params: {
@@ -137304,7 +137246,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137304
137246
  });
137305
137247
  };
137306
137248
  var logCloseClick = () => {
137307
- import_native_modules3.INTERNAL__module.tossCoreEventLog({
137249
+ sendLog({
137308
137250
  log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
137309
137251
  log_type: "event",
137310
137252
  params: {
@@ -137316,7 +137258,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137316
137258
  });
137317
137259
  };
137318
137260
  var logDialogShow = () => {
137319
- import_native_modules3.INTERNAL__module.tossCoreEventLog({
137261
+ sendLog({
137320
137262
  log_name: UPDATE_DIALOG_LOG_NAME,
137321
137263
  log_type: "popup",
137322
137264
  params: {
@@ -137331,33 +137273,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137331
137273
  show: logDialogShow
137332
137274
  };
137333
137275
  }
137334
- var import_native_modules5 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137335
- var import_react10 = _$$_REQUIRE(_dependencyMap[9], "react");
137336
- var import_react_native8 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137276
+ var import_native_modules3 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137277
+ var import_react9 = _$$_REQUIRE(_dependencyMap[9], "react");
137278
+ var import_react_native7 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137337
137279
  var import_tds_react_native2 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137338
- var import_react7 = _$$_REQUIRE(_dependencyMap[9], "react");
137280
+ var import_react6 = _$$_REQUIRE(_dependencyMap[9], "react");
137339
137281
  var DEFAULT_ERROR = {
137340
137282
  title: "\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",
137341
137283
  description: "\uBB38\uC81C\uAC00 \uACC4\uC18D\uB418\uBA74 \uD1A0\uC2A4 \uACE0\uAC1D\uC13C\uD130(1599-4905)\uB85C \uBB38\uC758\uD574\uC8FC\uC138\uC694."
137342
137284
  };
137343
137285
  var useErrorAlert = () => {
137344
- var _ref5 = (0, import_tds_react_native2.useDialog)(),
137345
- openAlert = _ref5.openAlert;
137346
- var openErrorAlert = (0, import_react7.useCallback)(_asyncToGenerator(function* () {
137286
+ var _ref6 = (0, import_tds_react_native2.useDialog)(),
137287
+ openAlert = _ref6.openAlert;
137288
+ var openErrorAlert = (0, import_react6.useCallback)(_asyncToGenerator(function* () {
137347
137289
  yield openAlert({
137348
137290
  title: DEFAULT_ERROR.title,
137349
137291
  description: DEFAULT_ERROR.description
137350
137292
  });
137351
- (0, import_react_native8.closeView)();
137293
+ (0, import_react_native7.closeView)();
137352
137294
  }), [openAlert]);
137353
137295
  return {
137354
137296
  open: openErrorAlert
137355
137297
  };
137356
137298
  };
137357
- var import_react8 = _$$_REQUIRE(_dependencyMap[9], "react");
137358
- var import_react_native9 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137359
- var import_native_modules4 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137360
- var INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules4.onVisibilityChangedByTransparentServiceWeb;
137299
+ var import_react7 = _$$_REQUIRE(_dependencyMap[9], "react");
137300
+ var import_react_native8 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137301
+ var import_native_modules2 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137302
+ var INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules2.onVisibilityChangedByTransparentServiceWeb;
137361
137303
  var openTransparentWebView = ({
137362
137304
  webUrl,
137363
137305
  cleanupWhenDismissed = true,
@@ -137387,16 +137329,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137387
137329
  }
137388
137330
  }
137389
137331
  });
137390
- (0, import_react_native9.openURL)(url.toString());
137332
+ (0, import_react_native8.openURL)(url.toString());
137391
137333
  };
137392
137334
  var useTransparentWebview = () => {
137393
- var _ref7 = (0, import_react8.useState)(false),
137394
- _ref8 = _slicedToArray(_ref7, 2),
137395
- isWebviewLoading = _ref8[0],
137396
- setIsWebviewLoading = _ref8[1];
137335
+ var _ref8 = (0, import_react7.useState)(false),
137336
+ _ref9 = _slicedToArray(_ref8, 2),
137337
+ isWebviewLoading = _ref9[0],
137338
+ setIsWebviewLoading = _ref9[1];
137397
137339
  var _useErrorAlert = useErrorAlert(),
137398
137340
  openErrorAlert = _useErrorAlert.open;
137399
- var _openTransparentWebview = (0, import_react8.useCallback)(({
137341
+ var _openTransparentWebview = (0, import_react7.useCallback)(({
137400
137342
  webUrl,
137401
137343
  onClose,
137402
137344
  onError
@@ -137408,14 +137350,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137408
137350
  openTransparentWebView({
137409
137351
  webUrl,
137410
137352
  onEvent: function () {
137411
- var _ref9 = _asyncToGenerator(function* (isClosedTransparentWebView) {
137353
+ var _ref0 = _asyncToGenerator(function* (isClosedTransparentWebView) {
137412
137354
  if (isClosedTransparentWebView) {
137413
137355
  setIsWebviewLoading(false);
137414
137356
  onClose?.();
137415
137357
  }
137416
137358
  });
137417
137359
  return function onEvent(_x2) {
137418
- return _ref9.apply(this, arguments);
137360
+ return _ref0.apply(this, arguments);
137419
137361
  };
137420
137362
  }(),
137421
137363
  onError: error => {
@@ -137434,11 +137376,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137434
137376
  };
137435
137377
  var import_tds_react_native3 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137436
137378
  var import_private2 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137437
- var import_react9 = _$$_REQUIRE(_dependencyMap[9], "react");
137379
+ var import_react8 = _$$_REQUIRE(_dependencyMap[9], "react");
137438
137380
  var import_jsx_runtime3 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137439
137381
  var useGameProfileToast = () => {
137440
137382
  var overlay = (0, import_private2.useOverlay)();
137441
- var openGameProfileToast = (0, import_react9.useCallback)((nickname, profileImageUri) => {
137383
+ var openGameProfileToast = (0, import_react8.useCallback)((nickname, profileImageUri) => {
137442
137384
  return new Promise(resolve => {
137443
137385
  overlay.open(({
137444
137386
  isOpen,
@@ -137478,18 +137420,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137478
137420
  };
137479
137421
  };
137480
137422
  var useGameCenterProfile = () => {
137481
- var _ref0 = (0, import_react10.useState)(void 0),
137482
- _ref1 = _slicedToArray(_ref0, 2),
137483
- profileData = _ref1[0],
137484
- setProfileData = _ref1[1];
137485
- var _ref10 = (0, import_react10.useState)(true),
137486
- _ref11 = _slicedToArray(_ref10, 2),
137487
- isProfileDataLoading = _ref11[0],
137488
- setIsProfileDataLoading = _ref11[1];
137489
- var _ref12 = (0, import_react10.useState)(false),
137490
- _ref13 = _slicedToArray(_ref12, 2),
137491
- isProfileDataRefetching = _ref13[0],
137492
- setIsProfileDataRefetching = _ref13[1];
137423
+ var _ref1 = (0, import_react9.useState)(void 0),
137424
+ _ref10 = _slicedToArray(_ref1, 2),
137425
+ profileData = _ref10[0],
137426
+ setProfileData = _ref10[1];
137427
+ var _ref11 = (0, import_react9.useState)(true),
137428
+ _ref12 = _slicedToArray(_ref11, 2),
137429
+ isProfileDataLoading = _ref12[0],
137430
+ setIsProfileDataLoading = _ref12[1];
137431
+ var _ref13 = (0, import_react9.useState)(false),
137432
+ _ref14 = _slicedToArray(_ref13, 2),
137433
+ isProfileDataRefetching = _ref14[0],
137434
+ setIsProfileDataRefetching = _ref14[1];
137493
137435
  var shouldShowProfileLoadingOverlay = isProfileDataLoading || isProfileDataRefetching;
137494
137436
  var shouldShowProfileNotFoundOverlay = profileData?.statusCode === "PROFILE_NOT_FOUND" && !isProfileDataRefetching;
137495
137437
  var canShowBottomSheetOrToast = !isProfileDataLoading;
@@ -137499,9 +137441,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137499
137441
  openErrorAlert = _useErrorAlert2.open;
137500
137442
  var _useTransparentWebvie = useTransparentWebview(),
137501
137443
  openTransparentWebView2 = _useTransparentWebvie.open;
137502
- var fetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
137444
+ var fetchProfileData = (0, import_react9.useCallback)(_asyncToGenerator(function* () {
137503
137445
  try {
137504
- var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
137446
+ var data = yield (0, import_native_modules3.getGameCenterGameProfile)();
137505
137447
  setProfileData(data);
137506
137448
  setIsProfileDataLoading(false);
137507
137449
  } catch (_) {
@@ -137509,10 +137451,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137509
137451
  setIsProfileDataLoading(false);
137510
137452
  }
137511
137453
  }), [openErrorAlert]);
137512
- var refetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
137454
+ var refetchProfileData = (0, import_react9.useCallback)(_asyncToGenerator(function* () {
137513
137455
  try {
137514
137456
  setIsProfileDataRefetching(true);
137515
- var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
137457
+ var data = yield (0, import_native_modules3.getGameCenterGameProfile)();
137516
137458
  setProfileData(data);
137517
137459
  setIsProfileDataRefetching(false);
137518
137460
  if (data?.statusCode === "SUCCESS") {
@@ -137523,15 +137465,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137523
137465
  openErrorAlert();
137524
137466
  }
137525
137467
  }), [openErrorAlert, openGameProfileToast]);
137526
- var openProfileWebview = (0, import_react10.useCallback)(() => {
137468
+ var openProfileWebview = (0, import_react9.useCallback)(() => {
137527
137469
  openTransparentWebView2({
137528
137470
  webUrl: `${GAME_PROFILE_WEBVIEW_URL}?appName=${getAppName()}&referrer=appsintoss.${getAppName()}`,
137529
137471
  onClose: function () {
137530
- var _ref16 = _asyncToGenerator(function* () {
137472
+ var _ref17 = _asyncToGenerator(function* () {
137531
137473
  refetchProfileData();
137532
137474
  });
137533
137475
  return function onClose() {
137534
- return _ref16.apply(this, arguments);
137476
+ return _ref17.apply(this, arguments);
137535
137477
  };
137536
137478
  }()
137537
137479
  });
@@ -137566,15 +137508,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137566
137508
  openProfileWebview = _useGameCenterProfile.openProfileWebview,
137567
137509
  openGameProfileToast = _useGameCenterProfile.openGameProfileToast,
137568
137510
  fetchProfileData = _useGameCenterProfile.fetchProfileData;
137569
- var isCompletedFlow = (0, import_react11.useRef)(false);
137511
+ var isCompletedFlow = (0, import_react10.useRef)(false);
137570
137512
  var _useAppUpdateDialog = useAppUpdateDialog(),
137571
137513
  openAppUpdateDialog = _useAppUpdateDialog.open;
137572
- (0, import_react11.useEffect)(() => {
137514
+ (0, import_react10.useEffect)(() => {
137573
137515
  fetchProfileData();
137574
137516
  }, []);
137575
- (0, import_react11.useEffect)(() => {
137517
+ (0, import_react10.useEffect)(() => {
137576
137518
  var handleGameProfileFlow = function () {
137577
- var _ref17 = _asyncToGenerator(function* () {
137519
+ var _ref18 = _asyncToGenerator(function* () {
137578
137520
  if (!canShowBottomSheetOrToast) {
137579
137521
  return;
137580
137522
  }
@@ -137582,12 +137524,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137582
137524
  return;
137583
137525
  }
137584
137526
  isCompletedFlow.current = true;
137585
- if (!(0, import_native_modules6.isMinVersionSupported)(GAME_MIN_VERSION)) {
137527
+ if (!(0, import_native_modules4.isMinVersionSupported)(GAME_MIN_VERSION)) {
137586
137528
  openAppUpdateDialog({
137587
137529
  title: `${(0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C")} \uD558\uB824\uBA74
137588
137530
  \uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694`,
137589
137531
  onDismiss: () => {
137590
- (0, import_react_native10.closeView)();
137532
+ (0, import_react_native9.closeView)();
137591
137533
  }
137592
137534
  });
137593
137535
  return;
@@ -137601,20 +137543,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137601
137543
  }
137602
137544
  });
137603
137545
  return function handleGameProfileFlow() {
137604
- return _ref17.apply(this, arguments);
137546
+ return _ref18.apply(this, arguments);
137605
137547
  };
137606
137548
  }();
137607
137549
  handleGameProfileFlow();
137608
137550
  }, [canShowBottomSheetOrToast, isCompletedFlow, openAppUpdateDialog, openGameProfileToast, openProfileWebview, profileData]);
137609
- if (!(0, import_native_modules6.isMinVersionSupported)(GAME_MIN_VERSION)) {
137551
+ if (!(0, import_native_modules4.isMinVersionSupported)(GAME_MIN_VERSION)) {
137610
137552
  return (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, {
137611
- children: [(0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137553
+ children: [(0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137612
137554
  style: {
137613
137555
  flex: 1,
137614
137556
  position: "relative"
137615
137557
  },
137616
137558
  children
137617
- }), (0, import_jsx_runtime4.jsx)(import_react_native11.Pressable, {
137559
+ }), (0, import_jsx_runtime4.jsx)(import_react_native10.Pressable, {
137618
137560
  style: {
137619
137561
  ...overlayStyle
137620
137562
  },
@@ -137623,7 +137565,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137623
137565
  title: `${(0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C")} \uD558\uB824\uBA74
137624
137566
  \uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694`,
137625
137567
  onDismiss: () => {
137626
- (0, import_react_native10.closeView)();
137568
+ (0, import_react_native9.closeView)();
137627
137569
  }
137628
137570
  });
137629
137571
  }
@@ -137632,13 +137574,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137632
137574
  }
137633
137575
  if (shouldShowProfileLoadingOverlay) {
137634
137576
  return (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, {
137635
- children: [(0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137577
+ children: [(0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137636
137578
  style: {
137637
137579
  flex: 1,
137638
137580
  position: "relative"
137639
137581
  },
137640
137582
  children
137641
- }), (0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137583
+ }), (0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137642
137584
  style: {
137643
137585
  ...overlayStyle,
137644
137586
  justifyContent: "center",
@@ -137654,13 +137596,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137654
137596
  }
137655
137597
  if (shouldShowProfileNotFoundOverlay) {
137656
137598
  return (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, {
137657
- children: [(0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137599
+ children: [(0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137658
137600
  style: {
137659
137601
  flex: 1,
137660
137602
  position: "relative"
137661
137603
  },
137662
137604
  children
137663
- }), shouldShowProfileNotFoundOverlay && (0, import_jsx_runtime4.jsx)(import_react_native11.Pressable, {
137605
+ }), shouldShowProfileNotFoundOverlay && (0, import_jsx_runtime4.jsx)(import_react_native10.Pressable, {
137664
137606
  style: {
137665
137607
  ...overlayStyle
137666
137608
  },
@@ -137671,7 +137613,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137671
137613
  });
137672
137614
  }
137673
137615
  return (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, {
137674
- children: (0, import_jsx_runtime4.jsx)(import_react_native11.View, {
137616
+ children: (0, import_jsx_runtime4.jsx)(import_react_native10.View, {
137675
137617
  style: {
137676
137618
  flex: 1,
137677
137619
  position: "relative"
@@ -137689,30 +137631,30 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137689
137631
  zIndex: Z_INDEX.PROFILE_OVERLAY
137690
137632
  };
137691
137633
  var import_private5 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137692
- var import_react12 = _$$_REQUIRE(_dependencyMap[9], "react");
137693
- var import_react_native12 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137634
+ var import_react11 = _$$_REQUIRE(_dependencyMap[9], "react");
137635
+ var import_react_native11 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137694
137636
  function useHardwareBackPress(handler) {
137695
- (0, import_react12.useEffect)(() => {
137637
+ (0, import_react11.useEffect)(() => {
137696
137638
  var handleBackPress = () => {
137697
137639
  handler();
137698
137640
  return true;
137699
137641
  };
137700
- var backHandler = import_react_native12.BackHandler.addEventListener("hardwareBackPress", handleBackPress);
137642
+ var backHandler = import_react_native11.BackHandler.addEventListener("hardwareBackPress", handleBackPress);
137701
137643
  return () => backHandler.remove();
137702
137644
  }, [handler]);
137703
137645
  }
137704
- var import_react_native14 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137705
- var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
137646
+ var import_react_native13 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137647
+ var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
137706
137648
  var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137707
137649
  var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
137708
- var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
137650
+ var import_react12 = _$$_REQUIRE(_dependencyMap[9], "react");
137709
137651
  function useCloseConfirm() {
137710
137652
  var _getAppsInTossGlobals = getAppsInTossGlobals(),
137711
137653
  brandDisplayName = _getAppsInTossGlobals.brandDisplayName;
137712
- var _ref18 = (0, import_tds_react_native5.useDialog)(),
137713
- openConfirm = _ref18.openConfirm;
137714
- return (0, import_react13.useCallback)(function () {
137715
- var _ref19 = _asyncToGenerator(function* ({
137654
+ var _ref19 = (0, import_tds_react_native5.useDialog)(),
137655
+ openConfirm = _ref19.openConfirm;
137656
+ return (0, import_react12.useCallback)(function () {
137657
+ var _ref20 = _asyncToGenerator(function* ({
137716
137658
  onEntered
137717
137659
  }) {
137718
137660
  return yield openConfirm({
@@ -137724,7 +137666,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137724
137666
  });
137725
137667
  });
137726
137668
  return function (_x3) {
137727
- return _ref19.apply(this, arguments);
137669
+ return _ref20.apply(this, arguments);
137728
137670
  };
137729
137671
  }(), [brandDisplayName, openConfirm]);
137730
137672
  }
@@ -137776,8 +137718,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137776
137718
  }
137777
137719
  var homeEvent = createEvent("homeEvent");
137778
137720
  var safeAreaInsetsChange = createEvent("safeAreaInsetsChange");
137779
- var import_native_modules7 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137780
- var import_react_native13 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137721
+ var import_react_native12 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137781
137722
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
137782
137723
  var NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
137783
137724
  var CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
@@ -137792,10 +137733,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137792
137733
  var referrer = useReferrer();
137793
137734
  var baseParams = {
137794
137735
  referrer,
137795
- app_name: import_react_native13.Granite.appName
137736
+ app_name: import_react_native12.Granite.appName
137796
137737
  };
137797
137738
  var logNavBarImpression = naviBarConfig => {
137798
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137739
+ sendLog({
137799
137740
  log_name: NAVI_BAR_IMPRESSION_LOG_NAME,
137800
137741
  log_type: "event",
137801
137742
  params: {
@@ -137807,7 +137748,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137807
137748
  });
137808
137749
  };
137809
137750
  var logHomeButtonClick = () => {
137810
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137751
+ sendLog({
137811
137752
  log_name: HOME_BUTTON_CLICK_LOG_NAME,
137812
137753
  log_type: "event",
137813
137754
  params: {
@@ -137818,7 +137759,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137818
137759
  });
137819
137760
  };
137820
137761
  var logCloseButtonClick = () => {
137821
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137762
+ sendLog({
137822
137763
  log_name: CLOSE_BUTTON_CLICK_LOG_NAME,
137823
137764
  log_type: "event",
137824
137765
  params: {
@@ -137829,7 +137770,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137829
137770
  });
137830
137771
  };
137831
137772
  var logClosePopupShow = () => {
137832
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137773
+ sendLog({
137833
137774
  log_name: CLOSE_POPUP_SHOW_LOG_NAME,
137834
137775
  log_type: "popup",
137835
137776
  params: {
@@ -137839,7 +137780,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137839
137780
  });
137840
137781
  };
137841
137782
  var logClosePopupCtaClick = confirm => {
137842
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
137783
+ sendLog({
137843
137784
  log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
137844
137785
  log_type: "event",
137845
137786
  params: {
@@ -137859,26 +137800,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137859
137800
  };
137860
137801
  }
137861
137802
  function useNavigationEvent() {
137862
- var backEventContext = (0, import_react_native14.useBackEventContext)();
137803
+ var backEventContext = (0, import_react_native13.useBackEventContext)();
137863
137804
  var logging = useNavigationBarLogging();
137864
- var navigation = (0, import_react_native14.useNavigation)();
137805
+ var navigation = (0, import_react_native13.useNavigation)();
137865
137806
  var closeConfirm = useCloseConfirm();
137866
- var _useCaptureExitLog2 = useCaptureExitLog(),
137867
- captureExitLog = _useCaptureExitLog2.captureExitLog;
137868
- return (0, import_react14.useMemo)(() => {
137807
+ return (0, import_react13.useMemo)(() => {
137869
137808
  var close = function () {
137870
- var _ref20 = _asyncToGenerator(function* () {
137809
+ var _ref21 = _asyncToGenerator(function* () {
137871
137810
  var hasConfirmed = yield closeConfirm({
137872
137811
  onEntered: logging.closePopupShow
137873
137812
  });
137874
137813
  logging.closePopupCtaClick(hasConfirmed);
137875
137814
  if (hasConfirmed) {
137876
- captureExitLog(Date.now());
137877
- (0, import_react_native14.closeView)();
137815
+ (0, import_react_native13.closeView)();
137878
137816
  }
137879
137817
  });
137880
137818
  return function close() {
137881
- return _ref20.apply(this, arguments);
137819
+ return _ref21.apply(this, arguments);
137882
137820
  };
137883
137821
  }();
137884
137822
  return {
@@ -137904,21 +137842,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137904
137842
  close();
137905
137843
  }
137906
137844
  };
137907
- }, [backEventContext, navigation, closeConfirm, logging, captureExitLog]);
137845
+ }, [backEventContext, navigation, closeConfirm, logging]);
137908
137846
  }
137909
- var import_native_modules12 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137910
- var import_react_native19 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137847
+ var import_native_modules8 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137848
+ var import_react_native18 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137911
137849
  var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137912
137850
  var import_private4 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137913
- var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
137914
- var import_native_modules9 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137915
- var import_react_native17 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137851
+ var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
137852
+ var import_native_modules5 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137853
+ var import_react_native16 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137916
137854
  var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137917
137855
  var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137918
137856
  var import_private3 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137919
- var import_react_native16 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137920
- var import_native_modules8 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137921
- var import_react_native15 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137857
+ var import_react_native15 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137858
+ var import_react_native14 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137922
137859
  var BOTTOM_SHEET_SCHEMA_ID = 1596825;
137923
137860
  var BOTTOM_SHEET_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__more";
137924
137861
  var BOTTOM_SHEET_OPEN_SCHEMA_ID = 1596829;
@@ -137931,10 +137868,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137931
137868
  var referrer = useReferrer();
137932
137869
  var baseParams = {
137933
137870
  referrer,
137934
- app_name: import_react_native15.Granite.appName
137871
+ app_name: import_react_native14.Granite.appName
137935
137872
  };
137936
137873
  var logBottomSheetShow = () => {
137937
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
137874
+ sendLog({
137938
137875
  log_name: BOTTOM_SHEET_LOG_NAME,
137939
137876
  log_type: "popup",
137940
137877
  params: {
@@ -137944,7 +137881,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137944
137881
  });
137945
137882
  };
137946
137883
  var logBottomSheetOpen = () => {
137947
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
137884
+ sendLog({
137948
137885
  log_name: BOTTOM_SHEET_OPEN_LOG_NAME,
137949
137886
  log_type: "event",
137950
137887
  params: {
@@ -137955,7 +137892,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137955
137892
  });
137956
137893
  };
137957
137894
  var logBottomSheetCloseClick = () => {
137958
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
137895
+ sendLog({
137959
137896
  log_name: BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME,
137960
137897
  log_type: "event",
137961
137898
  params: {
@@ -137968,7 +137905,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137968
137905
  var logBottomSheetMenuClick = ({
137969
137906
  title
137970
137907
  }) => {
137971
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
137908
+ sendLog({
137972
137909
  log_name: BOTTOM_SHEET_MENU_CLICK_LOG_NAME,
137973
137910
  log_type: "event",
137974
137911
  params: {
@@ -137999,7 +137936,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137999
137936
  var brandPrimaryColorRGB = hexToRGB(globals.brandPrimaryColor);
138000
137937
  var iconBackgroundColor = brandPrimaryColorRGB ? `rgba(${brandPrimaryColorRGB.join(",")},0.1)` : adaptive.grey100;
138001
137938
  return (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow, {
138002
- left: (0, import_jsx_runtime5.jsx)(import_react_native16.View, {
137939
+ left: (0, import_jsx_runtime5.jsx)(import_react_native15.View, {
138003
137940
  style: {
138004
137941
  width: 30,
138005
137942
  height: 30,
@@ -138063,10 +138000,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138063
138000
  }
138064
138001
  function addParamsToUrl(url, params) {
138065
138002
  var urlObj = new URL(url);
138066
- for (var _ref21 of Object.entries(params)) {
138067
- var _ref22 = _slicedToArray(_ref21, 2);
138068
- var key = _ref22[0];
138069
- var value = _ref22[1];
138003
+ for (var _ref22 of Object.entries(params)) {
138004
+ var _ref23 = _slicedToArray(_ref22, 2);
138005
+ var key = _ref23[0];
138006
+ var value = _ref23[1];
138070
138007
  urlObj.searchParams.set(key, value);
138071
138008
  }
138072
138009
  return urlObj.toString();
@@ -138078,10 +138015,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138078
138015
  contactIconUrl: "https://static.toss.im/icons/png/4x/icon-share-dots-mono.png"
138079
138016
  };
138080
138017
  function AppShareListMenu() {
138081
- var initialScheme = (0, import_react_native17.getSchemeUri)();
138082
- var isSandbox = (0, import_native_modules9.getOperationalEnvironment)() === "sandbox";
138083
- var _ref23 = (0, import_tds_react_native7.useDialog)(),
138084
- openConfirm = _ref23.openConfirm;
138018
+ var initialScheme = (0, import_react_native16.getSchemeUri)();
138019
+ var isSandbox = (0, import_native_modules5.getOperationalEnvironment)() === "sandbox";
138020
+ var _ref24 = (0, import_tds_react_native7.useDialog)(),
138021
+ openConfirm = _ref24.openConfirm;
138085
138022
  var schemeForShare = addParamsToUrl(initialScheme, {
138086
138023
  referrer: SHARE_SCHEME_REFERRER
138087
138024
  });
@@ -138098,16 +138035,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138098
138035
  });
138099
138036
  return;
138100
138037
  }
138101
- (0, import_native_modules9.shareWithScheme)({
138038
+ (0, import_native_modules5.shareWithScheme)({
138102
138039
  schemeURL: schemeForShare
138103
138040
  });
138104
138041
  }
138105
138042
  });
138106
138043
  }
138107
- var import_native_modules10 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138044
+ var import_native_modules6 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138108
138045
  var import_jsx_runtime7 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138109
138046
  function HomeShortcutMenu() {
138110
- var isSandbox = (0, import_native_modules10.getOperationalEnvironment)() === "sandbox";
138047
+ var isSandbox = (0, import_native_modules6.getOperationalEnvironment)() === "sandbox";
138111
138048
  var globals = getAppsInTossGlobals();
138112
138049
  if (isSandbox) {
138113
138050
  return null;
@@ -138116,7 +138053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138116
138053
  title: "\uD648 \uD654\uBA74\uC5D0 \uCD94\uAC00",
138117
138054
  iconURL: "https://static.toss.im/icons/png/4x/icon-plus-circle-mono.png",
138118
138055
  onPress: () => {
138119
- import_native_modules10.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
138056
+ import_native_modules6.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
138120
138057
  title: globals.brandDisplayName,
138121
138058
  appName: global.__granite.app.name,
138122
138059
  iconUrl: globals.brandIcon,
@@ -138128,18 +138065,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138128
138065
  }
138129
138066
  });
138130
138067
  }
138131
- var import_native_modules11 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138132
- var import_react_native18 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138068
+ var import_native_modules7 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138069
+ var import_react_native17 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138133
138070
  var import_jsx_runtime8 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138134
138071
  function SettingsMenu() {
138135
138072
  var globals = getAppsInTossGlobals();
138136
- if ((0, import_native_modules11.getOperationalEnvironment)() === "sandbox") {
138073
+ if ((0, import_native_modules7.getOperationalEnvironment)() === "sandbox") {
138137
138074
  return null;
138138
138075
  }
138139
138076
  return (0, import_jsx_runtime8.jsx)(Menu, {
138140
138077
  title: "\uC124\uC815",
138141
138078
  iconURL: "https://static.toss.im/icons/png/4x/icon-setting-mono.png",
138142
- onPress: () => (0, import_react_native18.openURL)(`servicetoss://apps-in-toss-menu/settings?appName=${import_react_native18.Granite.appName}&displayAppName=${globals.brandDisplayName}`)
138079
+ onPress: () => (0, import_react_native17.openURL)(`servicetoss://apps-in-toss-menu/settings?appName=${import_react_native17.Granite.appName}&displayAppName=${globals.brandDisplayName}`)
138143
138080
  });
138144
138081
  }
138145
138082
  function ensureValue(value, name) {
@@ -138171,23 +138108,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138171
138108
  function useMoreButtonBottomSheet() {
138172
138109
  var globals = getAppsInTossGlobals();
138173
138110
  var adaptive = (0, import_private4.useAdaptive)();
138174
- var _ref24 = (0, import_react15.useState)([]),
138175
- _ref25 = _slicedToArray(_ref24, 2),
138176
- itemList = _ref25[0],
138177
- setItemList = _ref25[1];
138111
+ var _ref25 = (0, import_react14.useState)([]),
138112
+ _ref26 = _slicedToArray(_ref25, 2),
138113
+ itemList = _ref26[0],
138114
+ setItemList = _ref26[1];
138178
138115
  var appUpdateDialog = useAppUpdateDialog();
138179
138116
  var logging = useMoreButtonBottomSheetLogging();
138180
138117
  var overlay = (0, import_private4.useOverlay)();
138181
138118
  var title = ensureValue(globals.brandDisplayName, "displayName");
138182
- var isHomeShortcutSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.HOME_SHORTCUT_MENU);
138183
- var isBottomSheetSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
138184
- var isShareListMenuSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
138185
- var isSettingsMenuSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.SETTINGS_MENU);
138186
- (0, import_react15.useEffect)(() => {
138119
+ var isHomeShortcutSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.HOME_SHORTCUT_MENU);
138120
+ var isBottomSheetSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
138121
+ var isShareListMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
138122
+ var isSettingsMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SETTINGS_MENU);
138123
+ (0, import_react14.useEffect)(() => {
138187
138124
  if (!isBottomSheetSupported) {
138188
138125
  return;
138189
138126
  }
138190
- import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
138127
+ import_native_modules8.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
138191
138128
  onSuccess: ({
138192
138129
  items
138193
138130
  }) => setItemList(items),
@@ -138195,7 +138132,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138195
138132
  });
138196
138133
  }, [isBottomSheetSupported]);
138197
138134
  var onClickHandler = function () {
138198
- var _ref26 = _asyncToGenerator(function* () {
138135
+ var _ref27 = _asyncToGenerator(function* () {
138199
138136
  logging.open();
138200
138137
  if (!isBottomSheetSupported) {
138201
138138
  yield appUpdateDialog.open({
@@ -138240,7 +138177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138240
138177
  children: [itemList.map(item => (0, import_jsx_runtime9.jsx)(Menu, {
138241
138178
  title: item.contactItemName,
138242
138179
  iconURL: item.contactIconUrl,
138243
- onPress: () => (0, import_react_native19.openURL)(item.contactUri)
138180
+ onPress: () => (0, import_react_native18.openURL)(item.contactUri)
138244
138181
  }, item.contactItemName)), isHomeShortcutSupported && (0, import_jsx_runtime9.jsx)(HomeShortcutMenu, {}), isShareListMenuSupported && (0, import_jsx_runtime9.jsx)(AppShareListMenu, {}), isSettingsMenuSupported && (0, import_jsx_runtime9.jsx)(SettingsMenu, {})]
138245
138182
  })
138246
138183
  })
@@ -138248,7 +138185,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138248
138185
  });
138249
138186
  });
138250
138187
  return function onClickHandler() {
138251
- return _ref26.apply(this, arguments);
138188
+ return _ref27.apply(this, arguments);
138252
138189
  };
138253
138190
  }();
138254
138191
  return {
@@ -138259,7 +138196,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138259
138196
  children
138260
138197
  }) {
138261
138198
  var logging = useMoreButtonBottomSheetLogging();
138262
- (0, import_react15.useEffect)(() => {
138199
+ (0, import_react14.useEffect)(() => {
138263
138200
  logging.show();
138264
138201
  }, [logging]);
138265
138202
  return (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {
@@ -138275,15 +138212,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138275
138212
  name: source
138276
138213
  };
138277
138214
  }
138278
- var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
138215
+ var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
138279
138216
  var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138280
138217
  function NavigationBarImpressionArea({
138281
138218
  children,
138282
138219
  withHomeButton
138283
138220
  }) {
138284
- var hasLogged = (0, import_react16.useRef)(false);
138221
+ var hasLogged = (0, import_react15.useRef)(false);
138285
138222
  var logging = useNavigationBarLogging();
138286
- (0, import_react16.useEffect)(() => {
138223
+ (0, import_react15.useEffect)(() => {
138287
138224
  if (hasLogged.current === false) {
138288
138225
  logging.navBarImpression({
138289
138226
  home_icon_yn: withHomeButton ? "Y" : "N"
@@ -138332,7 +138269,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138332
138269
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138333
138270
  var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138334
138271
  var import_private6 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138335
- var import_react_native20 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138272
+ var import_react_native19 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138336
138273
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138337
138274
  function GameNavigationBar() {
138338
138275
  var safeAreaTop = (0, import_private6.useSafeAreaTop)();
@@ -138341,18 +138278,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138341
138278
  var navigationEvent = useNavigationEvent();
138342
138279
  var _useNavigationBarCont2 = useNavigationBarContext(),
138343
138280
  navigationRightButton = _useNavigationBarCont2.navigationRightButton;
138344
- var _ref27 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
138345
- safeAreaRight = _ref27.right;
138281
+ var _ref28 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
138282
+ safeAreaRight = _ref28.right;
138346
138283
  useHardwareBackPress(navigationEvent.handleBack);
138347
138284
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
138348
138285
  children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native9.PageNavbar, {
138349
138286
  preference: {
138350
138287
  type: "none"
138351
138288
  }
138352
- }), (0, import_jsx_runtime12.jsx)(import_react_native20.View, {
138289
+ }), (0, import_jsx_runtime12.jsx)(import_react_native19.View, {
138353
138290
  style: {
138354
138291
  width: "100%",
138355
- height: import_react_native20.Platform.OS === "ios" ? 44 : 54,
138292
+ height: import_react_native19.Platform.OS === "ios" ? 44 : 54,
138356
138293
  flexDirection: "row",
138357
138294
  alignItems: "center",
138358
138295
  justifyContent: "flex-end",
@@ -138399,13 +138336,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138399
138336
  function GameAppContainer({
138400
138337
  children
138401
138338
  }) {
138402
- (0, import_react17.useEffect)(() => {
138403
- if (import_react_native21.Platform.OS === "ios") {
138404
- (0, import_native_modules13.setIosSwipeGestureEnabled)({
138339
+ (0, import_react16.useEffect)(() => {
138340
+ if (import_react_native20.Platform.OS === "ios") {
138341
+ (0, import_native_modules9.setIosSwipeGestureEnabled)({
138405
138342
  isEnabled: false
138406
138343
  });
138407
138344
  return () => {
138408
- (0, import_native_modules13.setIosSwipeGestureEnabled)({
138345
+ (0, import_native_modules9.setIosSwipeGestureEnabled)({
138409
138346
  isEnabled: true
138410
138347
  });
138411
138348
  };
@@ -138430,18 +138367,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138430
138367
  children,
138431
138368
  ...initialProps
138432
138369
  }) {
138433
- if (!(0, import_native_modules14.isMinVersionSupported)({
138370
+ if (!(0, import_native_modules10.isMinVersionSupported)({
138434
138371
  android: "5.220.0",
138435
138372
  ios: "5.221.0"
138436
138373
  })) {
138437
138374
  return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
138438
- children: [(0, import_jsx_runtime14.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime14.jsx)(AppEvent.System, {
138375
+ children: [(0, import_jsx_runtime14.jsx)(AppEvent.System, {
138439
138376
  ...initialProps
138440
138377
  }), (0, import_jsx_runtime14.jsx)(AppUpdate, {})]
138441
138378
  });
138442
138379
  }
138443
138380
  return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
138444
- children: [(0, import_jsx_runtime14.jsx)(AppEvent.StayTime, {}), (0, import_jsx_runtime14.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime14.jsx)(AppEvent.System, {
138381
+ children: [(0, import_jsx_runtime14.jsx)(AppEvent.System, {
138445
138382
  ...initialProps
138446
138383
  }), (0, import_jsx_runtime14.jsx)(Container, {
138447
138384
  ...initialProps,
@@ -138462,17 +138399,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138462
138399
  analytics
138463
138400
  }) {
138464
138401
  var appName = getAppName();
138465
- var isRegistered = import_react_native23.AppRegistry.getAppKeys().includes(appName);
138402
+ var isRegistered = import_react_native22.AppRegistry.getAppKeys().includes(appName);
138466
138403
  if (!isRegistered) {
138467
138404
  import_analytics.Analytics.init({
138468
- logger: params => void (0, import_native_modules14.eventLog)(params),
138405
+ logger: params => void (0, import_native_modules10.eventLog)(params),
138469
138406
  debug: analytics?.debug ?? __DEV__
138470
138407
  });
138471
- var App = import_react_native22.Granite.registerApp(AppsInTossContainer.bind(null, container), {
138408
+ var App = import_react_native21.Granite.registerApp(AppsInTossContainer.bind(null, container), {
138472
138409
  appName,
138473
138410
  context,
138474
- initialScheme: (0, import_native_modules14.getSchemeUri)(),
138475
- setIosSwipeGestureEnabled: import_native_modules14.setIosSwipeGestureEnabled,
138411
+ initialScheme: (0, import_native_modules10.getSchemeUri)(),
138412
+ setIosSwipeGestureEnabled: import_native_modules10.setIosSwipeGestureEnabled,
138476
138413
  router: {
138477
138414
  screenContainer: AppsInTossScreenContainer,
138478
138415
  defaultScreenOption: {
@@ -138507,44 +138444,42 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138507
138444
  var AppsInToss = {
138508
138445
  registerApp
138509
138446
  };
138510
- var import_native_modules24 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138447
+ var import_native_modules19 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138511
138448
  var appsInTossAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[14], "@apps-in-toss/native-modules/async-bridges"), 1);
138512
138449
  var appsInTossConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[15], "@apps-in-toss/native-modules/constant-bridges"), 1);
138513
138450
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[16], "@apps-in-toss/native-modules/event-bridges"), 1);
138514
138451
  var import_user_scripts = _$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/user-scripts");
138515
138452
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138516
- var import_react_native37 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138453
+ var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138517
138454
  var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138518
138455
  var import_private9 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138519
- var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
138520
- var import_react_native38 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138521
- var import_native_modules15 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138456
+ var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
138457
+ var import_react_native37 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138458
+ var import_native_modules11 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138522
138459
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138523
- var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138524
- var import_react_native26 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138460
+ var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138461
+ var import_react_native25 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138525
138462
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138526
- var import_react_native24 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138463
+ var import_react_native23 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138527
138464
  var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138528
138465
  var import_private7 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138529
138466
  var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138530
- var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138531
- var import_react_native25 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138467
+ var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
138468
+ var import_react_native24 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138532
138469
  var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138533
138470
  function GameWebviewNavigationBar() {
138534
138471
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
138535
- var _ref28 = (0, import_tds_react_native11.useDialog)(),
138536
- openConfirm = _ref28.openConfirm;
138537
- var _useCaptureExitLog3 = useCaptureExitLog(),
138538
- captureExitLog = _useCaptureExitLog3.captureExitLog;
138472
+ var _ref29 = (0, import_tds_react_native11.useDialog)(),
138473
+ openConfirm = _ref29.openConfirm;
138539
138474
  var global2 = getAppsInTossGlobals();
138540
138475
  var logging = useNavigationBarLogging();
138541
138476
  var _useMoreButtonBottomS3 = useMoreButtonBottomSheet(),
138542
138477
  openMoreButtonBottomSheet = _useMoreButtonBottomS3.open;
138543
138478
  var _useNavigationBarCont3 = useNavigationBarContext(),
138544
138479
  navigationRightButton = _useNavigationBarCont3.navigationRightButton;
138545
- var _ref29 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138546
- safeAreaRight = _ref29.right;
138547
- var handleGameWebviewClose = (0, import_react18.useCallback)(_asyncToGenerator(function* () {
138480
+ var _ref30 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138481
+ safeAreaRight = _ref30.right;
138482
+ var handleGameWebviewClose = (0, import_react17.useCallback)(_asyncToGenerator(function* () {
138548
138483
  logging.closeButtonClick();
138549
138484
  var isConfirmed = yield openConfirm({
138550
138485
  title: `${(0, import_es_hangul3.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
@@ -138555,19 +138490,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138555
138490
  });
138556
138491
  logging.closePopupCtaClick(isConfirmed);
138557
138492
  if (isConfirmed) {
138558
- captureExitLog(Date.now());
138559
- (0, import_react_native24.closeView)();
138493
+ (0, import_react_native23.closeView)();
138560
138494
  }
138561
- }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
138495
+ }), [global2.brandDisplayName, logging, openConfirm]);
138562
138496
  return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
138563
138497
  children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native11.PageNavbar, {
138564
138498
  preference: {
138565
138499
  type: "none"
138566
138500
  }
138567
- }), (0, import_jsx_runtime15.jsx)(import_react_native25.View, {
138501
+ }), (0, import_jsx_runtime15.jsx)(import_react_native24.View, {
138568
138502
  style: {
138569
138503
  width: "100%",
138570
- height: import_react_native25.Platform.OS === "ios" ? 44 : 54,
138504
+ height: import_react_native24.Platform.OS === "ios" ? 44 : 54,
138571
138505
  flexDirection: "row",
138572
138506
  alignItems: "center",
138573
138507
  justifyContent: "flex-end",
@@ -138589,14 +138523,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138589
138523
  });
138590
138524
  }
138591
138525
  var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138592
- var GameWebView = (0, import_react19.forwardRef)(function GameWebView2(props, ref) {
138593
- (0, import_react19.useEffect)(() => {
138594
- if (import_react_native26.Platform.OS === "ios") {
138595
- (0, import_native_modules15.setIosSwipeGestureEnabled)({
138526
+ var GameWebView = (0, import_react18.forwardRef)(function GameWebView2(props, ref) {
138527
+ (0, import_react18.useEffect)(() => {
138528
+ if (import_react_native25.Platform.OS === "ios") {
138529
+ (0, import_native_modules11.setIosSwipeGestureEnabled)({
138596
138530
  isEnabled: false
138597
138531
  });
138598
138532
  return () => {
138599
- (0, import_native_modules15.setIosSwipeGestureEnabled)({
138533
+ (0, import_native_modules11.setIosSwipeGestureEnabled)({
138600
138534
  isEnabled: true
138601
138535
  });
138602
138536
  };
@@ -138604,7 +138538,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138604
138538
  return;
138605
138539
  }, []);
138606
138540
  return (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, {
138607
- children: [(0, import_jsx_runtime16.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules15.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime16.jsx)(GameInitializer, {
138541
+ children: [(0, import_jsx_runtime16.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules11.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime16.jsx)(GameInitializer, {
138608
138542
  children: (0, import_jsx_runtime16.jsx)(import_react_native_webview.WebView, {
138609
138543
  ref,
138610
138544
  ...props
@@ -138616,23 +138550,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138616
138550
  });
138617
138551
  });
138618
138552
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138619
- var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
138620
- var import_react_native27 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138553
+ var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
138554
+ var import_react_native26 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138621
138555
  var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138622
138556
  var import_private8 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138623
138557
  var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138624
- var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
138558
+ var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138625
138559
  var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138626
138560
  function PartnerWebviewNavigationBar({
138627
138561
  onBackButtonClick,
138628
138562
  onHomeButtonClick
138629
138563
  }) {
138630
138564
  var globals = getAppsInTossGlobals();
138631
- var _useCaptureExitLog4 = useCaptureExitLog(),
138632
- captureExitLog = _useCaptureExitLog4.captureExitLog;
138633
138565
  var logging = useNavigationBarLogging();
138634
- var _ref31 = (0, import_tds_react_native12.useDialog)(),
138635
- openConfirm = _ref31.openConfirm;
138566
+ var _ref32 = (0, import_tds_react_native12.useDialog)(),
138567
+ openConfirm = _ref32.openConfirm;
138636
138568
  var _useMoreButtonBottomS4 = useMoreButtonBottomSheet(),
138637
138569
  openMoreButtonBottomSheet = _useMoreButtonBottomS4.open;
138638
138570
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
@@ -138640,7 +138572,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138640
138572
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
138641
138573
  var _useNavigationBarCont4 = useNavigationBarContext(),
138642
138574
  navigationRightButton = _useNavigationBarCont4.navigationRightButton;
138643
- var handleClose = (0, import_react20.useCallback)(_asyncToGenerator(function* () {
138575
+ var handleClose = (0, import_react19.useCallback)(_asyncToGenerator(function* () {
138644
138576
  logging.closeButtonClick();
138645
138577
  var isConfirmed = yield openConfirm({
138646
138578
  title: `${(0, import_es_hangul4.josa)(globals.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
@@ -138651,10 +138583,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138651
138583
  });
138652
138584
  logging.closePopupCtaClick(isConfirmed);
138653
138585
  if (isConfirmed) {
138654
- captureExitLog(Date.now());
138655
- (0, import_react_native27.closeView)();
138586
+ (0, import_react_native26.closeView)();
138656
138587
  }
138657
- }), [captureExitLog, globals.brandDisplayName, logging, openConfirm]);
138588
+ }), [globals.brandDisplayName, logging, openConfirm]);
138658
138589
  return (0, import_jsx_runtime17.jsx)(NavigationBarImpressionArea, {
138659
138590
  withHomeButton,
138660
138591
  children: (0, import_jsx_runtime17.jsx)(import_private8.TopNavigation, {
@@ -138678,7 +138609,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138678
138609
  });
138679
138610
  }
138680
138611
  var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138681
- var PartnerWebView = (0, import_react21.forwardRef)(function PartnerWebViewScreen({
138612
+ var PartnerWebView = (0, import_react20.forwardRef)(function PartnerWebViewScreen({
138682
138613
  onBackButtonClick,
138683
138614
  onHomeButtonClick,
138684
138615
  ...webViewProps
@@ -138707,7 +138638,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138707
138638
  }
138708
138639
  return `${scheme}://${url.hostname}${url.pathname}${url.search}`;
138709
138640
  }
138710
- var import_native_modules16 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138641
+ var import_native_modules12 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138711
138642
  function noop() {}
138712
138643
  var INVALID_AD_GROUP_ID_ERROR_MESSAGE = "\uC798\uBABB\uB41C \uC694\uCCAD\uC774\uC5D0\uC694. \uD544\uC694\uD55C \uAC12\uC774 \uBE44\uC5B4 \uC788\uC5B4\uC694.";
138713
138644
  function normalizeAdGroupId(adGroupId) {
@@ -138727,7 +138658,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138727
138658
  var ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
138728
138659
  var IOS_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
138729
138660
  var UNSUPPORTED_ERROR_MESSAGE = "This feature is not supported in the current environment";
138730
- var ENVIRONMENT = (0, import_native_modules16.getOperationalEnvironment)();
138661
+ var ENVIRONMENT = (0, import_native_modules12.getOperationalEnvironment)();
138731
138662
  function fetchTossAd(params) {
138732
138663
  if (!fetchTossAd.isSupported()) {
138733
138664
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
@@ -138741,7 +138672,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138741
138672
  params.onError(createInvalidAdGroupIdError());
138742
138673
  return noop;
138743
138674
  }
138744
- var unregisterCallbacks = import_native_modules16.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("fetchTossAd", {
138675
+ var unregisterCallbacks = import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("fetchTossAd", {
138745
138676
  spaceUnitId: adGroupId,
138746
138677
  sessionId,
138747
138678
  sdkId: options.sdkId,
@@ -138760,37 +138691,37 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138760
138691
  if (ENVIRONMENT !== "toss") {
138761
138692
  return false;
138762
138693
  }
138763
- return (0, import_native_modules16.isMinVersionSupported)({
138694
+ return (0, import_native_modules12.isMinVersionSupported)({
138764
138695
  android: ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION,
138765
138696
  ios: IOS_FETCH_TOSS_AD_SUPPORTED_VERSION
138766
138697
  });
138767
138698
  };
138768
- var import_native_modules18 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138699
+ var import_native_modules14 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138769
138700
  function generateRequestId() {
138770
138701
  var timestamp = Date.now().toString(36).toUpperCase();
138771
138702
  var random = Math.random().toString(36).substring(2, 7).toUpperCase();
138772
138703
  return `ait-${timestamp}${random}`;
138773
138704
  }
138774
- var import_react_native28 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138705
+ var import_react_native27 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138775
138706
  function getReferrer() {
138776
138707
  try {
138777
- return new URL((0, import_react_native28.getSchemeUri)()).searchParams.get("referrer");
138708
+ return new URL((0, import_react_native27.getSchemeUri)()).searchParams.get("referrer");
138778
138709
  } catch {
138779
138710
  return null;
138780
138711
  }
138781
138712
  }
138782
- var import_native_modules17 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138783
- var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138713
+ var import_native_modules13 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138714
+ var import_react_native28 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138784
138715
  function getIsDev() {
138785
138716
  try {
138786
- return new URL((0, import_react_native29.getSchemeUri)()).searchParams.get("isDev") === "true";
138717
+ return new URL((0, import_react_native28.getSchemeUri)()).searchParams.get("isDev") === "true";
138787
138718
  } catch {
138788
138719
  return false;
138789
138720
  }
138790
138721
  }
138791
- var OPERATIONAL_ENVIRONMENT = (0, import_native_modules17.getOperationalEnvironment)();
138792
- var OS = (0, import_native_modules17.getPlatformOS)();
138793
- var APP_VER = (0, import_native_modules17.getTossAppVersion)();
138722
+ var OPERATIONAL_ENVIRONMENT = (0, import_native_modules13.getOperationalEnvironment)();
138723
+ var OS = (0, import_native_modules13.getPlatformOS)();
138724
+ var APP_VER = (0, import_native_modules13.getTossAppVersion)();
138794
138725
  var ALPHA_EVENT_TRACKER_HTTP_ENDPOINT = "https://alpha-trillion.toss.im/trk/sdk-mediation/event";
138795
138726
  var LIVE_EVENT_TRACKER_HTTP_ENDPOINT = "https://trillion.toss.im/trk/sdk-mediation/event";
138796
138727
  function getPostEventTrackingUrl() {
@@ -138823,14 +138754,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138823
138754
  var UNSUPPORTED_ERROR_MESSAGE2 = "This feature is not supported in the current environment";
138824
138755
  var INTG_AD_ADM_FALLBACK_RID_MAP = {};
138825
138756
  function integratedAdIsSupported() {
138826
- return (0, import_native_modules18.isMinVersionSupported)({
138757
+ return (0, import_native_modules14.isMinVersionSupported)({
138827
138758
  android: ANDROID_INTEGRATED_AD_SUPPORTED_VERSION,
138828
138759
  ios: IOS_INTEGRATED_AD_SUPPORTED_VERSION
138829
138760
  });
138830
138761
  }
138831
138762
  function generateLoadFullScreenAd(sdkId) {
138832
138763
  var fn = params => {
138833
- if (!import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported()) {
138764
+ if (!import_native_modules14.GoogleAdMob.loadAppsInTossAdMob.isSupported()) {
138834
138765
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
138835
138766
  return noop;
138836
138767
  }
@@ -138847,7 +138778,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138847
138778
  }
138848
138779
  };
138849
138780
  if (!integratedAdIsSupported()) {
138850
- return import_native_modules18.GoogleAdMob.loadAppsInTossAdMob({
138781
+ return import_native_modules14.GoogleAdMob.loadAppsInTossAdMob({
138851
138782
  ...normalizedParams,
138852
138783
  onEvent: event => {
138853
138784
  if (event.type === "loaded") {
@@ -138887,7 +138818,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138887
138818
  options = normalizedParams.options;
138888
138819
  var adGroupId = options.adGroupId;
138889
138820
  var referrer = getReferrer();
138890
- var unregisterCallbacks = import_native_modules18.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadTossAdOrAdmob", {
138821
+ var unregisterCallbacks = import_native_modules14.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadTossAdOrAdmob", {
138891
138822
  spaceUnitId: adGroupId,
138892
138823
  referrer,
138893
138824
  sessionId,
@@ -138904,13 +138835,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138904
138835
  });
138905
138836
  return unregisterCallbacks;
138906
138837
  };
138907
- fn.isSupported = import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported;
138838
+ fn.isSupported = import_native_modules14.GoogleAdMob.loadAppsInTossAdMob.isSupported;
138908
138839
  return fn;
138909
138840
  }
138910
138841
  var loadFullScreenAd = generateLoadFullScreenAd("107");
138911
138842
  var loadFullScreenAdForWeb = generateLoadFullScreenAd("107");
138912
138843
  function showFullScreenAd(params) {
138913
- if (!import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported()) {
138844
+ if (!import_native_modules14.GoogleAdMob.showAppsInTossAdMob.isSupported()) {
138914
138845
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
138915
138846
  return noop;
138916
138847
  }
@@ -138927,7 +138858,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138927
138858
  }
138928
138859
  };
138929
138860
  if (!integratedAdIsSupported()) {
138930
- return import_native_modules18.GoogleAdMob.showAppsInTossAdMob({
138861
+ return import_native_modules14.GoogleAdMob.showAppsInTossAdMob({
138931
138862
  ...normalizedParams,
138932
138863
  onEvent: event => {
138933
138864
  var requestId = INTG_AD_ADM_FALLBACK_RID_MAP[normalizedAdGroupId] ?? "";
@@ -139028,7 +138959,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139028
138959
  options = normalizedParams.options;
139029
138960
  var adGroupId = options.adGroupId;
139030
138961
  var referrer = getReferrer();
139031
- var unregisterCallbacks = import_native_modules18.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showTossAdOrAdmob", {
138962
+ var unregisterCallbacks = import_native_modules14.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showTossAdOrAdmob", {
139032
138963
  spaceUnitId: adGroupId,
139033
138964
  referrer,
139034
138965
  sessionId
@@ -139075,16 +139006,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139075
139006
  });
139076
139007
  return unregisterCallbacks;
139077
139008
  }
139078
- showFullScreenAd.isSupported = import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported;
139079
- var import_native_modules19 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139080
- var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139009
+ showFullScreenAd.isSupported = import_native_modules14.GoogleAdMob.showAppsInTossAdMob.isSupported;
139010
+ var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139081
139011
  function tossAdEventLog(_x4) {
139082
139012
  return _tossAdEventLog.apply(this, arguments);
139083
139013
  }
139084
139014
  function _tossAdEventLog() {
139085
139015
  _tossAdEventLog = _asyncToGenerator(function* (params) {
139086
139016
  var referrer = getReferrer();
139087
- var appName = import_react_native30.Granite.appName;
139017
+ var appName = import_react_native29.Granite.appName;
139088
139018
  var eventLogParams = {
139089
139019
  ...params,
139090
139020
  params: {
@@ -139093,11 +139023,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139093
139023
  app_name: appName
139094
139024
  }
139095
139025
  };
139096
- return import_native_modules19.INTERNAL__module.tossCoreEventLog(eventLogParams);
139026
+ return sendLog(eventLogParams, {
139027
+ pipelines: ["core"]
139028
+ });
139097
139029
  });
139098
139030
  return _tossAdEventLog.apply(this, arguments);
139099
139031
  }
139100
- var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
139032
+ var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
139101
139033
  function serializeError(error) {
139102
139034
  return JSON.stringify(error, (_, value) => {
139103
139035
  if (value instanceof Error) {
@@ -139128,12 +139060,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139128
139060
  return;
139129
139061
  }
139130
139062
  var wrappedFunc = function () {
139131
- var _ref33 = _asyncToGenerator(function* (...args2) {
139063
+ var _ref34 = _asyncToGenerator(function* (...args2) {
139132
139064
  var result = yield func(...args2);
139133
139065
  return result;
139134
139066
  });
139135
139067
  return function wrappedFunc() {
139136
- return _ref33.apply(this, arguments);
139068
+ return _ref34.apply(this, arguments);
139137
139069
  };
139138
139070
  }();
139139
139071
  wrappedFunc(...args).then(result => {
@@ -139154,12 +139086,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139154
139086
  asyncHandlerMap,
139155
139087
  eventListenerMap
139156
139088
  }) {
139157
- var ref = (0, import_react22.useRef)(null);
139158
- var injectedJavaScript = (0, import_react22.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
139089
+ var ref = (0, import_react21.useRef)(null);
139090
+ var injectedJavaScript = (0, import_react21.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
139159
139091
  acc[key] = typeof value === "function" ? value() : value;
139160
139092
  return acc;
139161
139093
  }, {}))};`, [constantHandlerMap]);
139162
- (0, import_react22.useEffect)(() => {
139094
+ (0, import_react21.useEffect)(() => {
139163
139095
  ref.current?.injectJavaScript(injectedJavaScript);
139164
139096
  }, [injectedJavaScript]);
139165
139097
  var createHandleOnEvent = (functionName, eventId) => response => {
@@ -139173,8 +139105,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139173
139105
  window.__GRANITE_NATIVE_EMITTER.emit('${functionName}/onError/${eventId}', ${serializedError});
139174
139106
  `);
139175
139107
  };
139176
- var $onMessage = (0, import_react22.useCallback)(function () {
139177
- var _ref34 = _asyncToGenerator(function* (e) {
139108
+ var $onMessage = (0, import_react21.useCallback)(function () {
139109
+ var _ref35 = _asyncToGenerator(function* (e) {
139178
139110
  onMessage?.(e);
139179
139111
  var data = parseNativeEventData(e.nativeEvent.data);
139180
139112
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -139217,7 +139149,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139217
139149
  }
139218
139150
  });
139219
139151
  return function (_x5) {
139220
- return _ref34.apply(this, arguments);
139152
+ return _ref35.apply(this, arguments);
139221
139153
  };
139222
139154
  }(), [onMessage]);
139223
139155
  return {
@@ -139235,22 +139167,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139235
139167
  }
139236
139168
  }
139237
139169
  var import_react_native_safe_area_context3 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
139238
- var import_react23 = _$$_REQUIRE(_dependencyMap[9], "react");
139170
+ var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
139239
139171
  function useSafeAreaInsetsEvent() {
139240
139172
  var insets = (0, import_react_native_safe_area_context3.useSafeAreaInsets)();
139241
- (0, import_react23.useEffect)(() => {
139173
+ (0, import_react22.useEffect)(() => {
139242
139174
  safeAreaInsetsChange.emit(insets);
139243
139175
  }, [insets]);
139244
- (0, import_react23.useEffect)(() => {
139176
+ (0, import_react22.useEffect)(() => {
139245
139177
  return () => safeAreaInsetsChange.clearSubscriptions();
139246
139178
  }, []);
139247
139179
  return safeAreaInsetsChange;
139248
139180
  }
139249
- var import_react_native31 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139181
+ var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139250
139182
  var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139251
139183
  var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
139252
- var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139253
139184
  var import_react24 = _$$_REQUIRE(_dependencyMap[9], "react");
139185
+ var import_react23 = _$$_REQUIRE(_dependencyMap[9], "react");
139254
139186
  var INITIAL_STATE = {
139255
139187
  stack: [],
139256
139188
  index: -1
@@ -139299,11 +139231,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139299
139231
  }
139300
139232
  }
139301
139233
  function useWebViewHistory() {
139302
- var _ref35 = (0, import_react24.useReducer)(reducer, INITIAL_STATE),
139303
- _ref36 = _slicedToArray(_ref35, 2),
139304
- state = _ref36[0],
139305
- dispatch = _ref36[1];
139306
- var onNavigationStateChange = (0, import_react24.useCallback)(({
139234
+ var _ref36 = (0, import_react23.useReducer)(reducer, INITIAL_STATE),
139235
+ _ref37 = _slicedToArray(_ref36, 2),
139236
+ state = _ref37[0],
139237
+ dispatch = _ref37[1];
139238
+ var onNavigationStateChange = (0, import_react23.useCallback)(({
139307
139239
  url,
139308
139240
  canGoForward: canGoForward2
139309
139241
  }) => {
@@ -139313,7 +139245,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139313
139245
  canGoForward: canGoForward2
139314
139246
  });
139315
139247
  }, []);
139316
- var _ref37 = (0, import_react24.useMemo)(() => {
139248
+ var _ref38 = (0, import_react23.useMemo)(() => {
139317
139249
  var canBack = state.index > 0;
139318
139250
  var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
139319
139251
  return {
@@ -139321,8 +139253,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139321
139253
  canGoForward: canFwd
139322
139254
  };
139323
139255
  }, [state.index, state.stack.length]),
139324
- canGoBack = _ref37.canGoBack,
139325
- canGoForward = _ref37.canGoForward;
139256
+ canGoBack = _ref38.canGoBack,
139257
+ canGoForward = _ref38.canGoForward;
139326
139258
  return {
139327
139259
  onNavigationStateChange,
139328
139260
  hasHistory: canGoBack,
@@ -139330,27 +139262,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139330
139262
  };
139331
139263
  }
139332
139264
  function useWebBackHandler(webViewInitialURL, webViewRef) {
139333
- var _useCaptureExitLog5 = useCaptureExitLog(),
139334
- captureExitLog = _useCaptureExitLog5.captureExitLog;
139335
139265
  var _useWebViewHistory = useWebViewHistory(),
139336
139266
  hasHistory = _useWebViewHistory.hasHistory,
139337
139267
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
139338
- var _ref38 = (0, import_react_native31.useBackEventState)(),
139339
- webBackHandlersRef = _ref38.handlersRef,
139340
- hasWebBackEvent = _ref38.hasBackEvent,
139341
- addWebBackEventListener = _ref38.addEventListener,
139342
- removeWebBackEventListener = _ref38.removeEventListener;
139268
+ var _ref39 = (0, import_react_native30.useBackEventState)(),
139269
+ webBackHandlersRef = _ref39.handlersRef,
139270
+ hasWebBackEvent = _ref39.hasBackEvent,
139271
+ addWebBackEventListener = _ref39.addEventListener,
139272
+ removeWebBackEventListener = _ref39.removeEventListener;
139343
139273
  var logging = useNavigationBarLogging();
139344
- var _ref39 = (0, import_tds_react_native13.useDialog)(),
139345
- openConfirm = _ref39.openConfirm;
139274
+ var _ref40 = (0, import_tds_react_native13.useDialog)(),
139275
+ openConfirm = _ref40.openConfirm;
139346
139276
  var global2 = getAppsInTossGlobals();
139347
- var addEventListener = (0, import_react25.useCallback)(handler => {
139277
+ var addEventListener = (0, import_react24.useCallback)(handler => {
139348
139278
  addWebBackEventListener(handler);
139349
139279
  }, [addWebBackEventListener]);
139350
- var removeEventListener = (0, import_react25.useCallback)(handler => {
139280
+ var removeEventListener = (0, import_react24.useCallback)(handler => {
139351
139281
  removeWebBackEventListener(handler);
139352
139282
  }, [removeWebBackEventListener]);
139353
- var handleWebBack = (0, import_react25.useCallback)(_asyncToGenerator(function* () {
139283
+ var handleWebBack = (0, import_react24.useCallback)(_asyncToGenerator(function* () {
139354
139284
  if (hasWebBackEvent) {
139355
139285
  for (var handler of webBackHandlersRef) {
139356
139286
  handler();
@@ -139369,12 +139299,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139369
139299
  });
139370
139300
  logging.closePopupCtaClick(isConfirmed);
139371
139301
  if (isConfirmed) {
139372
- captureExitLog(Date.now());
139373
- (0, import_react_native31.closeView)();
139302
+ (0, import_react_native30.closeView)();
139374
139303
  }
139375
139304
  }
139376
- }), [captureExitLog, global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
139377
- var handleWebHome = (0, import_react25.useCallback)(() => {
139305
+ }), [global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
139306
+ var handleWebHome = (0, import_react24.useCallback)(() => {
139378
139307
  logging.homeButtonClick();
139379
139308
  if (homeEvent.hasSubscriptions()) {
139380
139309
  homeEvent.emit({});
@@ -139387,7 +139316,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139387
139316
  })();
139388
139317
  `);
139389
139318
  }, [hasWebBackEvent, webBackHandlersRef, logging, webViewInitialURL, webViewRef]);
139390
- return (0, import_react25.useMemo)(() => ({
139319
+ return (0, import_react24.useMemo)(() => ({
139391
139320
  addEventListener,
139392
139321
  removeEventListener,
139393
139322
  handleWebBack,
@@ -139406,8 +139335,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139406
139335
  });
139407
139336
  };
139408
139337
  }
139409
- var import_native_modules20 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139410
- var import_react_native32 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139338
+ var import_native_modules15 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139339
+ var import_react_native31 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139411
139340
  var FontA11yCategory = {
139412
139341
  Large: "Large",
139413
139342
  xLarge: "xLarge",
@@ -139540,33 +139469,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139540
139469
  safeArea,
139541
139470
  safeAreaBottomTransparency
139542
139471
  }) {
139543
- var platform = (0, import_native_modules20.getPlatformOS)();
139544
- var appVersion = (0, import_native_modules20.getTossAppVersion)();
139545
- var _ref41 = (0, import_react_native32.useWindowDimensions)(),
139546
- fontScale = _ref41.fontScale;
139472
+ var platform = (0, import_native_modules15.getPlatformOS)();
139473
+ var appVersion = (0, import_native_modules15.getTossAppVersion)();
139474
+ var _ref42 = (0, import_react_native31.useWindowDimensions)(),
139475
+ fontScale = _ref42.fontScale;
139547
139476
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
139548
139477
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
139549
139478
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
139550
139479
  return ["AppsInToss", `TossApp/${appVersion}`, batteryModePreference && `TossBatteryModePreference/${batteryModePreference}`, colorPreference && `TossColorPreference/${colorPreference}`, `TossFontAccessibility/${fontA11y}`, `TossFontScale/${normalizedFontScale}`, locale && `TossLocale/${locale}`, navbarPreference && `TossNavbarPreference/${navbarPreference}`, pureSafeArea && `TossPureSafeArea/${pureSafeArea}`, safeArea && `TossSafeArea/${safeArea}`, safeAreaBottomTransparency && `TossSafeAreaBottomTransparency/${safeAreaBottomTransparency}`, platformString].filter(Boolean).join(" ");
139551
139480
  }
139552
- var import_native_modules21 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139553
- var import_react_native33 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139554
- var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
139481
+ var import_native_modules16 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139482
+ var import_react_native32 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139483
+ var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139555
139484
  function useGeolocation({
139556
139485
  accuracy,
139557
139486
  distanceInterval,
139558
139487
  timeInterval
139559
139488
  }) {
139560
- var isVisible = (0, import_react_native33.useVisibility)();
139561
- var _ref42 = (0, import_react26.useState)(null),
139562
- _ref43 = _slicedToArray(_ref42, 2),
139563
- location = _ref43[0],
139564
- setLocation = _ref43[1];
139565
- (0, import_react26.useEffect)(() => {
139489
+ var isVisible = (0, import_react_native32.useVisibility)();
139490
+ var _ref43 = (0, import_react25.useState)(null),
139491
+ _ref44 = _slicedToArray(_ref43, 2),
139492
+ location = _ref44[0],
139493
+ setLocation = _ref44[1];
139494
+ (0, import_react25.useEffect)(() => {
139566
139495
  if (!isVisible) {
139567
139496
  return;
139568
139497
  }
139569
- return (0, import_native_modules21.startUpdateLocation)({
139498
+ return (0, import_native_modules16.startUpdateLocation)({
139570
139499
  options: {
139571
139500
  accuracy,
139572
139501
  distanceInterval,
@@ -139578,18 +139507,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139578
139507
  }, [accuracy, distanceInterval, timeInterval, isVisible]);
139579
139508
  return location;
139580
139509
  }
139581
- var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139582
- var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
139510
+ var import_react_native33 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139511
+ var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
139583
139512
  function useWaitForReturnNavigator() {
139584
- var callbacks = (0, import_react27.useRef)([]).current;
139585
- var navigation = (0, import_react_native34.useNavigation)();
139586
- var startNavigating = (0, import_react27.useCallback)((route, params) => {
139513
+ var callbacks = (0, import_react26.useRef)([]).current;
139514
+ var navigation = (0, import_react_native33.useNavigation)();
139515
+ var startNavigating = (0, import_react26.useCallback)((route, params) => {
139587
139516
  return new Promise(resolve => {
139588
139517
  callbacks.push(resolve);
139589
139518
  navigation.navigate(route, params);
139590
139519
  });
139591
139520
  }, [callbacks, navigation]);
139592
- var handleVisibilityChange = (0, import_react27.useCallback)(state => {
139521
+ var handleVisibilityChange = (0, import_react26.useCallback)(state => {
139593
139522
  if (state === "visible" && callbacks.length > 0) {
139594
139523
  for (var callback of callbacks) {
139595
139524
  callback();
@@ -139597,7 +139526,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139597
139526
  callbacks.splice(0, callbacks.length);
139598
139527
  }
139599
139528
  }, [callbacks]);
139600
- (0, import_react_native34.useVisibilityChange)(handleVisibilityChange);
139529
+ (0, import_react_native33.useVisibilityChange)(handleVisibilityChange);
139601
139530
  return startNavigating;
139602
139531
  }
139603
139532
  function useTopNavigation() {
@@ -139609,8 +139538,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139609
139538
  removeAccessoryButton: removeNavigationRightButton
139610
139539
  };
139611
139540
  }
139612
- var import_native_modules22 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139613
- var import_react_native35 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139541
+ var import_native_modules17 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139542
+ var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139614
139543
  var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139615
139544
  function useHandleWebViewProcessDidTerminate(webViewRef) {
139616
139545
  var toast = (0, import_tds_react_native14.useToast)();
@@ -139639,18 +139568,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139639
139568
  log_type: "debug",
139640
139569
  params: {
139641
139570
  ...params,
139642
- app_name: import_react_native35.Granite.appName,
139571
+ app_name: import_react_native34.Granite.appName,
139643
139572
  deployment_id: global2.deploymentId
139644
139573
  }
139645
139574
  };
139646
- if ((0, import_native_modules22.getOperationalEnvironment)() === "toss") {
139647
- import_native_modules22.INTERNAL__module.tossCoreEventLog(event);
139575
+ if ((0, import_native_modules17.getOperationalEnvironment)() === "toss") {
139576
+ sendLog(event, {
139577
+ pipelines: ["core"]
139578
+ });
139648
139579
  } else {
139649
139580
  console.log("[webViewDebugLog]", event);
139650
139581
  }
139651
139582
  }
139652
- var import_native_modules23 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139653
- var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139583
+ var import_native_modules18 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139584
+ var import_react_native35 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139654
139585
  var extractDateFromUUIDv7 = uuid => {
139655
139586
  var timestampHex = uuid.split("-").join("").slice(0, 12);
139656
139587
  var timestamp = Number.parseInt(timestampHex, 16);
@@ -139672,7 +139603,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139672
139603
  };
139673
139604
  var getReferrer2 = () => {
139674
139605
  try {
139675
- var referrer = new URL((0, import_react_native36.getSchemeUri)());
139606
+ var referrer = new URL((0, import_react_native35.getSchemeUri)());
139676
139607
  return referrer.searchParams.get("referrer");
139677
139608
  } catch {
139678
139609
  return "";
@@ -139693,7 +139624,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139693
139624
  deployment_timestamp: extractDateFromUUIDv7(env.getDeploymentId()).getTime()
139694
139625
  }
139695
139626
  };
139696
- return (0, import_native_modules23.eventLog)(log);
139627
+ return (0, import_native_modules18.eventLog)(log);
139697
139628
  };
139698
139629
  var import_jsx_runtime19 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
139699
139630
  var operationalEnvironment = appsInTossConstantBridges.getOperationalEnvironment();
@@ -139705,18 +139636,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139705
139636
  };
139706
139637
  function mergeSchemeQueryParamsInto(url) {
139707
139638
  var baseUrl = new URL(url);
139708
- var schemeUrl = new URL((0, import_react_native37.getSchemeUri)());
139639
+ var schemeUrl = new URL((0, import_react_native36.getSchemeUri)());
139709
139640
  var resultUrl = new URL(schemeUrl.pathname, baseUrl.origin);
139710
- for (var _ref44 of baseUrl.searchParams.entries()) {
139711
- var _ref45 = _slicedToArray(_ref44, 2);
139712
- var key = _ref45[0];
139713
- var value = _ref45[1];
139641
+ for (var _ref45 of baseUrl.searchParams.entries()) {
139642
+ var _ref46 = _slicedToArray(_ref45, 2);
139643
+ var key = _ref46[0];
139644
+ var value = _ref46[1];
139714
139645
  resultUrl.searchParams.set(key, value);
139715
139646
  }
139716
- for (var _ref46 of schemeUrl.searchParams.entries()) {
139717
- var _ref47 = _slicedToArray(_ref46, 2);
139718
- var _key = _ref47[0];
139719
- var _value = _ref47[1];
139647
+ for (var _ref47 of schemeUrl.searchParams.entries()) {
139648
+ var _ref48 = _slicedToArray(_ref47, 2);
139649
+ var _key = _ref48[0];
139650
+ var _value = _ref48[1];
139720
139651
  resultUrl.searchParams.set(_key, _value);
139721
139652
  }
139722
139653
  return resultUrl;
@@ -139726,8 +139657,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139726
139657
  var devUrl = `http://${local.host}:${local.port}`;
139727
139658
  return mergeSchemeQueryParamsInto(devUrl);
139728
139659
  }
139729
- var _ref48 = (0, import_native_modules24.safeSyncPostMessage)("getWebBundleURL", {}),
139730
- rawUrl = _ref48.url;
139660
+ var _ref49 = (0, import_native_modules19.safeSyncPostMessage)("getWebBundleURL", {}),
139661
+ rawUrl = _ref49.url;
139731
139662
  var url = mergeSchemeQueryParamsInto(rawUrl);
139732
139663
  var deploymentId = env.getDeploymentId();
139733
139664
  if (deploymentId) {
@@ -139744,8 +139675,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139744
139675
  if (!TYPES.includes(type)) {
139745
139676
  throw new Error(`Invalid WebView type: '${type}'`);
139746
139677
  }
139747
- var webViewRef = (0, import_react28.useRef)(null);
139748
- var url = (0, import_react28.useMemo)(() => getWebViewURL(local), [local]);
139678
+ var webViewRef = (0, import_react27.useRef)(null);
139679
+ var url = (0, import_react27.useMemo)(() => getWebViewURL(local), [local]);
139749
139680
  var webBackHandler = useWebBackHandler(url, webViewRef);
139750
139681
  var top = (0, import_private9.useSafeAreaTop)();
139751
139682
  var bottom = (0, import_private9.useSafeAreaBottom)();
@@ -139753,10 +139684,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139753
139684
  var global2 = getAppsInTossGlobals();
139754
139685
  var navigationBarContext = useNavigationBarContext();
139755
139686
  var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
139756
- var _ref49 = (0, import_react28.useState)(props.allowsBackForwardNavigationGestures),
139757
- _ref50 = _slicedToArray(_ref49, 2),
139758
- allowsBackForwardNavigationGestures = _ref50[0],
139759
- setAllowsBackForwardNavigationGestures = _ref50[1];
139687
+ var _ref50 = (0, import_react27.useState)(props.allowsBackForwardNavigationGestures),
139688
+ _ref51 = _slicedToArray(_ref50, 2),
139689
+ allowsBackForwardNavigationGestures = _ref51[0],
139690
+ setAllowsBackForwardNavigationGestures = _ref51[1];
139760
139691
  var handler = useBridgeHandler({
139761
139692
  onMessage,
139762
139693
  eventListenerMap: {
@@ -139783,7 +139714,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139783
139714
  onEvent,
139784
139715
  onError,
139785
139716
  options
139786
- }) => import_native_modules24.appsInTossEvent.addEventListener("updateLocationEvent", {
139717
+ }) => import_native_modules19.appsInTossEvent.addEventListener("updateLocationEvent", {
139787
139718
  onEvent,
139788
139719
  onError,
139789
139720
  options
@@ -139795,19 +139726,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139795
139726
  onEvent,
139796
139727
  onError,
139797
139728
  options
139798
- }) => import_native_modules24.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
139729
+ }) => import_native_modules19.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
139799
139730
  onEvent,
139800
139731
  onError,
139801
139732
  options
139802
139733
  }),
139803
- loadAppsInTossAdMob: import_native_modules24.GoogleAdMob.loadAppsInTossAdMob,
139804
- showAppsInTossAdMob: import_native_modules24.GoogleAdMob.showAppsInTossAdMob,
139734
+ loadAppsInTossAdMob: import_native_modules19.GoogleAdMob.loadAppsInTossAdMob,
139735
+ showAppsInTossAdMob: import_native_modules19.GoogleAdMob.showAppsInTossAdMob,
139805
139736
  loadFullScreenAd: loadFullScreenAdForWeb,
139806
139737
  showFullScreenAd,
139807
139738
  fetchTossAd,
139808
- iapCreateOneTimePurchaseOrder: import_native_modules24.IAP.createOneTimePurchaseOrder,
139809
- requestSubscriptionPurchase: import_native_modules24.IAP.createSubscriptionPurchaseOrder,
139810
- requestOneTimePurchase: import_native_modules24.requestOneTimePurchase
139739
+ iapCreateOneTimePurchaseOrder: import_native_modules19.IAP.createOneTimePurchaseOrder,
139740
+ requestSubscriptionPurchase: import_native_modules19.IAP.createSubscriptionPurchaseOrder,
139741
+ requestOneTimePurchase: import_native_modules19.requestOneTimePurchase
139811
139742
  },
139812
139743
  constantHandlerMap: {
139813
139744
  ...appsInTossConstantBridges,
@@ -139818,11 +139749,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139818
139749
  right: insets.right
139819
139750
  }),
139820
139751
  ...Object.fromEntries(Object.entries(global2).map(([key, value]) => [key, () => value])),
139821
- getServerTime_isSupported: import_native_modules24.getServerTime.isSupported,
139822
- requestReview_isSupported: import_native_modules24.requestReview.isSupported,
139823
- loadAppsInTossAdMob_isSupported: import_native_modules24.GoogleAdMob.loadAppsInTossAdMob.isSupported,
139824
- showAppsInTossAdMob_isSupported: import_native_modules24.GoogleAdMob.showAppsInTossAdMob.isSupported,
139825
- isAppsInTossAdMobLoaded_isSupported: import_native_modules24.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
139752
+ getServerTime_isSupported: import_native_modules19.getServerTime.isSupported,
139753
+ requestReview_isSupported: import_native_modules19.requestReview.isSupported,
139754
+ loadAppsInTossAdMob_isSupported: import_native_modules19.GoogleAdMob.loadAppsInTossAdMob.isSupported,
139755
+ showAppsInTossAdMob_isSupported: import_native_modules19.GoogleAdMob.showAppsInTossAdMob.isSupported,
139756
+ isAppsInTossAdMobLoaded_isSupported: import_native_modules19.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
139826
139757
  loadFullScreenAd_isSupported: loadFullScreenAdForWeb.isSupported,
139827
139758
  showFullScreenAd_isSupported: showFullScreenAd.isSupported,
139828
139759
  fetchTossAd_isSupported: fetchTossAd.isSupported,
@@ -139832,25 +139763,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139832
139763
  },
139833
139764
  asyncHandlerMap: {
139834
139765
  ...appsInTossAsyncBridges,
139835
- getServerTime: import_native_modules24.getServerTime,
139766
+ getServerTime: import_native_modules19.getServerTime,
139836
139767
  setIosSwipeGestureEnabled: options => {
139837
139768
  setAllowsBackForwardNavigationGestures(options.isEnabled);
139838
139769
  return appsInTossAsyncBridges.setIosSwipeGestureEnabled(options);
139839
139770
  },
139840
139771
  addAccessoryButton: function () {
139841
- var _ref51 = _asyncToGenerator(function* (params) {
139772
+ var _ref52 = _asyncToGenerator(function* (params) {
139842
139773
  return navigationBarContext.addNavigationRightButton(params);
139843
139774
  });
139844
139775
  return function addAccessoryButton(_x7) {
139845
- return _ref51.apply(this, arguments);
139776
+ return _ref52.apply(this, arguments);
139846
139777
  };
139847
139778
  }(),
139848
139779
  removeAccessoryButton: function () {
139849
- var _ref52 = _asyncToGenerator(function* () {
139780
+ var _ref53 = _asyncToGenerator(function* () {
139850
139781
  return navigationBarContext.removeNavigationRightButton();
139851
139782
  });
139852
139783
  return function removeAccessoryButton() {
139853
- return _ref52.apply(this, arguments);
139784
+ return _ref53.apply(this, arguments);
139854
139785
  };
139855
139786
  }(),
139856
139787
  requestPermission: appsInTossAsyncBridges.requestPermission,
@@ -139862,32 +139793,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139862
139793
  fetchContacts: appsInTossAsyncBridges.fetchContacts,
139863
139794
  getCurrentLocation: appsInTossAsyncBridges.getCurrentLocation,
139864
139795
  openCamera: appsInTossAsyncBridges.openCamera,
139865
- getStorageItem: import_native_modules24.Storage.getItem,
139866
- setStorageItem: import_native_modules24.Storage.setItem,
139867
- removeStorageItem: import_native_modules24.Storage.removeItem,
139868
- clearItems: import_native_modules24.Storage.clearItems,
139869
- iapGetProductItemList: import_native_modules24.IAP.getProductItemList,
139870
- iapCreateOneTimePurchaseOrder: import_native_modules24.iapCreateOneTimePurchaseOrder,
139871
- processProductGrant: import_native_modules24.processProductGrant,
139872
- getPendingOrders: import_native_modules24.IAP.getPendingOrders,
139873
- getCompletedOrRefundedOrders: import_native_modules24.IAP.getCompletedOrRefundedOrders,
139874
- completeProductGrant: import_native_modules24.IAP.completeProductGrant,
139875
- getSubscriptionInfo: import_native_modules24.IAP.getSubscriptionInfo,
139876
- isAppsInTossAdMobLoaded: import_native_modules24.GoogleAdMob.isAppsInTossAdMobLoaded,
139796
+ getStorageItem: import_native_modules19.Storage.getItem,
139797
+ setStorageItem: import_native_modules19.Storage.setItem,
139798
+ removeStorageItem: import_native_modules19.Storage.removeItem,
139799
+ clearItems: import_native_modules19.Storage.clearItems,
139800
+ iapGetProductItemList: import_native_modules19.IAP.getProductItemList,
139801
+ iapCreateOneTimePurchaseOrder: import_native_modules19.iapCreateOneTimePurchaseOrder,
139802
+ processProductGrant: import_native_modules19.processProductGrant,
139803
+ getPendingOrders: import_native_modules19.IAP.getPendingOrders,
139804
+ getCompletedOrRefundedOrders: import_native_modules19.IAP.getCompletedOrRefundedOrders,
139805
+ completeProductGrant: import_native_modules19.IAP.completeProductGrant,
139806
+ getSubscriptionInfo: import_native_modules19.IAP.getSubscriptionInfo,
139807
+ isAppsInTossAdMobLoaded: import_native_modules19.GoogleAdMob.isAppsInTossAdMobLoaded,
139877
139808
  tossAdEventLog,
139878
139809
  memoryDebugLog: webViewMemoryDebugLog,
139879
139810
  debugLog: function () {
139880
- var _ref53 = _asyncToGenerator(function* (event) {
139881
- (0, import_native_modules24.eventLog)(event);
139882
- import_native_modules24.INTERNAL__module.tossCoreEventLog(event);
139811
+ var _ref54 = _asyncToGenerator(function* (event) {
139812
+ sendLog(event);
139883
139813
  });
139884
139814
  return function debugLog(_x8) {
139885
- return _ref53.apply(this, arguments);
139815
+ return _ref54.apply(this, arguments);
139886
139816
  };
139887
139817
  }()
139888
139818
  }
139889
139819
  });
139890
- var headerPropForExternalWebView = (0, import_react28.useMemo)(() => {
139820
+ var headerPropForExternalWebView = (0, import_react27.useMemo)(() => {
139891
139821
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
139892
139822
  var initialAccessoryButton = parsedNavigationBar?.initialAccessoryButton;
139893
139823
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
@@ -139908,12 +139838,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139908
139838
  colorPreference: "light"
139909
139839
  });
139910
139840
  var refs = mergeRefs(handler.ref, webViewRef);
139911
- (0, import_react28.useEffect)(() => {
139841
+ (0, import_react27.useEffect)(() => {
139912
139842
  var callback = () => {
139913
139843
  webBackHandler.handleWebBack();
139914
139844
  return true;
139915
139845
  };
139916
- var subscription = import_react_native38.BackHandler.addEventListener("hardwareBackPress", callback);
139846
+ var subscription = import_react_native37.BackHandler.addEventListener("hardwareBackPress", callback);
139917
139847
  return () => subscription.remove();
139918
139848
  }, [webBackHandler]);
139919
139849
  var handleWebViewProcessDidTerminate = useHandleWebViewProcessDidTerminate(webViewRef);
@@ -139937,14 +139867,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139937
139867
  webBackHandler.onNavigationStateChange(event);
139938
139868
  },
139939
139869
  textZoom: 100,
139940
- userAgent: import_react_native38.Platform.OS === "ios" ? userAgent : void 0,
139870
+ userAgent: import_react_native37.Platform.OS === "ios" ? userAgent : void 0,
139941
139871
  sharedCookiesEnabled: true,
139942
139872
  webviewDebuggingEnabled: webViewDebuggingEnabled,
139943
139873
  thirdPartyCookiesEnabled: true,
139944
139874
  onMessage: handler.onMessage,
139945
139875
  injectedJavaScript: import_user_scripts.afterDocumentLoad,
139946
139876
  injectedJavaScriptBeforeContentLoaded: [handler.injectedJavaScript, import_user_scripts.beforeDocumentLoad].join("\n"),
139947
- decelerationRate: import_react_native38.Platform.OS === "ios" ? 1 : void 0,
139877
+ decelerationRate: import_react_native37.Platform.OS === "ios" ? 1 : void 0,
139948
139878
  allowsBackForwardNavigationGestures,
139949
139879
  onShouldStartLoadWithRequest: event => {
139950
139880
  try {
@@ -139952,7 +139882,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139952
139882
  if (["https:", "http:"].includes(url2.protocol) || url2.href === "about:blank") {
139953
139883
  return true;
139954
139884
  } else {
139955
- import_react_native38.Linking.openURL(convertIntentURL(url2) ?? url2.href);
139885
+ import_react_native37.Linking.openURL(convertIntentURL(url2) ?? url2.href);
139956
139886
  return false;
139957
139887
  }
139958
139888
  } catch (error) {
@@ -139970,9 +139900,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139970
139900
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"), module.exports);
139971
139901
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types"), module.exports);
139972
139902
  var import_types = _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types");
139973
- var import_react_native42 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139974
- var import_react31 = _$$_REQUIRE(_dependencyMap[9], "react");
139975
- var import_react_native43 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139903
+ var import_react_native41 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139904
+ var import_react30 = _$$_REQUIRE(_dependencyMap[9], "react");
139905
+ var import_react_native42 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139976
139906
  var SDK_ID = "106";
139977
139907
  var LIST_BANNER_STYLE_ID = "1";
139978
139908
  var NATIVE_IMAGE_STYLE_ID = "2";
@@ -140250,7 +140180,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140250
140180
  });
140251
140181
  return _loadAd.apply(this, arguments);
140252
140182
  }
140253
- var import_react_native39 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
140183
+ var import_react_native38 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
140254
140184
  function isSafeUrl(url) {
140255
140185
  try {
140256
140186
  var parsed = new URL(url);
@@ -140266,7 +140196,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140266
140196
  return;
140267
140197
  }
140268
140198
  try {
140269
- (0, import_react_native39.openURL)(getWebSchemeOrUri(url));
140199
+ (0, import_react_native38.openURL)(getWebSchemeOrUri(url));
140270
140200
  } catch (error) {
140271
140201
  console.error("[InlineAd] Failed to open landing URL:", error);
140272
140202
  }
@@ -140374,8 +140304,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140374
140304
  }]);
140375
140305
  }();
140376
140306
  var import_react_native_svg = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140377
- var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
140378
- var import_react_native40 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140307
+ var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
140308
+ var import_react_native39 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140379
140309
  var import_jsx_runtime20 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140380
140310
  var ARROW_PATH = "m7.5 20.4c-.5-.5-.5-1.2 0-1.7l6.7-6.7-6.8-6.7c-.5-.5-.5-1.2 0-1.7s1.2-.5 1.7 0l7.5 7.5c.5.5.5 1.2 0 1.7l-7.5 7.5c-.2.3-.5.4-.8.4s-.6-.1-.8-.3z";
140381
140311
  function FeedBannerAdView({
@@ -140393,12 +140323,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140393
140323
  paddingStyle,
140394
140324
  onPress
140395
140325
  }) {
140396
- var scale = (0, import_react29.useRef)(new import_react_native40.Animated.Value(1)).current;
140326
+ var scale = (0, import_react28.useRef)(new import_react_native39.Animated.Value(1)).current;
140397
140327
  var animateScale = toValue => {
140398
- import_react_native40.Animated.timing(scale, {
140328
+ import_react_native39.Animated.timing(scale, {
140399
140329
  toValue,
140400
140330
  duration: 100,
140401
- easing: import_react_native40.Easing.inOut(import_react_native40.Easing.ease),
140331
+ easing: import_react_native39.Easing.inOut(import_react_native39.Easing.ease),
140402
140332
  useNativeDriver: true
140403
140333
  }).start();
140404
140334
  };
@@ -140410,52 +140340,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140410
140340
  };
140411
140341
  var resolvedCtaBackground = ctaBackgroundColor ?? "#3081F9";
140412
140342
  var resolvedCtaTextColor = ctaTextColor ?? "#ffffff";
140413
- return (0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
140343
+ return (0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140414
140344
  accessibilityRole: "button",
140415
140345
  onPress: () => onPress(null),
140416
140346
  onPressIn: handlePressIn,
140417
140347
  onPressOut: handlePressOut,
140418
140348
  style: styles.pressable,
140419
- children: (0, import_jsx_runtime20.jsxs)(import_react_native40.Animated.View, {
140349
+ children: (0, import_jsx_runtime20.jsxs)(import_react_native39.Animated.View, {
140420
140350
  style: [styles.container, paddingStyle, {
140421
140351
  transform: [{
140422
140352
  scale
140423
140353
  }]
140424
140354
  }],
140425
- children: [(0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
140355
+ children: [(0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
140426
140356
  style: styles.profileContainer,
140427
- children: [(0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
140357
+ children: [(0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
140428
140358
  style: styles.brandArea,
140429
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
140359
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140430
140360
  accessibilityRole: "button",
140431
140361
  onPress: () => onPress("202"),
140432
140362
  onPressIn: handlePressIn,
140433
140363
  onPressOut: handlePressOut,
140434
140364
  style: styles.logoContainer,
140435
- children: (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
140365
+ children: (0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
140436
140366
  style: [styles.logoWrapper, {
140437
140367
  backgroundColor: colors.brandLogoBg
140438
140368
  }],
140439
- children: [brandLogoUri ? (0, import_jsx_runtime20.jsx)(import_react_native40.Image, {
140369
+ children: [brandLogoUri ? (0, import_jsx_runtime20.jsx)(import_react_native39.Image, {
140440
140370
  source: {
140441
140371
  uri: brandLogoUri
140442
140372
  },
140443
140373
  style: styles.logoImage,
140444
140374
  resizeMode: "cover"
140445
- }) : null, (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
140375
+ }) : null, (0, import_jsx_runtime20.jsx)(import_react_native39.View, {
140446
140376
  style: [styles.logoOverlay, {
140447
140377
  borderColor: colors.brandLogoBorder
140448
140378
  }]
140449
140379
  })]
140450
140380
  })
140451
- }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
140381
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
140452
140382
  style: styles.brandTextContainer,
140453
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
140383
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140454
140384
  accessibilityRole: "button",
140455
140385
  onPress: () => onPress("103"),
140456
140386
  onPressIn: handlePressIn,
140457
140387
  onPressOut: handlePressOut,
140458
- children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140388
+ children: (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140459
140389
  allowFontScaling: false,
140460
140390
  numberOfLines: 1,
140461
140391
  style: [styles.brandName, {
@@ -140463,7 +140393,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140463
140393
  }],
140464
140394
  children: brandName
140465
140395
  })
140466
- }), isAdBadgeEnabled ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140396
+ }), isAdBadgeEnabled ? (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140467
140397
  allowFontScaling: false,
140468
140398
  numberOfLines: 1,
140469
140399
  style: [styles.adBadge, {
@@ -140472,26 +140402,26 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140472
140402
  children: "\uAD11\uACE0"
140473
140403
  }) : null]
140474
140404
  })]
140475
- }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
140405
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
140476
140406
  style: styles.textArea,
140477
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
140407
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140478
140408
  accessibilityRole: "button",
140479
140409
  onPress: () => onPress("101"),
140480
140410
  onPressIn: handlePressIn,
140481
140411
  onPressOut: handlePressOut,
140482
- children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140412
+ children: (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140483
140413
  allowFontScaling: false,
140484
140414
  style: [styles.title, {
140485
140415
  color: colors.title
140486
140416
  }],
140487
140417
  children: title
140488
140418
  })
140489
- }), (0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
140419
+ }), (0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140490
140420
  accessibilityRole: "button",
140491
140421
  onPress: () => onPress("102"),
140492
140422
  onPressIn: handlePressIn,
140493
140423
  onPressOut: handlePressOut,
140494
- children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140424
+ children: (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140495
140425
  allowFontScaling: false,
140496
140426
  style: [styles.subtitle, {
140497
140427
  color: colors.subtitle
@@ -140500,17 +140430,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140500
140430
  })
140501
140431
  })]
140502
140432
  })]
140503
- }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
140433
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native39.View, {
140504
140434
  style: styles.card,
140505
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
140435
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Pressable, {
140506
140436
  accessibilityRole: "button",
140507
140437
  onPress: () => onPress("201"),
140508
140438
  onPressIn: handlePressIn,
140509
140439
  onPressOut: handlePressOut,
140510
140440
  style: styles.imageButton,
140511
- children: (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
140441
+ children: (0, import_jsx_runtime20.jsx)(import_react_native39.View, {
140512
140442
  style: styles.imageContainer,
140513
- children: mainImageUri ? (0, import_jsx_runtime20.jsx)(import_react_native40.Image, {
140443
+ children: mainImageUri ? (0, import_jsx_runtime20.jsx)(import_react_native39.Image, {
140514
140444
  source: {
140515
140445
  uri: mainImageUri
140516
140446
  },
@@ -140518,7 +140448,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140518
140448
  resizeMode: "cover"
140519
140449
  }) : null
140520
140450
  })
140521
- }), (0, import_jsx_runtime20.jsxs)(import_react_native40.Pressable, {
140451
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native39.Pressable, {
140522
140452
  accessibilityRole: "button",
140523
140453
  onPress: () => onPress("0"),
140524
140454
  onPressIn: handlePressIn,
@@ -140526,7 +140456,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140526
140456
  style: [styles.cta, {
140527
140457
  backgroundColor: resolvedCtaBackground
140528
140458
  }],
140529
- children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140459
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140530
140460
  allowFontScaling: false,
140531
140461
  style: [styles.ctaText, {
140532
140462
  color: resolvedCtaTextColor
@@ -140541,12 +140471,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140541
140471
  fill: resolvedCtaTextColor
140542
140472
  })
140543
140473
  })]
140544
- }), (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
140474
+ }), (0, import_jsx_runtime20.jsx)(import_react_native39.View, {
140545
140475
  style: [styles.cardOverlay, {
140546
140476
  borderColor: colors.imageOverlayBorder
140547
140477
  }]
140548
140478
  })]
140549
- }), adClearanceText ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140479
+ }), adClearanceText ? (0, import_jsx_runtime20.jsx)(import_react_native39.Text, {
140550
140480
  allowFontScaling: false,
140551
140481
  style: [styles.adClearance, {
140552
140482
  color: colors.adClearance
@@ -140556,7 +140486,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140556
140486
  })
140557
140487
  });
140558
140488
  }
140559
- var styles = import_react_native40.StyleSheet.create({
140489
+ var styles = import_react_native39.StyleSheet.create({
140560
140490
  pressable: {
140561
140491
  width: "100%"
140562
140492
  },
@@ -140595,7 +140525,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140595
140525
  borderRadius: 18
140596
140526
  },
140597
140527
  logoOverlay: {
140598
- ...import_react_native40.StyleSheet.absoluteFillObject,
140528
+ ...import_react_native39.StyleSheet.absoluteFillObject,
140599
140529
  borderWidth: 1,
140600
140530
  borderRadius: 18
140601
140531
  },
@@ -140658,7 +140588,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140658
140588
  lineHeight: 22.5
140659
140589
  },
140660
140590
  cardOverlay: {
140661
- ...import_react_native40.StyleSheet.absoluteFillObject,
140591
+ ...import_react_native39.StyleSheet.absoluteFillObject,
140662
140592
  borderWidth: 2,
140663
140593
  borderRadius: 12,
140664
140594
  pointerEvents: "none"
@@ -140670,8 +140600,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140670
140600
  }
140671
140601
  });
140672
140602
  var import_react_native_svg2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140673
- var import_react30 = _$$_REQUIRE(_dependencyMap[9], "react");
140674
- var import_react_native41 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140603
+ var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
140604
+ var import_react_native40 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140675
140605
  var import_jsx_runtime21 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140676
140606
  var SQUIRCLE_PATH = "M0 17.352C0 3.564 3.564 0 17.352 0H18.648C32.436 0 36 3.564 36 17.352V18.648C36 32.436 32.436 36 18.648 36H17.352C3.564 36 0 32.436 0 18.648V17.352Z";
140677
140607
  function ListBannerAdView({
@@ -140684,13 +140614,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140684
140614
  colors,
140685
140615
  onPress
140686
140616
  }) {
140687
- var scale = (0, import_react30.useRef)(new import_react_native41.Animated.Value(1)).current;
140688
- var clipIdRef = (0, import_react30.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140617
+ var scale = (0, import_react29.useRef)(new import_react_native40.Animated.Value(1)).current;
140618
+ var clipIdRef = (0, import_react29.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140689
140619
  var animateScale = toValue => {
140690
- import_react_native41.Animated.timing(scale, {
140620
+ import_react_native40.Animated.timing(scale, {
140691
140621
  toValue,
140692
140622
  duration: 100,
140693
- easing: import_react_native41.Easing.inOut(import_react_native41.Easing.ease),
140623
+ easing: import_react_native40.Easing.inOut(import_react_native40.Easing.ease),
140694
140624
  useNativeDriver: true
140695
140625
  }).start();
140696
140626
  };
@@ -140700,21 +140630,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140700
140630
  var handlePressOut = () => {
140701
140631
  animateScale(1);
140702
140632
  };
140703
- return (0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140633
+ return (0, import_jsx_runtime21.jsx)(import_react_native40.Pressable, {
140704
140634
  accessibilityRole: "button",
140705
140635
  onPress: () => onPress(null),
140706
140636
  onPressIn: handlePressIn,
140707
140637
  onPressOut: handlePressOut,
140708
140638
  style: styles2.pressable,
140709
- children: (0, import_jsx_runtime21.jsxs)(import_react_native41.Animated.View, {
140639
+ children: (0, import_jsx_runtime21.jsxs)(import_react_native40.Animated.View, {
140710
140640
  style: [styles2.container, paddingStyle, {
140711
140641
  transform: [{
140712
140642
  scale
140713
140643
  }]
140714
140644
  }],
140715
- children: [(0, import_jsx_runtime21.jsxs)(import_react_native41.View, {
140645
+ children: [(0, import_jsx_runtime21.jsxs)(import_react_native40.View, {
140716
140646
  style: styles2.titleRow,
140717
- children: [(0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140647
+ children: [(0, import_jsx_runtime21.jsx)(import_react_native40.Pressable, {
140718
140648
  accessibilityRole: "button",
140719
140649
  onPress: () => onPress("202"),
140720
140650
  onPressIn: handlePressIn,
@@ -140750,26 +140680,26 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140750
140680
  clipPath: `url(#${clipIdRef.current})`
140751
140681
  })]
140752
140682
  })
140753
- }), (0, import_jsx_runtime21.jsxs)(import_react_native41.View, {
140683
+ }), (0, import_jsx_runtime21.jsxs)(import_react_native40.View, {
140754
140684
  style: styles2.textWrapper,
140755
- children: [(0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140685
+ children: [(0, import_jsx_runtime21.jsx)(import_react_native40.Pressable, {
140756
140686
  accessibilityRole: "button",
140757
140687
  onPress: () => onPress("101"),
140758
140688
  onPressIn: handlePressIn,
140759
140689
  onPressOut: handlePressOut,
140760
- children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140690
+ children: (0, import_jsx_runtime21.jsx)(import_react_native40.Text, {
140761
140691
  allowFontScaling: false,
140762
140692
  style: [styles2.title, {
140763
140693
  color: colors.title
140764
140694
  }],
140765
140695
  children: title
140766
140696
  })
140767
- }), (0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140697
+ }), (0, import_jsx_runtime21.jsx)(import_react_native40.Pressable, {
140768
140698
  accessibilityRole: "button",
140769
140699
  onPress: () => onPress("102"),
140770
140700
  onPressIn: handlePressIn,
140771
140701
  onPressOut: handlePressOut,
140772
- children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140702
+ children: (0, import_jsx_runtime21.jsx)(import_react_native40.Text, {
140773
140703
  allowFontScaling: false,
140774
140704
  style: [styles2.subtitle, {
140775
140705
  color: colors.subtitle
@@ -140778,7 +140708,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140778
140708
  })
140779
140709
  })]
140780
140710
  })]
140781
- }), adClearanceText ? (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140711
+ }), adClearanceText ? (0, import_jsx_runtime21.jsx)(import_react_native40.Text, {
140782
140712
  allowFontScaling: false,
140783
140713
  style: [styles2.adClearance, {
140784
140714
  color: colors.adClearance,
@@ -140790,7 +140720,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140790
140720
  })
140791
140721
  });
140792
140722
  }
140793
- var styles2 = import_react_native41.StyleSheet.create({
140723
+ var styles2 = import_react_native40.StyleSheet.create({
140794
140724
  pressable: {
140795
140725
  width: "100%"
140796
140726
  },
@@ -140998,27 +140928,27 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140998
140928
  onAdImpression = props.onAdImpression,
140999
140929
  onAdFailedToRender = props.onAdFailedToRender,
141000
140930
  onNoFill = props.onNoFill;
141001
- var slotIdRef = (0, import_react31.useRef)(createSlotId());
141002
- var _ref54 = (0, import_react31.useState)(null),
141003
- _ref55 = _slicedToArray(_ref54, 2),
141004
- ad = _ref55[0],
141005
- setAd = _ref55[1];
141006
- var _ref56 = (0, import_react31.useState)(true),
141007
- _ref57 = _slicedToArray(_ref56, 2),
141008
- isAdBadgeEnabled = _ref57[0],
141009
- setIsAdBadgeEnabled = _ref57[1];
141010
- var eventTrackerRef = (0, import_react31.useRef)(null);
141011
- var eventPayloadRef = (0, import_react31.useRef)(null);
141012
- var hasRenderedRef = (0, import_react31.useRef)(false);
141013
- var hasLoggedImp1pxRef = (0, import_react31.useRef)(false);
141014
- var hasLoggedImp100pRef = (0, import_react31.useRef)(false);
141015
- var hasNotifiedViewableRef = (0, import_react31.useRef)(false);
141016
- var viewableTimerRef = (0, import_react31.useRef)(null);
141017
- var refetchIntervalMsRef = (0, import_react31.useRef)(null);
141018
- var lastImp1pxAtRef = (0, import_react31.useRef)(null);
141019
- var loadingRef = (0, import_react31.useRef)(false);
141020
- var loadRef = (0, import_react31.useRef)(null);
141021
- var callbacksRef = (0, import_react31.useRef)({
140931
+ var slotIdRef = (0, import_react30.useRef)(createSlotId());
140932
+ var _ref55 = (0, import_react30.useState)(null),
140933
+ _ref56 = _slicedToArray(_ref55, 2),
140934
+ ad = _ref56[0],
140935
+ setAd = _ref56[1];
140936
+ var _ref57 = (0, import_react30.useState)(true),
140937
+ _ref58 = _slicedToArray(_ref57, 2),
140938
+ isAdBadgeEnabled = _ref58[0],
140939
+ setIsAdBadgeEnabled = _ref58[1];
140940
+ var eventTrackerRef = (0, import_react30.useRef)(null);
140941
+ var eventPayloadRef = (0, import_react30.useRef)(null);
140942
+ var hasRenderedRef = (0, import_react30.useRef)(false);
140943
+ var hasLoggedImp1pxRef = (0, import_react30.useRef)(false);
140944
+ var hasLoggedImp100pRef = (0, import_react30.useRef)(false);
140945
+ var hasNotifiedViewableRef = (0, import_react30.useRef)(false);
140946
+ var viewableTimerRef = (0, import_react30.useRef)(null);
140947
+ var refetchIntervalMsRef = (0, import_react30.useRef)(null);
140948
+ var lastImp1pxAtRef = (0, import_react30.useRef)(null);
140949
+ var loadingRef = (0, import_react30.useRef)(false);
140950
+ var loadRef = (0, import_react30.useRef)(null);
140951
+ var callbacksRef = (0, import_react30.useRef)({
141022
140952
  onAdRendered,
141023
140953
  onAdViewable,
141024
140954
  onAdClicked,
@@ -141026,8 +140956,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141026
140956
  onAdFailedToRender,
141027
140957
  onNoFill
141028
140958
  });
141029
- var isMountedRef = (0, import_react31.useRef)(false);
141030
- var colorScheme = (0, import_react_native43.useColorScheme)();
140959
+ var isMountedRef = (0, import_react30.useRef)(false);
140960
+ var colorScheme = (0, import_react_native42.useColorScheme)();
141031
140961
  var selectedTheme = theme ?? DEFAULT_INLINE_AD_THEME;
141032
140962
  var resolvedTheme = selectedTheme === "auto" ? colorScheme === "dark" ? "dark" : "light" : selectedTheme;
141033
140963
  var resolvedTone = tone ?? DEFAULT_INLINE_AD_TONE;
@@ -141043,7 +140973,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141043
140973
  onAdFailedToRender,
141044
140974
  onNoFill
141045
140975
  };
141046
- (0, import_react31.useEffect)(() => {
140976
+ (0, import_react30.useEffect)(() => {
141047
140977
  isMountedRef.current = true;
141048
140978
  return () => {
141049
140979
  isMountedRef.current = false;
@@ -141053,7 +140983,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141053
140983
  }
141054
140984
  };
141055
140985
  }, []);
141056
- (0, import_react31.useEffect)(() => {
140986
+ (0, import_react30.useEffect)(() => {
141057
140987
  var normalizedAdGroupId = normalizeAdGroupId(adGroupId);
141058
140988
  var loadAdRequest = () => {
141059
140989
  if (loadingRef.current) {
@@ -141111,7 +141041,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141111
141041
  loadRef.current = null;
141112
141042
  };
141113
141043
  }, [adGroupId]);
141114
- (0, import_react_native42.useVisibilityChange)(documentVisibility => {
141044
+ (0, import_react_native41.useVisibilityChange)(documentVisibility => {
141115
141045
  if (documentVisibility !== "visible") {
141116
141046
  return;
141117
141047
  }
@@ -141124,7 +141054,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141124
141054
  loadRef.current?.();
141125
141055
  }
141126
141056
  });
141127
- (0, import_react31.useEffect)(() => {
141057
+ (0, import_react30.useEffect)(() => {
141128
141058
  if (!ad || hasRenderedRef.current) {
141129
141059
  return;
141130
141060
  }
@@ -141209,23 +141139,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141209
141139
  callbacksRef.current.onAdClicked?.(basePayload);
141210
141140
  }
141211
141141
  };
141212
- return (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
141142
+ return (0, import_jsx_runtime22.jsx)(import_react_native41.ImpressionArea, {
141213
141143
  style: styles3.impressionArea,
141214
141144
  onImpressionStart: handleImpression1px,
141215
141145
  areaThreshold: 0,
141216
141146
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
141217
- children: (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
141147
+ children: (0, import_jsx_runtime22.jsx)(import_react_native41.ImpressionArea, {
141218
141148
  onImpressionStart: handleImpression100p,
141219
141149
  areaThreshold: 1,
141220
141150
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
141221
- children: (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
141151
+ children: (0, import_jsx_runtime22.jsx)(import_react_native41.ImpressionArea, {
141222
141152
  onImpressionStart: handleViewableStart,
141223
141153
  onImpressionEnd: handleViewableEnd,
141224
141154
  areaThreshold: 0.5,
141225
141155
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
141226
- children: (0, import_jsx_runtime22.jsx)(import_react_native43.View, {
141156
+ children: (0, import_jsx_runtime22.jsx)(import_react_native42.View, {
141227
141157
  style: [styles3.wrapper, resolvedVariant === "card" && styles3.cardWrapper],
141228
- children: (0, import_jsx_runtime22.jsxs)(import_react_native43.View, {
141158
+ children: (0, import_jsx_runtime22.jsxs)(import_react_native42.View, {
141229
141159
  style: [styles3.surface, {
141230
141160
  backgroundColor
141231
141161
  }, resolvedVariant === "card" && styles3.cardSurface],
@@ -141259,7 +141189,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141259
141189
  })
141260
141190
  }, impressionKey);
141261
141191
  }
141262
- var styles3 = import_react_native43.StyleSheet.create({
141192
+ var styles3 = import_react_native42.StyleSheet.create({
141263
141193
  impressionArea: {
141264
141194
  width: "100%"
141265
141195
  },
@@ -141305,7 +141235,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141305
141235
  ..._$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"),
141306
141236
  ..._$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types")
141307
141237
  });
141308
- },1277,[20,19,16,47,1278,1279,2,1466,33,6,9,2431,2512,614,2515,2560,2568,2584,2440,1280,753],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
141238
+ },1277,[20,19,16,47,1278,1279,2,1466,33,6,9,2431,2512,614,2515,2561,2569,2585,2440,1280,753],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
141309
141239
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
141310
141240
  "use strict";
141311
141241
 
@@ -141977,6 +141907,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141977
141907
  getServerTime: () => getServerTime,
141978
141908
  getTossAppVersion: () => getTossAppVersion,
141979
141909
  getTossShareLink: () => getTossShareLink,
141910
+ getUserKey: () => getUserKey,
141980
141911
  getUserKeyForGame: () => getUserKeyForGame,
141981
141912
  grantPromotionReward: () => grantPromotionReward,
141982
141913
  grantPromotionRewardForGame: () => grantPromotionRewardForGame,
@@ -142965,7 +142896,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
142965
142896
  android: "5.221.0",
142966
142897
  ios: "5.221.0"
142967
142898
  };
142968
- var GAME_USER_KEY_MIN_VERSION = {
142899
+ var USER_KEY_MIN_VERSION = {
142969
142900
  android: "5.232.0",
142970
142901
  ios: "5.232.0"
142971
142902
  };
@@ -143026,12 +142957,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143026
142957
  });
143027
142958
  return _submitGameCenterLeaderBoardScore.apply(this, arguments);
143028
142959
  }
143029
- function getUserKeyForGame() {
143030
- return _getUserKeyForGame.apply(this, arguments);
142960
+ function getUserKey() {
142961
+ return _getUserKey.apply(this, arguments);
143031
142962
  }
143032
- function _getUserKeyForGame() {
143033
- _getUserKeyForGame = _asyncToGenerator(function* () {
143034
- var isSupported = isMinVersionSupported(GAME_USER_KEY_MIN_VERSION);
142963
+ function _getUserKey() {
142964
+ _getUserKey = _asyncToGenerator(function* () {
142965
+ var isSupported = isMinVersionSupported(USER_KEY_MIN_VERSION);
143035
142966
  if (!isSupported) {
143036
142967
  return;
143037
142968
  }
@@ -143040,14 +142971,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143040
142971
  if (response.type === "HASH") {
143041
142972
  return response;
143042
142973
  }
143043
- if (response.type === "NOT_AVAILABLE") {
143044
- return "INVALID_CATEGORY";
143045
- }
143046
142974
  return "ERROR";
143047
- } catch (_) {
142975
+ } catch {
143048
142976
  return "ERROR";
143049
142977
  }
143050
142978
  });
142979
+ return _getUserKey.apply(this, arguments);
142980
+ }
142981
+ function getUserKeyForGame() {
142982
+ return _getUserKeyForGame.apply(this, arguments);
142983
+ }
142984
+ function _getUserKeyForGame() {
142985
+ _getUserKeyForGame = _asyncToGenerator(function* () {
142986
+ return getUserKey();
142987
+ });
143051
142988
  return _getUserKeyForGame.apply(this, arguments);
143052
142989
  }
143053
142990
  function isGrantPromotionRewardError(error) {
@@ -143330,6 +143267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
143330
143267
  getServerTime,
143331
143268
  getTossAppVersion,
143332
143269
  getTossShareLink,
143270
+ getUserKey,
143333
143271
  getUserKeyForGame,
143334
143272
  grantPromotionReward,
143335
143273
  grantPromotionRewardForGame,
@@ -211536,7 +211474,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211536
211474
  }
211537
211475
  });
211538
211476
  });
211539
- var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/getUserKeyForGame");
211477
+ var _getUserKey = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/getUserKey");
211478
+ Object.keys(_getUserKey).forEach(function (key) {
211479
+ if (key === "default" || key === "__esModule") return;
211480
+ if (key in exports && exports[key] === _getUserKey[key]) return;
211481
+ Object.defineProperty(exports, key, {
211482
+ enumerable: true,
211483
+ get: function () {
211484
+ return _getUserKey[key];
211485
+ }
211486
+ });
211487
+ });
211488
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/getUserKeyForGame");
211540
211489
  Object.keys(_getUserKeyForGame).forEach(function (key) {
211541
211490
  if (key === "default" || key === "__esModule") return;
211542
211491
  if (key in exports && exports[key] === _getUserKeyForGame[key]) return;
@@ -211547,7 +211496,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211547
211496
  }
211548
211497
  });
211549
211498
  });
211550
- var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/grantPromotionReward");
211499
+ var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/grantPromotionReward");
211551
211500
  Object.keys(_grantPromotionReward).forEach(function (key) {
211552
211501
  if (key === "default" || key === "__esModule") return;
211553
211502
  if (key in exports && exports[key] === _grantPromotionReward[key]) return;
@@ -211558,7 +211507,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211558
211507
  }
211559
211508
  });
211560
211509
  });
211561
- var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
211510
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
211562
211511
  Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
211563
211512
  if (key === "default" || key === "__esModule") return;
211564
211513
  if (key in exports && exports[key] === _grantPromotionRewardForGame[key]) return;
@@ -211569,7 +211518,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211569
211518
  }
211570
211519
  });
211571
211520
  });
211572
- var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
211521
+ var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
211573
211522
  Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
211574
211523
  if (key === "default" || key === "__esModule") return;
211575
211524
  if (key in exports && exports[key] === _getIsTossLoginIntegratedService[key]) return;
@@ -211580,7 +211529,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211580
211529
  }
211581
211530
  });
211582
211531
  });
211583
- var _getServerTime = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/getServerTime");
211532
+ var _getServerTime = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/getServerTime");
211584
211533
  Object.keys(_getServerTime).forEach(function (key) {
211585
211534
  if (key === "default" || key === "__esModule") return;
211586
211535
  if (key in exports && exports[key] === _getServerTime[key]) return;
@@ -211591,7 +211540,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211591
211540
  }
211592
211541
  });
211593
211542
  });
211594
- var _requestReview = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/requestReview");
211543
+ var _requestReview = _$$_REQUIRE(_dependencyMap[33], "./MiniAppModule/native-modules/requestReview");
211595
211544
  Object.keys(_requestReview).forEach(function (key) {
211596
211545
  if (key === "default" || key === "__esModule") return;
211597
211546
  if (key in exports && exports[key] === _requestReview[key]) return;
@@ -211602,7 +211551,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
211602
211551
  }
211603
211552
  });
211604
211553
  });
211605
- },2515,[2516,2524,2525,2526,2527,2528,2529,2530,2531,2532,2533,2534,2536,2537,2538,2539,2540,2541,2542,2545,2546,2547,2548,2549,2550,2552,2553,2554,2555,2556,2557,2558,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
211554
+ },2515,[2516,2524,2525,2526,2527,2528,2529,2530,2531,2532,2533,2534,2536,2537,2538,2539,2540,2541,2542,2545,2546,2547,2548,2549,2550,2552,2553,2554,2555,2556,2557,2558,2559,2560],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
211606
211555
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
211607
211556
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
211608
211557
  Object.defineProperty(exports, "__esModule", {
@@ -212403,13 +212352,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212403
212352
  Object.defineProperty(exports, "__esModule", {
212404
212353
  value: true
212405
212354
  });
212406
- exports.PROMOTION_REWARD_MIN_VERSION = exports.GET_SERVER_TIME_MIN_VERSION = exports.GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
212355
+ exports.USER_KEY_MIN_VERSION = exports.PROMOTION_REWARD_MIN_VERSION = exports.GET_SERVER_TIME_MIN_VERSION = exports.GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
212407
212356
  var GAME_PROFILE_WEBVIEW_URL = exports.GAME_PROFILE_WEBVIEW_URL = 'https://service.toss.im/game-center/profile';
212408
212357
  var GAME_CENTER_MIN_VERSION = exports.GAME_CENTER_MIN_VERSION = {
212409
212358
  android: '5.221.0',
212410
212359
  ios: '5.221.0'
212411
212360
  };
212412
- var GAME_USER_KEY_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = {
212361
+ var USER_KEY_MIN_VERSION = exports.USER_KEY_MIN_VERSION = {
212413
212362
  android: '5.232.0',
212414
212363
  ios: '5.232.0'
212415
212364
  };
@@ -212485,17 +212434,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212485
212434
  Object.defineProperty(exports, "__esModule", {
212486
212435
  value: true
212487
212436
  });
212488
- exports.getUserKeyForGame = getUserKeyForGame;
212437
+ exports.getUserKey = getUserKey;
212489
212438
  var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
212490
212439
  var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[2], "./isMinVersionSupported");
212491
212440
  var _natives = _$$_REQUIRE(_dependencyMap[3], "../../natives");
212492
212441
  var _constants = _$$_REQUIRE(_dependencyMap[4], "../constants");
212493
- function getUserKeyForGame() {
212494
- return _getUserKeyForGame.apply(this, arguments);
212442
+ function getUserKey() {
212443
+ return _getUserKey.apply(this, arguments);
212495
212444
  }
212496
- function _getUserKeyForGame() {
212497
- _getUserKeyForGame = (0, _asyncToGenerator2.default)(function* () {
212498
- var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GAME_USER_KEY_MIN_VERSION);
212445
+ function _getUserKey() {
212446
+ _getUserKey = (0, _asyncToGenerator2.default)(function* () {
212447
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(_constants.USER_KEY_MIN_VERSION);
212499
212448
  if (!isSupported) {
212500
212449
  return;
212501
212450
  }
@@ -212504,17 +212453,32 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212504
212453
  if (response.type === 'HASH') {
212505
212454
  return response;
212506
212455
  }
212507
- if (response.type === 'NOT_AVAILABLE') {
212508
- return 'INVALID_CATEGORY';
212509
- }
212510
212456
  return 'ERROR';
212511
- } catch (_) {
212457
+ } catch {
212512
212458
  return 'ERROR';
212513
212459
  }
212514
212460
  });
212461
+ return _getUserKey.apply(this, arguments);
212462
+ }
212463
+ },2554,[1,16,2543,2518,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKey.ts");
212464
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212465
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212466
+ Object.defineProperty(exports, "__esModule", {
212467
+ value: true
212468
+ });
212469
+ exports.getUserKeyForGame = getUserKeyForGame;
212470
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
212471
+ var _getUserKey = _$$_REQUIRE(_dependencyMap[2], "./getUserKey");
212472
+ function getUserKeyForGame() {
212473
+ return _getUserKeyForGame.apply(this, arguments);
212474
+ }
212475
+ function _getUserKeyForGame() {
212476
+ _getUserKeyForGame = (0, _asyncToGenerator2.default)(function* () {
212477
+ return (0, _getUserKey.getUserKey)();
212478
+ });
212515
212479
  return _getUserKeyForGame.apply(this, arguments);
212516
212480
  }
212517
- },2554,[1,16,2543,2518,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
212481
+ },2555,[1,16,2554],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
212518
212482
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212519
212483
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212520
212484
  Object.defineProperty(exports, "__esModule", {
@@ -212555,7 +212519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212555
212519
  });
212556
212520
  return _grantPromotionReward.apply(this, arguments);
212557
212521
  }
212558
- },2555,[1,16,2543,2518,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
212522
+ },2556,[1,16,2543,2518,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
212559
212523
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212560
212524
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212561
212525
  Object.defineProperty(exports, "__esModule", {
@@ -212573,7 +212537,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212573
212537
  });
212574
212538
  return _grantPromotionRewardForGame.apply(this, arguments);
212575
212539
  }
212576
- },2556,[1,16,2555],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
212540
+ },2557,[1,16,2556],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
212577
212541
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212578
212542
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212579
212543
  Object.defineProperty(exports, "__esModule", {
@@ -212598,7 +212562,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212598
212562
  });
212599
212563
  return _getIsTossLoginIntegratedService.apply(this, arguments);
212600
212564
  }
212601
- },2557,[1,16,2543,2518,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
212565
+ },2558,[1,16,2543,2518,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
212602
212566
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212603
212567
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212604
212568
  Object.defineProperty(exports, "__esModule", {
@@ -212623,7 +212587,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212623
212587
  return _getServerTime.apply(this, arguments);
212624
212588
  }
212625
212589
  getServerTime.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
212626
- },2558,[1,16,2543,2518,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
212590
+ },2559,[1,16,2543,2518,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
212627
212591
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212628
212592
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212629
212593
  Object.defineProperty(exports, "__esModule", {
@@ -212657,7 +212621,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212657
212621
  return _requestReview.apply(this, arguments);
212658
212622
  }
212659
212623
  requestReview.isSupported = () => _natives.MiniAppModule.getConstants().operationalEnvironment === 'toss' && (0, _isMinVersionSupported.isMinVersionSupported)(MIN_VERSION);
212660
- },2559,[1,16,2543,2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
212624
+ },2560,[1,16,2543,2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
212661
212625
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212662
212626
  Object.defineProperty(exports, "__esModule", {
212663
212627
  value: true
@@ -212739,7 +212703,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212739
212703
  }
212740
212704
  });
212741
212705
  });
212742
- },2560,[2561,2562,2563,2564,2565,2566,2567],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
212706
+ },2561,[2562,2563,2564,2565,2566,2567,2568],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
212743
212707
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212744
212708
  Object.defineProperty(exports, "__esModule", {
212745
212709
  value: true
@@ -212757,7 +212721,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212757
212721
  function replaceUnderbarToHypen(locale) {
212758
212722
  return locale.replace(/_/g, '-');
212759
212723
  }
212760
- },2561,[33,2517],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
212724
+ },2562,[33,2517],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
212761
212725
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212762
212726
  Object.defineProperty(exports, "__esModule", {
212763
212727
  value: true
@@ -212767,7 +212731,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212767
212731
  function getSchemeUri() {
212768
212732
  return _BedrockModule.CommonModule.getConstants().schemeUri;
212769
212733
  }
212770
- },2562,[2517],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
212734
+ },2563,[2517],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
212771
212735
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212772
212736
  Object.defineProperty(exports, "__esModule", {
212773
212737
  value: true
@@ -212777,7 +212741,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212777
212741
  function getPlatformOS() {
212778
212742
  return _reactNative.Platform.OS;
212779
212743
  }
212780
- },2563,[33],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
212744
+ },2564,[33],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
212781
212745
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212782
212746
  Object.defineProperty(exports, "__esModule", {
212783
212747
  value: true
@@ -212787,7 +212751,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212787
212751
  function getOperationalEnvironment() {
212788
212752
  return _natives.MiniAppModule.getConstants().operationalEnvironment;
212789
212753
  }
212790
- },2564,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
212754
+ },2565,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
212791
212755
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212792
212756
  Object.defineProperty(exports, "__esModule", {
212793
212757
  value: true
@@ -212797,7 +212761,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212797
212761
  function getTossAppVersion() {
212798
212762
  return _natives.MiniAppModule.getConstants().tossAppVersion;
212799
212763
  }
212800
- },2565,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
212764
+ },2566,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
212801
212765
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212802
212766
  Object.defineProperty(exports, "__esModule", {
212803
212767
  value: true
@@ -212807,7 +212771,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212807
212771
  function getDeviceId() {
212808
212772
  return _natives.MiniAppModule.getConstants().deviceId;
212809
212773
  }
212810
- },2566,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
212774
+ },2567,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
212811
212775
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212812
212776
  Object.defineProperty(exports, "__esModule", {
212813
212777
  value: true
@@ -212817,7 +212781,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212817
212781
  function getGroupId() {
212818
212782
  return _natives.MiniAppModule.getConstants().groupId;
212819
212783
  }
212820
- },2567,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
212784
+ },2568,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
212821
212785
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212822
212786
  Object.defineProperty(exports, "__esModule", {
212823
212787
  value: true
@@ -212855,7 +212819,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212855
212819
  }
212856
212820
  });
212857
212821
  });
212858
- },2568,[2569,2583,2581],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
212822
+ },2569,[2570,2584,2582],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
212859
212823
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212860
212824
  Object.defineProperty(exports, "__esModule", {
212861
212825
  value: true
@@ -212868,7 +212832,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212868
212832
  }
212869
212833
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
212870
212834
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
212871
- },2569,[2570,2576],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
212835
+ },2570,[2571,2577],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
212872
212836
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212873
212837
  Object.defineProperty(exports, "__esModule", {
212874
212838
  value: true
@@ -212879,7 +212843,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212879
212843
  var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
212880
212844
  var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
212881
212845
  var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
212882
- },2570,[2,2571,2572,2575],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
212846
+ },2571,[2,2572,2573,2576],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
212883
212847
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212884
212848
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212885
212849
  Object.defineProperty(exports, "__esModule", {
@@ -212946,7 +212910,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
212946
212910
  }
212947
212911
  }]);
212948
212912
  }(_reactNative.GraniteEventDefinition);
212949
- },2571,[1,20,19,21,24,25,1280,2,2518,2532],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
212913
+ },2572,[1,20,19,21,24,25,1280,2,2518,2532],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
212950
212914
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
212951
212915
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
212952
212916
  Object.defineProperty(exports, "__esModule", {
@@ -213006,7 +212970,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213006
212970
  }
213007
212971
  }]);
213008
212972
  }(_reactNative.GraniteEventDefinition);
213009
- },2572,[1,20,19,21,24,25,2,2573,2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
212973
+ },2573,[1,20,19,21,24,25,2,2574,2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
213010
212974
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213011
212975
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213012
212976
  Object.defineProperty(exports, "__esModule", {
@@ -213071,7 +213035,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213071
213035
  unregisterCallback,
213072
213036
  getCallbackIds
213073
213037
  };
213074
- },2573,[1,47,89,2518,2574],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
213038
+ },2574,[1,47,89,2518,2575],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
213075
213039
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213076
213040
  Object.defineProperty(exports, "__esModule", {
213077
213041
  value: true
@@ -213080,7 +213044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213080
213044
  function generateUUID(placeholder) {
213081
213045
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
213082
213046
  }
213083
- },2574,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
213047
+ },2575,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
213084
213048
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213085
213049
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213086
213050
  Object.defineProperty(exports, "__esModule", {
@@ -213138,7 +213102,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213138
213102
  }
213139
213103
  }]);
213140
213104
  }(_reactNative.GraniteEventDefinition);
213141
- },2575,[1,20,19,21,24,25,2,2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
213105
+ },2576,[1,20,19,21,24,25,2,2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
213142
213106
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213143
213107
  Object.defineProperty(exports, "__esModule", {
213144
213108
  value: true
@@ -213401,7 +213365,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213401
213365
  }
213402
213366
  });
213403
213367
  });
213404
- var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[22], "./getUserKeyForGame");
213368
+ var _getUserKey = _$$_REQUIRE(_dependencyMap[22], "./getUserKey");
213369
+ Object.keys(_getUserKey).forEach(function (key) {
213370
+ if (key === "default" || key === "__esModule") return;
213371
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
213372
+ if (key in exports && exports[key] === _getUserKey[key]) return;
213373
+ Object.defineProperty(exports, key, {
213374
+ enumerable: true,
213375
+ get: function () {
213376
+ return _getUserKey[key];
213377
+ }
213378
+ });
213379
+ });
213380
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[23], "./getUserKeyForGame");
213405
213381
  Object.keys(_getUserKeyForGame).forEach(function (key) {
213406
213382
  if (key === "default" || key === "__esModule") return;
213407
213383
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213413,7 +213389,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213413
213389
  }
213414
213390
  });
213415
213391
  });
213416
- var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[23], "./grantPromotionReward");
213392
+ var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[24], "./grantPromotionReward");
213417
213393
  Object.keys(_grantPromotionReward).forEach(function (key) {
213418
213394
  if (key === "default" || key === "__esModule") return;
213419
213395
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213425,7 +213401,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213425
213401
  }
213426
213402
  });
213427
213403
  });
213428
- var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[24], "./grantPromotionRewardForGame");
213404
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[25], "./grantPromotionRewardForGame");
213429
213405
  Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
213430
213406
  if (key === "default" || key === "__esModule") return;
213431
213407
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213437,7 +213413,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213437
213413
  }
213438
213414
  });
213439
213415
  });
213440
- var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[25], "./getIsTossLoginIntegratedService");
213416
+ var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[26], "./getIsTossLoginIntegratedService");
213441
213417
  Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
213442
213418
  if (key === "default" || key === "__esModule") return;
213443
213419
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213449,7 +213425,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213449
213425
  }
213450
213426
  });
213451
213427
  });
213452
- var _contactsViral = _$$_REQUIRE(_dependencyMap[26], "../native-event-emitter/contactsViral");
213428
+ var _contactsViral = _$$_REQUIRE(_dependencyMap[27], "../native-event-emitter/contactsViral");
213453
213429
  Object.keys(_contactsViral).forEach(function (key) {
213454
213430
  if (key === "default" || key === "__esModule") return;
213455
213431
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213461,7 +213437,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213461
213437
  }
213462
213438
  });
213463
213439
  });
213464
- var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[27], "./appsInTossSignTossCert");
213440
+ var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[28], "./appsInTossSignTossCert");
213465
213441
  Object.keys(_appsInTossSignTossCert).forEach(function (key) {
213466
213442
  if (key === "default" || key === "__esModule") return;
213467
213443
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213473,7 +213449,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213473
213449
  }
213474
213450
  });
213475
213451
  });
213476
- var _getGroupId = _$$_REQUIRE(_dependencyMap[28], "./getGroupId");
213452
+ var _getGroupId = _$$_REQUIRE(_dependencyMap[29], "./getGroupId");
213477
213453
  Object.keys(_getGroupId).forEach(function (key) {
213478
213454
  if (key === "default" || key === "__esModule") return;
213479
213455
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213485,7 +213461,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213485
213461
  }
213486
213462
  });
213487
213463
  });
213488
- var _shareWithScheme = _$$_REQUIRE(_dependencyMap[29], "./shareWithScheme");
213464
+ var _shareWithScheme = _$$_REQUIRE(_dependencyMap[30], "./shareWithScheme");
213489
213465
  Object.keys(_shareWithScheme).forEach(function (key) {
213490
213466
  if (key === "default" || key === "__esModule") return;
213491
213467
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213497,7 +213473,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213497
213473
  }
213498
213474
  });
213499
213475
  });
213500
- var _getServerTime = _$$_REQUIRE(_dependencyMap[30], "./getServerTime");
213476
+ var _getServerTime = _$$_REQUIRE(_dependencyMap[31], "./getServerTime");
213501
213477
  Object.keys(_getServerTime).forEach(function (key) {
213502
213478
  if (key === "default" || key === "__esModule") return;
213503
213479
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213509,7 +213485,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213509
213485
  }
213510
213486
  });
213511
213487
  });
213512
- var _requestReview = _$$_REQUIRE(_dependencyMap[31], "./requestReview");
213488
+ var _requestReview = _$$_REQUIRE(_dependencyMap[32], "./requestReview");
213513
213489
  Object.keys(_requestReview).forEach(function (key) {
213514
213490
  if (key === "default" || key === "__esModule") return;
213515
213491
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -213529,7 +213505,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213529
213505
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
213530
213506
  isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
213531
213507
  };
213532
- },2576,[2577,2547,2541,2542,2538,2537,2536,2539,2534,2540,2566,2564,2565,2545,2579,2543,2548,2546,2580,2552,2550,2553,2554,2555,2556,2557,2581,2549,2567,2582,2558,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
213508
+ },2577,[2578,2547,2541,2542,2538,2537,2536,2539,2534,2540,2567,2565,2566,2545,2580,2543,2548,2546,2581,2552,2550,2553,2554,2555,2556,2557,2558,2582,2549,2568,2583,2559,2560],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
213533
213509
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213534
213510
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213535
213511
  Object.defineProperty(exports, "__esModule", {
@@ -213662,7 +213638,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213662
213638
  });
213663
213639
  }
213664
213640
  isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
213665
- },2577,[1,16,1281,2578,2573,2564,2543],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
213641
+ },2578,[1,16,1281,2579,2574,2565,2543],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
213666
213642
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213667
213643
  Object.defineProperty(exports, "__esModule", {
213668
213644
  value: true
@@ -213676,7 +213652,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213676
213652
  return null;
213677
213653
  }
213678
213654
  }
213679
- },2578,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
213655
+ },2579,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
213680
213656
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213681
213657
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
213682
213658
  Object.defineProperty(exports, "__esModule", {
@@ -213927,7 +213903,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213927
213903
  completeProductGrant,
213928
213904
  getSubscriptionInfo
213929
213905
  };
213930
- },2579,[1,16,1281,2543,2518,2573],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
213906
+ },2580,[1,16,1281,2543,2518,2574],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
213931
213907
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213932
213908
  Object.defineProperty(exports, "__esModule", {
213933
213909
  value: true
@@ -213959,7 +213935,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213959
213935
  removeItem,
213960
213936
  clearItems
213961
213937
  };
213962
- },2580,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
213938
+ },2581,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
213963
213939
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
213964
213940
  Object.defineProperty(exports, "__esModule", {
213965
213941
  value: true
@@ -213995,7 +213971,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
213995
213971
  });
213996
213972
  return unregisterCallbacks;
213997
213973
  }
213998
- },2581,[2573,2543],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
213974
+ },2582,[2574,2543],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
213999
213975
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214000
213976
  Object.defineProperty(exports, "__esModule", {
214001
213977
  value: true
@@ -214005,7 +213981,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214005
213981
  function shareWithScheme(params) {
214006
213982
  return (0, _natives.safePostMessage)('shareWithScheme', params);
214007
213983
  }
214008
- },2582,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
213984
+ },2583,[2518],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
214009
213985
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214010
213986
  Object.defineProperty(exports, "__esModule", {
214011
213987
  value: true
@@ -214015,7 +213991,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214015
213991
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
214016
213992
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
214017
213993
  }
214018
- },2583,[2570],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
213994
+ },2584,[2571],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
214019
213995
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214020
213996
  "use strict";
214021
213997
 
@@ -214062,12 +214038,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214062
214038
  }
214063
214039
  \`;document.head.appendChild(e);})();
214064
214040
  `,
214065
- m = '"use strict";(()=>{var fe=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},E=new fe,q=()=>Math.random().toString(36).substring(2,15),z=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function c(e){return(...t)=>{let r=q(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(E.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(E.on(`${e}/reject/${r}`,i=>{o(),a(z(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=q(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError(z(o))})];return E.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{E.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function v(e){return()=>E.getConstant(e)}var ve=function(){return{emit:function(t,r){for(var n=this.events[t]||[],o=0,s=n.length;o<s;o++)n[o](r)},events:{},on:function(t,r){var n=this,o,s;return((o=this.events)[s=t]||(o[s]=[])).push(r),function(){var a;n.events[t]=(a=n.events[t])===null||a===void 0?void 0:a.filter(function(i){return r!==i})}}}};typeof window<"u"&&(window.__GRANITE_NATIVE_EMITTER=ve());var at=c("closeView"),it=c("generateHapticFeedback"),dt=c("share"),ct=c("setSecureScreen"),ut=c("setScreenAwakeMode"),pt=c("getNetworkStatus"),mt=c("setIosSwipeGestureEnabled"),lt=c("openURL"),gt=c("openPermissionDialog"),ft=c("getPermission"),vt=c("requestPermission"),ht=v("setClipboardText"),wt=v("getClipboardText"),Et=v("fetchContacts"),bt=v("fetchAlbumPhotos"),At=v("getCurrentLocation"),_t=v("openCamera"),Ct=c("appLogin"),St=c("eventLog"),It=c("getTossShareLink"),Tt=c("setDeviceOrientation"),yt=c("checkoutPayment"),Rt=c("saveBase64Data"),Lt=c("appsInTossSignTossCert"),Pt=c("getGameCenterGameProfile"),xt=c("openGameCenterLeaderboard"),Dt=c("submitGameCenterLeaderBoardScore"),Nt=c("getUserKeyForGame"),Mt=c("grantPromotionReward"),Ft=c("grantPromotionRewardForGame"),Gt=c("getIsTossLoginIntegratedService"),Bt=c("getServerTime"),kt=c("requestReview"),Ot=v("getLocale"),Vt=v("getSchemeUri"),Ht=v("getPlatformOS"),Ut=v("getOperationalEnvironment"),Wt=v("getTossAppVersion"),qt=v("getDeviceId"),zt=v("getGroupId"),$t=D("contactsViral"),jt=D("startUpdateLocation"),Kt=D("onVisibilityChangedByTransparentServiceWeb");var S=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},$=class extends S{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},j=class extends S{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends S{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends S{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=V,X=class extends S{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Y=class extends S{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var he=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},b=new he,ie=()=>Math.random().toString(36).substring(2,15),de=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function d(e){return(...t)=>{let r=ie(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(b.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(b.on(`${e}/reject/${r}`,i=>{o(),a(de(i))})),b.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function A(e){return t=>{let r=ie(),n=[b.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),b.on(`${e}/onError/${r}`,o=>{t.onError(de(o))})];return b.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{b.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>b.getConstant(e)}var or={getItem:d("getStorageItem"),setItem:d("setStorageItem"),removeItem:d("removeStorageItem"),clearItems:d("clearItems")},we=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Z=e=>["*","x","X"].includes(e),Q=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ee=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Z(e)||Z(t))return 0;let[r,n]=Ee(Q(e),Q(t));return r>n?1:r<n?-1:0},ee=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(we);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},te=(e,t)=>{let r=Math.max(e.length,t.length);for(let n=0;n<r;n++){let o=e[n]??"0",s=t[n]??"0",a=be(o,s);if(a!==0)return a}return 0},Ae=(e,t)=>{let r=ee(e),n=ee(t),o=r.pop(),s=n.pop(),a=te(r,n);return a!==0?a:o&&s?te(o.split("."),s.split(".")):o?-1:s?1:0};function H(e){if(p("getOperationalEnvironment")()==="sandbox")return!0;let r=p("getTossAppVersion")(),o=p("getPlatformOS")()==="ios"?e.ios:e.android;return o===void 0?!1:o==="always"?!0:o==="never"?!1:Ae(r,o)>=0}function re(e){return d("processProductGrant")(e)}var sr={createOneTimePurchaseOrder:e=>{let t=H({android:"5.219.0",ios:"5.219.0"}),r=()=>{};if(!t)return r;let n=H({android:"5.231.1",ios:"5.230.0"}),{options:o,onEvent:s,onError:a}=e,i=o.sku??o.productId;return n?A("requestOneTimePurchase")({options:{sku:i},onEvent:async l=>{if(l.type==="purchased"){let u=await o.processProductGrant({orderId:l.data.orderId});await re({orderId:l.data.orderId,isProductGranted:u}).catch(a)}else s(l)},onError:l=>{a(l)}}):(d("iapCreateOneTimePurchaseOrder")({productId:i}).then(u=>{Promise.resolve(o.processProductGrant({orderId:u.orderId})).then(()=>{s({type:"success",data:u})}).catch(f=>{a(f)})}).catch(u=>{a(u)}),r)},createSubscriptionPurchaseOrder:e=>{let t=H({android:"5.248.0",ios:"5.249.0"}),r=()=>{};if(!t)return r;let{options:n,onEvent:o,onError:s}=e,{sku:a,offerId:i,processProductGrant:m}=n;return A("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await m({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await re({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:d("iapGetProductItemList"),getPendingOrders:d("getPendingOrders"),getCompletedOrRefundedOrders:d("getCompletedOrRefundedOrders"),completeProductGrant:d("completeProductGrant"),getSubscriptionInfo:d("getSubscriptionInfo")},ar=p("getSafeAreaInsets");var ir=p("getSafeAreaInsets");var dr={loadAppsInTossAdMob:Object.assign(A("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(A("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(d("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var cr={getDeploymentId:p("getDeploymentId")},ur=p("deploymentId"),pr=p("brandDisplayName"),mr=p("brandIcon"),lr=p("brandPrimaryColor");var gr={addAccessoryButton:d("addAccessoryButton"),removeAccessoryButton:d("removeAccessoryButton")},_e=d("requestPermission"),Ce=d("getPermission"),Se=d("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await _e(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Se(e),n}var vr=I({handler:e=>d("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:$}),wr=I({handler:e=>d("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:j}),br=I({handler:e=>d("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),_r=I({handler:e=>d("openCamera")(e),permission:{name:"camera",access:"access"},error:K}),Sr=I({handler:e=>d("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Y}),Tr=I({handler:()=>d("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:X}),Ie=d("getPermission"),Te=d("openPermissionDialog"),ce=e=>A("updateLocationEvent")({...e,onError:t=>{let r=new J;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ce.getPermission=()=>Ie({name:"geolocation",access:"access"});ce.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Rr=Object.assign(A("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Lr=Object.assign(A("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function ye(e,t){let r=P.get(e);if(r)return r;let n=t(),o=!1,s={destroy(){o||(o=!0,P.get(e)===s&&P.delete(e),n.destroy())}};return P.set(e,s),s}function Re(){P=new WeakMap}var Le=d("openURL");function Pe(e){let t=xe(e);return Le(t)}function xe(e){return["http://","https://"].some(r=>e.startsWith(r))?De(e):e}function De(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var ne="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",oe=15e3,N=null;function C(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Ne(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=C();if(e)return Promise.resolve(e);if(N)return N;let t=new Promise((r,n)=>{let o=document.createElement("script"),s=()=>{o.removeEventListener("load",a),o.removeEventListener("error",i),window.clearTimeout(m),N=null},a=()=>{let l=C();if(l){s(),r(l);return}s(),n(new Error("Ads SDK script loaded but window.TossAdsSpaceKit was not exposed."))},i=()=>{s(),n(new Error(`Failed to load Ads SDK script from ${ne}.`))},m=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${oe}ms.`))},oe);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=ne,document.head.appendChild(o)});return N=t,t}var _=Object.assign(A("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Me=d("tossAdEventLog"),Fe=new Set(["1","2"]),ue="\\uC798\\uBABB\\uB41C \\uC694\\uCCAD\\uC774\\uC5D0\\uC694. \\uD544\\uC694\\uD55C \\uAC12\\uC774 \\uBE44\\uC5B4 \\uC788\\uC5B4\\uC694.";function M(e){return e.trim()}function U(){return new Error(ue)}function Ge(){return{resultType:"FAIL",error:{reason:ue}}}function Be(e){return new Promise((t,r)=>{if(!_.isSupported()){r(new Error("fetchTossAd is not supported in this environment."));return}let n=M(e.adGroupId);if(n.length===0){r(U());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function se(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Fe.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function ke(e){return Oe(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:se(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:Ve(e)?{resultType:"SUCCESS",success:se(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Oe(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function Ve(e){return!!(e&&typeof e=="object"&&"ads"in e)}function He(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Ge();try{let n=await Be({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return ke(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function Ue(e){let{callbacks:t}=e,r=()=>t?.onInitialized?.(),n=a=>{let i=a instanceof Error?a:new Error(String(a));t?.onInitializationFailed?.(i)};if(C()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Ne().then(a=>{if(a.isInitialized())return;let m={environment:"live",customAdFetcher:He(),opener:Pe};a.init(m)});L=s,s.then(r).catch(n).finally(()=>{L===s&&(L=null)})}function We(e,t,r={}){let{callbacks:n}=r,o=M(e),s=a=>{let i=a instanceof Error?a:new Error(String(a));n?.onAdFailedToRender?.({slotId:"",adGroupId:o,adMetadata:{},error:{code:0,message:i.message}})};try{let a=o;if(a.length===0)throw U();let i=C();if(!i)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!i.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let m=typeof t=="string"?document.querySelector(t):t;if(!m)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let l={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:me(o,r.callbacks)};i.banner.createSlot(m,l)}catch(a){s(a)}}var qe="16px 20px",ze="20px",$e="auto",je="blackAndWhite",Ke="expanded",h="toss-ads-attach",ae="toss-ads-attach-style",pe="data-toss-ads-attach-banner-wrapper";function Je(e){let t=e.ownerDocument;if(!t||t.getElementById(ae))return;let r=t.createElement("style");r.id=ae,r.textContent=`\n .${h} { background: #ffffff; }\n .${h}.toss-ads-tone-grey { background: #f2f4f7; }\n @media (prefers-color-scheme: dark) {\n .${h} { background: #17171c; }\n .${h}.toss-ads-tone-grey { background: #101013; }\n }\n .${h}.toss-ads-theme-light { background: #ffffff; }\n .${h}.toss-ads-theme-light.toss-ads-tone-grey { background: #f2f4f7; }\n .${h}.toss-ads-theme-dark { background: #17171c; }\n .${h}.toss-ads-theme-dark.toss-ads-tone-grey { background: #101013; }\n `;let n=t.head??t.body??t.documentElement;n&&n.appendChild(r)}function Xe(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(pe)==="true"&&e.removeChild(t)})}function Ye(e,t,r={}){let{callbacks:n,theme:o=$e,tone:s=je,variant:a=Ke}=r,i=M(e),m=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},l=me(i,n);try{let u=i;if(u.length===0)throw U();let f=C();if(!f)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!f.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let R=typeof t=="string"?document.querySelector(t):t;if(!R)throw new Error(`[toss-ad] Failed to find target element: ${t}`);return ye(R,()=>{let g=document.createElement("div");g.style.width="100%",g.style.height="100%",g.style.boxSizing="border-box",g.style.display="flex",g.style.flexDirection="column",g.style.justifyContent="center",g.style.overflow="hidden",g.setAttribute(pe,"true"),a==="card"&&(g.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),s==="grey"&&w.classList.add("toss-ads-tone-grey"),o==="light"?w.classList.add("toss-ads-theme-light"):o==="dark"&&w.classList.add("toss-ads-theme-dark"),a==="card"&&(w.style.borderRadius="16px",w.style.overflow="hidden"),g.appendChild(w);let x=!1,W=null;try{Je(R),Xe(R),R.appendChild(g),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:ge=>ge==="1"?qe:ze,callbacks:l};W=f.banner.createSlot(w,O)}catch(O){throw x&&g.parentNode&&g.parentNode.removeChild(g),O}return{destroy(){W?.destroy(),x&&g.parentNode&&g.parentNode.removeChild(g),x=!1}}})}catch(u){return m(u),{destroy(){}}}}function Ze(e){let t=C();t?.banner&&t.banner.destroy(e)}function Qe(){let e=C();e?.banner&&(e.banner.destroyAll(),Re())}function me(e,t){if(!t)return;let r=n=>{let o={...n??{}};return o.adGroupId=o.adGroupId??o.spaceId??e,delete o.spaceId,o};return{onAdRendered:n=>t.onAdRendered?.(r(n)),onAdViewable:n=>t.onAdViewable?.(r(n)),onAdClicked:n=>t.onAdClicked?.(r(n)),onAdImpression:n=>{Me({log_name:"display_ads_all::impression__1px_banner",log_type:"event",params:{event_type:"impression",schema_id:1812034,request_id:n?.adMetadata?.requestId??""}}),t.onAdImpression?.(r(n))},onAdFailedToRender:n=>t.onAdFailedToRender?.({...r(n),error:n?.error??{code:0,message:"UNKNOWN"}}),onNoFill:n=>t.onNoFill?.(r(n))}}var Pr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ye,{isSupported:_.isSupported}),destroy:Object.assign(Ze,{isSupported:_.isSupported}),destroyAll:Object.assign(Qe,{isSupported:_.isSupported})},xr=Object.assign(d("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Dr=Object.assign(d("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=d("debugLog");log(t,r){try{this._log({log_name:`apps_in_toss_webview_${t}`,log_type:"debug",params:{...r,...this.getCommonParams()}})}catch{}}getCommonParams(){return{...this.getLocationInfo(),...this.getNavigatorInfo(),...this.getScreenInfo(),appName:window.__appsInToss.appName,deploymentId:window.__appsInToss.deploymentId,sessionId:window.__appsInToss.sessionId,isGame:window.__appsInToss.webViewType==="game",timestampMs:Date.now()}}getLocationInfo(){return{url:window.location.href,urlOrigin:window.location.origin,urlHost:window.location.hostname,urlPath:window.location.pathname,urlSearch:window.location.search}}getNavigatorInfo(){return{userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookieEnabled:navigator.cookieEnabled,hardwareConcurrency:navigator.hardwareConcurrency,deviceMemory:navigator.deviceMemory?navigator.deviceMemory*1024*1024:void 0,maxTouchPoints:navigator.maxTouchPoints}}getScreenInfo(){return{screenWidth:screen.width,screenHeight:screen.height,availableScreenWidth:screen.availWidth,availableScreenHeight:screen.availHeight,devicePixelRatio:window.devicePixelRatio,colorDepth:screen.colorDepth,pixelDepth:screen.pixelDepth,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight}}};var G=class{callbacks={};on(t,r){return typeof this.callbacks[t]>"u"&&(this.callbacks[t]=[]),this.callbacks[t].push(r),()=>{this.callbacks[t]=this.callbacks[t]?.filter(n=>n!==r)??[]}}emit(t,r){this.callbacks[t]?.forEach(n=>n(r))}};window.__appsInToss={appName:p("getAppName")(),deploymentId:p("getDeploymentId")(),webViewType:p("getWebViewType")(),sessionId:Math.random().toString(36).substring(2),eventEmitter:new G,debugLogger:new F};var T=/\\.(data|wasm|framework\\.js)(?:\\.gz|\\.br|\\.unityweb)?$/;function B(e){window.fetch=new Proxy(window.fetch,{apply:e})}(()=>{if(window.__appsInToss.webViewType!=="game"||typeof caches>"u")return;let e="@apps-in-toss/caches/",t=`${e}${window.__appsInToss.deploymentId}`;window.addEventListener("load",async()=>{let r=await caches.keys();for(let n of r)n.startsWith(e)&&n!==t&&await caches.delete(n)}),B(async(r,n,o)=>{let s=new Request(o[0],o[1]);if(!T.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let l=i.headers.get("ETag"),u=i.headers.get("Last-Modified");l&&s.headers.set("If-None-Match",l),u&&s.headers.set("If-Modified-Since",u);let f=await r.call(n,s);return f.status===304?(i.__revalidateResponse=f,i):(a.put(s,f.clone()),f)}let m=await r.call(n,s);return a.put(s,m.clone()),m})})();B(async(e,t,r)=>{let n=new Request(r[0],r[1]),o=Date.now();window.__appsInToss.eventEmitter.emit("fetchRequest",{request:n});try{let s=await e.call(t,n);return window.__appsInToss.eventEmitter.emit("fetchResponse",{request:n,response:s,requestAt:o}),s}catch(s){throw window.__appsInToss.eventEmitter.emit("fetchError",{request:n,requestAt:o,error:s}),s}});HTMLCanvasElement.prototype.getContext=new Proxy(HTMLCanvasElement.prototype.getContext,{apply:(e,t,r)=>{let n=e.apply(t,r);return(n instanceof WebGL2RenderingContext||n instanceof WebGLRenderingContext)&&window.__appsInToss.eventEmitter.emit("webglGetContext",{canvas:t,context:n}),n}});var le=window.__appsInToss.debugLogger;le.log("load_start",{});window.addEventListener("load",()=>{let e=performance.timeOrigin,t=performance.getEntriesByType?.("navigation")[0]??null,r=typeof e<"u"&&t!==null,n=r?{navigationStartAtMs:e+t.startTime,navigationRedirectStartAtMs:e+t.redirectStart,navigationRedirectEndAtMs:e+t.redirectEnd,navigationRedirectCount:t.redirectCount,navigationServiceWorkerStartAtMs:e+t.workerStart,navigationFetchStartAtMs:e+t.fetchStart,navigationDomainLookupStartAtMs:e+t.domainLookupStart,navigationDomainLookupEndAtMs:e+t.domainLookupEnd,navigationConnectStartAtMs:e+t.connectStart,navigationSecureConnectStartAtMs:e+t.secureConnectionStart,navigationConnectEndAtMs:e+t.connectEnd,navigationRequestStartAtMs:e+t.requestStart,navigationResponseStartAtMs:e+t.responseStart,navigationResponseEndAtMs:e+t.responseEnd,navigationDomInteractiveAtMs:e+t.domInteractive,navigationDomContentLoadedEventStartAtMs:e+t.domContentLoadedEventStart,navigationDomContentLoadedEventEndAtMs:e+t.domContentLoadedEventEnd,navigationDomCompleteAtMs:e+t.domComplete}:{};le.log("load_complete",{isNavigationDebugSupported:r,...n})});function y(e,t){return parseFloat(e.toFixed(t))}(()=>{if(typeof performance.memory>"u"||typeof performance.memory.usedJSHeapSize>"u"||typeof performance.memory.totalJSHeapSize>"u"||typeof performance.memory.jsHeapSizeLimit>"u")return;function e(t){window.__appsInToss.debugLogger.log(t,{usedJSHeapSize:y(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:y(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:y(performance.memory.jsHeapSizeLimit/1024,2)})}e("memory_usage_first_0s"),setTimeout(()=>e("memory_usage_first_1s"),1e3),setTimeout(()=>e("memory_usage_first_10s"),1e4),setTimeout(()=>e("memory_usage_first_30s"),3e4),setTimeout(()=>e("memory_usage_first_60s"),6e4),setInterval(()=>e("memory_usage_every_180s"),18e4)})();(()=>{let e=window.__appsInToss.debugLogger,t=performance.timeOrigin;if(typeof t>"u"||typeof PerformanceObserver>"u")return;new PerformanceObserver(o=>{o.getEntries().forEach(a=>{a.name==="first-paint"?e.log("first_paint",{fpStartAtMs:t+a.startTime}):a.name==="first-contentful-paint"&&e.log("first_contentful_paint",{fcpStartAtMs:t+a.startTime})})}).observe({type:"paint"}),new PerformanceObserver(o=>{o.getEntries().forEach(a=>{e.log("largest_contentful_paint",{lcpStartAtMs:t+a.startTime,lcpRenderSize:a.size})})}).observe({type:"largest-contentful-paint"})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.eventEmitter.on("webglGetContext",({canvas:t,context:r})=>{if(t.getAttribute("id")!=="unity-canvas")return;e();let n=r.getExtension("WEBGL_debug_renderer_info"),o=r.getParameter(r.MAX_VIEWPORT_DIMS),s={webGLRenderer:r.getParameter(r.RENDERER),webGLVendor:r.getParameter(r.VENDOR),webGLVersion:r.getParameter(r.VERSION),webGLShadingLanguageVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),webGLMaxTextureSize:r.getParameter(r.MAX_TEXTURE_SIZE),webGLMaxViewportWidth:o[0],webGLMaxViewportHeight:o[1],webGLMaxRenderbufferSize:r.getParameter(r.MAX_RENDERBUFFER_SIZE)},a=n?{webGLUnmaskedVendor:r.getParameter(n.UNMASKED_VENDOR_WEBGL),webGLUnmaskedRenderer:r.getParameter(n.UNMASKED_RENDERER_WEBGL)}:{};window.__appsInToss.debugLogger.log("unity_webgl_info",{...s,...a})})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.debugLogger,t=window.__appsInToss.eventEmitter;t.on("fetchRequest",({request:n})=>{T.test(n.url)&&e.log("game_resource_download_start",{gameResourceRequestURL:n.url})});function r({request:n,requestAt:o,error:s}){e.log("game_resource_download_error",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceError:s instanceof Error?s.message:"Unknown Error"})}t.on("fetchResponse",async({request:n,requestAt:o,response:s})=>{if(!T.test(n.url))return;let a=await s.clone().blob().then(m=>y(m.size/1024,2)).catch(m=>(r({request:n,requestAt:o,error:m}),null));if(a===null)return;let i=Date.now();e.log("game_resource_download_end",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceResponseAtMs:i,gameResourceResponseSize:a,gameResourceResponseStatus:s.__revalidateResponse?.status??s.status,gameResourceDownloadDurationMs:i-o})}),t.on("fetchError",async({request:n,requestAt:o,error:s})=>{T.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function et(){let e=0;function t(r){let n=performance.now();if(r<n-1e3){k.push(e);return}e+=1,window.requestAnimationFrame(()=>t(r))}window.requestAnimationFrame(()=>t(performance.now()))}function tt(){if(k.length===0)return;let e=k;k=[];let t=rt(e).toSorted(),r={};for(let o=0;o<=100;o+=10){let s=t[Math.floor((t.length-1)*(o/100))];s&&(r[`fpsP${o}`]=s)}let n=t.reduce((o,s)=>o+s,0);r.fpsAverage=n/t.length,window.__appsInToss.debugLogger.log("fps_every_300s",r)}function rt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>et(),1e3);setInterval(()=>tt(),3e5);})();\n';
214041
+ m = '"use strict";(()=>{var fe=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},E=new fe,q=()=>Math.random().toString(36).substring(2,15),z=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function c(e){return(...t)=>{let r=q(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(E.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(E.on(`${e}/reject/${r}`,i=>{o(),a(z(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=q(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError(z(o))})];return E.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{E.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function v(e){return()=>E.getConstant(e)}var ve=function(){return{emit:function(t,r){for(var n=this.events[t]||[],o=0,s=n.length;o<s;o++)n[o](r)},events:{},on:function(t,r){var n=this,o,s;return((o=this.events)[s=t]||(o[s]=[])).push(r),function(){var a;n.events[t]=(a=n.events[t])===null||a===void 0?void 0:a.filter(function(i){return r!==i})}}}};typeof window<"u"&&(window.__GRANITE_NATIVE_EMITTER=ve());var at=c("closeView"),it=c("generateHapticFeedback"),dt=c("share"),ct=c("setSecureScreen"),ut=c("setScreenAwakeMode"),pt=c("getNetworkStatus"),mt=c("setIosSwipeGestureEnabled"),lt=c("openURL"),gt=c("openPermissionDialog"),ft=c("getPermission"),vt=c("requestPermission"),ht=v("setClipboardText"),wt=v("getClipboardText"),Et=v("fetchContacts"),bt=v("fetchAlbumPhotos"),At=v("getCurrentLocation"),_t=v("openCamera"),Ct=c("appLogin"),St=c("eventLog"),It=c("getTossShareLink"),Tt=c("setDeviceOrientation"),yt=c("checkoutPayment"),Rt=c("saveBase64Data"),Lt=c("appsInTossSignTossCert"),Pt=c("getGameCenterGameProfile"),xt=c("openGameCenterLeaderboard"),Dt=c("submitGameCenterLeaderBoardScore"),Nt=c("getUserKey"),Mt=c("getUserKeyForGame"),Ft=c("grantPromotionReward"),Gt=c("grantPromotionRewardForGame"),Bt=c("getIsTossLoginIntegratedService"),kt=c("getServerTime"),Ot=c("requestReview"),Vt=v("getLocale"),Ht=v("getSchemeUri"),Ut=v("getPlatformOS"),Wt=v("getOperationalEnvironment"),qt=v("getTossAppVersion"),zt=v("getDeviceId"),$t=v("getGroupId"),jt=D("contactsViral"),Kt=D("startUpdateLocation"),Jt=D("onVisibilityChangedByTransparentServiceWeb");var S=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},$=class extends S{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},j=class extends S{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends S{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends S{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=V,X=class extends S{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Y=class extends S{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var he=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},b=new he,ie=()=>Math.random().toString(36).substring(2,15),de=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function d(e){return(...t)=>{let r=ie(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(b.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(b.on(`${e}/reject/${r}`,i=>{o(),a(de(i))})),b.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function A(e){return t=>{let r=ie(),n=[b.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),b.on(`${e}/onError/${r}`,o=>{t.onError(de(o))})];return b.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{b.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>b.getConstant(e)}var sr={getItem:d("getStorageItem"),setItem:d("setStorageItem"),removeItem:d("removeStorageItem"),clearItems:d("clearItems")},we=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Z=e=>["*","x","X"].includes(e),Q=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ee=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Z(e)||Z(t))return 0;let[r,n]=Ee(Q(e),Q(t));return r>n?1:r<n?-1:0},ee=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(we);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},te=(e,t)=>{let r=Math.max(e.length,t.length);for(let n=0;n<r;n++){let o=e[n]??"0",s=t[n]??"0",a=be(o,s);if(a!==0)return a}return 0},Ae=(e,t)=>{let r=ee(e),n=ee(t),o=r.pop(),s=n.pop(),a=te(r,n);return a!==0?a:o&&s?te(o.split("."),s.split(".")):o?-1:s?1:0};function H(e){if(p("getOperationalEnvironment")()==="sandbox")return!0;let r=p("getTossAppVersion")(),o=p("getPlatformOS")()==="ios"?e.ios:e.android;return o===void 0?!1:o==="always"?!0:o==="never"?!1:Ae(r,o)>=0}function re(e){return d("processProductGrant")(e)}var ar={createOneTimePurchaseOrder:e=>{let t=H({android:"5.219.0",ios:"5.219.0"}),r=()=>{};if(!t)return r;let n=H({android:"5.231.1",ios:"5.230.0"}),{options:o,onEvent:s,onError:a}=e,i=o.sku??o.productId;return n?A("requestOneTimePurchase")({options:{sku:i},onEvent:async l=>{if(l.type==="purchased"){let u=await o.processProductGrant({orderId:l.data.orderId});await re({orderId:l.data.orderId,isProductGranted:u}).catch(a)}else s(l)},onError:l=>{a(l)}}):(d("iapCreateOneTimePurchaseOrder")({productId:i}).then(u=>{Promise.resolve(o.processProductGrant({orderId:u.orderId})).then(()=>{s({type:"success",data:u})}).catch(f=>{a(f)})}).catch(u=>{a(u)}),r)},createSubscriptionPurchaseOrder:e=>{let t=H({android:"5.248.0",ios:"5.249.0"}),r=()=>{};if(!t)return r;let{options:n,onEvent:o,onError:s}=e,{sku:a,offerId:i,processProductGrant:m}=n;return A("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await m({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await re({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:d("iapGetProductItemList"),getPendingOrders:d("getPendingOrders"),getCompletedOrRefundedOrders:d("getCompletedOrRefundedOrders"),completeProductGrant:d("completeProductGrant"),getSubscriptionInfo:d("getSubscriptionInfo")},ir=p("getSafeAreaInsets");var dr=p("getSafeAreaInsets");var cr={loadAppsInTossAdMob:Object.assign(A("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(A("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(d("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var ur={getDeploymentId:p("getDeploymentId")},pr=p("deploymentId"),mr=p("brandDisplayName"),lr=p("brandIcon"),gr=p("brandPrimaryColor");var fr={addAccessoryButton:d("addAccessoryButton"),removeAccessoryButton:d("removeAccessoryButton")},_e=d("requestPermission"),Ce=d("getPermission"),Se=d("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await _e(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Se(e),n}var hr=I({handler:e=>d("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:$}),Er=I({handler:e=>d("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:j}),Ar=I({handler:e=>d("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),Cr=I({handler:e=>d("openCamera")(e),permission:{name:"camera",access:"access"},error:K}),Ir=I({handler:e=>d("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Y}),yr=I({handler:()=>d("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:X}),Ie=d("getPermission"),Te=d("openPermissionDialog"),ce=e=>A("updateLocationEvent")({...e,onError:t=>{let r=new J;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ce.getPermission=()=>Ie({name:"geolocation",access:"access"});ce.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Lr=Object.assign(A("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Pr=Object.assign(A("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function ye(e,t){let r=P.get(e);if(r)return r;let n=t(),o=!1,s={destroy(){o||(o=!0,P.get(e)===s&&P.delete(e),n.destroy())}};return P.set(e,s),s}function Re(){P=new WeakMap}var Le=d("openURL");function Pe(e){let t=xe(e);return Le(t)}function xe(e){return["http://","https://"].some(r=>e.startsWith(r))?De(e):e}function De(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var ne="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",oe=15e3,N=null;function C(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Ne(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=C();if(e)return Promise.resolve(e);if(N)return N;let t=new Promise((r,n)=>{let o=document.createElement("script"),s=()=>{o.removeEventListener("load",a),o.removeEventListener("error",i),window.clearTimeout(m),N=null},a=()=>{let l=C();if(l){s(),r(l);return}s(),n(new Error("Ads SDK script loaded but window.TossAdsSpaceKit was not exposed."))},i=()=>{s(),n(new Error(`Failed to load Ads SDK script from ${ne}.`))},m=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${oe}ms.`))},oe);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=ne,document.head.appendChild(o)});return N=t,t}var _=Object.assign(A("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Me=d("tossAdEventLog"),Fe=new Set(["1","2"]),ue="\\uC798\\uBABB\\uB41C \\uC694\\uCCAD\\uC774\\uC5D0\\uC694. \\uD544\\uC694\\uD55C \\uAC12\\uC774 \\uBE44\\uC5B4 \\uC788\\uC5B4\\uC694.";function M(e){return e.trim()}function U(){return new Error(ue)}function Ge(){return{resultType:"FAIL",error:{reason:ue}}}function Be(e){return new Promise((t,r)=>{if(!_.isSupported()){r(new Error("fetchTossAd is not supported in this environment."));return}let n=M(e.adGroupId);if(n.length===0){r(U());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function se(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Fe.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function ke(e){return Oe(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:se(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:Ve(e)?{resultType:"SUCCESS",success:se(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Oe(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function Ve(e){return!!(e&&typeof e=="object"&&"ads"in e)}function He(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Ge();try{let n=await Be({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return ke(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function Ue(e){let{callbacks:t}=e,r=()=>t?.onInitialized?.(),n=a=>{let i=a instanceof Error?a:new Error(String(a));t?.onInitializationFailed?.(i)};if(C()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Ne().then(a=>{if(a.isInitialized())return;let m={environment:"live",customAdFetcher:He(),opener:Pe};a.init(m)});L=s,s.then(r).catch(n).finally(()=>{L===s&&(L=null)})}function We(e,t,r={}){let{callbacks:n}=r,o=M(e),s=a=>{let i=a instanceof Error?a:new Error(String(a));n?.onAdFailedToRender?.({slotId:"",adGroupId:o,adMetadata:{},error:{code:0,message:i.message}})};try{let a=o;if(a.length===0)throw U();let i=C();if(!i)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!i.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let m=typeof t=="string"?document.querySelector(t):t;if(!m)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let l={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:me(o,r.callbacks)};i.banner.createSlot(m,l)}catch(a){s(a)}}var qe="16px 20px",ze="20px",$e="auto",je="blackAndWhite",Ke="expanded",h="toss-ads-attach",ae="toss-ads-attach-style",pe="data-toss-ads-attach-banner-wrapper";function Je(e){let t=e.ownerDocument;if(!t||t.getElementById(ae))return;let r=t.createElement("style");r.id=ae,r.textContent=`\n .${h} { background: #ffffff; }\n .${h}.toss-ads-tone-grey { background: #f2f4f7; }\n @media (prefers-color-scheme: dark) {\n .${h} { background: #17171c; }\n .${h}.toss-ads-tone-grey { background: #101013; }\n }\n .${h}.toss-ads-theme-light { background: #ffffff; }\n .${h}.toss-ads-theme-light.toss-ads-tone-grey { background: #f2f4f7; }\n .${h}.toss-ads-theme-dark { background: #17171c; }\n .${h}.toss-ads-theme-dark.toss-ads-tone-grey { background: #101013; }\n `;let n=t.head??t.body??t.documentElement;n&&n.appendChild(r)}function Xe(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(pe)==="true"&&e.removeChild(t)})}function Ye(e,t,r={}){let{callbacks:n,theme:o=$e,tone:s=je,variant:a=Ke}=r,i=M(e),m=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},l=me(i,n);try{let u=i;if(u.length===0)throw U();let f=C();if(!f)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!f.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let R=typeof t=="string"?document.querySelector(t):t;if(!R)throw new Error(`[toss-ad] Failed to find target element: ${t}`);return ye(R,()=>{let g=document.createElement("div");g.style.width="100%",g.style.height="100%",g.style.boxSizing="border-box",g.style.display="flex",g.style.flexDirection="column",g.style.justifyContent="center",g.style.overflow="hidden",g.setAttribute(pe,"true"),a==="card"&&(g.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),s==="grey"&&w.classList.add("toss-ads-tone-grey"),o==="light"?w.classList.add("toss-ads-theme-light"):o==="dark"&&w.classList.add("toss-ads-theme-dark"),a==="card"&&(w.style.borderRadius="16px",w.style.overflow="hidden"),g.appendChild(w);let x=!1,W=null;try{Je(R),Xe(R),R.appendChild(g),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:ge=>ge==="1"?qe:ze,callbacks:l};W=f.banner.createSlot(w,O)}catch(O){throw x&&g.parentNode&&g.parentNode.removeChild(g),O}return{destroy(){W?.destroy(),x&&g.parentNode&&g.parentNode.removeChild(g),x=!1}}})}catch(u){return m(u),{destroy(){}}}}function Ze(e){let t=C();t?.banner&&t.banner.destroy(e)}function Qe(){let e=C();e?.banner&&(e.banner.destroyAll(),Re())}function me(e,t){if(!t)return;let r=n=>{let o={...n??{}};return o.adGroupId=o.adGroupId??o.spaceId??e,delete o.spaceId,o};return{onAdRendered:n=>t.onAdRendered?.(r(n)),onAdViewable:n=>t.onAdViewable?.(r(n)),onAdClicked:n=>t.onAdClicked?.(r(n)),onAdImpression:n=>{Me({log_name:"display_ads_all::impression__1px_banner",log_type:"event",params:{event_type:"impression",schema_id:1812034,request_id:n?.adMetadata?.requestId??""}}),t.onAdImpression?.(r(n))},onAdFailedToRender:n=>t.onAdFailedToRender?.({...r(n),error:n?.error??{code:0,message:"UNKNOWN"}}),onNoFill:n=>t.onNoFill?.(r(n))}}var xr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ye,{isSupported:_.isSupported}),destroy:Object.assign(Ze,{isSupported:_.isSupported}),destroyAll:Object.assign(Qe,{isSupported:_.isSupported})},Dr=Object.assign(d("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Nr=Object.assign(d("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=d("debugLog");log(t,r){try{this._log({log_name:`apps_in_toss_webview_${t}`,log_type:"debug",params:{...r,...this.getCommonParams()}})}catch{}}getCommonParams(){return{...this.getLocationInfo(),...this.getNavigatorInfo(),...this.getScreenInfo(),appName:window.__appsInToss.appName,deploymentId:window.__appsInToss.deploymentId,sessionId:window.__appsInToss.sessionId,isGame:window.__appsInToss.webViewType==="game",timestampMs:Date.now()}}getLocationInfo(){return{url:window.location.href,urlOrigin:window.location.origin,urlHost:window.location.hostname,urlPath:window.location.pathname,urlSearch:window.location.search}}getNavigatorInfo(){return{userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookieEnabled:navigator.cookieEnabled,hardwareConcurrency:navigator.hardwareConcurrency,deviceMemory:navigator.deviceMemory?navigator.deviceMemory*1024*1024:void 0,maxTouchPoints:navigator.maxTouchPoints}}getScreenInfo(){return{screenWidth:screen.width,screenHeight:screen.height,availableScreenWidth:screen.availWidth,availableScreenHeight:screen.availHeight,devicePixelRatio:window.devicePixelRatio,colorDepth:screen.colorDepth,pixelDepth:screen.pixelDepth,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight}}};var G=class{callbacks={};on(t,r){return typeof this.callbacks[t]>"u"&&(this.callbacks[t]=[]),this.callbacks[t].push(r),()=>{this.callbacks[t]=this.callbacks[t]?.filter(n=>n!==r)??[]}}emit(t,r){this.callbacks[t]?.forEach(n=>n(r))}};window.__appsInToss={appName:p("getAppName")(),deploymentId:p("getDeploymentId")(),webViewType:p("getWebViewType")(),sessionId:Math.random().toString(36).substring(2),eventEmitter:new G,debugLogger:new F};var T=/\\.(data|wasm|framework\\.js)(?:\\.gz|\\.br|\\.unityweb)?$/;function B(e){window.fetch=new Proxy(window.fetch,{apply:e})}(()=>{if(window.__appsInToss.webViewType!=="game"||typeof caches>"u")return;let e="@apps-in-toss/caches/",t=`${e}${window.__appsInToss.deploymentId}`;window.addEventListener("load",async()=>{let r=await caches.keys();for(let n of r)n.startsWith(e)&&n!==t&&await caches.delete(n)}),B(async(r,n,o)=>{let s=new Request(o[0],o[1]);if(!T.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let l=i.headers.get("ETag"),u=i.headers.get("Last-Modified");l&&s.headers.set("If-None-Match",l),u&&s.headers.set("If-Modified-Since",u);let f=await r.call(n,s);return f.status===304?(i.__revalidateResponse=f,i):(a.put(s,f.clone()),f)}let m=await r.call(n,s);return a.put(s,m.clone()),m})})();B(async(e,t,r)=>{let n=new Request(r[0],r[1]),o=Date.now();window.__appsInToss.eventEmitter.emit("fetchRequest",{request:n});try{let s=await e.call(t,n);return window.__appsInToss.eventEmitter.emit("fetchResponse",{request:n,response:s,requestAt:o}),s}catch(s){throw window.__appsInToss.eventEmitter.emit("fetchError",{request:n,requestAt:o,error:s}),s}});HTMLCanvasElement.prototype.getContext=new Proxy(HTMLCanvasElement.prototype.getContext,{apply:(e,t,r)=>{let n=e.apply(t,r);return(n instanceof WebGL2RenderingContext||n instanceof WebGLRenderingContext)&&window.__appsInToss.eventEmitter.emit("webglGetContext",{canvas:t,context:n}),n}});var le=window.__appsInToss.debugLogger;le.log("load_start",{});window.addEventListener("load",()=>{let e=performance.timeOrigin,t=performance.getEntriesByType?.("navigation")[0]??null,r=typeof e<"u"&&t!==null,n=r?{navigationStartAtMs:e+t.startTime,navigationRedirectStartAtMs:e+t.redirectStart,navigationRedirectEndAtMs:e+t.redirectEnd,navigationRedirectCount:t.redirectCount,navigationServiceWorkerStartAtMs:e+t.workerStart,navigationFetchStartAtMs:e+t.fetchStart,navigationDomainLookupStartAtMs:e+t.domainLookupStart,navigationDomainLookupEndAtMs:e+t.domainLookupEnd,navigationConnectStartAtMs:e+t.connectStart,navigationSecureConnectStartAtMs:e+t.secureConnectionStart,navigationConnectEndAtMs:e+t.connectEnd,navigationRequestStartAtMs:e+t.requestStart,navigationResponseStartAtMs:e+t.responseStart,navigationResponseEndAtMs:e+t.responseEnd,navigationDomInteractiveAtMs:e+t.domInteractive,navigationDomContentLoadedEventStartAtMs:e+t.domContentLoadedEventStart,navigationDomContentLoadedEventEndAtMs:e+t.domContentLoadedEventEnd,navigationDomCompleteAtMs:e+t.domComplete}:{};le.log("load_complete",{isNavigationDebugSupported:r,...n})});function y(e,t){return parseFloat(e.toFixed(t))}(()=>{if(typeof performance.memory>"u"||typeof performance.memory.usedJSHeapSize>"u"||typeof performance.memory.totalJSHeapSize>"u"||typeof performance.memory.jsHeapSizeLimit>"u")return;function e(t){window.__appsInToss.debugLogger.log(t,{usedJSHeapSize:y(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:y(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:y(performance.memory.jsHeapSizeLimit/1024,2)})}e("memory_usage_first_0s"),setTimeout(()=>e("memory_usage_first_1s"),1e3),setTimeout(()=>e("memory_usage_first_10s"),1e4),setTimeout(()=>e("memory_usage_first_30s"),3e4),setTimeout(()=>e("memory_usage_first_60s"),6e4),setInterval(()=>e("memory_usage_every_180s"),18e4)})();(()=>{let e=window.__appsInToss.debugLogger,t=performance.timeOrigin;if(typeof t>"u"||typeof PerformanceObserver>"u")return;new PerformanceObserver(o=>{o.getEntries().forEach(a=>{a.name==="first-paint"?e.log("first_paint",{fpStartAtMs:t+a.startTime}):a.name==="first-contentful-paint"&&e.log("first_contentful_paint",{fcpStartAtMs:t+a.startTime})})}).observe({type:"paint"}),new PerformanceObserver(o=>{o.getEntries().forEach(a=>{e.log("largest_contentful_paint",{lcpStartAtMs:t+a.startTime,lcpRenderSize:a.size})})}).observe({type:"largest-contentful-paint"})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.eventEmitter.on("webglGetContext",({canvas:t,context:r})=>{if(t.getAttribute("id")!=="unity-canvas")return;e();let n=r.getExtension("WEBGL_debug_renderer_info"),o=r.getParameter(r.MAX_VIEWPORT_DIMS),s={webGLRenderer:r.getParameter(r.RENDERER),webGLVendor:r.getParameter(r.VENDOR),webGLVersion:r.getParameter(r.VERSION),webGLShadingLanguageVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),webGLMaxTextureSize:r.getParameter(r.MAX_TEXTURE_SIZE),webGLMaxViewportWidth:o[0],webGLMaxViewportHeight:o[1],webGLMaxRenderbufferSize:r.getParameter(r.MAX_RENDERBUFFER_SIZE)},a=n?{webGLUnmaskedVendor:r.getParameter(n.UNMASKED_VENDOR_WEBGL),webGLUnmaskedRenderer:r.getParameter(n.UNMASKED_RENDERER_WEBGL)}:{};window.__appsInToss.debugLogger.log("unity_webgl_info",{...s,...a})})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.debugLogger,t=window.__appsInToss.eventEmitter;t.on("fetchRequest",({request:n})=>{T.test(n.url)&&e.log("game_resource_download_start",{gameResourceRequestURL:n.url})});function r({request:n,requestAt:o,error:s}){e.log("game_resource_download_error",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceError:s instanceof Error?s.message:"Unknown Error"})}t.on("fetchResponse",async({request:n,requestAt:o,response:s})=>{if(!T.test(n.url))return;let a=await s.clone().blob().then(m=>y(m.size/1024,2)).catch(m=>(r({request:n,requestAt:o,error:m}),null));if(a===null)return;let i=Date.now();e.log("game_resource_download_end",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceResponseAtMs:i,gameResourceResponseSize:a,gameResourceResponseStatus:s.__revalidateResponse?.status??s.status,gameResourceDownloadDurationMs:i-o})}),t.on("fetchError",async({request:n,requestAt:o,error:s})=>{T.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function et(){let e=0;function t(r){let n=performance.now();if(r<n-1e3){k.push(e);return}e+=1,window.requestAnimationFrame(()=>t(r))}window.requestAnimationFrame(()=>t(performance.now()))}function tt(){if(k.length===0)return;let e=k;k=[];let t=rt(e).toSorted(),r={};for(let o=0;o<=100;o+=10){let s=t[Math.floor((t.length-1)*(o/100))];s&&(r[`fpsP${o}`]=s)}let n=t.reduce((o,s)=>o+s,0);r.fpsAverage=n/t.length,window.__appsInToss.debugLogger.log("fps_every_300s",r)}function rt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>et(),1e3);setInterval(()=>tt(),3e5);})();\n';
214066
214042
  0 && (module.exports = {
214067
214043
  afterDocumentLoad,
214068
214044
  beforeDocumentLoad
214069
214045
  });
214070
- },2584,[],"../../user-scripts/dist/index.js");
214046
+ },2585,[],"../../user-scripts/dist/index.js");
214071
214047
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214072
214048
  Object.defineProperty(exports, "__esModule", {
214073
214049
  value: true
@@ -214080,7 +214056,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214080
214056
  return files.get(id);
214081
214057
  }
214082
214058
  context.keys = () => Array.from(files.keys());
214083
- },2585,[2586,2587],"context.ts");
214059
+ },2586,[2587,2588],"context.ts");
214084
214060
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214085
214061
  Object.defineProperty(exports, "__esModule", {
214086
214062
  value: true
@@ -214113,7 +214089,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214113
214089
  })
214114
214090
  });
214115
214091
  }
214116
- },2586,[1277,33,9],"pages/index.tsx");
214092
+ },2587,[1277,33,9],"pages/index.tsx");
214117
214093
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
214118
214094
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
214119
214095
  Object.defineProperty(exports, "__esModule", {
@@ -214126,6 +214102,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
214126
214102
  }
214127
214103
  });
214128
214104
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
214129
- },2587,[1,2586],"pages/_404.tsx");
214105
+ },2588,[1,2587],"pages/_404.tsx");
214130
214106
  __r(185);
214131
214107
  __r(0);