@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
|
@@ -8561,13 +8561,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
8561
8561
|
|
|
8562
8562
|
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_wrap_native_super.js
|
|
8563
8563
|
function _wrap_native_super(Class) {
|
|
8564
|
-
var
|
|
8564
|
+
var _cache3 = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
8565
8565
|
_wrap_native_super = function _wrap_native_super2(Class2) {
|
|
8566
8566
|
if (Class2 === null || !_is_native_function(Class2)) return Class2;
|
|
8567
8567
|
if (typeof Class2 !== "function") throw new TypeError("Super expression must either be null or a function");
|
|
8568
|
-
if (typeof
|
|
8569
|
-
if (
|
|
8570
|
-
|
|
8568
|
+
if (typeof _cache3 !== "undefined") {
|
|
8569
|
+
if (_cache3.has(Class2)) return _cache3.get(Class2);
|
|
8570
|
+
_cache3.set(Class2, Wrapper);
|
|
8571
8571
|
}
|
|
8572
8572
|
function Wrapper() {
|
|
8573
8573
|
return _construct(Class2, arguments, _get_prototype_of(this).constructor);
|
|
@@ -10751,6 +10751,56 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
10751
10751
|
});
|
|
10752
10752
|
})();
|
|
10753
10753
|
}
|
|
10754
|
+
function getAnonymousKey() {
|
|
10755
|
+
return _async_to_generator(function() {
|
|
10756
|
+
var isSupported, response, unused;
|
|
10757
|
+
return __generator(this, function(_state) {
|
|
10758
|
+
switch (_state.label) {
|
|
10759
|
+
case 0:
|
|
10760
|
+
isSupported = isMinVersionSupported(USER_KEY_MIN_VERSION);
|
|
10761
|
+
if (!isSupported) {
|
|
10762
|
+
return [
|
|
10763
|
+
2
|
|
10764
|
+
];
|
|
10765
|
+
}
|
|
10766
|
+
_state.label = 1;
|
|
10767
|
+
case 1:
|
|
10768
|
+
_state.trys.push([
|
|
10769
|
+
1,
|
|
10770
|
+
3,
|
|
10771
|
+
,
|
|
10772
|
+
4
|
|
10773
|
+
]);
|
|
10774
|
+
return [
|
|
10775
|
+
4,
|
|
10776
|
+
safePostMessage("getUserKeyForGame", {})
|
|
10777
|
+
];
|
|
10778
|
+
case 2:
|
|
10779
|
+
response = _state.sent();
|
|
10780
|
+
if (response.type === "HASH") {
|
|
10781
|
+
return [
|
|
10782
|
+
2,
|
|
10783
|
+
response
|
|
10784
|
+
];
|
|
10785
|
+
}
|
|
10786
|
+
return [
|
|
10787
|
+
2,
|
|
10788
|
+
"ERROR"
|
|
10789
|
+
];
|
|
10790
|
+
case 3:
|
|
10791
|
+
unused = _state.sent();
|
|
10792
|
+
return [
|
|
10793
|
+
2,
|
|
10794
|
+
"ERROR"
|
|
10795
|
+
];
|
|
10796
|
+
case 4:
|
|
10797
|
+
return [
|
|
10798
|
+
2
|
|
10799
|
+
];
|
|
10800
|
+
}
|
|
10801
|
+
});
|
|
10802
|
+
})();
|
|
10803
|
+
}
|
|
10754
10804
|
function normalizeParams(params) {
|
|
10755
10805
|
return Object.fromEntries(Object.entries(params).filter(function(param) {
|
|
10756
10806
|
var _param = _sliced_to_array(param, 2), value = _param[1];
|
|
@@ -10765,35 +10815,94 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
10765
10815
|
}
|
|
10766
10816
|
function eventLog(params) {
|
|
10767
10817
|
return _async_to_generator(function() {
|
|
10768
|
-
var isSupported;
|
|
10818
|
+
var logParams, _tmp, isSupported;
|
|
10769
10819
|
return __generator(this, function(_state) {
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10820
|
+
switch (_state.label) {
|
|
10821
|
+
case 0:
|
|
10822
|
+
_tmp = {};
|
|
10823
|
+
return [
|
|
10824
|
+
4,
|
|
10825
|
+
cache("eventLog.defaultParams.anonymous_key", function() {
|
|
10826
|
+
return _async_to_generator(function() {
|
|
10827
|
+
var result;
|
|
10828
|
+
return __generator(this, function(_state2) {
|
|
10829
|
+
switch (_state2.label) {
|
|
10830
|
+
case 0:
|
|
10831
|
+
return [
|
|
10832
|
+
4,
|
|
10833
|
+
getAnonymousKey()
|
|
10834
|
+
];
|
|
10835
|
+
case 1:
|
|
10836
|
+
result = _state2.sent();
|
|
10837
|
+
return [
|
|
10838
|
+
2,
|
|
10839
|
+
(typeof result === "undefined" ? "undefined" : _type_of(result)) === "object" ? result.hash : "NONE"
|
|
10840
|
+
];
|
|
10841
|
+
}
|
|
10842
|
+
});
|
|
10843
|
+
})();
|
|
10844
|
+
})
|
|
10845
|
+
];
|
|
10846
|
+
case 1:
|
|
10847
|
+
logParams = _object_spread.apply(void 0, [
|
|
10848
|
+
(_tmp.anonymous_key = _state.sent(), _tmp),
|
|
10849
|
+
params.params
|
|
10850
|
+
]);
|
|
10851
|
+
if (MiniAppModule.getConstants().operationalEnvironment === "sandbox") {
|
|
10852
|
+
console.log("[eventLogDebug]", {
|
|
10853
|
+
log_name: params.log_name,
|
|
10854
|
+
log_type: params.log_type,
|
|
10855
|
+
params: normalizeParams(logParams)
|
|
10856
|
+
});
|
|
10857
|
+
return [
|
|
10858
|
+
2
|
|
10859
|
+
];
|
|
10860
|
+
}
|
|
10861
|
+
isSupported = isMinVersionSupported({
|
|
10862
|
+
android: "5.208.0",
|
|
10863
|
+
ios: "5.208.0"
|
|
10864
|
+
});
|
|
10865
|
+
if (!isSupported) {
|
|
10866
|
+
return [
|
|
10867
|
+
2
|
|
10868
|
+
];
|
|
10869
|
+
}
|
|
10870
|
+
return [
|
|
10871
|
+
2,
|
|
10872
|
+
safePostMessage("eventLog", {
|
|
10873
|
+
log_name: params.log_name,
|
|
10874
|
+
log_type: params.log_type,
|
|
10875
|
+
params: normalizeParams(logParams)
|
|
10876
|
+
})
|
|
10877
|
+
];
|
|
10779
10878
|
}
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10879
|
+
});
|
|
10880
|
+
})();
|
|
10881
|
+
}
|
|
10882
|
+
function cache(key, fetcher) {
|
|
10883
|
+
return _async_to_generator(function() {
|
|
10884
|
+
var value;
|
|
10885
|
+
return __generator(this, function(_state) {
|
|
10886
|
+
switch (_state.label) {
|
|
10887
|
+
case 0:
|
|
10888
|
+
if (_cache[key]) {
|
|
10889
|
+
return [
|
|
10890
|
+
2,
|
|
10891
|
+
_cache[key]
|
|
10892
|
+
];
|
|
10893
|
+
}
|
|
10894
|
+
return [
|
|
10895
|
+
4,
|
|
10896
|
+
fetcher()
|
|
10897
|
+
];
|
|
10898
|
+
case 1:
|
|
10899
|
+
value = _state.sent();
|
|
10900
|
+
_cache[key] = value;
|
|
10901
|
+
return [
|
|
10902
|
+
2,
|
|
10903
|
+
value
|
|
10904
|
+
];
|
|
10788
10905
|
}
|
|
10789
|
-
return [
|
|
10790
|
-
2,
|
|
10791
|
-
safePostMessage("eventLog", {
|
|
10792
|
-
log_name: params.log_name,
|
|
10793
|
-
log_type: params.log_type,
|
|
10794
|
-
params: normalizeParams(params.params)
|
|
10795
|
-
})
|
|
10796
|
-
];
|
|
10797
10906
|
});
|
|
10798
10907
|
})();
|
|
10799
10908
|
}
|
|
@@ -11283,7 +11392,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11283
11392
|
params: params.params
|
|
11284
11393
|
});
|
|
11285
11394
|
}
|
|
11286
|
-
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,
|
|
11395
|
+
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;
|
|
11287
11396
|
var init_dist5 = __esm({
|
|
11288
11397
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/dist/index.js"() {
|
|
11289
11398
|
"use strict";
|
|
@@ -11589,6 +11698,19 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11589
11698
|
requestTossPayPaysBilling.isSupported = function() {
|
|
11590
11699
|
return isMinVersionSupported(MIN_VERSION);
|
|
11591
11700
|
};
|
|
11701
|
+
GAME_CENTER_MIN_VERSION = {
|
|
11702
|
+
android: "5.221.0",
|
|
11703
|
+
ios: "5.221.0"
|
|
11704
|
+
};
|
|
11705
|
+
USER_KEY_MIN_VERSION = {
|
|
11706
|
+
android: "5.232.0",
|
|
11707
|
+
ios: "5.232.0"
|
|
11708
|
+
};
|
|
11709
|
+
GET_SERVER_TIME_MIN_VERSION = {
|
|
11710
|
+
android: "5.245.0",
|
|
11711
|
+
ios: "5.245.0"
|
|
11712
|
+
};
|
|
11713
|
+
_cache = {};
|
|
11592
11714
|
DEFAULT_MAX_COUNT = 10;
|
|
11593
11715
|
DEFAULT_MAX_WIDTH = 1024;
|
|
11594
11716
|
fetchAlbumPhotos = createPermissionFunction({
|
|
@@ -11710,14 +11832,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11710
11832
|
removeItem,
|
|
11711
11833
|
clearItems
|
|
11712
11834
|
};
|
|
11713
|
-
GAME_CENTER_MIN_VERSION = {
|
|
11714
|
-
android: "5.221.0",
|
|
11715
|
-
ios: "5.221.0"
|
|
11716
|
-
};
|
|
11717
|
-
GET_SERVER_TIME_MIN_VERSION = {
|
|
11718
|
-
android: "5.245.0",
|
|
11719
|
-
ios: "5.245.0"
|
|
11720
|
-
};
|
|
11721
11835
|
getServerTime.isSupported = function() {
|
|
11722
11836
|
return isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
11723
11837
|
};
|
|
@@ -42574,6 +42688,96 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42574
42688
|
}
|
|
42575
42689
|
});
|
|
42576
42690
|
|
|
42691
|
+
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts
|
|
42692
|
+
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;
|
|
42693
|
+
var init_constants13 = __esm({
|
|
42694
|
+
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts"() {
|
|
42695
|
+
"use strict";
|
|
42696
|
+
GAME_CENTER_MIN_VERSION2 = {
|
|
42697
|
+
android: "5.221.0",
|
|
42698
|
+
ios: "5.221.0"
|
|
42699
|
+
};
|
|
42700
|
+
USER_KEY_MIN_VERSION2 = {
|
|
42701
|
+
android: "5.232.0",
|
|
42702
|
+
ios: "5.232.0"
|
|
42703
|
+
};
|
|
42704
|
+
PROMOTION_REWARD_MIN_VERSION = {
|
|
42705
|
+
android: "5.232.0",
|
|
42706
|
+
ios: "5.232.0"
|
|
42707
|
+
};
|
|
42708
|
+
GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = {
|
|
42709
|
+
android: "5.237.0",
|
|
42710
|
+
ios: "5.237.0"
|
|
42711
|
+
};
|
|
42712
|
+
GET_SERVER_TIME_MIN_VERSION2 = {
|
|
42713
|
+
android: "5.245.0",
|
|
42714
|
+
ios: "5.245.0"
|
|
42715
|
+
};
|
|
42716
|
+
}
|
|
42717
|
+
});
|
|
42718
|
+
|
|
42719
|
+
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts
|
|
42720
|
+
function getAnonymousKey2() {
|
|
42721
|
+
return _async_to_generator(function() {
|
|
42722
|
+
var isSupported, response, unused;
|
|
42723
|
+
return __generator(this, function(_state) {
|
|
42724
|
+
switch (_state.label) {
|
|
42725
|
+
case 0:
|
|
42726
|
+
isSupported = isMinVersionSupported2(USER_KEY_MIN_VERSION2);
|
|
42727
|
+
if (!isSupported) {
|
|
42728
|
+
return [
|
|
42729
|
+
2
|
|
42730
|
+
];
|
|
42731
|
+
}
|
|
42732
|
+
_state.label = 1;
|
|
42733
|
+
case 1:
|
|
42734
|
+
_state.trys.push([
|
|
42735
|
+
1,
|
|
42736
|
+
3,
|
|
42737
|
+
,
|
|
42738
|
+
4
|
|
42739
|
+
]);
|
|
42740
|
+
return [
|
|
42741
|
+
4,
|
|
42742
|
+
safePostMessage2("getUserKeyForGame", {})
|
|
42743
|
+
];
|
|
42744
|
+
case 2:
|
|
42745
|
+
response = _state.sent();
|
|
42746
|
+
if (response.type === "HASH") {
|
|
42747
|
+
return [
|
|
42748
|
+
2,
|
|
42749
|
+
response
|
|
42750
|
+
];
|
|
42751
|
+
}
|
|
42752
|
+
return [
|
|
42753
|
+
2,
|
|
42754
|
+
"ERROR"
|
|
42755
|
+
];
|
|
42756
|
+
case 3:
|
|
42757
|
+
unused = _state.sent();
|
|
42758
|
+
return [
|
|
42759
|
+
2,
|
|
42760
|
+
"ERROR"
|
|
42761
|
+
];
|
|
42762
|
+
case 4:
|
|
42763
|
+
return [
|
|
42764
|
+
2
|
|
42765
|
+
];
|
|
42766
|
+
}
|
|
42767
|
+
});
|
|
42768
|
+
})();
|
|
42769
|
+
}
|
|
42770
|
+
var init_getAnonymousKey = __esm({
|
|
42771
|
+
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts"() {
|
|
42772
|
+
"use strict";
|
|
42773
|
+
init_async_to_generator();
|
|
42774
|
+
init_ts_generator();
|
|
42775
|
+
init_isMinVersionSupported();
|
|
42776
|
+
init_natives2();
|
|
42777
|
+
init_constants13();
|
|
42778
|
+
}
|
|
42779
|
+
});
|
|
42780
|
+
|
|
42577
42781
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/eventLog.ts
|
|
42578
42782
|
function normalizeParams2(params) {
|
|
42579
42783
|
return Object.fromEntries(Object.entries(params).filter(function(param) {
|
|
@@ -42589,46 +42793,110 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42589
42793
|
}
|
|
42590
42794
|
function eventLog2(params) {
|
|
42591
42795
|
return _async_to_generator(function() {
|
|
42592
|
-
var isSupported;
|
|
42796
|
+
var logParams, _tmp, isSupported;
|
|
42593
42797
|
return __generator(this, function(_state) {
|
|
42594
|
-
|
|
42595
|
-
|
|
42596
|
-
|
|
42597
|
-
|
|
42598
|
-
|
|
42599
|
-
|
|
42600
|
-
|
|
42601
|
-
|
|
42602
|
-
|
|
42798
|
+
switch (_state.label) {
|
|
42799
|
+
case 0:
|
|
42800
|
+
_tmp = {};
|
|
42801
|
+
return [
|
|
42802
|
+
4,
|
|
42803
|
+
cache2("eventLog.defaultParams.anonymous_key", function() {
|
|
42804
|
+
return _async_to_generator(function() {
|
|
42805
|
+
var result;
|
|
42806
|
+
return __generator(this, function(_state2) {
|
|
42807
|
+
switch (_state2.label) {
|
|
42808
|
+
case 0:
|
|
42809
|
+
return [
|
|
42810
|
+
4,
|
|
42811
|
+
getAnonymousKey2()
|
|
42812
|
+
];
|
|
42813
|
+
case 1:
|
|
42814
|
+
result = _state2.sent();
|
|
42815
|
+
return [
|
|
42816
|
+
2,
|
|
42817
|
+
(typeof result === "undefined" ? "undefined" : _type_of(result)) === "object" ? result.hash : "NONE"
|
|
42818
|
+
];
|
|
42819
|
+
}
|
|
42820
|
+
});
|
|
42821
|
+
})();
|
|
42822
|
+
})
|
|
42823
|
+
];
|
|
42824
|
+
case 1:
|
|
42825
|
+
logParams = _object_spread.apply(void 0, [
|
|
42826
|
+
(_tmp.anonymous_key = _state.sent(), _tmp),
|
|
42827
|
+
params.params
|
|
42828
|
+
]);
|
|
42829
|
+
if (MiniAppModule2.getConstants().operationalEnvironment === "sandbox") {
|
|
42830
|
+
console.log("[eventLogDebug]", {
|
|
42831
|
+
log_name: params.log_name,
|
|
42832
|
+
log_type: params.log_type,
|
|
42833
|
+
params: normalizeParams2(logParams)
|
|
42834
|
+
});
|
|
42835
|
+
return [
|
|
42836
|
+
2
|
|
42837
|
+
];
|
|
42838
|
+
}
|
|
42839
|
+
isSupported = isMinVersionSupported2({
|
|
42840
|
+
android: "5.208.0",
|
|
42841
|
+
ios: "5.208.0"
|
|
42842
|
+
});
|
|
42843
|
+
if (!isSupported) {
|
|
42844
|
+
return [
|
|
42845
|
+
2
|
|
42846
|
+
];
|
|
42847
|
+
}
|
|
42848
|
+
return [
|
|
42849
|
+
2,
|
|
42850
|
+
safePostMessage2("eventLog", {
|
|
42851
|
+
log_name: params.log_name,
|
|
42852
|
+
log_type: params.log_type,
|
|
42853
|
+
params: normalizeParams2(logParams)
|
|
42854
|
+
})
|
|
42855
|
+
];
|
|
42603
42856
|
}
|
|
42604
|
-
|
|
42605
|
-
|
|
42606
|
-
|
|
42607
|
-
|
|
42608
|
-
|
|
42609
|
-
|
|
42610
|
-
|
|
42611
|
-
|
|
42857
|
+
});
|
|
42858
|
+
})();
|
|
42859
|
+
}
|
|
42860
|
+
function cache2(key, fetcher) {
|
|
42861
|
+
return _async_to_generator(function() {
|
|
42862
|
+
var value;
|
|
42863
|
+
return __generator(this, function(_state) {
|
|
42864
|
+
switch (_state.label) {
|
|
42865
|
+
case 0:
|
|
42866
|
+
if (_cache2[key]) {
|
|
42867
|
+
return [
|
|
42868
|
+
2,
|
|
42869
|
+
_cache2[key]
|
|
42870
|
+
];
|
|
42871
|
+
}
|
|
42872
|
+
return [
|
|
42873
|
+
4,
|
|
42874
|
+
fetcher()
|
|
42875
|
+
];
|
|
42876
|
+
case 1:
|
|
42877
|
+
value = _state.sent();
|
|
42878
|
+
_cache2[key] = value;
|
|
42879
|
+
return [
|
|
42880
|
+
2,
|
|
42881
|
+
value
|
|
42882
|
+
];
|
|
42612
42883
|
}
|
|
42613
|
-
return [
|
|
42614
|
-
2,
|
|
42615
|
-
safePostMessage2("eventLog", {
|
|
42616
|
-
log_name: params.log_name,
|
|
42617
|
-
log_type: params.log_type,
|
|
42618
|
-
params: normalizeParams2(params.params)
|
|
42619
|
-
})
|
|
42620
|
-
];
|
|
42621
42884
|
});
|
|
42622
42885
|
})();
|
|
42623
42886
|
}
|
|
42887
|
+
var _cache2;
|
|
42624
42888
|
var init_eventLog = __esm({
|
|
42625
42889
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/eventLog.ts"() {
|
|
42626
42890
|
"use strict";
|
|
42627
42891
|
init_async_to_generator();
|
|
42892
|
+
init_object_spread();
|
|
42628
42893
|
init_sliced_to_array();
|
|
42894
|
+
init_type_of();
|
|
42629
42895
|
init_ts_generator();
|
|
42896
|
+
init_getAnonymousKey();
|
|
42630
42897
|
init_isMinVersionSupported();
|
|
42631
42898
|
init_natives2();
|
|
42899
|
+
_cache2 = {};
|
|
42632
42900
|
}
|
|
42633
42901
|
});
|
|
42634
42902
|
|
|
@@ -42936,34 +43204,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42936
43204
|
}
|
|
42937
43205
|
});
|
|
42938
43206
|
|
|
42939
|
-
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts
|
|
42940
|
-
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;
|
|
42941
|
-
var init_constants13 = __esm({
|
|
42942
|
-
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts"() {
|
|
42943
|
-
"use strict";
|
|
42944
|
-
GAME_CENTER_MIN_VERSION2 = {
|
|
42945
|
-
android: "5.221.0",
|
|
42946
|
-
ios: "5.221.0"
|
|
42947
|
-
};
|
|
42948
|
-
USER_KEY_MIN_VERSION = {
|
|
42949
|
-
android: "5.232.0",
|
|
42950
|
-
ios: "5.232.0"
|
|
42951
|
-
};
|
|
42952
|
-
PROMOTION_REWARD_MIN_VERSION = {
|
|
42953
|
-
android: "5.232.0",
|
|
42954
|
-
ios: "5.232.0"
|
|
42955
|
-
};
|
|
42956
|
-
GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = {
|
|
42957
|
-
android: "5.237.0",
|
|
42958
|
-
ios: "5.237.0"
|
|
42959
|
-
};
|
|
42960
|
-
GET_SERVER_TIME_MIN_VERSION2 = {
|
|
42961
|
-
android: "5.245.0",
|
|
42962
|
-
ios: "5.245.0"
|
|
42963
|
-
};
|
|
42964
|
-
}
|
|
42965
|
-
});
|
|
42966
|
-
|
|
42967
43207
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGameCenterGameProfile.ts
|
|
42968
43208
|
function getGameCenterGameProfile2() {
|
|
42969
43209
|
return _async_to_generator(function() {
|
|
@@ -43057,75 +43297,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43057
43297
|
}
|
|
43058
43298
|
});
|
|
43059
43299
|
|
|
43060
|
-
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts
|
|
43061
|
-
function getAnonymousKey() {
|
|
43062
|
-
return _async_to_generator(function() {
|
|
43063
|
-
var isSupported, response, unused;
|
|
43064
|
-
return __generator(this, function(_state) {
|
|
43065
|
-
switch (_state.label) {
|
|
43066
|
-
case 0:
|
|
43067
|
-
isSupported = isMinVersionSupported2(USER_KEY_MIN_VERSION);
|
|
43068
|
-
if (!isSupported) {
|
|
43069
|
-
return [
|
|
43070
|
-
2
|
|
43071
|
-
];
|
|
43072
|
-
}
|
|
43073
|
-
_state.label = 1;
|
|
43074
|
-
case 1:
|
|
43075
|
-
_state.trys.push([
|
|
43076
|
-
1,
|
|
43077
|
-
3,
|
|
43078
|
-
,
|
|
43079
|
-
4
|
|
43080
|
-
]);
|
|
43081
|
-
return [
|
|
43082
|
-
4,
|
|
43083
|
-
safePostMessage2("getUserKeyForGame", {})
|
|
43084
|
-
];
|
|
43085
|
-
case 2:
|
|
43086
|
-
response = _state.sent();
|
|
43087
|
-
if (response.type === "HASH") {
|
|
43088
|
-
return [
|
|
43089
|
-
2,
|
|
43090
|
-
response
|
|
43091
|
-
];
|
|
43092
|
-
}
|
|
43093
|
-
return [
|
|
43094
|
-
2,
|
|
43095
|
-
"ERROR"
|
|
43096
|
-
];
|
|
43097
|
-
case 3:
|
|
43098
|
-
unused = _state.sent();
|
|
43099
|
-
return [
|
|
43100
|
-
2,
|
|
43101
|
-
"ERROR"
|
|
43102
|
-
];
|
|
43103
|
-
case 4:
|
|
43104
|
-
return [
|
|
43105
|
-
2
|
|
43106
|
-
];
|
|
43107
|
-
}
|
|
43108
|
-
});
|
|
43109
|
-
})();
|
|
43110
|
-
}
|
|
43111
|
-
var init_getAnonymousKey = __esm({
|
|
43112
|
-
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts"() {
|
|
43113
|
-
"use strict";
|
|
43114
|
-
init_async_to_generator();
|
|
43115
|
-
init_ts_generator();
|
|
43116
|
-
init_isMinVersionSupported();
|
|
43117
|
-
init_natives2();
|
|
43118
|
-
init_constants13();
|
|
43119
|
-
}
|
|
43120
|
-
});
|
|
43121
|
-
|
|
43122
43300
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts
|
|
43123
43301
|
function getUserKeyForGame() {
|
|
43124
43302
|
return _async_to_generator(function() {
|
|
43125
43303
|
return __generator(this, function(_state) {
|
|
43126
43304
|
return [
|
|
43127
43305
|
2,
|
|
43128
|
-
|
|
43306
|
+
getAnonymousKey2()
|
|
43129
43307
|
];
|
|
43130
43308
|
});
|
|
43131
43309
|
})();
|
|
@@ -43417,7 +43595,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43417
43595
|
return generateHapticFeedback;
|
|
43418
43596
|
},
|
|
43419
43597
|
getAnonymousKey: function() {
|
|
43420
|
-
return
|
|
43598
|
+
return getAnonymousKey2;
|
|
43421
43599
|
},
|
|
43422
43600
|
getClipboardText: function() {
|
|
43423
43601
|
return getClipboardText2;
|
|
@@ -44311,7 +44489,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44311
44489
|
"../user-scripts/dist/index.mjs"() {
|
|
44312
44490
|
"use strict";
|
|
44313
44491
|
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';
|
|
44314
|
-
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';
|
|
44492
|
+
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';
|
|
44315
44493
|
}
|
|
44316
44494
|
});
|
|
44317
44495
|
|
|
@@ -44516,6 +44694,38 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44516
44694
|
handler
|
|
44517
44695
|
]);
|
|
44518
44696
|
}
|
|
44697
|
+
function useCloseConfirm() {
|
|
44698
|
+
var brandDisplayName = getAppsInTossGlobals().brandDisplayName;
|
|
44699
|
+
var openConfirm = useDialog().openConfirm;
|
|
44700
|
+
return (0, import_react189.useCallback)(function(param) {
|
|
44701
|
+
var onEntered = param.onEntered;
|
|
44702
|
+
return _async_to_generator(function() {
|
|
44703
|
+
return __generator(this, function(_state) {
|
|
44704
|
+
switch (_state.label) {
|
|
44705
|
+
case 0:
|
|
44706
|
+
return [
|
|
44707
|
+
4,
|
|
44708
|
+
openConfirm({
|
|
44709
|
+
title: "".concat(josa(brandDisplayName, "\uC744/\uB97C"), " \uC885\uB8CC\uD560\uAE4C\uC694?"),
|
|
44710
|
+
leftButton: "\uB2EB\uAE30",
|
|
44711
|
+
rightButton: "\uC885\uB8CC\uD558\uAE30",
|
|
44712
|
+
closeOnDimmerClick: true,
|
|
44713
|
+
onEntered
|
|
44714
|
+
})
|
|
44715
|
+
];
|
|
44716
|
+
case 1:
|
|
44717
|
+
return [
|
|
44718
|
+
2,
|
|
44719
|
+
_state.sent()
|
|
44720
|
+
];
|
|
44721
|
+
}
|
|
44722
|
+
});
|
|
44723
|
+
})();
|
|
44724
|
+
}, [
|
|
44725
|
+
brandDisplayName,
|
|
44726
|
+
openConfirm
|
|
44727
|
+
]);
|
|
44728
|
+
}
|
|
44519
44729
|
function createEvent(event) {
|
|
44520
44730
|
return {
|
|
44521
44731
|
name: event,
|
|
@@ -44569,8 +44779,30 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44569
44779
|
})
|
|
44570
44780
|
});
|
|
44571
44781
|
};
|
|
44782
|
+
var logClosePopupShow = function() {
|
|
44783
|
+
sendLog({
|
|
44784
|
+
log_name: CLOSE_POPUP_SHOW_LOG_NAME,
|
|
44785
|
+
log_type: "popup",
|
|
44786
|
+
params: _object_spread_props(_object_spread({}, baseParams), {
|
|
44787
|
+
schema_id: CLOSE_POPUP_SHOW_SCHEMA_ID
|
|
44788
|
+
})
|
|
44789
|
+
});
|
|
44790
|
+
};
|
|
44791
|
+
var logClosePopupCtaClick = function(confirm) {
|
|
44792
|
+
sendLog({
|
|
44793
|
+
log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
|
|
44794
|
+
log_type: "event",
|
|
44795
|
+
params: _object_spread_props(_object_spread({}, baseParams), {
|
|
44796
|
+
close_yn: confirm ? "Y" : "N",
|
|
44797
|
+
schema_id: CLOSE_POPUP_CTA_CLICK_SCHEMA_ID,
|
|
44798
|
+
event_type: "click"
|
|
44799
|
+
})
|
|
44800
|
+
});
|
|
44801
|
+
};
|
|
44572
44802
|
return {
|
|
44573
44803
|
navBarImpression: logNavBarImpression,
|
|
44804
|
+
closePopupShow: logClosePopupShow,
|
|
44805
|
+
closePopupCtaClick: logClosePopupCtaClick,
|
|
44574
44806
|
closeButtonClick: logCloseButtonClick,
|
|
44575
44807
|
homeButtonClick: logHomeButtonClick
|
|
44576
44808
|
};
|
|
@@ -44579,7 +44811,40 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44579
44811
|
var backEventContext = useBackEventContext();
|
|
44580
44812
|
var logging = useNavigationBarLogging();
|
|
44581
44813
|
var navigation = useNavigation();
|
|
44814
|
+
var closeConfirm = useCloseConfirm();
|
|
44815
|
+
var global2 = getAppsInTossGlobals();
|
|
44582
44816
|
return (0, import_react188.useMemo)(function() {
|
|
44817
|
+
var close = function() {
|
|
44818
|
+
return _async_to_generator(function() {
|
|
44819
|
+
var hasConfirmed;
|
|
44820
|
+
return __generator(this, function(_state) {
|
|
44821
|
+
switch (_state.label) {
|
|
44822
|
+
case 0:
|
|
44823
|
+
if (global2.appType !== "game") {
|
|
44824
|
+
closeView();
|
|
44825
|
+
return [
|
|
44826
|
+
2
|
|
44827
|
+
];
|
|
44828
|
+
}
|
|
44829
|
+
return [
|
|
44830
|
+
4,
|
|
44831
|
+
closeConfirm({
|
|
44832
|
+
onEntered: logging.closePopupShow
|
|
44833
|
+
})
|
|
44834
|
+
];
|
|
44835
|
+
case 1:
|
|
44836
|
+
hasConfirmed = _state.sent();
|
|
44837
|
+
logging.closePopupCtaClick(hasConfirmed);
|
|
44838
|
+
if (hasConfirmed) {
|
|
44839
|
+
closeView();
|
|
44840
|
+
}
|
|
44841
|
+
return [
|
|
44842
|
+
2
|
|
44843
|
+
];
|
|
44844
|
+
}
|
|
44845
|
+
});
|
|
44846
|
+
})();
|
|
44847
|
+
};
|
|
44583
44848
|
return {
|
|
44584
44849
|
handleBack: function() {
|
|
44585
44850
|
if (backEventContext.hasBackEvent) {
|
|
@@ -44587,7 +44852,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44587
44852
|
} else if (navigation.canGoBack()) {
|
|
44588
44853
|
navigation.goBack();
|
|
44589
44854
|
} else {
|
|
44590
|
-
|
|
44855
|
+
close();
|
|
44591
44856
|
}
|
|
44592
44857
|
},
|
|
44593
44858
|
handleHomeButtonClick: function() {
|
|
@@ -44602,12 +44867,14 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44602
44867
|
},
|
|
44603
44868
|
handleCloseButtonClick: function() {
|
|
44604
44869
|
logging.closeButtonClick();
|
|
44605
|
-
|
|
44870
|
+
close();
|
|
44606
44871
|
}
|
|
44607
44872
|
};
|
|
44608
44873
|
}, [
|
|
44874
|
+
global2.appType,
|
|
44609
44875
|
backEventContext,
|
|
44610
44876
|
navigation,
|
|
44877
|
+
closeConfirm,
|
|
44611
44878
|
logging
|
|
44612
44879
|
]);
|
|
44613
44880
|
}
|
|
@@ -44834,7 +45101,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44834
45101
|
function useMoreButtonBottomSheet() {
|
|
44835
45102
|
var globals = getAppsInTossGlobals();
|
|
44836
45103
|
var adaptive = useAdaptive();
|
|
44837
|
-
var _useState4 = _sliced_to_array((0,
|
|
45104
|
+
var _useState4 = _sliced_to_array((0, import_react190.useState)([]), 2), itemList = _useState4[0], setItemList = _useState4[1];
|
|
44838
45105
|
var appUpdateDialog = useAppUpdateDialog();
|
|
44839
45106
|
var logging = useMoreButtonBottomSheetLogging();
|
|
44840
45107
|
var overlay = useOverlay();
|
|
@@ -44843,7 +45110,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44843
45110
|
var isBottomSheetSupported = isMinVersionSupported(MIN_VERSION6.BOTTOM_SHEET);
|
|
44844
45111
|
var isShareListMenuSupported = isMinVersionSupported(MIN_VERSION6.SHARE_LIST_MENU);
|
|
44845
45112
|
var isSettingsMenuSupported = isMinVersionSupported(MIN_VERSION6.SETTINGS_MENU);
|
|
44846
|
-
(0,
|
|
45113
|
+
(0, import_react190.useEffect)(function() {
|
|
44847
45114
|
if (!isBottomSheetSupported) {
|
|
44848
45115
|
return;
|
|
44849
45116
|
}
|
|
@@ -44944,7 +45211,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44944
45211
|
function BottomSheetImpressionArea(param) {
|
|
44945
45212
|
var children = param.children;
|
|
44946
45213
|
var logging = useMoreButtonBottomSheetLogging();
|
|
44947
|
-
(0,
|
|
45214
|
+
(0, import_react190.useEffect)(function() {
|
|
44948
45215
|
logging.show();
|
|
44949
45216
|
}, [
|
|
44950
45217
|
logging
|
|
@@ -44957,7 +45224,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44957
45224
|
var left = param.left, center = param.center, right = param.right;
|
|
44958
45225
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
44959
45226
|
var navigation = useNavigation();
|
|
44960
|
-
(0,
|
|
45227
|
+
(0, import_react191.useEffect)(function() {
|
|
44961
45228
|
var _ref, _ref1;
|
|
44962
45229
|
var navigationBar = getAppsInTossGlobals().navigationBar;
|
|
44963
45230
|
var parsedNavigationBar = navigationBar ? safeParseNavigationBar(navigationBar) : null;
|
|
@@ -45204,9 +45471,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45204
45471
|
}
|
|
45205
45472
|
function NavigationBarImpressionArea(param) {
|
|
45206
45473
|
var children = param.children, withHomeButton = param.withHomeButton;
|
|
45207
|
-
var hasLogged = (0,
|
|
45474
|
+
var hasLogged = (0, import_react192.useRef)(false);
|
|
45208
45475
|
var logging = useNavigationBarLogging();
|
|
45209
|
-
(0,
|
|
45476
|
+
(0, import_react192.useEffect)(function() {
|
|
45210
45477
|
if (hasLogged.current === false) {
|
|
45211
45478
|
logging.navBarImpression({
|
|
45212
45479
|
home_icon_yn: withHomeButton ? "Y" : "N"
|
|
@@ -45426,22 +45693,43 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45426
45693
|
function GameWebviewNavigationBar() {
|
|
45427
45694
|
var _ref;
|
|
45428
45695
|
var openConfirm = useDialog().openConfirm;
|
|
45696
|
+
var global2 = getAppsInTossGlobals();
|
|
45429
45697
|
var logging = useNavigationBarLogging();
|
|
45430
45698
|
var _useMoreButtonBottomSheet = useMoreButtonBottomSheet(), openMoreButtonBottomSheet = _useMoreButtonBottomSheet.open;
|
|
45431
45699
|
var navigationRightButton = useNavigationBarContext().navigationRightButton;
|
|
45432
45700
|
var navigationBar = getAppsInTossGlobals().navigationBar;
|
|
45433
45701
|
var parsedNavigationBar = navigationBar ? safeParseNavigationBar(navigationBar) : null;
|
|
45434
|
-
var handleGameWebviewClose = (0,
|
|
45702
|
+
var handleGameWebviewClose = (0, import_react195.useCallback)(function() {
|
|
45435
45703
|
return _async_to_generator(function() {
|
|
45704
|
+
var isConfirmed;
|
|
45436
45705
|
return __generator(this, function(_state) {
|
|
45437
|
-
|
|
45438
|
-
|
|
45439
|
-
|
|
45440
|
-
|
|
45441
|
-
|
|
45706
|
+
switch (_state.label) {
|
|
45707
|
+
case 0:
|
|
45708
|
+
logging.closeButtonClick();
|
|
45709
|
+
return [
|
|
45710
|
+
4,
|
|
45711
|
+
openConfirm({
|
|
45712
|
+
title: "".concat(josa(global2.brandDisplayName, "\uC744/\uB97C"), " \uC885\uB8CC\uD560\uAE4C\uC694?"),
|
|
45713
|
+
leftButton: "\uB2EB\uAE30",
|
|
45714
|
+
rightButton: "\uC885\uB8CC\uD558\uAE30",
|
|
45715
|
+
closeOnDimmerClick: true,
|
|
45716
|
+
onEntered: logging.closePopupShow
|
|
45717
|
+
})
|
|
45718
|
+
];
|
|
45719
|
+
case 1:
|
|
45720
|
+
isConfirmed = _state.sent();
|
|
45721
|
+
logging.closePopupCtaClick(isConfirmed);
|
|
45722
|
+
if (isConfirmed) {
|
|
45723
|
+
closeView();
|
|
45724
|
+
}
|
|
45725
|
+
return [
|
|
45726
|
+
2
|
|
45727
|
+
];
|
|
45728
|
+
}
|
|
45442
45729
|
});
|
|
45443
45730
|
})();
|
|
45444
45731
|
}, [
|
|
45732
|
+
global2.brandDisplayName,
|
|
45445
45733
|
logging,
|
|
45446
45734
|
openConfirm
|
|
45447
45735
|
]);
|
|
@@ -45465,7 +45753,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45465
45753
|
var withBackButton = (_ref1 = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.withBackButton) !== null && _ref1 !== void 0 ? _ref1 : true;
|
|
45466
45754
|
var theme = (_ref2 = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.theme) !== null && _ref2 !== void 0 ? _ref2 : "light";
|
|
45467
45755
|
var navigationRightButton = useNavigationBarContext().navigationRightButton;
|
|
45468
|
-
var handleClose = (0,
|
|
45756
|
+
var handleClose = (0, import_react197.useCallback)(function() {
|
|
45469
45757
|
return _async_to_generator(function() {
|
|
45470
45758
|
return __generator(this, function(_state) {
|
|
45471
45759
|
logging.closeButtonClick();
|
|
@@ -45941,8 +46229,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45941
46229
|
}
|
|
45942
46230
|
function useBridgeHandler(param) {
|
|
45943
46231
|
var onMessage = param.onMessage, constantHandlerMap = param.constantHandlerMap, asyncHandlerMap = param.asyncHandlerMap, eventListenerMap = param.eventListenerMap;
|
|
45944
|
-
var ref = (0,
|
|
45945
|
-
var injectedJavaScript = (0,
|
|
46232
|
+
var ref = (0, import_react198.useRef)(null);
|
|
46233
|
+
var injectedJavaScript = (0, import_react198.useMemo)(function() {
|
|
45946
46234
|
return "window.__CONSTANT_HANDLER_MAP = ".concat(JSON.stringify(Object.entries(constantHandlerMap).reduce(function(acc, param2) {
|
|
45947
46235
|
var _param = _sliced_to_array(param2, 2), key = _param[0], value = _param[1];
|
|
45948
46236
|
acc[key] = typeof value === "function" ? value() : value;
|
|
@@ -45951,7 +46239,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45951
46239
|
}, [
|
|
45952
46240
|
constantHandlerMap
|
|
45953
46241
|
]);
|
|
45954
|
-
(0,
|
|
46242
|
+
(0, import_react198.useEffect)(function() {
|
|
45955
46243
|
var _ref_current;
|
|
45956
46244
|
(_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.injectJavaScript(injectedJavaScript);
|
|
45957
46245
|
}, [
|
|
@@ -45970,7 +46258,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45970
46258
|
(_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 "));
|
|
45971
46259
|
};
|
|
45972
46260
|
};
|
|
45973
|
-
var $onMessage = (0,
|
|
46261
|
+
var $onMessage = (0, import_react198.useCallback)(function(e63) {
|
|
45974
46262
|
return _async_to_generator(function() {
|
|
45975
46263
|
var data, _eventListenerMap_data_functionName, handleOnEvent, handleOnError, remove, key, remove1, _ref_current;
|
|
45976
46264
|
return __generator(this, function(_state) {
|
|
@@ -46043,12 +46331,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46043
46331
|
}
|
|
46044
46332
|
function useSafeAreaInsetsEvent() {
|
|
46045
46333
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
46046
|
-
(0,
|
|
46334
|
+
(0, import_react199.useEffect)(function() {
|
|
46047
46335
|
safeAreaInsetsChange.emit(insets);
|
|
46048
46336
|
}, [
|
|
46049
46337
|
insets
|
|
46050
46338
|
]);
|
|
46051
|
-
(0,
|
|
46339
|
+
(0, import_react199.useEffect)(function() {
|
|
46052
46340
|
return function() {
|
|
46053
46341
|
return safeAreaInsetsChange.clearSubscriptions();
|
|
46054
46342
|
};
|
|
@@ -46098,8 +46386,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46098
46386
|
}
|
|
46099
46387
|
}
|
|
46100
46388
|
function useWebViewHistory() {
|
|
46101
|
-
var _useReducer = _sliced_to_array((0,
|
|
46102
|
-
var onNavigationStateChange = (0,
|
|
46389
|
+
var _useReducer = _sliced_to_array((0, import_react201.useReducer)(reducer, INITIAL_STATE), 2), state = _useReducer[0], dispatch = _useReducer[1];
|
|
46390
|
+
var onNavigationStateChange = (0, import_react201.useCallback)(function(param) {
|
|
46103
46391
|
var url = param.url, canGoForward2 = param.canGoForward;
|
|
46104
46392
|
dispatch({
|
|
46105
46393
|
type: "NAVIGATION_CHANGE",
|
|
@@ -46107,7 +46395,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46107
46395
|
canGoForward: canGoForward2
|
|
46108
46396
|
});
|
|
46109
46397
|
}, []);
|
|
46110
|
-
var _useMemo4 = (0,
|
|
46398
|
+
var _useMemo4 = (0, import_react201.useMemo)(function() {
|
|
46111
46399
|
var canBack = state.index > 0;
|
|
46112
46400
|
var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
|
|
46113
46401
|
return {
|
|
@@ -46128,64 +46416,100 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46128
46416
|
var _useWebViewHistory = useWebViewHistory(), hasHistory = _useWebViewHistory.hasHistory, onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
|
|
46129
46417
|
var _useBackEventState = useBackEventState(), webBackHandlersRef = _useBackEventState.handlersRef, hasWebBackEvent = _useBackEventState.hasBackEvent, addWebBackEventListener = _useBackEventState.addEventListener, removeWebBackEventListener = _useBackEventState.removeEventListener;
|
|
46130
46418
|
var logging = useNavigationBarLogging();
|
|
46131
|
-
var
|
|
46419
|
+
var openConfirm = useDialog().openConfirm;
|
|
46420
|
+
var global2 = getAppsInTossGlobals();
|
|
46421
|
+
var addEventListener = (0, import_react200.useCallback)(function(handler) {
|
|
46132
46422
|
addWebBackEventListener(handler);
|
|
46133
46423
|
}, [
|
|
46134
46424
|
addWebBackEventListener
|
|
46135
46425
|
]);
|
|
46136
|
-
var removeEventListener = (0,
|
|
46426
|
+
var removeEventListener = (0, import_react200.useCallback)(function(handler) {
|
|
46137
46427
|
removeWebBackEventListener(handler);
|
|
46138
46428
|
}, [
|
|
46139
46429
|
removeWebBackEventListener
|
|
46140
46430
|
]);
|
|
46141
|
-
var handleWebBack = (0,
|
|
46431
|
+
var handleWebBack = (0, import_react200.useCallback)(function() {
|
|
46142
46432
|
return _async_to_generator(function() {
|
|
46143
|
-
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, handler, _webViewRef_current;
|
|
46433
|
+
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, handler, _webViewRef_current, isConfirmed;
|
|
46144
46434
|
return __generator(this, function(_state) {
|
|
46145
|
-
|
|
46146
|
-
|
|
46147
|
-
|
|
46148
|
-
|
|
46149
|
-
|
|
46150
|
-
|
|
46151
|
-
|
|
46152
|
-
|
|
46153
|
-
|
|
46154
|
-
|
|
46155
|
-
|
|
46156
|
-
|
|
46157
|
-
|
|
46158
|
-
|
|
46159
|
-
|
|
46160
|
-
|
|
46161
|
-
|
|
46162
|
-
|
|
46435
|
+
switch (_state.label) {
|
|
46436
|
+
case 0:
|
|
46437
|
+
if (hasWebBackEvent) {
|
|
46438
|
+
_iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
46439
|
+
try {
|
|
46440
|
+
for (_iterator = webBackHandlersRef[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
46441
|
+
handler = _step.value;
|
|
46442
|
+
handler();
|
|
46443
|
+
}
|
|
46444
|
+
} catch (err) {
|
|
46445
|
+
_didIteratorError = true;
|
|
46446
|
+
_iteratorError = err;
|
|
46447
|
+
} finally {
|
|
46448
|
+
try {
|
|
46449
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
46450
|
+
_iterator.return();
|
|
46451
|
+
}
|
|
46452
|
+
} finally {
|
|
46453
|
+
if (_didIteratorError) {
|
|
46454
|
+
throw _iteratorError;
|
|
46455
|
+
}
|
|
46456
|
+
}
|
|
46163
46457
|
}
|
|
46458
|
+
return [
|
|
46459
|
+
2
|
|
46460
|
+
];
|
|
46164
46461
|
}
|
|
46165
|
-
|
|
46166
|
-
|
|
46167
|
-
|
|
46168
|
-
|
|
46169
|
-
|
|
46170
|
-
|
|
46171
|
-
|
|
46172
|
-
|
|
46173
|
-
|
|
46174
|
-
|
|
46462
|
+
if (!hasHistory) return [
|
|
46463
|
+
3,
|
|
46464
|
+
1
|
|
46465
|
+
];
|
|
46466
|
+
(_webViewRef_current = webViewRef.current) === null || _webViewRef_current === void 0 ? void 0 : _webViewRef_current.injectJavaScript("window.history.back();");
|
|
46467
|
+
return [
|
|
46468
|
+
3,
|
|
46469
|
+
3
|
|
46470
|
+
];
|
|
46471
|
+
case 1:
|
|
46472
|
+
if (global2.webViewType !== "game") {
|
|
46473
|
+
closeView();
|
|
46474
|
+
return [
|
|
46475
|
+
2
|
|
46476
|
+
];
|
|
46477
|
+
}
|
|
46478
|
+
return [
|
|
46479
|
+
4,
|
|
46480
|
+
openConfirm({
|
|
46481
|
+
title: "".concat(josa(global2.brandDisplayName, "\uC744/\uB97C"), " \uC885\uB8CC\uD560\uAE4C\uC694?"),
|
|
46482
|
+
leftButton: "\uB2EB\uAE30",
|
|
46483
|
+
rightButton: "\uC885\uB8CC\uD558\uAE30",
|
|
46484
|
+
closeOnDimmerClick: true,
|
|
46485
|
+
onEntered: logging.closePopupShow
|
|
46486
|
+
})
|
|
46487
|
+
];
|
|
46488
|
+
case 2:
|
|
46489
|
+
isConfirmed = _state.sent();
|
|
46490
|
+
logging.closePopupCtaClick(isConfirmed);
|
|
46491
|
+
if (isConfirmed) {
|
|
46492
|
+
closeView();
|
|
46493
|
+
}
|
|
46494
|
+
_state.label = 3;
|
|
46495
|
+
case 3:
|
|
46496
|
+
return [
|
|
46497
|
+
2
|
|
46498
|
+
];
|
|
46175
46499
|
}
|
|
46176
|
-
return [
|
|
46177
|
-
2
|
|
46178
|
-
];
|
|
46179
46500
|
});
|
|
46180
46501
|
})();
|
|
46181
46502
|
}, [
|
|
46503
|
+
global2.webViewType,
|
|
46504
|
+
global2.brandDisplayName,
|
|
46182
46505
|
hasHistory,
|
|
46183
46506
|
hasWebBackEvent,
|
|
46184
46507
|
webBackHandlersRef,
|
|
46185
46508
|
logging,
|
|
46509
|
+
openConfirm,
|
|
46186
46510
|
webViewRef
|
|
46187
46511
|
]);
|
|
46188
|
-
var handleWebHome = (0,
|
|
46512
|
+
var handleWebHome = (0, import_react200.useCallback)(function() {
|
|
46189
46513
|
var _webViewRef_current;
|
|
46190
46514
|
logging.homeButtonClick();
|
|
46191
46515
|
if (homeEvent.hasSubscriptions()) {
|
|
@@ -46200,7 +46524,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46200
46524
|
webViewInitialURL,
|
|
46201
46525
|
webViewRef
|
|
46202
46526
|
]);
|
|
46203
|
-
return (0,
|
|
46527
|
+
return (0, import_react200.useMemo)(function() {
|
|
46204
46528
|
return {
|
|
46205
46529
|
addEventListener,
|
|
46206
46530
|
removeEventListener,
|
|
@@ -46505,8 +46829,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46505
46829
|
if (!TYPES.includes(type)) {
|
|
46506
46830
|
throw new Error("Invalid WebView type: '".concat(type, "'"));
|
|
46507
46831
|
}
|
|
46508
|
-
var webViewRef = (0,
|
|
46509
|
-
var url = (0,
|
|
46832
|
+
var webViewRef = (0, import_react193.useRef)(null);
|
|
46833
|
+
var url = (0, import_react193.useMemo)(function() {
|
|
46510
46834
|
return getWebViewURL(local);
|
|
46511
46835
|
}, [
|
|
46512
46836
|
local
|
|
@@ -46516,7 +46840,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46516
46840
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
46517
46841
|
var navigationBarContext = useNavigationBarContext();
|
|
46518
46842
|
var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
|
|
46519
|
-
var _useState6 = _sliced_to_array((0,
|
|
46843
|
+
var _useState6 = _sliced_to_array((0, import_react193.useState)(props.allowsBackForwardNavigationGestures), 2), allowsBackForwardNavigationGestures = _useState6[0], setAllowsBackForwardNavigationGestures = _useState6[1];
|
|
46520
46844
|
var handler = useBridgeHandler({
|
|
46521
46845
|
onMessage,
|
|
46522
46846
|
eventListenerMap: _object_spread_props(_object_spread({}, event_bridges_exports), {
|
|
@@ -46654,7 +46978,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46654
46978
|
}
|
|
46655
46979
|
})
|
|
46656
46980
|
});
|
|
46657
|
-
var headerPropForExternalWebView = (0,
|
|
46981
|
+
var headerPropForExternalWebView = (0, import_react193.useMemo)(function() {
|
|
46658
46982
|
var _ref;
|
|
46659
46983
|
var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
|
|
46660
46984
|
var initialAccessoryButton = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.initialAccessoryButton;
|
|
@@ -46679,7 +47003,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46679
47003
|
colorPreference: "light"
|
|
46680
47004
|
});
|
|
46681
47005
|
var refs = mergeRefs3(handler.ref, webViewRef);
|
|
46682
|
-
(0,
|
|
47006
|
+
(0, import_react193.useEffect)(function() {
|
|
46683
47007
|
var callback = function() {
|
|
46684
47008
|
webBackHandler.handleWebBack();
|
|
46685
47009
|
return true;
|
|
@@ -46755,7 +47079,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46755
47079
|
onRenderProcessGone: handleWebViewProcessDidTerminate
|
|
46756
47080
|
}));
|
|
46757
47081
|
}
|
|
46758
|
-
var import_react_native182, import_react176, import_react177, import_jsx_runtime212, import_react178, import_jsx_runtime213, import_react179, import_react_native186, import_react180, import_react_native188, import_react181, import_react182, import_react_native191, import_react183, import_react184, import_react185, import_react186, import_jsx_runtime214, import_jsx_runtime215, import_react187, import_react_native194, import_react188, import_react189, import_react_native199, import_jsx_runtime216, import_jsx_runtime217, import_jsx_runtime218, import_jsx_runtime219, import_jsx_runtime220,
|
|
47082
|
+
var import_react_native182, import_react176, import_react177, import_jsx_runtime212, import_react178, import_jsx_runtime213, import_react179, import_react_native186, import_react180, import_react_native188, import_react181, import_react182, import_react_native191, import_react183, import_react184, import_react185, import_react186, import_jsx_runtime214, import_jsx_runtime215, import_react187, import_react_native194, import_react188, import_react189, import_react190, import_react_native199, import_jsx_runtime216, import_jsx_runtime217, import_jsx_runtime218, import_jsx_runtime219, import_jsx_runtime220, import_react191, 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_react192, import_jsx_runtime226, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_jsx_runtime230, import_react193, import_react_native210, import_react194, import_react_native211, import_react195, import_jsx_runtime231, import_jsx_runtime232, import_react196, import_react197, import_jsx_runtime233, import_jsx_runtime234, import_react198, import_react199, import_react200, import_react201, import_react_native218, import_react202, import_react203, import_jsx_runtime235, import_react204, import_react_native221, import_react205, import_react_native222, import_jsx_runtime236, import_react206, 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;
|
|
46759
47083
|
var init_dist8 = __esm({
|
|
46760
47084
|
"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
|
|
46761
47085
|
"use strict";
|
|
@@ -46821,12 +47145,15 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46821
47145
|
import_react_native194 = __toESM(require_react_native(), 1);
|
|
46822
47146
|
init_src3();
|
|
46823
47147
|
import_react188 = __toESM(require_react(), 1);
|
|
47148
|
+
init_esm7();
|
|
47149
|
+
init_dist6();
|
|
47150
|
+
import_react189 = __toESM(require_react(), 1);
|
|
46824
47151
|
init_src3();
|
|
46825
47152
|
init_dist5();
|
|
46826
47153
|
init_src3();
|
|
46827
47154
|
init_esm7();
|
|
46828
47155
|
init_private2();
|
|
46829
|
-
|
|
47156
|
+
import_react190 = __toESM(require_react(), 1);
|
|
46830
47157
|
init_dist5();
|
|
46831
47158
|
init_src3();
|
|
46832
47159
|
init_esm7();
|
|
@@ -46845,7 +47172,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46845
47172
|
init_react_native_safe_area_context();
|
|
46846
47173
|
init_src3();
|
|
46847
47174
|
init_esm7();
|
|
46848
|
-
|
|
47175
|
+
import_react191 = __toESM(require_react(), 1);
|
|
46849
47176
|
import_react_native203 = __toESM(require_react_native(), 1);
|
|
46850
47177
|
import_jsx_runtime221 = __toESM(require_jsx_runtime(), 1);
|
|
46851
47178
|
init_react_native_svg();
|
|
@@ -46860,7 +47187,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46860
47187
|
init_esm7();
|
|
46861
47188
|
import_react_native208 = __toESM(require_react_native(), 1);
|
|
46862
47189
|
import_jsx_runtime225 = __toESM(require_jsx_runtime(), 1);
|
|
46863
|
-
|
|
47190
|
+
import_react192 = __toESM(require_react(), 1);
|
|
46864
47191
|
import_jsx_runtime226 = __toESM(require_jsx_runtime(), 1);
|
|
46865
47192
|
import_jsx_runtime227 = __toESM(require_jsx_runtime(), 1);
|
|
46866
47193
|
import_jsx_runtime228 = __toESM(require_jsx_runtime(), 1);
|
|
@@ -46877,21 +47204,22 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46877
47204
|
init_react_native_safe_area_context();
|
|
46878
47205
|
init_src3();
|
|
46879
47206
|
init_esm7();
|
|
46880
|
-
|
|
47207
|
+
import_react193 = __toESM(require_react(), 1);
|
|
46881
47208
|
import_react_native210 = __toESM(require_react_native(), 1);
|
|
46882
47209
|
init_dist5();
|
|
46883
47210
|
init_react_native_webview();
|
|
46884
|
-
|
|
47211
|
+
import_react194 = __toESM(require_react(), 1);
|
|
46885
47212
|
import_react_native211 = __toESM(require_react_native(), 1);
|
|
46886
47213
|
init_src3();
|
|
46887
47214
|
init_esm7();
|
|
46888
|
-
|
|
47215
|
+
init_dist6();
|
|
47216
|
+
import_react195 = __toESM(require_react(), 1);
|
|
46889
47217
|
import_jsx_runtime231 = __toESM(require_jsx_runtime(), 1);
|
|
46890
47218
|
import_jsx_runtime232 = __toESM(require_jsx_runtime(), 1);
|
|
46891
47219
|
init_react_native_webview();
|
|
46892
|
-
import_react195 = __toESM(require_react(), 1);
|
|
46893
|
-
init_src3();
|
|
46894
47220
|
import_react196 = __toESM(require_react(), 1);
|
|
47221
|
+
init_src3();
|
|
47222
|
+
import_react197 = __toESM(require_react(), 1);
|
|
46895
47223
|
import_jsx_runtime233 = __toESM(require_jsx_runtime(), 1);
|
|
46896
47224
|
import_jsx_runtime234 = __toESM(require_jsx_runtime(), 1);
|
|
46897
47225
|
init_dist5();
|
|
@@ -46900,17 +47228,19 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46900
47228
|
init_dist5();
|
|
46901
47229
|
init_src3();
|
|
46902
47230
|
init_src3();
|
|
46903
|
-
import_react197 = __toESM(require_react(), 1);
|
|
46904
|
-
init_react_native_safe_area_context();
|
|
46905
47231
|
import_react198 = __toESM(require_react(), 1);
|
|
46906
|
-
|
|
47232
|
+
init_react_native_safe_area_context();
|
|
46907
47233
|
import_react199 = __toESM(require_react(), 1);
|
|
47234
|
+
init_src3();
|
|
47235
|
+
init_esm7();
|
|
47236
|
+
init_dist6();
|
|
46908
47237
|
import_react200 = __toESM(require_react(), 1);
|
|
47238
|
+
import_react201 = __toESM(require_react(), 1);
|
|
46909
47239
|
init_dist5();
|
|
46910
47240
|
import_react_native218 = __toESM(require_react_native(), 1);
|
|
46911
47241
|
init_dist5();
|
|
46912
|
-
import_react201 = __toESM(require_react(), 1);
|
|
46913
47242
|
import_react202 = __toESM(require_react(), 1);
|
|
47243
|
+
import_react203 = __toESM(require_react(), 1);
|
|
46914
47244
|
init_dist5();
|
|
46915
47245
|
init_src3();
|
|
46916
47246
|
init_esm7();
|
|
@@ -46920,12 +47250,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46920
47250
|
init_dist5();
|
|
46921
47251
|
init_dist3();
|
|
46922
47252
|
init_dist3();
|
|
46923
|
-
import_react203 = __toESM(require_react(), 1);
|
|
46924
|
-
import_react_native221 = __toESM(require_react_native(), 1);
|
|
46925
47253
|
import_react204 = __toESM(require_react(), 1);
|
|
47254
|
+
import_react_native221 = __toESM(require_react_native(), 1);
|
|
47255
|
+
import_react205 = __toESM(require_react(), 1);
|
|
46926
47256
|
import_react_native222 = __toESM(require_react_native(), 1);
|
|
46927
47257
|
import_jsx_runtime236 = __toESM(require_jsx_runtime(), 1);
|
|
46928
|
-
|
|
47258
|
+
import_react206 = __toESM(require_react(), 1);
|
|
46929
47259
|
import_react_native223 = __toESM(require_react_native(), 1);
|
|
46930
47260
|
import_jsx_runtime237 = __toESM(require_jsx_runtime(), 1);
|
|
46931
47261
|
import_jsx_runtime238 = __toESM(require_jsx_runtime(), 1);
|
|
@@ -47480,8 +47810,12 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47480
47810
|
safeAreaInsetsChange = createEvent("safeAreaInsetsChange");
|
|
47481
47811
|
NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
|
|
47482
47812
|
NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
|
|
47813
|
+
CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
|
|
47814
|
+
CLOSE_POPUP_SHOW_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app";
|
|
47483
47815
|
CLOSE_BUTTON_CLICK_SCHEMA_ID = 1596831;
|
|
47484
47816
|
CLOSE_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_close";
|
|
47817
|
+
CLOSE_POPUP_CTA_CLICK_SCHEMA_ID = 1644492;
|
|
47818
|
+
CLOSE_POPUP_CTA_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app::click__cta";
|
|
47485
47819
|
HOME_BUTTON_CLICK_SCHEMA_ID = 1596839;
|
|
47486
47820
|
HOME_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_home";
|
|
47487
47821
|
BOTTOM_SHEET_SCHEMA_ID = 1596825;
|
|
@@ -47530,8 +47864,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47530
47864
|
AppsInToss = {
|
|
47531
47865
|
registerApp
|
|
47532
47866
|
};
|
|
47533
|
-
GameWebView = /* @__PURE__ */ (0,
|
|
47534
|
-
(0,
|
|
47867
|
+
GameWebView = /* @__PURE__ */ (0, import_react194.forwardRef)(function GameWebView2(props, ref) {
|
|
47868
|
+
(0, import_react194.useEffect)(function() {
|
|
47535
47869
|
if (import_react_native211.Platform.OS === "ios") {
|
|
47536
47870
|
setIosSwipeGestureEnabled({
|
|
47537
47871
|
isEnabled: false
|
|
@@ -47557,7 +47891,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47557
47891
|
]
|
|
47558
47892
|
});
|
|
47559
47893
|
});
|
|
47560
|
-
PartnerWebView = /* @__PURE__ */ (0,
|
|
47894
|
+
PartnerWebView = /* @__PURE__ */ (0, import_react196.forwardRef)(function PartnerWebViewScreen(_03, _1) {
|
|
47561
47895
|
var _ref = [
|
|
47562
47896
|
_03,
|
|
47563
47897
|
_1
|