@apps-in-toss/web-framework 1.7.1 → 1.8.1
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.
- package/CHANGELOG.md +4 -0
- package/dist/prebuilt/dev.android.js +108 -54
- package/dist/prebuilt/dev.ios.js +108 -54
- package/dist/prebuilt/prod.android.js +94 -19
- package/dist/prebuilt/prod.ios.js +94 -19
- package/package.json +7 -7
package/dist/prebuilt/dev.ios.js
CHANGED
|
@@ -154975,8 +154975,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154975
154975
|
}).catch(noop);
|
|
154976
154976
|
}
|
|
154977
154977
|
var INTEGRATED_AD_SDK_VERSION = "0.0.0";
|
|
154978
|
-
var ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.
|
|
154979
|
-
var IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.
|
|
154978
|
+
var ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.244.1";
|
|
154979
|
+
var IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.244.1";
|
|
154980
154980
|
var UNSUPPORTED_ERROR_MESSAGE2 = "This feature is not supported in the current environment";
|
|
154981
154981
|
var INTG_AD_ADM_FALLBACK_RID_MAP = {};
|
|
154982
154982
|
function integratedAdIsSupported() {
|
|
@@ -155516,19 +155516,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155516
155516
|
canGoForward: canGoForward
|
|
155517
155517
|
};
|
|
155518
155518
|
}
|
|
155519
|
-
|
|
155520
|
-
(function() {
|
|
155521
|
-
window.history.back();
|
|
155522
|
-
true;
|
|
155523
|
-
})();
|
|
155524
|
-
`;
|
|
155525
|
-
var HISTORY_HOME_SCRIPT = `
|
|
155526
|
-
(function() {
|
|
155527
|
-
window.location.href = '/';
|
|
155528
|
-
true;
|
|
155529
|
-
})();
|
|
155530
|
-
`;
|
|
155531
|
-
function useWebBackHandler(webViewRef) {
|
|
155519
|
+
function useWebBackHandler(webViewInitialURL, webViewRef) {
|
|
155532
155520
|
var _useCaptureExitLog5 = useCaptureExitLog(),
|
|
155533
155521
|
captureExitLog = _useCaptureExitLog5.captureExitLog;
|
|
155534
155522
|
var _useWebViewHistory = useWebViewHistory(),
|
|
@@ -155558,7 +155546,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155558
155546
|
}
|
|
155559
155547
|
if (hasHistory) {
|
|
155560
155548
|
var _webViewRef$current;
|
|
155561
|
-
(_webViewRef$current = webViewRef.current) == null ? void 0 : _webViewRef$current.injectJavaScript(
|
|
155549
|
+
(_webViewRef$current = webViewRef.current) == null ? void 0 : _webViewRef$current.injectJavaScript("window.history.back();");
|
|
155562
155550
|
} else {
|
|
155563
155551
|
var isConfirmed = yield openConfirm({
|
|
155564
155552
|
title: `${(0, import_es_hangul5.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
|
|
@@ -155583,8 +155571,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155583
155571
|
}
|
|
155584
155572
|
return;
|
|
155585
155573
|
}
|
|
155586
|
-
(_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(
|
|
155587
|
-
|
|
155574
|
+
(_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(`
|
|
155575
|
+
(function() {
|
|
155576
|
+
const webBundleOrigin = '${webViewInitialURL.origin}';
|
|
155577
|
+
window.location.href = window.location.origin === webBundleOrigin ? '/' : webBundleOrigin;
|
|
155578
|
+
})();
|
|
155579
|
+
`);
|
|
155580
|
+
}, [hasWebBackEvent, webBackHandlersRef, logging, webViewInitialURL, webViewRef]);
|
|
155588
155581
|
return (0, import_react25.useMemo)(function () {
|
|
155589
155582
|
return {
|
|
155590
155583
|
addEventListener: addEventListener,
|
|
@@ -155919,10 +155912,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155919
155912
|
}
|
|
155920
155913
|
return baseUrl;
|
|
155921
155914
|
}
|
|
155922
|
-
function
|
|
155915
|
+
function getWebViewURL(local) {
|
|
155923
155916
|
if (__DEV__) {
|
|
155924
155917
|
var devUrl = `http://${local.host}:${local.port}`;
|
|
155925
|
-
return mergeSchemeQueryParamsInto(devUrl)
|
|
155918
|
+
return mergeSchemeQueryParamsInto(devUrl);
|
|
155926
155919
|
}
|
|
155927
155920
|
var _import_native_module = import_native_modules23.AppsInTossModule.getWebBundleURL({}),
|
|
155928
155921
|
rawUrl = _import_native_module.url;
|
|
@@ -155931,7 +155924,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155931
155924
|
if (deploymentId) {
|
|
155932
155925
|
url.searchParams.set("_deploymentId", deploymentId);
|
|
155933
155926
|
}
|
|
155934
|
-
return url
|
|
155927
|
+
return url;
|
|
155935
155928
|
}
|
|
155936
155929
|
function _WebView(_ref83) {
|
|
155937
155930
|
var type = _ref83.type,
|
|
@@ -155942,10 +155935,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155942
155935
|
throw new Error(`Invalid WebView type: '${type}'`);
|
|
155943
155936
|
}
|
|
155944
155937
|
var webViewRef = (0, import_react28.useRef)(null);
|
|
155945
|
-
var
|
|
155946
|
-
|
|
155947
|
-
return getWebViewUri(local);
|
|
155938
|
+
var url = (0, import_react28.useMemo)(function () {
|
|
155939
|
+
return getWebViewURL(local);
|
|
155948
155940
|
}, [local]);
|
|
155941
|
+
var webBackHandler = useWebBackHandler(url, webViewRef);
|
|
155949
155942
|
var top = (0, import_private9.useSafeAreaTop)();
|
|
155950
155943
|
var bottom = (0, import_private9.useSafeAreaBottom)();
|
|
155951
155944
|
var insets = (0, import_react_native_safe_area_context4.useSafeAreaInsets)();
|
|
@@ -156028,6 +156021,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156028
156021
|
})), {
|
|
156029
156022
|
loadAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.loadAppsInTossAdMob.isSupported,
|
|
156030
156023
|
showAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.showAppsInTossAdMob.isSupported,
|
|
156024
|
+
isAppsInTossAdMobLoaded_isSupported: import_native_modules23.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
|
|
156031
156025
|
loadFullScreenAd_isSupported: loadFullScreenAdForWeb.isSupported,
|
|
156032
156026
|
showFullScreenAd_isSupported: _showFullScreenAd.isSupported,
|
|
156033
156027
|
fetchTossAd_isSupported: fetchTossAd.isSupported,
|
|
@@ -156075,6 +156069,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156075
156069
|
getPendingOrders: import_native_modules23.IAP.getPendingOrders,
|
|
156076
156070
|
getCompletedOrRefundedOrders: import_native_modules23.IAP.getCompletedOrRefundedOrders,
|
|
156077
156071
|
completeProductGrant: import_native_modules23.IAP.completeProductGrant,
|
|
156072
|
+
isAppsInTossAdMobLoaded: import_native_modules23.GoogleAdMob.isAppsInTossAdMobLoaded,
|
|
156078
156073
|
tossAdEventLog: tossAdEventLog,
|
|
156079
156074
|
memoryDebugLog: webViewMemoryDebugLog
|
|
156080
156075
|
})
|
|
@@ -156117,7 +156112,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156117
156112
|
ref: refs
|
|
156118
156113
|
}, props, headerPropForExternalWebView, {
|
|
156119
156114
|
source: {
|
|
156120
|
-
uri:
|
|
156115
|
+
uri: url.href,
|
|
156121
156116
|
headers: {
|
|
156122
156117
|
"User-Agent": userAgent
|
|
156123
156118
|
}
|
|
@@ -156142,12 +156137,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156142
156137
|
allowsBackForwardNavigationGestures: allowsBackForwardNavigationGestures,
|
|
156143
156138
|
onShouldStartLoadWithRequest: function onShouldStartLoadWithRequest(event) {
|
|
156144
156139
|
try {
|
|
156145
|
-
var
|
|
156146
|
-
if (["https:", "http:"].includes(
|
|
156140
|
+
var url2 = new URL(event.url);
|
|
156141
|
+
if (["https:", "http:"].includes(url2.protocol) || url2.href === "about:blank") {
|
|
156147
156142
|
return true;
|
|
156148
156143
|
} else {
|
|
156149
156144
|
var _convertIntentURL;
|
|
156150
|
-
import_react_native39.Linking.openURL((_convertIntentURL = convertIntentURL(
|
|
156145
|
+
import_react_native39.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) != null ? _convertIntentURL : url2.href);
|
|
156151
156146
|
return false;
|
|
156152
156147
|
}
|
|
156153
156148
|
} catch (error) {
|
|
@@ -157504,7 +157499,34 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157504
157499
|
}
|
|
157505
157500
|
loadAppsInTossAdMob.isSupported = createIsSupported();
|
|
157506
157501
|
showAppsInTossAdMob.isSupported = createIsSupported();
|
|
157507
|
-
function
|
|
157502
|
+
function isAppsInTossAdMobLoaded(_x2) {
|
|
157503
|
+
return _isAppsInTossAdMobLoaded.apply(this, arguments);
|
|
157504
|
+
}
|
|
157505
|
+
function _isAppsInTossAdMobLoaded() {
|
|
157506
|
+
_isAppsInTossAdMobLoaded = _asyncToGenerator(function* (params) {
|
|
157507
|
+
if (!isAppsInTossAdMobLoadedSupported()) {
|
|
157508
|
+
return false;
|
|
157509
|
+
}
|
|
157510
|
+
return new Promise(function (resolve, reject) {
|
|
157511
|
+
var unregister = _INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getCachedStatusAppsInTossAdmob", Object.assign({}, params), {
|
|
157512
|
+
onSuccess: function onSuccess(cached) {
|
|
157513
|
+
resolve(cached);
|
|
157514
|
+
unregister();
|
|
157515
|
+
},
|
|
157516
|
+
onError: reject
|
|
157517
|
+
});
|
|
157518
|
+
});
|
|
157519
|
+
});
|
|
157520
|
+
return _isAppsInTossAdMobLoaded.apply(this, arguments);
|
|
157521
|
+
}
|
|
157522
|
+
function isAppsInTossAdMobLoadedSupported() {
|
|
157523
|
+
return ENVIRONMENT !== "toss" ? false : _isMinVersionSupported({
|
|
157524
|
+
android: "5.244.0",
|
|
157525
|
+
ios: "5.244.0"
|
|
157526
|
+
});
|
|
157527
|
+
}
|
|
157528
|
+
isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
|
|
157529
|
+
function checkoutPayment(_x3) {
|
|
157508
157530
|
return _checkoutPayment.apply(this, arguments);
|
|
157509
157531
|
}
|
|
157510
157532
|
function _checkoutPayment() {
|
|
@@ -157536,7 +157558,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157536
157558
|
return [key, String(value)];
|
|
157537
157559
|
}));
|
|
157538
157560
|
}
|
|
157539
|
-
function _eventLog(
|
|
157561
|
+
function _eventLog(_x4) {
|
|
157540
157562
|
return _eventLog2.apply(this, arguments);
|
|
157541
157563
|
}
|
|
157542
157564
|
function _eventLog2() {
|
|
@@ -157600,7 +157622,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157600
157622
|
maxWidth: (_options$maxWidth = options == null ? void 0 : options.maxWidth) != null ? _options$maxWidth : DEFAULT_MAX_WIDTH
|
|
157601
157623
|
}));
|
|
157602
157624
|
});
|
|
157603
|
-
function handler(
|
|
157625
|
+
function handler(_x5) {
|
|
157604
157626
|
return _handler.apply(this, arguments);
|
|
157605
157627
|
}
|
|
157606
157628
|
return handler;
|
|
@@ -157623,7 +157645,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157623
157645
|
done: contacts.done
|
|
157624
157646
|
};
|
|
157625
157647
|
});
|
|
157626
|
-
function handler(
|
|
157648
|
+
function handler(_x6) {
|
|
157627
157649
|
return _handler2.apply(this, arguments);
|
|
157628
157650
|
}
|
|
157629
157651
|
return handler;
|
|
@@ -157651,7 +157673,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157651
157673
|
var _handler3 = _asyncToGenerator(function* (options) {
|
|
157652
157674
|
return _AppsInTossModule.getCurrentLocation(options);
|
|
157653
157675
|
});
|
|
157654
|
-
function handler(
|
|
157676
|
+
function handler(_x7) {
|
|
157655
157677
|
return _handler3.apply(this, arguments);
|
|
157656
157678
|
}
|
|
157657
157679
|
return handler;
|
|
@@ -157699,7 +157721,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157699
157721
|
android: "5.240.0",
|
|
157700
157722
|
ios: "5.239.0"
|
|
157701
157723
|
};
|
|
157702
|
-
function _getTossShareLink(
|
|
157724
|
+
function _getTossShareLink(_x8, _x9) {
|
|
157703
157725
|
return _getTossShareLink2.apply(this, arguments);
|
|
157704
157726
|
}
|
|
157705
157727
|
function _getTossShareLink2() {
|
|
@@ -157719,7 +157741,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157719
157741
|
});
|
|
157720
157742
|
return _getTossShareLink2.apply(this, arguments);
|
|
157721
157743
|
}
|
|
157722
|
-
function getTossShareLinkV1(
|
|
157744
|
+
function getTossShareLinkV1(_x10) {
|
|
157723
157745
|
return _getTossShareLinkV.apply(this, arguments);
|
|
157724
157746
|
}
|
|
157725
157747
|
function _getTossShareLinkV() {
|
|
@@ -157824,7 +157846,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157824
157846
|
isProductGranted: isProductGranted
|
|
157825
157847
|
});
|
|
157826
157848
|
});
|
|
157827
|
-
function onPurchased(
|
|
157849
|
+
function onPurchased(_x11) {
|
|
157828
157850
|
return _onPurchased.apply(this, arguments);
|
|
157829
157851
|
}
|
|
157830
157852
|
return onPurchased;
|
|
@@ -157873,7 +157895,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157873
157895
|
});
|
|
157874
157896
|
return _getPendingOrders.apply(this, arguments);
|
|
157875
157897
|
}
|
|
157876
|
-
function getCompletedOrRefundedOrders(
|
|
157898
|
+
function getCompletedOrRefundedOrders(_x12) {
|
|
157877
157899
|
return _getCompletedOrRefundedOrders.apply(this, arguments);
|
|
157878
157900
|
}
|
|
157879
157901
|
function _getCompletedOrRefundedOrders() {
|
|
@@ -157891,7 +157913,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157891
157913
|
});
|
|
157892
157914
|
return _getCompletedOrRefundedOrders.apply(this, arguments);
|
|
157893
157915
|
}
|
|
157894
|
-
function completeProductGrant(
|
|
157916
|
+
function completeProductGrant(_x13) {
|
|
157895
157917
|
return _completeProductGrant.apply(this, arguments);
|
|
157896
157918
|
}
|
|
157897
157919
|
function _completeProductGrant() {
|
|
@@ -157914,7 +157936,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157914
157936
|
getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
|
|
157915
157937
|
completeProductGrant: completeProductGrant
|
|
157916
157938
|
};
|
|
157917
|
-
function _saveBase64Data(
|
|
157939
|
+
function _saveBase64Data(_x14) {
|
|
157918
157940
|
return _saveBase64Data2.apply(this, arguments);
|
|
157919
157941
|
}
|
|
157920
157942
|
function _saveBase64Data2() {
|
|
@@ -157931,7 +157953,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157931
157953
|
});
|
|
157932
157954
|
return _saveBase64Data2.apply(this, arguments);
|
|
157933
157955
|
}
|
|
157934
|
-
function _setDeviceOrientation(
|
|
157956
|
+
function _setDeviceOrientation(_x15) {
|
|
157935
157957
|
return _setDeviceOrientation2.apply(this, arguments);
|
|
157936
157958
|
}
|
|
157937
157959
|
function _setDeviceOrientation2() {
|
|
@@ -158022,7 +158044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158022
158044
|
});
|
|
158023
158045
|
return _getGameCenterGameProfile2.apply(this, arguments);
|
|
158024
158046
|
}
|
|
158025
|
-
function _submitGameCenterLeaderBoardScore(
|
|
158047
|
+
function _submitGameCenterLeaderBoardScore(_x16) {
|
|
158026
158048
|
return _submitGameCenterLeaderBoardScore2.apply(this, arguments);
|
|
158027
158049
|
}
|
|
158028
158050
|
function _submitGameCenterLeaderBoardScore2() {
|
|
@@ -158062,7 +158084,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158062
158084
|
function isGrantPromotionRewardForGameError(error) {
|
|
158063
158085
|
return typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
|
|
158064
158086
|
}
|
|
158065
|
-
function _grantPromotionRewardForGame(
|
|
158087
|
+
function _grantPromotionRewardForGame(_x17) {
|
|
158066
158088
|
return _grantPromotionRewardForGame2.apply(this, arguments);
|
|
158067
158089
|
}
|
|
158068
158090
|
function _grantPromotionRewardForGame2() {
|
|
@@ -158144,7 +158166,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158144
158166
|
ios: "5.236.0"
|
|
158145
158167
|
}
|
|
158146
158168
|
};
|
|
158147
|
-
function _appsInTossSignTossCert(
|
|
158169
|
+
function _appsInTossSignTossCert(_x18) {
|
|
158148
158170
|
return _appsInTossSignTossCert2.apply(this, arguments);
|
|
158149
158171
|
}
|
|
158150
158172
|
function _appsInTossSignTossCert2() {
|
|
@@ -158166,7 +158188,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158166
158188
|
};
|
|
158167
158189
|
var _GoogleAdMob = {
|
|
158168
158190
|
loadAppsInTossAdMob: loadAppsInTossAdMob,
|
|
158169
|
-
showAppsInTossAdMob: showAppsInTossAdMob
|
|
158191
|
+
showAppsInTossAdMob: showAppsInTossAdMob,
|
|
158192
|
+
isAppsInTossAdMobLoaded: isAppsInTossAdMobLoaded
|
|
158170
158193
|
};
|
|
158171
158194
|
function _startUpdateLocation(eventParams) {
|
|
158172
158195
|
return _appsInTossEvent.addEventListener("updateLocationEvent", eventParams);
|
|
@@ -158206,7 +158229,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158206
158229
|
function _generateHapticFeedback(options) {
|
|
158207
158230
|
return _BedrockModule.generateHapticFeedback(options);
|
|
158208
158231
|
}
|
|
158209
|
-
function _share(
|
|
158232
|
+
function _share(_x19) {
|
|
158210
158233
|
return _share2.apply(this, arguments);
|
|
158211
158234
|
}
|
|
158212
158235
|
function _share2() {
|
|
@@ -158218,7 +158241,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158218
158241
|
function _setSecureScreen(options) {
|
|
158219
158242
|
return _BedrockModule.setSecureScreen(options);
|
|
158220
158243
|
}
|
|
158221
|
-
function _setScreenAwakeMode(
|
|
158244
|
+
function _setScreenAwakeMode(_x20) {
|
|
158222
158245
|
return _setScreenAwakeMode2.apply(this, arguments);
|
|
158223
158246
|
}
|
|
158224
158247
|
function _setScreenAwakeMode2() {
|
|
@@ -158230,7 +158253,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158230
158253
|
function _getNetworkStatus() {
|
|
158231
158254
|
return _BedrockModule.getNetworkStatus();
|
|
158232
158255
|
}
|
|
158233
|
-
function _setIosSwipeGestureEnabled(
|
|
158256
|
+
function _setIosSwipeGestureEnabled(_x21) {
|
|
158234
158257
|
return _setIosSwipeGestureEnabled2.apply(this, arguments);
|
|
158235
158258
|
}
|
|
158236
158259
|
function _setIosSwipeGestureEnabled2() {
|
|
@@ -233960,20 +233983,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233960
233983
|
};
|
|
233961
233984
|
var GoogleAdMob = exports.GoogleAdMob = {
|
|
233962
233985
|
loadAppsInTossAdMob: _googleAdMobV.loadAppsInTossAdMob,
|
|
233963
|
-
showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob
|
|
233986
|
+
showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
|
|
233987
|
+
isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
|
|
233964
233988
|
};
|
|
233965
233989
|
},2621,[2622,2595,2579,2589,2590,2586,2585,2584,2587,2582,2588,2611,2609,2610,2593,2624,2591,2596,2594,2625,2600,2598,2601,2602,2604,2603,2626,2597],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/index.ts");
|
|
233966
233990
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233991
|
+
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233967
233992
|
Object.defineProperty(exports, "__esModule", {
|
|
233968
233993
|
value: true
|
|
233969
233994
|
});
|
|
233995
|
+
exports.isAppsInTossAdMobLoaded = isAppsInTossAdMobLoaded;
|
|
233970
233996
|
exports.loadAppsInTossAdMob = loadAppsInTossAdMob;
|
|
233971
233997
|
exports.showAppsInTossAdMob = showAppsInTossAdMob;
|
|
233972
|
-
var
|
|
233973
|
-
var
|
|
233974
|
-
var
|
|
233975
|
-
var
|
|
233976
|
-
var
|
|
233998
|
+
var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
|
|
233999
|
+
var _esToolkit = _$$_REQUIRE(_dependencyMap[2], "es-toolkit");
|
|
234000
|
+
var _getReferrer = _$$_REQUIRE(_dependencyMap[3], "../../../utils/getReferrer");
|
|
234001
|
+
var _appBridge = _$$_REQUIRE(_dependencyMap[4], "../../native-event-emitter/internal/appBridge");
|
|
234002
|
+
var _getOperationalEnvironment = _$$_REQUIRE(_dependencyMap[5], "../getOperationalEnvironment");
|
|
234003
|
+
var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[6], "../isMinVersionSupported");
|
|
233977
234004
|
function loadAppsInTossAdMob(params) {
|
|
233978
234005
|
if (!loadAppsInTossAdMob.isSupported()) {
|
|
233979
234006
|
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
|
|
@@ -234065,7 +234092,34 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234065
234092
|
}
|
|
234066
234093
|
loadAppsInTossAdMob.isSupported = createIsSupported();
|
|
234067
234094
|
showAppsInTossAdMob.isSupported = createIsSupported();
|
|
234068
|
-
|
|
234095
|
+
function isAppsInTossAdMobLoaded(_x) {
|
|
234096
|
+
return _isAppsInTossAdMobLoaded.apply(this, arguments);
|
|
234097
|
+
}
|
|
234098
|
+
function _isAppsInTossAdMobLoaded() {
|
|
234099
|
+
_isAppsInTossAdMobLoaded = (0, _asyncToGenerator2.default)(function* (params) {
|
|
234100
|
+
if (!isAppsInTossAdMobLoadedSupported()) {
|
|
234101
|
+
return false;
|
|
234102
|
+
}
|
|
234103
|
+
return new Promise(function (resolve, reject) {
|
|
234104
|
+
var unregister = _appBridge.INTERNAL__appBridgeHandler.invokeAppBridgeMethod('getCachedStatusAppsInTossAdmob', Object.assign({}, params), {
|
|
234105
|
+
onSuccess: function onSuccess(cached) {
|
|
234106
|
+
resolve(cached);
|
|
234107
|
+
unregister();
|
|
234108
|
+
},
|
|
234109
|
+
onError: reject
|
|
234110
|
+
});
|
|
234111
|
+
});
|
|
234112
|
+
});
|
|
234113
|
+
return _isAppsInTossAdMobLoaded.apply(this, arguments);
|
|
234114
|
+
}
|
|
234115
|
+
function isAppsInTossAdMobLoadedSupported() {
|
|
234116
|
+
return ENVIRONMENT !== 'toss' ? false : (0, _isMinVersionSupported.isMinVersionSupported)({
|
|
234117
|
+
android: '5.244.0',
|
|
234118
|
+
ios: '5.244.0'
|
|
234119
|
+
});
|
|
234120
|
+
}
|
|
234121
|
+
isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
|
|
234122
|
+
},2622,[1,16,1261,2623,2618,2609,2591],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
|
|
234069
234123
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234070
234124
|
Object.defineProperty(exports, "__esModule", {
|
|
234071
234125
|
value: true
|
|
@@ -11164,6 +11164,40 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11164
11164
|
});
|
|
11165
11165
|
};
|
|
11166
11166
|
}
|
|
11167
|
+
function isAppsInTossAdMobLoaded(params) {
|
|
11168
|
+
return _isAppsInTossAdMobLoaded.apply(this, arguments);
|
|
11169
|
+
}
|
|
11170
|
+
function _isAppsInTossAdMobLoaded() {
|
|
11171
|
+
_isAppsInTossAdMobLoaded = _async_to_generator(function(params) {
|
|
11172
|
+
return __generator(this, function(_state) {
|
|
11173
|
+
if (!isAppsInTossAdMobLoadedSupported()) {
|
|
11174
|
+
return [
|
|
11175
|
+
2,
|
|
11176
|
+
false
|
|
11177
|
+
];
|
|
11178
|
+
}
|
|
11179
|
+
return [
|
|
11180
|
+
2,
|
|
11181
|
+
new Promise(function(resolve, reject) {
|
|
11182
|
+
var unregister = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getCachedStatusAppsInTossAdmob", _object_spread({}, params), {
|
|
11183
|
+
onSuccess: function(cached) {
|
|
11184
|
+
resolve(cached);
|
|
11185
|
+
unregister();
|
|
11186
|
+
},
|
|
11187
|
+
onError: reject
|
|
11188
|
+
});
|
|
11189
|
+
})
|
|
11190
|
+
];
|
|
11191
|
+
});
|
|
11192
|
+
});
|
|
11193
|
+
return _isAppsInTossAdMobLoaded.apply(this, arguments);
|
|
11194
|
+
}
|
|
11195
|
+
function isAppsInTossAdMobLoadedSupported() {
|
|
11196
|
+
return ENVIRONMENT !== "toss" ? false : isMinVersionSupported({
|
|
11197
|
+
android: "5.244.0",
|
|
11198
|
+
ios: "5.244.0"
|
|
11199
|
+
});
|
|
11200
|
+
}
|
|
11167
11201
|
function normalizeParams(params) {
|
|
11168
11202
|
return Object.fromEntries(Object.entries(params).filter(function(param) {
|
|
11169
11203
|
var _param = _sliced_to_array(param, 2), value = _param[1];
|
|
@@ -11856,6 +11890,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11856
11890
|
ENVIRONMENT = getOperationalEnvironment();
|
|
11857
11891
|
loadAppsInTossAdMob.isSupported = createIsSupported();
|
|
11858
11892
|
showAppsInTossAdMob.isSupported = createIsSupported();
|
|
11893
|
+
isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
|
|
11859
11894
|
DEFAULT_MAX_COUNT = 10;
|
|
11860
11895
|
DEFAULT_MAX_WIDTH = 1024;
|
|
11861
11896
|
fetchAlbumPhotos = createPermissionFunction({
|
|
@@ -11990,7 +12025,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11990
12025
|
};
|
|
11991
12026
|
GoogleAdMob = {
|
|
11992
12027
|
loadAppsInTossAdMob,
|
|
11993
|
-
showAppsInTossAdMob
|
|
12028
|
+
showAppsInTossAdMob,
|
|
12029
|
+
isAppsInTossAdMobLoaded
|
|
11994
12030
|
};
|
|
11995
12031
|
startUpdateLocation.openPermissionDialog = getCurrentLocation.openPermissionDialog;
|
|
11996
12032
|
startUpdateLocation.getPermission = getCurrentLocation.getPermission;
|
|
@@ -44613,12 +44649,48 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44613
44649
|
});
|
|
44614
44650
|
};
|
|
44615
44651
|
}
|
|
44652
|
+
function isAppsInTossAdMobLoaded2(params) {
|
|
44653
|
+
return _isAppsInTossAdMobLoaded2.apply(this, arguments);
|
|
44654
|
+
}
|
|
44655
|
+
function _isAppsInTossAdMobLoaded2() {
|
|
44656
|
+
_isAppsInTossAdMobLoaded2 = _async_to_generator(function(params) {
|
|
44657
|
+
return __generator(this, function(_state) {
|
|
44658
|
+
if (!isAppsInTossAdMobLoadedSupported2()) {
|
|
44659
|
+
return [
|
|
44660
|
+
2,
|
|
44661
|
+
false
|
|
44662
|
+
];
|
|
44663
|
+
}
|
|
44664
|
+
return [
|
|
44665
|
+
2,
|
|
44666
|
+
new Promise(function(resolve, reject) {
|
|
44667
|
+
var unregister = INTERNAL__appBridgeHandler2.invokeAppBridgeMethod("getCachedStatusAppsInTossAdmob", _object_spread({}, params), {
|
|
44668
|
+
onSuccess: function(cached) {
|
|
44669
|
+
resolve(cached);
|
|
44670
|
+
unregister();
|
|
44671
|
+
},
|
|
44672
|
+
onError: reject
|
|
44673
|
+
});
|
|
44674
|
+
})
|
|
44675
|
+
];
|
|
44676
|
+
});
|
|
44677
|
+
});
|
|
44678
|
+
return _isAppsInTossAdMobLoaded2.apply(this, arguments);
|
|
44679
|
+
}
|
|
44680
|
+
function isAppsInTossAdMobLoadedSupported2() {
|
|
44681
|
+
return ENVIRONMENT2 !== "toss" ? false : isMinVersionSupported2({
|
|
44682
|
+
android: "5.244.0",
|
|
44683
|
+
ios: "5.244.0"
|
|
44684
|
+
});
|
|
44685
|
+
}
|
|
44616
44686
|
var ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION2, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION2, UNSUPPORTED_ERROR_MESSAGE2, ENVIRONMENT2;
|
|
44617
44687
|
var init_googleAdMobV2 = __esm({
|
|
44618
44688
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts"() {
|
|
44619
44689
|
"use strict";
|
|
44690
|
+
init_async_to_generator();
|
|
44620
44691
|
init_object_spread();
|
|
44621
44692
|
init_object_spread_props();
|
|
44693
|
+
init_ts_generator();
|
|
44622
44694
|
init_dist5();
|
|
44623
44695
|
init_getReferrer();
|
|
44624
44696
|
init_appBridge();
|
|
@@ -44630,6 +44702,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44630
44702
|
ENVIRONMENT2 = getOperationalEnvironment2();
|
|
44631
44703
|
loadAppsInTossAdMob2.isSupported = createIsSupported2();
|
|
44632
44704
|
showAppsInTossAdMob2.isSupported = createIsSupported2();
|
|
44705
|
+
isAppsInTossAdMobLoaded2.isSupported = isAppsInTossAdMobLoadedSupported2;
|
|
44633
44706
|
}
|
|
44634
44707
|
});
|
|
44635
44708
|
|
|
@@ -46495,7 +46568,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46495
46568
|
canGoForward
|
|
46496
46569
|
};
|
|
46497
46570
|
}
|
|
46498
|
-
function useWebBackHandler(webViewRef) {
|
|
46571
|
+
function useWebBackHandler(webViewInitialURL, webViewRef) {
|
|
46499
46572
|
var captureExitLog = useCaptureExitLog().captureExitLog;
|
|
46500
46573
|
var _useWebViewHistory = useWebViewHistory(), hasHistory = _useWebViewHistory.hasHistory, onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
|
|
46501
46574
|
var _useBackEventState = useBackEventState(), webBackHandlersRef = _useBackEventState.handlersRef, hasWebBackEvent = _useBackEventState.hasBackEvent, addWebBackEventListener = _useBackEventState.addEventListener, removeWebBackEventListener = _useBackEventState.removeEventListener;
|
|
@@ -46546,7 +46619,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46546
46619
|
3,
|
|
46547
46620
|
1
|
|
46548
46621
|
];
|
|
46549
|
-
(_webViewRef_current = webViewRef.current) === null || _webViewRef_current === void 0 ? void 0 : _webViewRef_current.injectJavaScript(
|
|
46622
|
+
(_webViewRef_current = webViewRef.current) === null || _webViewRef_current === void 0 ? void 0 : _webViewRef_current.injectJavaScript("window.history.back();");
|
|
46550
46623
|
return [
|
|
46551
46624
|
3,
|
|
46552
46625
|
3
|
|
@@ -46612,11 +46685,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46612
46685
|
}
|
|
46613
46686
|
return;
|
|
46614
46687
|
}
|
|
46615
|
-
(_webViewRef_current = webViewRef.current) === null || _webViewRef_current === void 0 ? void 0 : _webViewRef_current.injectJavaScript(
|
|
46688
|
+
(_webViewRef_current = webViewRef.current) === null || _webViewRef_current === void 0 ? void 0 : _webViewRef_current.injectJavaScript("\n (function() {\n const webBundleOrigin = '".concat(webViewInitialURL.origin, "';\n window.location.href = window.location.origin === webBundleOrigin ? '/' : webBundleOrigin;\n })();\n "));
|
|
46616
46689
|
}, [
|
|
46617
46690
|
hasWebBackEvent,
|
|
46618
46691
|
webBackHandlersRef,
|
|
46619
46692
|
logging,
|
|
46693
|
+
webViewInitialURL,
|
|
46620
46694
|
webViewRef
|
|
46621
46695
|
]);
|
|
46622
46696
|
return (0, import_react233.useMemo)(function() {
|
|
@@ -46882,10 +46956,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46882
46956
|
}
|
|
46883
46957
|
return baseUrl;
|
|
46884
46958
|
}
|
|
46885
|
-
function
|
|
46959
|
+
function getWebViewURL(local) {
|
|
46886
46960
|
if (false) {
|
|
46887
46961
|
var devUrl = "http://".concat(local.host, ":").concat(local.port);
|
|
46888
|
-
return mergeSchemeQueryParamsInto(devUrl)
|
|
46962
|
+
return mergeSchemeQueryParamsInto(devUrl);
|
|
46889
46963
|
}
|
|
46890
46964
|
var _AppsInTossModule_getWebBundleURL = AppsInTossModule.getWebBundleURL({}), rawUrl = _AppsInTossModule_getWebBundleURL.url;
|
|
46891
46965
|
var url = mergeSchemeQueryParamsInto(rawUrl);
|
|
@@ -46893,7 +46967,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46893
46967
|
if (deploymentId2) {
|
|
46894
46968
|
url.searchParams.set("_deploymentId", deploymentId2);
|
|
46895
46969
|
}
|
|
46896
|
-
return url
|
|
46970
|
+
return url;
|
|
46897
46971
|
}
|
|
46898
46972
|
function WebView(_param) {
|
|
46899
46973
|
var type = _param.type, local = _param.local, onMessage = _param.onMessage, props = _object_without_properties(_param, [
|
|
@@ -46905,12 +46979,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46905
46979
|
throw new Error("Invalid WebView type: '".concat(type, "'"));
|
|
46906
46980
|
}
|
|
46907
46981
|
var webViewRef = (0, import_react226.useRef)(null);
|
|
46908
|
-
var
|
|
46909
|
-
|
|
46910
|
-
return getWebViewUri(local);
|
|
46982
|
+
var url = (0, import_react226.useMemo)(function() {
|
|
46983
|
+
return getWebViewURL(local);
|
|
46911
46984
|
}, [
|
|
46912
46985
|
local
|
|
46913
46986
|
]);
|
|
46987
|
+
var webBackHandler = useWebBackHandler(url, webViewRef);
|
|
46914
46988
|
var top = useSafeAreaTop();
|
|
46915
46989
|
var bottom = useSafeAreaBottom();
|
|
46916
46990
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
@@ -46992,6 +47066,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46992
47066
|
/** AdMobV2 */
|
|
46993
47067
|
loadAppsInTossAdMob_isSupported: GoogleAdMob.loadAppsInTossAdMob.isSupported,
|
|
46994
47068
|
showAppsInTossAdMob_isSupported: GoogleAdMob.showAppsInTossAdMob.isSupported,
|
|
47069
|
+
isAppsInTossAdMobLoaded_isSupported: GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
|
|
46995
47070
|
/** IntegratedAd */
|
|
46996
47071
|
loadFullScreenAd_isSupported: loadFullScreenAdForWeb.isSupported,
|
|
46997
47072
|
showFullScreenAd_isSupported: showFullScreenAd.isSupported,
|
|
@@ -47048,6 +47123,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47048
47123
|
getPendingOrders: IAP.getPendingOrders,
|
|
47049
47124
|
getCompletedOrRefundedOrders: IAP.getCompletedOrRefundedOrders,
|
|
47050
47125
|
completeProductGrant: IAP.completeProductGrant,
|
|
47126
|
+
/** AdMobV2 */
|
|
47127
|
+
isAppsInTossAdMobLoaded: GoogleAdMob.isAppsInTossAdMobLoaded,
|
|
47051
47128
|
/** Toss Ads */
|
|
47052
47129
|
tossAdEventLog,
|
|
47053
47130
|
/** Private */
|
|
@@ -47097,7 +47174,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47097
47174
|
ref: refs
|
|
47098
47175
|
}, props, headerPropForExternalWebView), {
|
|
47099
47176
|
source: {
|
|
47100
|
-
uri,
|
|
47177
|
+
uri: url.href,
|
|
47101
47178
|
// NOTE: https://github.com/react-native-webview/react-native-webview/pull/3133
|
|
47102
47179
|
headers: {
|
|
47103
47180
|
"User-Agent": userAgent
|
|
@@ -47124,15 +47201,15 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47124
47201
|
allowsBackForwardNavigationGestures,
|
|
47125
47202
|
onShouldStartLoadWithRequest: function(event) {
|
|
47126
47203
|
try {
|
|
47127
|
-
var
|
|
47204
|
+
var url2 = new URL(event.url);
|
|
47128
47205
|
if ([
|
|
47129
47206
|
"https:",
|
|
47130
47207
|
"http:"
|
|
47131
|
-
].includes(
|
|
47208
|
+
].includes(url2.protocol) || url2.href === "about:blank") {
|
|
47132
47209
|
return true;
|
|
47133
47210
|
} else {
|
|
47134
47211
|
var _convertIntentURL;
|
|
47135
|
-
import_react_native221.Linking.openURL((_convertIntentURL = convertIntentURL(
|
|
47212
|
+
import_react_native221.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) !== null && _convertIntentURL !== void 0 ? _convertIntentURL : url2.href);
|
|
47136
47213
|
return false;
|
|
47137
47214
|
}
|
|
47138
47215
|
} catch (error) {
|
|
@@ -47170,7 +47247,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47170
47247
|
return typeof script === "string";
|
|
47171
47248
|
}).join("\n");
|
|
47172
47249
|
}
|
|
47173
|
-
var import_react_native197, import_react209, import_react210, import_react211, import_react212, import_jsx_runtime218, import_react213, import_jsx_runtime219, import_react214, import_react_native203, import_react215, import_react_native205, import_react216, import_react_native207, import_react217, import_react218, import_react219, import_react220, import_jsx_runtime220, import_jsx_runtime221, import_react221, import_react_native210, import_react222, import_react223, import_react224, import_react_native215, import_react_native216, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_jsx_runtime225, import_react225, import_jsx_runtime226, import_jsx_runtime227, import_react_native219, import_jsx_runtime228, import_jsx_runtime229, import_jsx_runtime230, import_react226, import_react_native221, import_react227, import_react_native222, import_react228, import_react_native224, import_jsx_runtime231, import_jsx_runtime232, import_react229, import_react230, import_jsx_runtime233, import_jsx_runtime234, import_react231, import_react232, import_react233, import_react234, import_react_native230, import_react235, import_react236, import_jsx_runtime235, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, EventEmitter, INITIAL_STATE,
|
|
47250
|
+
var import_react_native197, import_react209, import_react210, import_react211, import_react212, import_jsx_runtime218, import_react213, import_jsx_runtime219, import_react214, import_react_native203, import_react215, import_react_native205, import_react216, import_react_native207, import_react217, import_react218, import_react219, import_react220, import_jsx_runtime220, import_jsx_runtime221, import_react221, import_react_native210, import_react222, import_react223, import_react224, import_react_native215, import_react_native216, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_jsx_runtime225, import_react225, import_jsx_runtime226, import_jsx_runtime227, import_react_native219, import_jsx_runtime228, import_jsx_runtime229, import_jsx_runtime230, import_react226, import_react_native221, import_react227, import_react_native222, import_react228, import_react_native224, import_jsx_runtime231, import_jsx_runtime232, import_react229, import_react230, import_jsx_runtime233, import_jsx_runtime234, import_react231, import_react232, import_react233, import_react234, import_react_native230, import_react235, import_react236, import_jsx_runtime235, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, EventEmitter, INITIAL_STATE, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, Analytics2;
|
|
47174
47251
|
var init_dist8 = __esm({
|
|
47175
47252
|
"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
|
|
47176
47253
|
"use strict";
|
|
@@ -47946,8 +48023,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47946
48023
|
ALPHA_EVENT_TRACKER_HTTP_ENDPOINT = "https://alpha-trillion.toss.im/trk/sdk-mediation/event";
|
|
47947
48024
|
LIVE_EVENT_TRACKER_HTTP_ENDPOINT = "https://trillion.toss.im/trk/sdk-mediation/event";
|
|
47948
48025
|
INTEGRATED_AD_SDK_VERSION = "0.0.0";
|
|
47949
|
-
ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.
|
|
47950
|
-
IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.
|
|
48026
|
+
ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.244.1";
|
|
48027
|
+
IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.244.1";
|
|
47951
48028
|
UNSUPPORTED_ERROR_MESSAGE22 = "This feature is not supported in the current environment";
|
|
47952
48029
|
INTG_AD_ADM_FALLBACK_RID_MAP = {};
|
|
47953
48030
|
loadFullScreenAd = generateLoadFullScreenAd("107");
|
|
@@ -48002,8 +48079,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
48002
48079
|
stack: [],
|
|
48003
48080
|
index: -1
|
|
48004
48081
|
};
|
|
48005
|
-
HISTORY_BACK_SCRIPT = "\n(function() {\n window.history.back();\n true;\n})();\n";
|
|
48006
|
-
HISTORY_HOME_SCRIPT = "\n (function() {\n window.location.href = '/';\n true;\n })();\n";
|
|
48007
48082
|
FontA11yCategory = {
|
|
48008
48083
|
Large: "Large",
|
|
48009
48084
|
xLarge: "xLarge",
|