@apps-in-toss/web-framework 2.9.0 → 2.9.2
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/dist/prebuilt/dev.android.rn84.js +511 -360
- package/dist/prebuilt/dev.ios.rn84.js +511 -360
- package/dist/prebuilt/prod.android.rn72.js +585 -251
- package/dist/prebuilt/prod.android.rn84.js +577 -243
- package/dist/prebuilt/prod.ios.rn72.js +585 -251
- package/dist/prebuilt/prod.ios.rn84.js +577 -243
- package/package.json +8 -8
|
@@ -8552,13 +8552,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
8552
8552
|
|
|
8553
8553
|
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_wrap_native_super.js
|
|
8554
8554
|
function _wrap_native_super(Class) {
|
|
8555
|
-
var
|
|
8555
|
+
var _cache3 = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
8556
8556
|
_wrap_native_super = function _wrap_native_super2(Class2) {
|
|
8557
8557
|
if (Class2 === null || !_is_native_function(Class2)) return Class2;
|
|
8558
8558
|
if (typeof Class2 !== "function") throw new TypeError("Super expression must either be null or a function");
|
|
8559
|
-
if (typeof
|
|
8560
|
-
if (
|
|
8561
|
-
|
|
8559
|
+
if (typeof _cache3 !== "undefined") {
|
|
8560
|
+
if (_cache3.has(Class2)) return _cache3.get(Class2);
|
|
8561
|
+
_cache3.set(Class2, Wrapper);
|
|
8562
8562
|
}
|
|
8563
8563
|
function Wrapper() {
|
|
8564
8564
|
return _construct(Class2, arguments, _get_prototype_of(this).constructor);
|
|
@@ -10742,6 +10742,56 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
10742
10742
|
});
|
|
10743
10743
|
})();
|
|
10744
10744
|
}
|
|
10745
|
+
function getAnonymousKey() {
|
|
10746
|
+
return _async_to_generator(function() {
|
|
10747
|
+
var isSupported, response, unused;
|
|
10748
|
+
return __generator(this, function(_state) {
|
|
10749
|
+
switch (_state.label) {
|
|
10750
|
+
case 0:
|
|
10751
|
+
isSupported = isMinVersionSupported(USER_KEY_MIN_VERSION);
|
|
10752
|
+
if (!isSupported) {
|
|
10753
|
+
return [
|
|
10754
|
+
2
|
|
10755
|
+
];
|
|
10756
|
+
}
|
|
10757
|
+
_state.label = 1;
|
|
10758
|
+
case 1:
|
|
10759
|
+
_state.trys.push([
|
|
10760
|
+
1,
|
|
10761
|
+
3,
|
|
10762
|
+
,
|
|
10763
|
+
4
|
|
10764
|
+
]);
|
|
10765
|
+
return [
|
|
10766
|
+
4,
|
|
10767
|
+
safePostMessage("getUserKeyForGame", {})
|
|
10768
|
+
];
|
|
10769
|
+
case 2:
|
|
10770
|
+
response = _state.sent();
|
|
10771
|
+
if (response.type === "HASH") {
|
|
10772
|
+
return [
|
|
10773
|
+
2,
|
|
10774
|
+
response
|
|
10775
|
+
];
|
|
10776
|
+
}
|
|
10777
|
+
return [
|
|
10778
|
+
2,
|
|
10779
|
+
"ERROR"
|
|
10780
|
+
];
|
|
10781
|
+
case 3:
|
|
10782
|
+
unused = _state.sent();
|
|
10783
|
+
return [
|
|
10784
|
+
2,
|
|
10785
|
+
"ERROR"
|
|
10786
|
+
];
|
|
10787
|
+
case 4:
|
|
10788
|
+
return [
|
|
10789
|
+
2
|
|
10790
|
+
];
|
|
10791
|
+
}
|
|
10792
|
+
});
|
|
10793
|
+
})();
|
|
10794
|
+
}
|
|
10745
10795
|
function normalizeParams(params) {
|
|
10746
10796
|
return Object.fromEntries(Object.entries(params).filter(function(param) {
|
|
10747
10797
|
var _param = _sliced_to_array(param, 2), value = _param[1];
|
|
@@ -10756,35 +10806,94 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
10756
10806
|
}
|
|
10757
10807
|
function eventLog(params) {
|
|
10758
10808
|
return _async_to_generator(function() {
|
|
10759
|
-
var isSupported;
|
|
10809
|
+
var logParams, _tmp, isSupported;
|
|
10760
10810
|
return __generator(this, function(_state) {
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10811
|
+
switch (_state.label) {
|
|
10812
|
+
case 0:
|
|
10813
|
+
_tmp = {};
|
|
10814
|
+
return [
|
|
10815
|
+
4,
|
|
10816
|
+
cache("eventLog.defaultParams.anonymous_key", function() {
|
|
10817
|
+
return _async_to_generator(function() {
|
|
10818
|
+
var result;
|
|
10819
|
+
return __generator(this, function(_state2) {
|
|
10820
|
+
switch (_state2.label) {
|
|
10821
|
+
case 0:
|
|
10822
|
+
return [
|
|
10823
|
+
4,
|
|
10824
|
+
getAnonymousKey()
|
|
10825
|
+
];
|
|
10826
|
+
case 1:
|
|
10827
|
+
result = _state2.sent();
|
|
10828
|
+
return [
|
|
10829
|
+
2,
|
|
10830
|
+
(typeof result === "undefined" ? "undefined" : _type_of(result)) === "object" ? result.hash : "NONE"
|
|
10831
|
+
];
|
|
10832
|
+
}
|
|
10833
|
+
});
|
|
10834
|
+
})();
|
|
10835
|
+
})
|
|
10836
|
+
];
|
|
10837
|
+
case 1:
|
|
10838
|
+
logParams = _object_spread.apply(void 0, [
|
|
10839
|
+
(_tmp.anonymous_key = _state.sent(), _tmp),
|
|
10840
|
+
params.params
|
|
10841
|
+
]);
|
|
10842
|
+
if (MiniAppModule.getConstants().operationalEnvironment === "sandbox") {
|
|
10843
|
+
console.log("[eventLogDebug]", {
|
|
10844
|
+
log_name: params.log_name,
|
|
10845
|
+
log_type: params.log_type,
|
|
10846
|
+
params: normalizeParams(logParams)
|
|
10847
|
+
});
|
|
10848
|
+
return [
|
|
10849
|
+
2
|
|
10850
|
+
];
|
|
10851
|
+
}
|
|
10852
|
+
isSupported = isMinVersionSupported({
|
|
10853
|
+
android: "5.208.0",
|
|
10854
|
+
ios: "5.208.0"
|
|
10855
|
+
});
|
|
10856
|
+
if (!isSupported) {
|
|
10857
|
+
return [
|
|
10858
|
+
2
|
|
10859
|
+
];
|
|
10860
|
+
}
|
|
10861
|
+
return [
|
|
10862
|
+
2,
|
|
10863
|
+
safePostMessage("eventLog", {
|
|
10864
|
+
log_name: params.log_name,
|
|
10865
|
+
log_type: params.log_type,
|
|
10866
|
+
params: normalizeParams(logParams)
|
|
10867
|
+
})
|
|
10868
|
+
];
|
|
10770
10869
|
}
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10870
|
+
});
|
|
10871
|
+
})();
|
|
10872
|
+
}
|
|
10873
|
+
function cache(key, fetcher) {
|
|
10874
|
+
return _async_to_generator(function() {
|
|
10875
|
+
var value;
|
|
10876
|
+
return __generator(this, function(_state) {
|
|
10877
|
+
switch (_state.label) {
|
|
10878
|
+
case 0:
|
|
10879
|
+
if (_cache[key]) {
|
|
10880
|
+
return [
|
|
10881
|
+
2,
|
|
10882
|
+
_cache[key]
|
|
10883
|
+
];
|
|
10884
|
+
}
|
|
10885
|
+
return [
|
|
10886
|
+
4,
|
|
10887
|
+
fetcher()
|
|
10888
|
+
];
|
|
10889
|
+
case 1:
|
|
10890
|
+
value = _state.sent();
|
|
10891
|
+
_cache[key] = value;
|
|
10892
|
+
return [
|
|
10893
|
+
2,
|
|
10894
|
+
value
|
|
10895
|
+
];
|
|
10779
10896
|
}
|
|
10780
|
-
return [
|
|
10781
|
-
2,
|
|
10782
|
-
safePostMessage("eventLog", {
|
|
10783
|
-
log_name: params.log_name,
|
|
10784
|
-
log_type: params.log_type,
|
|
10785
|
-
params: normalizeParams(params.params)
|
|
10786
|
-
})
|
|
10787
|
-
];
|
|
10788
10897
|
});
|
|
10789
10898
|
})();
|
|
10790
10899
|
}
|
|
@@ -11274,7 +11383,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11274
11383
|
params: params.params
|
|
11275
11384
|
});
|
|
11276
11385
|
}
|
|
11277
|
-
var import_brick_module2, import_brick_module3, import_brick_module4, import_react_native36, import_react_native37, import_react_native38, import_react_native39, MiniAppModule, TossCoreModule, CommonModule, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, MIN_VERSION, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, fetchAlbumPhotos, fetchContacts, getClipboardText, getCurrentLocation, setClipboardText, openCamera, IAP, Storage,
|
|
11386
|
+
var import_brick_module2, import_brick_module3, import_brick_module4, import_react_native36, import_react_native37, import_react_native38, import_react_native39, MiniAppModule, TossCoreModule, CommonModule, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, MIN_VERSION, GAME_CENTER_MIN_VERSION, USER_KEY_MIN_VERSION, GET_SERVER_TIME_MIN_VERSION, _cache, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, fetchAlbumPhotos, fetchContacts, getClipboardText, getCurrentLocation, setClipboardText, openCamera, IAP, Storage, MIN_VERSION2, MIN_VERSION3, GoogleAdMob, CommonModule2, INTERNAL__module;
|
|
11278
11387
|
var init_dist5 = __esm({
|
|
11279
11388
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/dist/index.js"() {
|
|
11280
11389
|
"use strict";
|
|
@@ -11580,6 +11689,19 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11580
11689
|
requestTossPayPaysBilling.isSupported = function() {
|
|
11581
11690
|
return isMinVersionSupported(MIN_VERSION);
|
|
11582
11691
|
};
|
|
11692
|
+
GAME_CENTER_MIN_VERSION = {
|
|
11693
|
+
android: "5.221.0",
|
|
11694
|
+
ios: "5.221.0"
|
|
11695
|
+
};
|
|
11696
|
+
USER_KEY_MIN_VERSION = {
|
|
11697
|
+
android: "5.232.0",
|
|
11698
|
+
ios: "5.232.0"
|
|
11699
|
+
};
|
|
11700
|
+
GET_SERVER_TIME_MIN_VERSION = {
|
|
11701
|
+
android: "5.245.0",
|
|
11702
|
+
ios: "5.245.0"
|
|
11703
|
+
};
|
|
11704
|
+
_cache = {};
|
|
11583
11705
|
DEFAULT_MAX_COUNT = 10;
|
|
11584
11706
|
DEFAULT_MAX_WIDTH = 1024;
|
|
11585
11707
|
fetchAlbumPhotos = createPermissionFunction({
|
|
@@ -11701,14 +11823,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11701
11823
|
removeItem,
|
|
11702
11824
|
clearItems
|
|
11703
11825
|
};
|
|
11704
|
-
GAME_CENTER_MIN_VERSION = {
|
|
11705
|
-
android: "5.221.0",
|
|
11706
|
-
ios: "5.221.0"
|
|
11707
|
-
};
|
|
11708
|
-
GET_SERVER_TIME_MIN_VERSION = {
|
|
11709
|
-
android: "5.245.0",
|
|
11710
|
-
ios: "5.245.0"
|
|
11711
|
-
};
|
|
11712
11826
|
getServerTime.isSupported = function() {
|
|
11713
11827
|
return isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
11714
11828
|
};
|
|
@@ -42565,6 +42679,96 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42565
42679
|
}
|
|
42566
42680
|
});
|
|
42567
42681
|
|
|
42682
|
+
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts
|
|
42683
|
+
var GAME_CENTER_MIN_VERSION2, USER_KEY_MIN_VERSION2, PROMOTION_REWARD_MIN_VERSION, GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION, GET_SERVER_TIME_MIN_VERSION2;
|
|
42684
|
+
var init_constants13 = __esm({
|
|
42685
|
+
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts"() {
|
|
42686
|
+
"use strict";
|
|
42687
|
+
GAME_CENTER_MIN_VERSION2 = {
|
|
42688
|
+
android: "5.221.0",
|
|
42689
|
+
ios: "5.221.0"
|
|
42690
|
+
};
|
|
42691
|
+
USER_KEY_MIN_VERSION2 = {
|
|
42692
|
+
android: "5.232.0",
|
|
42693
|
+
ios: "5.232.0"
|
|
42694
|
+
};
|
|
42695
|
+
PROMOTION_REWARD_MIN_VERSION = {
|
|
42696
|
+
android: "5.232.0",
|
|
42697
|
+
ios: "5.232.0"
|
|
42698
|
+
};
|
|
42699
|
+
GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = {
|
|
42700
|
+
android: "5.237.0",
|
|
42701
|
+
ios: "5.237.0"
|
|
42702
|
+
};
|
|
42703
|
+
GET_SERVER_TIME_MIN_VERSION2 = {
|
|
42704
|
+
android: "5.245.0",
|
|
42705
|
+
ios: "5.245.0"
|
|
42706
|
+
};
|
|
42707
|
+
}
|
|
42708
|
+
});
|
|
42709
|
+
|
|
42710
|
+
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts
|
|
42711
|
+
function getAnonymousKey2() {
|
|
42712
|
+
return _async_to_generator(function() {
|
|
42713
|
+
var isSupported, response, unused;
|
|
42714
|
+
return __generator(this, function(_state) {
|
|
42715
|
+
switch (_state.label) {
|
|
42716
|
+
case 0:
|
|
42717
|
+
isSupported = isMinVersionSupported2(USER_KEY_MIN_VERSION2);
|
|
42718
|
+
if (!isSupported) {
|
|
42719
|
+
return [
|
|
42720
|
+
2
|
|
42721
|
+
];
|
|
42722
|
+
}
|
|
42723
|
+
_state.label = 1;
|
|
42724
|
+
case 1:
|
|
42725
|
+
_state.trys.push([
|
|
42726
|
+
1,
|
|
42727
|
+
3,
|
|
42728
|
+
,
|
|
42729
|
+
4
|
|
42730
|
+
]);
|
|
42731
|
+
return [
|
|
42732
|
+
4,
|
|
42733
|
+
safePostMessage2("getUserKeyForGame", {})
|
|
42734
|
+
];
|
|
42735
|
+
case 2:
|
|
42736
|
+
response = _state.sent();
|
|
42737
|
+
if (response.type === "HASH") {
|
|
42738
|
+
return [
|
|
42739
|
+
2,
|
|
42740
|
+
response
|
|
42741
|
+
];
|
|
42742
|
+
}
|
|
42743
|
+
return [
|
|
42744
|
+
2,
|
|
42745
|
+
"ERROR"
|
|
42746
|
+
];
|
|
42747
|
+
case 3:
|
|
42748
|
+
unused = _state.sent();
|
|
42749
|
+
return [
|
|
42750
|
+
2,
|
|
42751
|
+
"ERROR"
|
|
42752
|
+
];
|
|
42753
|
+
case 4:
|
|
42754
|
+
return [
|
|
42755
|
+
2
|
|
42756
|
+
];
|
|
42757
|
+
}
|
|
42758
|
+
});
|
|
42759
|
+
})();
|
|
42760
|
+
}
|
|
42761
|
+
var init_getAnonymousKey = __esm({
|
|
42762
|
+
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts"() {
|
|
42763
|
+
"use strict";
|
|
42764
|
+
init_async_to_generator();
|
|
42765
|
+
init_ts_generator();
|
|
42766
|
+
init_isMinVersionSupported();
|
|
42767
|
+
init_natives2();
|
|
42768
|
+
init_constants13();
|
|
42769
|
+
}
|
|
42770
|
+
});
|
|
42771
|
+
|
|
42568
42772
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/eventLog.ts
|
|
42569
42773
|
function normalizeParams2(params) {
|
|
42570
42774
|
return Object.fromEntries(Object.entries(params).filter(function(param) {
|
|
@@ -42580,46 +42784,110 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42580
42784
|
}
|
|
42581
42785
|
function eventLog2(params) {
|
|
42582
42786
|
return _async_to_generator(function() {
|
|
42583
|
-
var isSupported;
|
|
42787
|
+
var logParams, _tmp, isSupported;
|
|
42584
42788
|
return __generator(this, function(_state) {
|
|
42585
|
-
|
|
42586
|
-
|
|
42587
|
-
|
|
42588
|
-
|
|
42589
|
-
|
|
42590
|
-
|
|
42591
|
-
|
|
42592
|
-
|
|
42593
|
-
|
|
42789
|
+
switch (_state.label) {
|
|
42790
|
+
case 0:
|
|
42791
|
+
_tmp = {};
|
|
42792
|
+
return [
|
|
42793
|
+
4,
|
|
42794
|
+
cache2("eventLog.defaultParams.anonymous_key", function() {
|
|
42795
|
+
return _async_to_generator(function() {
|
|
42796
|
+
var result;
|
|
42797
|
+
return __generator(this, function(_state2) {
|
|
42798
|
+
switch (_state2.label) {
|
|
42799
|
+
case 0:
|
|
42800
|
+
return [
|
|
42801
|
+
4,
|
|
42802
|
+
getAnonymousKey2()
|
|
42803
|
+
];
|
|
42804
|
+
case 1:
|
|
42805
|
+
result = _state2.sent();
|
|
42806
|
+
return [
|
|
42807
|
+
2,
|
|
42808
|
+
(typeof result === "undefined" ? "undefined" : _type_of(result)) === "object" ? result.hash : "NONE"
|
|
42809
|
+
];
|
|
42810
|
+
}
|
|
42811
|
+
});
|
|
42812
|
+
})();
|
|
42813
|
+
})
|
|
42814
|
+
];
|
|
42815
|
+
case 1:
|
|
42816
|
+
logParams = _object_spread.apply(void 0, [
|
|
42817
|
+
(_tmp.anonymous_key = _state.sent(), _tmp),
|
|
42818
|
+
params.params
|
|
42819
|
+
]);
|
|
42820
|
+
if (MiniAppModule2.getConstants().operationalEnvironment === "sandbox") {
|
|
42821
|
+
console.log("[eventLogDebug]", {
|
|
42822
|
+
log_name: params.log_name,
|
|
42823
|
+
log_type: params.log_type,
|
|
42824
|
+
params: normalizeParams2(logParams)
|
|
42825
|
+
});
|
|
42826
|
+
return [
|
|
42827
|
+
2
|
|
42828
|
+
];
|
|
42829
|
+
}
|
|
42830
|
+
isSupported = isMinVersionSupported2({
|
|
42831
|
+
android: "5.208.0",
|
|
42832
|
+
ios: "5.208.0"
|
|
42833
|
+
});
|
|
42834
|
+
if (!isSupported) {
|
|
42835
|
+
return [
|
|
42836
|
+
2
|
|
42837
|
+
];
|
|
42838
|
+
}
|
|
42839
|
+
return [
|
|
42840
|
+
2,
|
|
42841
|
+
safePostMessage2("eventLog", {
|
|
42842
|
+
log_name: params.log_name,
|
|
42843
|
+
log_type: params.log_type,
|
|
42844
|
+
params: normalizeParams2(logParams)
|
|
42845
|
+
})
|
|
42846
|
+
];
|
|
42594
42847
|
}
|
|
42595
|
-
|
|
42596
|
-
|
|
42597
|
-
|
|
42598
|
-
|
|
42599
|
-
|
|
42600
|
-
|
|
42601
|
-
|
|
42602
|
-
|
|
42848
|
+
});
|
|
42849
|
+
})();
|
|
42850
|
+
}
|
|
42851
|
+
function cache2(key, fetcher) {
|
|
42852
|
+
return _async_to_generator(function() {
|
|
42853
|
+
var value;
|
|
42854
|
+
return __generator(this, function(_state) {
|
|
42855
|
+
switch (_state.label) {
|
|
42856
|
+
case 0:
|
|
42857
|
+
if (_cache2[key]) {
|
|
42858
|
+
return [
|
|
42859
|
+
2,
|
|
42860
|
+
_cache2[key]
|
|
42861
|
+
];
|
|
42862
|
+
}
|
|
42863
|
+
return [
|
|
42864
|
+
4,
|
|
42865
|
+
fetcher()
|
|
42866
|
+
];
|
|
42867
|
+
case 1:
|
|
42868
|
+
value = _state.sent();
|
|
42869
|
+
_cache2[key] = value;
|
|
42870
|
+
return [
|
|
42871
|
+
2,
|
|
42872
|
+
value
|
|
42873
|
+
];
|
|
42603
42874
|
}
|
|
42604
|
-
return [
|
|
42605
|
-
2,
|
|
42606
|
-
safePostMessage2("eventLog", {
|
|
42607
|
-
log_name: params.log_name,
|
|
42608
|
-
log_type: params.log_type,
|
|
42609
|
-
params: normalizeParams2(params.params)
|
|
42610
|
-
})
|
|
42611
|
-
];
|
|
42612
42875
|
});
|
|
42613
42876
|
})();
|
|
42614
42877
|
}
|
|
42878
|
+
var _cache2;
|
|
42615
42879
|
var init_eventLog = __esm({
|
|
42616
42880
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/eventLog.ts"() {
|
|
42617
42881
|
"use strict";
|
|
42618
42882
|
init_async_to_generator();
|
|
42883
|
+
init_object_spread();
|
|
42619
42884
|
init_sliced_to_array();
|
|
42885
|
+
init_type_of();
|
|
42620
42886
|
init_ts_generator();
|
|
42887
|
+
init_getAnonymousKey();
|
|
42621
42888
|
init_isMinVersionSupported();
|
|
42622
42889
|
init_natives2();
|
|
42890
|
+
_cache2 = {};
|
|
42623
42891
|
}
|
|
42624
42892
|
});
|
|
42625
42893
|
|
|
@@ -42927,34 +43195,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42927
43195
|
}
|
|
42928
43196
|
});
|
|
42929
43197
|
|
|
42930
|
-
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts
|
|
42931
|
-
var GAME_CENTER_MIN_VERSION2, USER_KEY_MIN_VERSION, PROMOTION_REWARD_MIN_VERSION, GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION, GET_SERVER_TIME_MIN_VERSION2;
|
|
42932
|
-
var init_constants13 = __esm({
|
|
42933
|
-
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts"() {
|
|
42934
|
-
"use strict";
|
|
42935
|
-
GAME_CENTER_MIN_VERSION2 = {
|
|
42936
|
-
android: "5.221.0",
|
|
42937
|
-
ios: "5.221.0"
|
|
42938
|
-
};
|
|
42939
|
-
USER_KEY_MIN_VERSION = {
|
|
42940
|
-
android: "5.232.0",
|
|
42941
|
-
ios: "5.232.0"
|
|
42942
|
-
};
|
|
42943
|
-
PROMOTION_REWARD_MIN_VERSION = {
|
|
42944
|
-
android: "5.232.0",
|
|
42945
|
-
ios: "5.232.0"
|
|
42946
|
-
};
|
|
42947
|
-
GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = {
|
|
42948
|
-
android: "5.237.0",
|
|
42949
|
-
ios: "5.237.0"
|
|
42950
|
-
};
|
|
42951
|
-
GET_SERVER_TIME_MIN_VERSION2 = {
|
|
42952
|
-
android: "5.245.0",
|
|
42953
|
-
ios: "5.245.0"
|
|
42954
|
-
};
|
|
42955
|
-
}
|
|
42956
|
-
});
|
|
42957
|
-
|
|
42958
43198
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGameCenterGameProfile.ts
|
|
42959
43199
|
function getGameCenterGameProfile2() {
|
|
42960
43200
|
return _async_to_generator(function() {
|
|
@@ -43048,75 +43288,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43048
43288
|
}
|
|
43049
43289
|
});
|
|
43050
43290
|
|
|
43051
|
-
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts
|
|
43052
|
-
function getAnonymousKey() {
|
|
43053
|
-
return _async_to_generator(function() {
|
|
43054
|
-
var isSupported, response, unused;
|
|
43055
|
-
return __generator(this, function(_state) {
|
|
43056
|
-
switch (_state.label) {
|
|
43057
|
-
case 0:
|
|
43058
|
-
isSupported = isMinVersionSupported2(USER_KEY_MIN_VERSION);
|
|
43059
|
-
if (!isSupported) {
|
|
43060
|
-
return [
|
|
43061
|
-
2
|
|
43062
|
-
];
|
|
43063
|
-
}
|
|
43064
|
-
_state.label = 1;
|
|
43065
|
-
case 1:
|
|
43066
|
-
_state.trys.push([
|
|
43067
|
-
1,
|
|
43068
|
-
3,
|
|
43069
|
-
,
|
|
43070
|
-
4
|
|
43071
|
-
]);
|
|
43072
|
-
return [
|
|
43073
|
-
4,
|
|
43074
|
-
safePostMessage2("getUserKeyForGame", {})
|
|
43075
|
-
];
|
|
43076
|
-
case 2:
|
|
43077
|
-
response = _state.sent();
|
|
43078
|
-
if (response.type === "HASH") {
|
|
43079
|
-
return [
|
|
43080
|
-
2,
|
|
43081
|
-
response
|
|
43082
|
-
];
|
|
43083
|
-
}
|
|
43084
|
-
return [
|
|
43085
|
-
2,
|
|
43086
|
-
"ERROR"
|
|
43087
|
-
];
|
|
43088
|
-
case 3:
|
|
43089
|
-
unused = _state.sent();
|
|
43090
|
-
return [
|
|
43091
|
-
2,
|
|
43092
|
-
"ERROR"
|
|
43093
|
-
];
|
|
43094
|
-
case 4:
|
|
43095
|
-
return [
|
|
43096
|
-
2
|
|
43097
|
-
];
|
|
43098
|
-
}
|
|
43099
|
-
});
|
|
43100
|
-
})();
|
|
43101
|
-
}
|
|
43102
|
-
var init_getAnonymousKey = __esm({
|
|
43103
|
-
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts"() {
|
|
43104
|
-
"use strict";
|
|
43105
|
-
init_async_to_generator();
|
|
43106
|
-
init_ts_generator();
|
|
43107
|
-
init_isMinVersionSupported();
|
|
43108
|
-
init_natives2();
|
|
43109
|
-
init_constants13();
|
|
43110
|
-
}
|
|
43111
|
-
});
|
|
43112
|
-
|
|
43113
43291
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts
|
|
43114
43292
|
function getUserKeyForGame() {
|
|
43115
43293
|
return _async_to_generator(function() {
|
|
43116
43294
|
return __generator(this, function(_state) {
|
|
43117
43295
|
return [
|
|
43118
43296
|
2,
|
|
43119
|
-
|
|
43297
|
+
getAnonymousKey2()
|
|
43120
43298
|
];
|
|
43121
43299
|
});
|
|
43122
43300
|
})();
|
|
@@ -43408,7 +43586,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43408
43586
|
return generateHapticFeedback;
|
|
43409
43587
|
},
|
|
43410
43588
|
getAnonymousKey: function() {
|
|
43411
|
-
return
|
|
43589
|
+
return getAnonymousKey2;
|
|
43412
43590
|
},
|
|
43413
43591
|
getClipboardText: function() {
|
|
43414
43592
|
return getClipboardText2;
|
|
@@ -44302,7 +44480,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44302
44480
|
"../user-scripts/dist/index.mjs"() {
|
|
44303
44481
|
"use strict";
|
|
44304
44482
|
e62 = '"use strict";(()=>{var e=document.createElement("style");e.textContent=`\n*:not(input):not(textarea) {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n}\n`;document.head.appendChild(e);})();\n';
|
|
44305
|
-
t52 = '"use strict";(()=>{var ve=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 ve,z=()=>Math.random().toString(36).substring(2,15),$=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=z(),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($(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=z(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError($(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 he=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=he());var it=d("closeView"),dt=d("generateHapticFeedback"),ct=d("share"),ut=d("setSecureScreen"),pt=d("setScreenAwakeMode"),mt=d("getNetworkStatus"),lt=d("setIosSwipeGestureEnabled"),gt=d("openURL"),ft=d("openPermissionDialog"),vt=d("getPermission"),ht=d("requestPermission"),wt=v("setClipboardText"),Et=v("getClipboardText"),At=v("fetchContacts"),bt=v("fetchAlbumPhotos"),_t=v("getCurrentLocation"),Ct=v("openCamera"),St=d("appLogin"),It=d("eventLog"),yt=d("getTossShareLink"),Tt=d("setDeviceOrientation"),Rt=d("checkoutPayment"),Lt=d("requestTossPayPaysBilling"),Pt=d("saveBase64Data"),xt=d("openPDFViewer"),Dt=d("fetchAlbumItems"),Nt=d("appsInTossSignTossCert"),Mt=d("getGameCenterGameProfile"),Ft=d("openGameCenterLeaderboard"),Gt=d("submitGameCenterLeaderBoardScore"),Bt=d("getAnonymousKey"),kt=d("getUserKeyForGame"),Ot=d("grantPromotionReward"),Vt=d("grantPromotionRewardForGame"),Ht=d("getIsTossLoginIntegratedService"),Ut=d("getServerTime"),qt=d("getConsentedUserData"),Wt=d("requestReview"),zt=v("getLocale"),$t=v("getSchemeUri"),jt=v("getPlatformOS"),Kt=v("getOperationalEnvironment"),Jt=v("getTossAppVersion"),Xt=v("getDeviceId"),Yt=v("getGroupId"),Zt=D("contactsViral"),Qt=D("startUpdateLocation"),er=D("onVisibilityChangedByTransparentServiceWeb");var S=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},j=class extends S{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends S{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=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."})}},X=V,Y=class extends S{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Z=class extends S{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var we=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`)}},A=new we,de=()=>Math.random().toString(36).substring(2,15),ce=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=de(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(A.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(A.on(`${e}/reject/${r}`,i=>{o(),a(ce(i))})),A.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function b(e){return t=>{let r=de(),n=[A.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),A.on(`${e}/onError/${r}`,o=>{t.onError(ce(o))})];return A.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{A.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>A.getConstant(e)}var ur={getItem:c("getStorageItem"),setItem:c("setStorageItem"),removeItem:c("removeStorageItem"),clearItems:c("clearItems")},Ee=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Q=e=>["*","x","X"].includes(e),ee=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ae=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Q(e)||Q(t))return 0;let[r,n]=Ae(ee(e),ee(t));return r>n?1:r<n?-1:0},te=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(Ee);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},re=(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},_e=(e,t)=>{let r=te(e),n=te(t),o=r.pop(),s=n.pop(),a=re(r,n);return a!==0?a:o&&s?re(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:_e(r,o)>=0}function ne(e){return c("processProductGrant")(e)}var pr={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?b("requestOneTimePurchase")({options:{sku:i},onEvent:async g=>{if(g.type==="purchased"){let u=await o.processProductGrant({orderId:g.data.orderId});await ne({orderId:g.data.orderId,isProductGranted:u}).catch(a)}else s(g)},onError:g=>{a(g)}}):(c("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:l}=n;return b("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await l({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await ne({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:c("iapGetProductItemList"),getPendingOrders:c("getPendingOrders"),getCompletedOrRefundedOrders:c("getCompletedOrRefundedOrders"),completeProductGrant:c("completeProductGrant"),getSubscriptionInfo:c("getSubscriptionInfo")},mr=p("getSafeAreaInsets");var lr=p("getSafeAreaInsets");var gr={loadAppsInTossAdMob:Object.assign(b("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(b("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(c("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var fr={getDeploymentId:p("getDeploymentId")},vr=p("deploymentId"),hr=p("brandDisplayName"),wr=p("brandIcon"),Er=p("brandPrimaryColor");var Ar={addAccessoryButton:c("addAccessoryButton"),removeAccessoryButton:c("removeAccessoryButton")},Ce=c("requestPermission"),Se=c("getPermission"),Ie=c("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await Ce(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Se(e),n.openPermissionDialog=()=>Ie(e),n}var _r=I({handler:e=>c("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:j}),Sr=I({handler:e=>c("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:K}),yr=I({handler:e=>c("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),Rr=I({handler:e=>c("openCamera")(e),permission:{name:"camera",access:"access"},error:J}),Pr=I({handler:e=>c("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Z}),Dr=I({handler:()=>c("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:Y}),ye=c("getPermission"),Te=c("openPermissionDialog"),ue=e=>b("updateLocationEvent")({...e,onError:t=>{let r=new X;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ue.getPermission=()=>ye({name:"geolocation",access:"access"});ue.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Mr=Object.assign(b("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Fr=Object.assign(b("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function Re(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 Le(){P=new WeakMap}var Pe=c("openURL");function xe(e){let t=De(e);return Pe(t)}function De(e){return["http://","https://"].some(r=>e.startsWith(r))?Ne(e):e}function Ne(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var oe="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",se=15e3,N=null;function C(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Me(){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(l),N=null},a=()=>{let g=C();if(g){s(),r(g);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 ${oe}.`))},l=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${se}ms.`))},se);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=oe,document.head.appendChild(o)});return N=t,t}var _=Object.assign(b("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Fe=c("tossAdEventLog"),Ge=new Set(["1","2"]),pe="\\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 q(){return new Error(pe)}function Be(){return{resultType:"FAIL",error:{reason:pe}}}function ke(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(q());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function ae(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Ge.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function Oe(e){return Ve(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:ae(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:He(e)?{resultType:"SUCCESS",success:ae(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Ve(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function He(e){return!!(e&&typeof e=="object"&&"ads"in e)}function Ue(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Be();try{let n=await ke({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return Oe(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function qe(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=Me().then(a=>{if(a.isInitialized())return;let l={environment:"live",customAdFetcher:Ue(),opener:xe};a.init(l)});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 q();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 l=typeof t=="string"?document.querySelector(t):t;if(!l)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let g={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:le(o,r.callbacks)};i.banner.createSlot(l,g)}catch(a){s(a)}}var ze="16px 20px",$e="20px",je="auto",Ke="blackAndWhite",Je="expanded",h="toss-ads-attach",ie="toss-ads-attach-style",me="data-toss-ads-attach-banner-wrapper",U=\'"Toss Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif\';function Xe(e){let t=e.ownerDocument;if(!t||t.getElementById(ie))return;let r=t.createElement("style");r.id=ie,r.textContent=`\n .${h},\n .${h} * {\n font-family: ${U};\n font-style: normal;\n }\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 Ye(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(me)==="true"&&e.removeChild(t)})}function Ze(e,t,r={}){let{callbacks:n,theme:o=je,tone:s=Ke,variant:a=Je}=r,i=M(e),l=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},g=le(i,n);try{let u=i;if(u.length===0)throw q();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 Re(R,()=>{let m=document.createElement("div");m.style.width="100%",m.style.height="100%",m.style.boxSizing="border-box",m.style.display="flex",m.style.flexDirection="column",m.style.fontFamily=U,m.style.fontStyle="normal",m.style.justifyContent="center",m.style.overflow="hidden",m.setAttribute(me,"true"),a==="card"&&(m.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),w.style.fontFamily=U,w.style.fontStyle="normal",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"),m.appendChild(w);let x=!1,W=null;try{Xe(R),Ye(R),R.appendChild(m),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:fe=>fe==="1"?ze:$e,callbacks:g};W=f.banner.createSlot(w,O)}catch(O){throw x&&m.parentNode&&m.parentNode.removeChild(m),O}return{destroy(){W?.destroy(),x&&m.parentNode&&m.parentNode.removeChild(m),x=!1}}})}catch(u){return l(u),{destroy(){}}}}function Qe(e){let t=C();t?.banner&&t.banner.destroy(e)}function et(){let e=C();e?.banner&&(e.banner.destroyAll(),Le())}function le(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=>{Fe({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 Gr={initialize:Object.assign(qe,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ze,{isSupported:_.isSupported}),destroy:Object.assign(Qe,{isSupported:_.isSupported}),destroyAll:Object.assign(et,{isSupported:_.isSupported})},Br=Object.assign(c("getServerTime"),{isSupported:p("getServerTime_isSupported")}),kr=Object.assign(c("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=c("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 y=/\\.(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(!y.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let g=i.headers.get("ETag"),u=i.headers.get("Last-Modified");g&&s.headers.set("If-None-Match",g),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 l=await r.call(n,s);return a.put(s,l.clone()),l})})();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 ge=window.__appsInToss.debugLogger;ge.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}:{};ge.log("load_complete",{isNavigationDebugSupported:r,...n})});function T(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:T(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:T(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:T(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})=>{y.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(!y.test(n.url))return;let a=await s.clone().blob().then(l=>T(l.size/1024,2)).catch(l=>(r({request:n,requestAt:o,error:l}),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})=>{y.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function tt(){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 rt(){if(k.length===0)return;let e=k;k=[];let t=nt(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 nt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>tt(),1e3);setInterval(()=>rt(),3e5);})();\n';
|
|
44483
|
+
t52 = '"use strict";(()=>{var ve=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 ve,z=()=>Math.random().toString(36).substring(2,15),$=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=z(),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($(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=z(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError($(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 he=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=he());var it=d("closeView"),dt=d("generateHapticFeedback"),ct=d("share"),ut=d("setSecureScreen"),pt=d("setScreenAwakeMode"),mt=d("getNetworkStatus"),lt=d("setIosSwipeGestureEnabled"),gt=d("openURL"),ft=d("openPermissionDialog"),vt=d("getPermission"),ht=d("requestPermission"),wt=v("setClipboardText"),Et=v("getClipboardText"),At=v("fetchContacts"),bt=v("fetchAlbumPhotos"),_t=v("getCurrentLocation"),Ct=v("openCamera"),St=d("appLogin"),It=d("getAnonymousKey"),yt=d("eventLog"),Tt=d("getTossShareLink"),Rt=d("setDeviceOrientation"),Lt=d("checkoutPayment"),Pt=d("requestTossPayPaysBilling"),xt=d("saveBase64Data"),Dt=d("openPDFViewer"),Nt=d("fetchAlbumItems"),Mt=d("appsInTossSignTossCert"),Ft=d("getGameCenterGameProfile"),Gt=d("openGameCenterLeaderboard"),Bt=d("submitGameCenterLeaderBoardScore"),kt=d("getUserKeyForGame"),Ot=d("grantPromotionReward"),Vt=d("grantPromotionRewardForGame"),Ht=d("getIsTossLoginIntegratedService"),Ut=d("getServerTime"),qt=d("getConsentedUserData"),Wt=d("requestReview"),zt=v("getLocale"),$t=v("getSchemeUri"),jt=v("getPlatformOS"),Kt=v("getOperationalEnvironment"),Jt=v("getTossAppVersion"),Xt=v("getDeviceId"),Yt=v("getGroupId"),Zt=D("contactsViral"),Qt=D("startUpdateLocation"),er=D("onVisibilityChangedByTransparentServiceWeb");var S=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},j=class extends S{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends S{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=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."})}},X=V,Y=class extends S{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Z=class extends S{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var we=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`)}},A=new we,de=()=>Math.random().toString(36).substring(2,15),ce=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=de(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(A.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(A.on(`${e}/reject/${r}`,i=>{o(),a(ce(i))})),A.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function b(e){return t=>{let r=de(),n=[A.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),A.on(`${e}/onError/${r}`,o=>{t.onError(ce(o))})];return A.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{A.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>A.getConstant(e)}var ur={getItem:c("getStorageItem"),setItem:c("setStorageItem"),removeItem:c("removeStorageItem"),clearItems:c("clearItems")},Ee=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Q=e=>["*","x","X"].includes(e),ee=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ae=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Q(e)||Q(t))return 0;let[r,n]=Ae(ee(e),ee(t));return r>n?1:r<n?-1:0},te=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(Ee);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},re=(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},_e=(e,t)=>{let r=te(e),n=te(t),o=r.pop(),s=n.pop(),a=re(r,n);return a!==0?a:o&&s?re(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:_e(r,o)>=0}function ne(e){return c("processProductGrant")(e)}var pr={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?b("requestOneTimePurchase")({options:{sku:i},onEvent:async g=>{if(g.type==="purchased"){let u=await o.processProductGrant({orderId:g.data.orderId});await ne({orderId:g.data.orderId,isProductGranted:u}).catch(a)}else s(g)},onError:g=>{a(g)}}):(c("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:l}=n;return b("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await l({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await ne({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:c("iapGetProductItemList"),getPendingOrders:c("getPendingOrders"),getCompletedOrRefundedOrders:c("getCompletedOrRefundedOrders"),completeProductGrant:c("completeProductGrant"),getSubscriptionInfo:c("getSubscriptionInfo")},mr=p("getSafeAreaInsets");var lr=p("getSafeAreaInsets");var gr={loadAppsInTossAdMob:Object.assign(b("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(b("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(c("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var fr={getDeploymentId:p("getDeploymentId")},vr=p("deploymentId"),hr=p("brandDisplayName"),wr=p("brandIcon"),Er=p("brandPrimaryColor");var Ar={addAccessoryButton:c("addAccessoryButton"),removeAccessoryButton:c("removeAccessoryButton")},Ce=c("requestPermission"),Se=c("getPermission"),Ie=c("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await Ce(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Se(e),n.openPermissionDialog=()=>Ie(e),n}var _r=I({handler:e=>c("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:j}),Sr=I({handler:e=>c("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:K}),yr=I({handler:e=>c("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),Rr=I({handler:e=>c("openCamera")(e),permission:{name:"camera",access:"access"},error:J}),Pr=I({handler:e=>c("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Z}),Dr=I({handler:()=>c("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:Y}),ye=c("getPermission"),Te=c("openPermissionDialog"),ue=e=>b("updateLocationEvent")({...e,onError:t=>{let r=new X;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ue.getPermission=()=>ye({name:"geolocation",access:"access"});ue.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Mr=Object.assign(b("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Fr=Object.assign(b("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function Re(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 Le(){P=new WeakMap}var Pe=c("openURL");function xe(e){let t=De(e);return Pe(t)}function De(e){return["http://","https://"].some(r=>e.startsWith(r))?Ne(e):e}function Ne(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var oe="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",se=15e3,N=null;function C(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Me(){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(l),N=null},a=()=>{let g=C();if(g){s(),r(g);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 ${oe}.`))},l=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${se}ms.`))},se);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=oe,document.head.appendChild(o)});return N=t,t}var _=Object.assign(b("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Fe=c("tossAdEventLog"),Ge=new Set(["1","2"]),pe="\\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 q(){return new Error(pe)}function Be(){return{resultType:"FAIL",error:{reason:pe}}}function ke(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(q());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function ae(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Ge.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function Oe(e){return Ve(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:ae(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:He(e)?{resultType:"SUCCESS",success:ae(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Ve(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function He(e){return!!(e&&typeof e=="object"&&"ads"in e)}function Ue(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Be();try{let n=await ke({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return Oe(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function qe(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=Me().then(a=>{if(a.isInitialized())return;let l={environment:"live",customAdFetcher:Ue(),opener:xe};a.init(l)});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 q();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 l=typeof t=="string"?document.querySelector(t):t;if(!l)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let g={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:le(o,r.callbacks)};i.banner.createSlot(l,g)}catch(a){s(a)}}var ze="16px 20px",$e="20px",je="auto",Ke="blackAndWhite",Je="expanded",h="toss-ads-attach",ie="toss-ads-attach-style",me="data-toss-ads-attach-banner-wrapper",U=\'"Toss Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif\';function Xe(e){let t=e.ownerDocument;if(!t||t.getElementById(ie))return;let r=t.createElement("style");r.id=ie,r.textContent=`\n .${h},\n .${h} * {\n font-family: ${U};\n font-style: normal;\n }\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 Ye(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(me)==="true"&&e.removeChild(t)})}function Ze(e,t,r={}){let{callbacks:n,theme:o=je,tone:s=Ke,variant:a=Je}=r,i=M(e),l=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},g=le(i,n);try{let u=i;if(u.length===0)throw q();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 Re(R,()=>{let m=document.createElement("div");m.style.width="100%",m.style.height="100%",m.style.boxSizing="border-box",m.style.display="flex",m.style.flexDirection="column",m.style.fontFamily=U,m.style.fontStyle="normal",m.style.justifyContent="center",m.style.overflow="hidden",m.setAttribute(me,"true"),a==="card"&&(m.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),w.style.fontFamily=U,w.style.fontStyle="normal",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"),m.appendChild(w);let x=!1,W=null;try{Xe(R),Ye(R),R.appendChild(m),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:fe=>fe==="1"?ze:$e,callbacks:g};W=f.banner.createSlot(w,O)}catch(O){throw x&&m.parentNode&&m.parentNode.removeChild(m),O}return{destroy(){W?.destroy(),x&&m.parentNode&&m.parentNode.removeChild(m),x=!1}}})}catch(u){return l(u),{destroy(){}}}}function Qe(e){let t=C();t?.banner&&t.banner.destroy(e)}function et(){let e=C();e?.banner&&(e.banner.destroyAll(),Le())}function le(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=>{Fe({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 Gr={initialize:Object.assign(qe,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ze,{isSupported:_.isSupported}),destroy:Object.assign(Qe,{isSupported:_.isSupported}),destroyAll:Object.assign(et,{isSupported:_.isSupported})},Br=Object.assign(c("getServerTime"),{isSupported:p("getServerTime_isSupported")}),kr=Object.assign(c("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=c("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 y=/\\.(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(!y.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let g=i.headers.get("ETag"),u=i.headers.get("Last-Modified");g&&s.headers.set("If-None-Match",g),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 l=await r.call(n,s);return a.put(s,l.clone()),l})})();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 ge=window.__appsInToss.debugLogger;ge.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}:{};ge.log("load_complete",{isNavigationDebugSupported:r,...n})});function T(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:T(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:T(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:T(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})=>{y.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(!y.test(n.url))return;let a=await s.clone().blob().then(l=>T(l.size/1024,2)).catch(l=>(r({request:n,requestAt:o,error:l}),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})=>{y.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function tt(){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 rt(){if(k.length===0)return;let e=k;k=[];let t=nt(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 nt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>tt(),1e3);setInterval(()=>rt(),3e5);})();\n';
|
|
44306
44484
|
}
|
|
44307
44485
|
});
|
|
44308
44486
|
|
|
@@ -44507,6 +44685,38 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44507
44685
|
handler
|
|
44508
44686
|
]);
|
|
44509
44687
|
}
|
|
44688
|
+
function useCloseConfirm() {
|
|
44689
|
+
var brandDisplayName = getAppsInTossGlobals().brandDisplayName;
|
|
44690
|
+
var openConfirm = useDialog().openConfirm;
|
|
44691
|
+
return (0, import_react188.useCallback)(function(param) {
|
|
44692
|
+
var onEntered = param.onEntered;
|
|
44693
|
+
return _async_to_generator(function() {
|
|
44694
|
+
return __generator(this, function(_state) {
|
|
44695
|
+
switch (_state.label) {
|
|
44696
|
+
case 0:
|
|
44697
|
+
return [
|
|
44698
|
+
4,
|
|
44699
|
+
openConfirm({
|
|
44700
|
+
title: "".concat(josa(brandDisplayName, "\uC744/\uB97C"), " \uC885\uB8CC\uD560\uAE4C\uC694?"),
|
|
44701
|
+
leftButton: "\uB2EB\uAE30",
|
|
44702
|
+
rightButton: "\uC885\uB8CC\uD558\uAE30",
|
|
44703
|
+
closeOnDimmerClick: true,
|
|
44704
|
+
onEntered
|
|
44705
|
+
})
|
|
44706
|
+
];
|
|
44707
|
+
case 1:
|
|
44708
|
+
return [
|
|
44709
|
+
2,
|
|
44710
|
+
_state.sent()
|
|
44711
|
+
];
|
|
44712
|
+
}
|
|
44713
|
+
});
|
|
44714
|
+
})();
|
|
44715
|
+
}, [
|
|
44716
|
+
brandDisplayName,
|
|
44717
|
+
openConfirm
|
|
44718
|
+
]);
|
|
44719
|
+
}
|
|
44510
44720
|
function createEvent(event) {
|
|
44511
44721
|
return {
|
|
44512
44722
|
name: event,
|
|
@@ -44560,8 +44770,30 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44560
44770
|
})
|
|
44561
44771
|
});
|
|
44562
44772
|
};
|
|
44773
|
+
var logClosePopupShow = function() {
|
|
44774
|
+
sendLog({
|
|
44775
|
+
log_name: CLOSE_POPUP_SHOW_LOG_NAME,
|
|
44776
|
+
log_type: "popup",
|
|
44777
|
+
params: _object_spread_props(_object_spread({}, baseParams), {
|
|
44778
|
+
schema_id: CLOSE_POPUP_SHOW_SCHEMA_ID
|
|
44779
|
+
})
|
|
44780
|
+
});
|
|
44781
|
+
};
|
|
44782
|
+
var logClosePopupCtaClick = function(confirm) {
|
|
44783
|
+
sendLog({
|
|
44784
|
+
log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
|
|
44785
|
+
log_type: "event",
|
|
44786
|
+
params: _object_spread_props(_object_spread({}, baseParams), {
|
|
44787
|
+
close_yn: confirm ? "Y" : "N",
|
|
44788
|
+
schema_id: CLOSE_POPUP_CTA_CLICK_SCHEMA_ID,
|
|
44789
|
+
event_type: "click"
|
|
44790
|
+
})
|
|
44791
|
+
});
|
|
44792
|
+
};
|
|
44563
44793
|
return {
|
|
44564
44794
|
navBarImpression: logNavBarImpression,
|
|
44795
|
+
closePopupShow: logClosePopupShow,
|
|
44796
|
+
closePopupCtaClick: logClosePopupCtaClick,
|
|
44565
44797
|
closeButtonClick: logCloseButtonClick,
|
|
44566
44798
|
homeButtonClick: logHomeButtonClick
|
|
44567
44799
|
};
|
|
@@ -44570,7 +44802,40 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44570
44802
|
var backEventContext = useBackEventContext();
|
|
44571
44803
|
var logging = useNavigationBarLogging();
|
|
44572
44804
|
var navigation = useNavigation();
|
|
44805
|
+
var closeConfirm = useCloseConfirm();
|
|
44806
|
+
var global2 = getAppsInTossGlobals();
|
|
44573
44807
|
return (0, import_react187.useMemo)(function() {
|
|
44808
|
+
var close = function() {
|
|
44809
|
+
return _async_to_generator(function() {
|
|
44810
|
+
var hasConfirmed;
|
|
44811
|
+
return __generator(this, function(_state) {
|
|
44812
|
+
switch (_state.label) {
|
|
44813
|
+
case 0:
|
|
44814
|
+
if (global2.appType !== "game") {
|
|
44815
|
+
closeView();
|
|
44816
|
+
return [
|
|
44817
|
+
2
|
|
44818
|
+
];
|
|
44819
|
+
}
|
|
44820
|
+
return [
|
|
44821
|
+
4,
|
|
44822
|
+
closeConfirm({
|
|
44823
|
+
onEntered: logging.closePopupShow
|
|
44824
|
+
})
|
|
44825
|
+
];
|
|
44826
|
+
case 1:
|
|
44827
|
+
hasConfirmed = _state.sent();
|
|
44828
|
+
logging.closePopupCtaClick(hasConfirmed);
|
|
44829
|
+
if (hasConfirmed) {
|
|
44830
|
+
closeView();
|
|
44831
|
+
}
|
|
44832
|
+
return [
|
|
44833
|
+
2
|
|
44834
|
+
];
|
|
44835
|
+
}
|
|
44836
|
+
});
|
|
44837
|
+
})();
|
|
44838
|
+
};
|
|
44574
44839
|
return {
|
|
44575
44840
|
handleBack: function() {
|
|
44576
44841
|
if (backEventContext.hasBackEvent) {
|
|
@@ -44578,7 +44843,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44578
44843
|
} else if (navigation.canGoBack()) {
|
|
44579
44844
|
navigation.goBack();
|
|
44580
44845
|
} else {
|
|
44581
|
-
|
|
44846
|
+
close();
|
|
44582
44847
|
}
|
|
44583
44848
|
},
|
|
44584
44849
|
handleHomeButtonClick: function() {
|
|
@@ -44593,12 +44858,14 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44593
44858
|
},
|
|
44594
44859
|
handleCloseButtonClick: function() {
|
|
44595
44860
|
logging.closeButtonClick();
|
|
44596
|
-
|
|
44861
|
+
close();
|
|
44597
44862
|
}
|
|
44598
44863
|
};
|
|
44599
44864
|
}, [
|
|
44865
|
+
global2.appType,
|
|
44600
44866
|
backEventContext,
|
|
44601
44867
|
navigation,
|
|
44868
|
+
closeConfirm,
|
|
44602
44869
|
logging
|
|
44603
44870
|
]);
|
|
44604
44871
|
}
|
|
@@ -44825,7 +45092,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44825
45092
|
function useMoreButtonBottomSheet() {
|
|
44826
45093
|
var globals = getAppsInTossGlobals();
|
|
44827
45094
|
var adaptive = useAdaptive();
|
|
44828
|
-
var _useState4 = _sliced_to_array((0,
|
|
45095
|
+
var _useState4 = _sliced_to_array((0, import_react189.useState)([]), 2), itemList = _useState4[0], setItemList = _useState4[1];
|
|
44829
45096
|
var appUpdateDialog = useAppUpdateDialog();
|
|
44830
45097
|
var logging = useMoreButtonBottomSheetLogging();
|
|
44831
45098
|
var overlay = useOverlay();
|
|
@@ -44834,7 +45101,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44834
45101
|
var isBottomSheetSupported = isMinVersionSupported(MIN_VERSION6.BOTTOM_SHEET);
|
|
44835
45102
|
var isShareListMenuSupported = isMinVersionSupported(MIN_VERSION6.SHARE_LIST_MENU);
|
|
44836
45103
|
var isSettingsMenuSupported = isMinVersionSupported(MIN_VERSION6.SETTINGS_MENU);
|
|
44837
|
-
(0,
|
|
45104
|
+
(0, import_react189.useEffect)(function() {
|
|
44838
45105
|
if (!isBottomSheetSupported) {
|
|
44839
45106
|
return;
|
|
44840
45107
|
}
|
|
@@ -44935,7 +45202,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44935
45202
|
function BottomSheetImpressionArea(param) {
|
|
44936
45203
|
var children = param.children;
|
|
44937
45204
|
var logging = useMoreButtonBottomSheetLogging();
|
|
44938
|
-
(0,
|
|
45205
|
+
(0, import_react189.useEffect)(function() {
|
|
44939
45206
|
logging.show();
|
|
44940
45207
|
}, [
|
|
44941
45208
|
logging
|
|
@@ -44948,7 +45215,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44948
45215
|
var left = param.left, center = param.center, right = param.right;
|
|
44949
45216
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
44950
45217
|
var navigation = useNavigation();
|
|
44951
|
-
(0,
|
|
45218
|
+
(0, import_react190.useEffect)(function() {
|
|
44952
45219
|
var _ref, _ref1;
|
|
44953
45220
|
var navigationBar = getAppsInTossGlobals().navigationBar;
|
|
44954
45221
|
var parsedNavigationBar = navigationBar ? safeParseNavigationBar(navigationBar) : null;
|
|
@@ -45195,9 +45462,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45195
45462
|
}
|
|
45196
45463
|
function NavigationBarImpressionArea(param) {
|
|
45197
45464
|
var children = param.children, withHomeButton = param.withHomeButton;
|
|
45198
|
-
var hasLogged = (0,
|
|
45465
|
+
var hasLogged = (0, import_react191.useRef)(false);
|
|
45199
45466
|
var logging = useNavigationBarLogging();
|
|
45200
|
-
(0,
|
|
45467
|
+
(0, import_react191.useEffect)(function() {
|
|
45201
45468
|
if (hasLogged.current === false) {
|
|
45202
45469
|
logging.navBarImpression({
|
|
45203
45470
|
home_icon_yn: withHomeButton ? "Y" : "N"
|
|
@@ -45417,22 +45684,43 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45417
45684
|
function GameWebviewNavigationBar() {
|
|
45418
45685
|
var _ref;
|
|
45419
45686
|
var openConfirm = useDialog().openConfirm;
|
|
45687
|
+
var global2 = getAppsInTossGlobals();
|
|
45420
45688
|
var logging = useNavigationBarLogging();
|
|
45421
45689
|
var _useMoreButtonBottomSheet = useMoreButtonBottomSheet(), openMoreButtonBottomSheet = _useMoreButtonBottomSheet.open;
|
|
45422
45690
|
var navigationRightButton = useNavigationBarContext().navigationRightButton;
|
|
45423
45691
|
var navigationBar = getAppsInTossGlobals().navigationBar;
|
|
45424
45692
|
var parsedNavigationBar = navigationBar ? safeParseNavigationBar(navigationBar) : null;
|
|
45425
|
-
var handleGameWebviewClose = (0,
|
|
45693
|
+
var handleGameWebviewClose = (0, import_react194.useCallback)(function() {
|
|
45426
45694
|
return _async_to_generator(function() {
|
|
45695
|
+
var isConfirmed;
|
|
45427
45696
|
return __generator(this, function(_state) {
|
|
45428
|
-
|
|
45429
|
-
|
|
45430
|
-
|
|
45431
|
-
|
|
45432
|
-
|
|
45697
|
+
switch (_state.label) {
|
|
45698
|
+
case 0:
|
|
45699
|
+
logging.closeButtonClick();
|
|
45700
|
+
return [
|
|
45701
|
+
4,
|
|
45702
|
+
openConfirm({
|
|
45703
|
+
title: "".concat(josa(global2.brandDisplayName, "\uC744/\uB97C"), " \uC885\uB8CC\uD560\uAE4C\uC694?"),
|
|
45704
|
+
leftButton: "\uB2EB\uAE30",
|
|
45705
|
+
rightButton: "\uC885\uB8CC\uD558\uAE30",
|
|
45706
|
+
closeOnDimmerClick: true,
|
|
45707
|
+
onEntered: logging.closePopupShow
|
|
45708
|
+
})
|
|
45709
|
+
];
|
|
45710
|
+
case 1:
|
|
45711
|
+
isConfirmed = _state.sent();
|
|
45712
|
+
logging.closePopupCtaClick(isConfirmed);
|
|
45713
|
+
if (isConfirmed) {
|
|
45714
|
+
closeView();
|
|
45715
|
+
}
|
|
45716
|
+
return [
|
|
45717
|
+
2
|
|
45718
|
+
];
|
|
45719
|
+
}
|
|
45433
45720
|
});
|
|
45434
45721
|
})();
|
|
45435
45722
|
}, [
|
|
45723
|
+
global2.brandDisplayName,
|
|
45436
45724
|
logging,
|
|
45437
45725
|
openConfirm
|
|
45438
45726
|
]);
|
|
@@ -45456,7 +45744,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45456
45744
|
var withBackButton = (_ref1 = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.withBackButton) !== null && _ref1 !== void 0 ? _ref1 : true;
|
|
45457
45745
|
var theme = (_ref2 = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.theme) !== null && _ref2 !== void 0 ? _ref2 : "light";
|
|
45458
45746
|
var navigationRightButton = useNavigationBarContext().navigationRightButton;
|
|
45459
|
-
var handleClose = (0,
|
|
45747
|
+
var handleClose = (0, import_react196.useCallback)(function() {
|
|
45460
45748
|
return _async_to_generator(function() {
|
|
45461
45749
|
return __generator(this, function(_state) {
|
|
45462
45750
|
logging.closeButtonClick();
|
|
@@ -45932,8 +46220,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45932
46220
|
}
|
|
45933
46221
|
function useBridgeHandler(param) {
|
|
45934
46222
|
var onMessage = param.onMessage, constantHandlerMap = param.constantHandlerMap, asyncHandlerMap = param.asyncHandlerMap, eventListenerMap = param.eventListenerMap;
|
|
45935
|
-
var ref = (0,
|
|
45936
|
-
var injectedJavaScript = (0,
|
|
46223
|
+
var ref = (0, import_react197.useRef)(null);
|
|
46224
|
+
var injectedJavaScript = (0, import_react197.useMemo)(function() {
|
|
45937
46225
|
return "window.__CONSTANT_HANDLER_MAP = ".concat(JSON.stringify(Object.entries(constantHandlerMap).reduce(function(acc, param2) {
|
|
45938
46226
|
var _param = _sliced_to_array(param2, 2), key = _param[0], value = _param[1];
|
|
45939
46227
|
acc[key] = typeof value === "function" ? value() : value;
|
|
@@ -45942,7 +46230,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45942
46230
|
}, [
|
|
45943
46231
|
constantHandlerMap
|
|
45944
46232
|
]);
|
|
45945
|
-
(0,
|
|
46233
|
+
(0, import_react197.useEffect)(function() {
|
|
45946
46234
|
var _ref_current;
|
|
45947
46235
|
(_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.injectJavaScript(injectedJavaScript);
|
|
45948
46236
|
}, [
|
|
@@ -45961,7 +46249,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45961
46249
|
(_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.injectJavaScript("\n window.__GRANITE_NATIVE_EMITTER.emit('".concat(functionName, "/onError/").concat(eventId, "', ").concat(serializedError, ");\n "));
|
|
45962
46250
|
};
|
|
45963
46251
|
};
|
|
45964
|
-
var $onMessage = (0,
|
|
46252
|
+
var $onMessage = (0, import_react197.useCallback)(function(e63) {
|
|
45965
46253
|
return _async_to_generator(function() {
|
|
45966
46254
|
var data, _eventListenerMap_data_functionName, handleOnEvent, handleOnError, remove, key, remove1, _ref_current;
|
|
45967
46255
|
return __generator(this, function(_state) {
|
|
@@ -46034,12 +46322,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46034
46322
|
}
|
|
46035
46323
|
function useSafeAreaInsetsEvent() {
|
|
46036
46324
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
46037
|
-
(0,
|
|
46325
|
+
(0, import_react198.useEffect)(function() {
|
|
46038
46326
|
safeAreaInsetsChange.emit(insets);
|
|
46039
46327
|
}, [
|
|
46040
46328
|
insets
|
|
46041
46329
|
]);
|
|
46042
|
-
(0,
|
|
46330
|
+
(0, import_react198.useEffect)(function() {
|
|
46043
46331
|
return function() {
|
|
46044
46332
|
return safeAreaInsetsChange.clearSubscriptions();
|
|
46045
46333
|
};
|
|
@@ -46089,8 +46377,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46089
46377
|
}
|
|
46090
46378
|
}
|
|
46091
46379
|
function useWebViewHistory() {
|
|
46092
|
-
var _useReducer = _sliced_to_array((0,
|
|
46093
|
-
var onNavigationStateChange = (0,
|
|
46380
|
+
var _useReducer = _sliced_to_array((0, import_react200.useReducer)(reducer, INITIAL_STATE), 2), state = _useReducer[0], dispatch = _useReducer[1];
|
|
46381
|
+
var onNavigationStateChange = (0, import_react200.useCallback)(function(param) {
|
|
46094
46382
|
var url = param.url, canGoForward2 = param.canGoForward;
|
|
46095
46383
|
dispatch({
|
|
46096
46384
|
type: "NAVIGATION_CHANGE",
|
|
@@ -46098,7 +46386,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46098
46386
|
canGoForward: canGoForward2
|
|
46099
46387
|
});
|
|
46100
46388
|
}, []);
|
|
46101
|
-
var _useMemo4 = (0,
|
|
46389
|
+
var _useMemo4 = (0, import_react200.useMemo)(function() {
|
|
46102
46390
|
var canBack = state.index > 0;
|
|
46103
46391
|
var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
|
|
46104
46392
|
return {
|
|
@@ -46119,64 +46407,100 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46119
46407
|
var _useWebViewHistory = useWebViewHistory(), hasHistory = _useWebViewHistory.hasHistory, onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
|
|
46120
46408
|
var _useBackEventState = useBackEventState(), webBackHandlersRef = _useBackEventState.handlersRef, hasWebBackEvent = _useBackEventState.hasBackEvent, addWebBackEventListener = _useBackEventState.addEventListener, removeWebBackEventListener = _useBackEventState.removeEventListener;
|
|
46121
46409
|
var logging = useNavigationBarLogging();
|
|
46122
|
-
var
|
|
46410
|
+
var openConfirm = useDialog().openConfirm;
|
|
46411
|
+
var global2 = getAppsInTossGlobals();
|
|
46412
|
+
var addEventListener = (0, import_react199.useCallback)(function(handler) {
|
|
46123
46413
|
addWebBackEventListener(handler);
|
|
46124
46414
|
}, [
|
|
46125
46415
|
addWebBackEventListener
|
|
46126
46416
|
]);
|
|
46127
|
-
var removeEventListener = (0,
|
|
46417
|
+
var removeEventListener = (0, import_react199.useCallback)(function(handler) {
|
|
46128
46418
|
removeWebBackEventListener(handler);
|
|
46129
46419
|
}, [
|
|
46130
46420
|
removeWebBackEventListener
|
|
46131
46421
|
]);
|
|
46132
|
-
var handleWebBack = (0,
|
|
46422
|
+
var handleWebBack = (0, import_react199.useCallback)(function() {
|
|
46133
46423
|
return _async_to_generator(function() {
|
|
46134
|
-
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, handler, _webViewRef_current;
|
|
46424
|
+
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, handler, _webViewRef_current, isConfirmed;
|
|
46135
46425
|
return __generator(this, function(_state) {
|
|
46136
|
-
|
|
46137
|
-
|
|
46138
|
-
|
|
46139
|
-
|
|
46140
|
-
|
|
46141
|
-
|
|
46142
|
-
|
|
46143
|
-
|
|
46144
|
-
|
|
46145
|
-
|
|
46146
|
-
|
|
46147
|
-
|
|
46148
|
-
|
|
46149
|
-
|
|
46150
|
-
|
|
46151
|
-
|
|
46152
|
-
|
|
46153
|
-
|
|
46426
|
+
switch (_state.label) {
|
|
46427
|
+
case 0:
|
|
46428
|
+
if (hasWebBackEvent) {
|
|
46429
|
+
_iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
46430
|
+
try {
|
|
46431
|
+
for (_iterator = webBackHandlersRef[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
46432
|
+
handler = _step.value;
|
|
46433
|
+
handler();
|
|
46434
|
+
}
|
|
46435
|
+
} catch (err) {
|
|
46436
|
+
_didIteratorError = true;
|
|
46437
|
+
_iteratorError = err;
|
|
46438
|
+
} finally {
|
|
46439
|
+
try {
|
|
46440
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
46441
|
+
_iterator.return();
|
|
46442
|
+
}
|
|
46443
|
+
} finally {
|
|
46444
|
+
if (_didIteratorError) {
|
|
46445
|
+
throw _iteratorError;
|
|
46446
|
+
}
|
|
46447
|
+
}
|
|
46154
46448
|
}
|
|
46449
|
+
return [
|
|
46450
|
+
2
|
|
46451
|
+
];
|
|
46155
46452
|
}
|
|
46156
|
-
|
|
46157
|
-
|
|
46158
|
-
|
|
46159
|
-
|
|
46160
|
-
|
|
46161
|
-
|
|
46162
|
-
|
|
46163
|
-
|
|
46164
|
-
|
|
46165
|
-
|
|
46453
|
+
if (!hasHistory) return [
|
|
46454
|
+
3,
|
|
46455
|
+
1
|
|
46456
|
+
];
|
|
46457
|
+
(_webViewRef_current = webViewRef.current) === null || _webViewRef_current === void 0 ? void 0 : _webViewRef_current.injectJavaScript("window.history.back();");
|
|
46458
|
+
return [
|
|
46459
|
+
3,
|
|
46460
|
+
3
|
|
46461
|
+
];
|
|
46462
|
+
case 1:
|
|
46463
|
+
if (global2.webViewType !== "game") {
|
|
46464
|
+
closeView();
|
|
46465
|
+
return [
|
|
46466
|
+
2
|
|
46467
|
+
];
|
|
46468
|
+
}
|
|
46469
|
+
return [
|
|
46470
|
+
4,
|
|
46471
|
+
openConfirm({
|
|
46472
|
+
title: "".concat(josa(global2.brandDisplayName, "\uC744/\uB97C"), " \uC885\uB8CC\uD560\uAE4C\uC694?"),
|
|
46473
|
+
leftButton: "\uB2EB\uAE30",
|
|
46474
|
+
rightButton: "\uC885\uB8CC\uD558\uAE30",
|
|
46475
|
+
closeOnDimmerClick: true,
|
|
46476
|
+
onEntered: logging.closePopupShow
|
|
46477
|
+
})
|
|
46478
|
+
];
|
|
46479
|
+
case 2:
|
|
46480
|
+
isConfirmed = _state.sent();
|
|
46481
|
+
logging.closePopupCtaClick(isConfirmed);
|
|
46482
|
+
if (isConfirmed) {
|
|
46483
|
+
closeView();
|
|
46484
|
+
}
|
|
46485
|
+
_state.label = 3;
|
|
46486
|
+
case 3:
|
|
46487
|
+
return [
|
|
46488
|
+
2
|
|
46489
|
+
];
|
|
46166
46490
|
}
|
|
46167
|
-
return [
|
|
46168
|
-
2
|
|
46169
|
-
];
|
|
46170
46491
|
});
|
|
46171
46492
|
})();
|
|
46172
46493
|
}, [
|
|
46494
|
+
global2.webViewType,
|
|
46495
|
+
global2.brandDisplayName,
|
|
46173
46496
|
hasHistory,
|
|
46174
46497
|
hasWebBackEvent,
|
|
46175
46498
|
webBackHandlersRef,
|
|
46176
46499
|
logging,
|
|
46500
|
+
openConfirm,
|
|
46177
46501
|
webViewRef
|
|
46178
46502
|
]);
|
|
46179
|
-
var handleWebHome = (0,
|
|
46503
|
+
var handleWebHome = (0, import_react199.useCallback)(function() {
|
|
46180
46504
|
var _webViewRef_current;
|
|
46181
46505
|
logging.homeButtonClick();
|
|
46182
46506
|
if (homeEvent.hasSubscriptions()) {
|
|
@@ -46191,7 +46515,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46191
46515
|
webViewInitialURL,
|
|
46192
46516
|
webViewRef
|
|
46193
46517
|
]);
|
|
46194
|
-
return (0,
|
|
46518
|
+
return (0, import_react199.useMemo)(function() {
|
|
46195
46519
|
return {
|
|
46196
46520
|
addEventListener,
|
|
46197
46521
|
removeEventListener,
|
|
@@ -46496,8 +46820,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46496
46820
|
if (!TYPES.includes(type)) {
|
|
46497
46821
|
throw new Error("Invalid WebView type: '".concat(type, "'"));
|
|
46498
46822
|
}
|
|
46499
|
-
var webViewRef = (0,
|
|
46500
|
-
var url = (0,
|
|
46823
|
+
var webViewRef = (0, import_react192.useRef)(null);
|
|
46824
|
+
var url = (0, import_react192.useMemo)(function() {
|
|
46501
46825
|
return getWebViewURL(local);
|
|
46502
46826
|
}, [
|
|
46503
46827
|
local
|
|
@@ -46507,7 +46831,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46507
46831
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
46508
46832
|
var navigationBarContext = useNavigationBarContext();
|
|
46509
46833
|
var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
|
|
46510
|
-
var _useState6 = _sliced_to_array((0,
|
|
46834
|
+
var _useState6 = _sliced_to_array((0, import_react192.useState)(props.allowsBackForwardNavigationGestures), 2), allowsBackForwardNavigationGestures = _useState6[0], setAllowsBackForwardNavigationGestures = _useState6[1];
|
|
46511
46835
|
var handler = useBridgeHandler({
|
|
46512
46836
|
onMessage,
|
|
46513
46837
|
eventListenerMap: _object_spread_props(_object_spread({}, event_bridges_exports), {
|
|
@@ -46645,7 +46969,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46645
46969
|
}
|
|
46646
46970
|
})
|
|
46647
46971
|
});
|
|
46648
|
-
var headerPropForExternalWebView = (0,
|
|
46972
|
+
var headerPropForExternalWebView = (0, import_react192.useMemo)(function() {
|
|
46649
46973
|
var _ref;
|
|
46650
46974
|
var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
|
|
46651
46975
|
var initialAccessoryButton = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.initialAccessoryButton;
|
|
@@ -46670,7 +46994,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46670
46994
|
colorPreference: "light"
|
|
46671
46995
|
});
|
|
46672
46996
|
var refs = mergeRefs3(handler.ref, webViewRef);
|
|
46673
|
-
(0,
|
|
46997
|
+
(0, import_react192.useEffect)(function() {
|
|
46674
46998
|
var callback = function() {
|
|
46675
46999
|
webBackHandler.handleWebBack();
|
|
46676
47000
|
return true;
|
|
@@ -46746,7 +47070,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46746
47070
|
onRenderProcessGone: handleWebViewProcessDidTerminate
|
|
46747
47071
|
}));
|
|
46748
47072
|
}
|
|
46749
|
-
var import_react_native182, import_react175, import_react176, import_jsx_runtime212, import_react177, import_jsx_runtime213, import_react178, import_react_native186, import_react179, import_react_native188, import_react180, import_react181, import_react_native191, import_react182, import_react183, import_react184, import_react185, import_jsx_runtime214, import_jsx_runtime215, import_react186, import_react_native194, import_react187, import_react188, import_react_native199, import_jsx_runtime216, import_jsx_runtime217, import_jsx_runtime218, import_jsx_runtime219, import_jsx_runtime220,
|
|
47073
|
+
var import_react_native182, import_react175, import_react176, import_jsx_runtime212, import_react177, import_jsx_runtime213, import_react178, import_react_native186, import_react179, import_react_native188, import_react180, import_react181, import_react_native191, import_react182, import_react183, import_react184, import_react185, import_jsx_runtime214, import_jsx_runtime215, import_react186, import_react_native194, import_react187, import_react188, import_react189, import_react_native199, import_jsx_runtime216, import_jsx_runtime217, import_jsx_runtime218, import_jsx_runtime219, import_jsx_runtime220, import_react190, import_react_native203, import_jsx_runtime221, import_react_native204, import_jsx_runtime222, import_react_native205, import_jsx_runtime223, import_react_native207, import_jsx_runtime224, import_react_native208, import_jsx_runtime225, import_react191, import_jsx_runtime226, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_jsx_runtime230, import_react192, import_react_native210, import_react193, import_react_native211, import_react194, import_jsx_runtime231, import_jsx_runtime232, import_react195, import_react196, import_jsx_runtime233, import_jsx_runtime234, import_react197, import_react198, import_react199, import_react200, import_react_native218, import_react201, import_react202, import_jsx_runtime235, import_react203, import_react_native221, import_react204, import_react_native222, import_jsx_runtime236, import_react205, import_react_native223, import_jsx_runtime237, import_jsx_runtime238, __GlobalEventDeduplicator, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, DEFAULT_PIPELINES, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, EventEmitter, eventEmitter, homeEvent, safeAreaInsetsChange, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION6, BACK_BUTTON_XML2, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, INVALID_AD_GROUP_ID_ERROR_MESSAGE, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, INITIAL_STATE, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId2, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, ERROR_CODES, _obj6, ERROR_MESSAGES, API_RESULT_ERROR_MAP, AD_STATUS_ERROR_MAP, GlobalEventDeduplicator, globalEventDeduplicator, styles3, styles22, styles32, Analytics2;
|
|
46750
47074
|
var init_dist8 = __esm({
|
|
46751
47075
|
"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
|
|
46752
47076
|
"use strict";
|
|
@@ -46812,12 +47136,15 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46812
47136
|
import_react_native194 = __toESM(require_react_native(), 1);
|
|
46813
47137
|
init_src3();
|
|
46814
47138
|
import_react187 = __toESM(require_react(), 1);
|
|
47139
|
+
init_esm7();
|
|
47140
|
+
init_dist6();
|
|
47141
|
+
import_react188 = __toESM(require_react(), 1);
|
|
46815
47142
|
init_src3();
|
|
46816
47143
|
init_dist5();
|
|
46817
47144
|
init_src3();
|
|
46818
47145
|
init_esm7();
|
|
46819
47146
|
init_private2();
|
|
46820
|
-
|
|
47147
|
+
import_react189 = __toESM(require_react(), 1);
|
|
46821
47148
|
init_dist5();
|
|
46822
47149
|
init_src3();
|
|
46823
47150
|
init_esm7();
|
|
@@ -46836,7 +47163,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46836
47163
|
init_react_native_safe_area_context();
|
|
46837
47164
|
init_src3();
|
|
46838
47165
|
init_esm7();
|
|
46839
|
-
|
|
47166
|
+
import_react190 = __toESM(require_react(), 1);
|
|
46840
47167
|
import_react_native203 = __toESM(require_react_native(), 1);
|
|
46841
47168
|
import_jsx_runtime221 = __toESM(require_jsx_runtime(), 1);
|
|
46842
47169
|
init_react_native_svg();
|
|
@@ -46851,7 +47178,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46851
47178
|
init_esm7();
|
|
46852
47179
|
import_react_native208 = __toESM(require_react_native(), 1);
|
|
46853
47180
|
import_jsx_runtime225 = __toESM(require_jsx_runtime(), 1);
|
|
46854
|
-
|
|
47181
|
+
import_react191 = __toESM(require_react(), 1);
|
|
46855
47182
|
import_jsx_runtime226 = __toESM(require_jsx_runtime(), 1);
|
|
46856
47183
|
import_jsx_runtime227 = __toESM(require_jsx_runtime(), 1);
|
|
46857
47184
|
import_jsx_runtime228 = __toESM(require_jsx_runtime(), 1);
|
|
@@ -46868,21 +47195,22 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46868
47195
|
init_react_native_safe_area_context();
|
|
46869
47196
|
init_src3();
|
|
46870
47197
|
init_esm7();
|
|
46871
|
-
|
|
47198
|
+
import_react192 = __toESM(require_react(), 1);
|
|
46872
47199
|
import_react_native210 = __toESM(require_react_native(), 1);
|
|
46873
47200
|
init_dist5();
|
|
46874
47201
|
init_react_native_webview();
|
|
46875
|
-
|
|
47202
|
+
import_react193 = __toESM(require_react(), 1);
|
|
46876
47203
|
import_react_native211 = __toESM(require_react_native(), 1);
|
|
46877
47204
|
init_src3();
|
|
46878
47205
|
init_esm7();
|
|
46879
|
-
|
|
47206
|
+
init_dist6();
|
|
47207
|
+
import_react194 = __toESM(require_react(), 1);
|
|
46880
47208
|
import_jsx_runtime231 = __toESM(require_jsx_runtime(), 1);
|
|
46881
47209
|
import_jsx_runtime232 = __toESM(require_jsx_runtime(), 1);
|
|
46882
47210
|
init_react_native_webview();
|
|
46883
|
-
import_react194 = __toESM(require_react(), 1);
|
|
46884
|
-
init_src3();
|
|
46885
47211
|
import_react195 = __toESM(require_react(), 1);
|
|
47212
|
+
init_src3();
|
|
47213
|
+
import_react196 = __toESM(require_react(), 1);
|
|
46886
47214
|
import_jsx_runtime233 = __toESM(require_jsx_runtime(), 1);
|
|
46887
47215
|
import_jsx_runtime234 = __toESM(require_jsx_runtime(), 1);
|
|
46888
47216
|
init_dist5();
|
|
@@ -46891,17 +47219,19 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46891
47219
|
init_dist5();
|
|
46892
47220
|
init_src3();
|
|
46893
47221
|
init_src3();
|
|
46894
|
-
import_react196 = __toESM(require_react(), 1);
|
|
46895
|
-
init_react_native_safe_area_context();
|
|
46896
47222
|
import_react197 = __toESM(require_react(), 1);
|
|
46897
|
-
|
|
47223
|
+
init_react_native_safe_area_context();
|
|
46898
47224
|
import_react198 = __toESM(require_react(), 1);
|
|
47225
|
+
init_src3();
|
|
47226
|
+
init_esm7();
|
|
47227
|
+
init_dist6();
|
|
46899
47228
|
import_react199 = __toESM(require_react(), 1);
|
|
47229
|
+
import_react200 = __toESM(require_react(), 1);
|
|
46900
47230
|
init_dist5();
|
|
46901
47231
|
import_react_native218 = __toESM(require_react_native(), 1);
|
|
46902
47232
|
init_dist5();
|
|
46903
|
-
import_react200 = __toESM(require_react(), 1);
|
|
46904
47233
|
import_react201 = __toESM(require_react(), 1);
|
|
47234
|
+
import_react202 = __toESM(require_react(), 1);
|
|
46905
47235
|
init_dist5();
|
|
46906
47236
|
init_src3();
|
|
46907
47237
|
init_esm7();
|
|
@@ -46911,12 +47241,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46911
47241
|
init_dist5();
|
|
46912
47242
|
init_dist3();
|
|
46913
47243
|
init_dist3();
|
|
46914
|
-
import_react202 = __toESM(require_react(), 1);
|
|
46915
|
-
import_react_native221 = __toESM(require_react_native(), 1);
|
|
46916
47244
|
import_react203 = __toESM(require_react(), 1);
|
|
47245
|
+
import_react_native221 = __toESM(require_react_native(), 1);
|
|
47246
|
+
import_react204 = __toESM(require_react(), 1);
|
|
46917
47247
|
import_react_native222 = __toESM(require_react_native(), 1);
|
|
46918
47248
|
import_jsx_runtime236 = __toESM(require_jsx_runtime(), 1);
|
|
46919
|
-
|
|
47249
|
+
import_react205 = __toESM(require_react(), 1);
|
|
46920
47250
|
import_react_native223 = __toESM(require_react_native(), 1);
|
|
46921
47251
|
import_jsx_runtime237 = __toESM(require_jsx_runtime(), 1);
|
|
46922
47252
|
import_jsx_runtime238 = __toESM(require_jsx_runtime(), 1);
|
|
@@ -47471,8 +47801,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47471
47801
|
safeAreaInsetsChange = createEvent("safeAreaInsetsChange");
|
|
47472
47802
|
NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
|
|
47473
47803
|
NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
|
|
47804
|
+
CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
|
|
47805
|
+
CLOSE_POPUP_SHOW_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app";
|
|
47474
47806
|
CLOSE_BUTTON_CLICK_SCHEMA_ID = 1596831;
|
|
47475
47807
|
CLOSE_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_close";
|
|
47808
|
+
CLOSE_POPUP_CTA_CLICK_SCHEMA_ID = 1644492;
|
|
47809
|
+
CLOSE_POPUP_CTA_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app::click__cta";
|
|
47476
47810
|
HOME_BUTTON_CLICK_SCHEMA_ID = 1596839;
|
|
47477
47811
|
HOME_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_home";
|
|
47478
47812
|
BOTTOM_SHEET_SCHEMA_ID = 1596825;
|
|
@@ -47521,8 +47855,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47521
47855
|
AppsInToss = {
|
|
47522
47856
|
registerApp
|
|
47523
47857
|
};
|
|
47524
|
-
GameWebView = /* @__PURE__ */ (0,
|
|
47525
|
-
(0,
|
|
47858
|
+
GameWebView = /* @__PURE__ */ (0, import_react193.forwardRef)(function GameWebView2(props, ref) {
|
|
47859
|
+
(0, import_react193.useEffect)(function() {
|
|
47526
47860
|
if (import_react_native211.Platform.OS === "ios") {
|
|
47527
47861
|
setIosSwipeGestureEnabled({
|
|
47528
47862
|
isEnabled: false
|
|
@@ -47548,7 +47882,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47548
47882
|
]
|
|
47549
47883
|
});
|
|
47550
47884
|
});
|
|
47551
|
-
PartnerWebView = /* @__PURE__ */ (0,
|
|
47885
|
+
PartnerWebView = /* @__PURE__ */ (0, import_react195.forwardRef)(function PartnerWebViewScreen(_03, _1) {
|
|
47552
47886
|
var _ref = [
|
|
47553
47887
|
_03,
|
|
47554
47888
|
_1
|