@apps-in-toss/web-framework 2.4.0 → 2.4.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 +168 -144
- package/dist/prebuilt/dev.ios.rn84.js +168 -144
- package/dist/prebuilt/prod.android.rn72.js +540 -145
- package/dist/prebuilt/prod.android.rn84.js +74 -49
- package/dist/prebuilt/prod.ios.rn72.js +540 -145
- package/dist/prebuilt/prod.ios.rn84.js +74 -49
- package/package.json +8 -8
|
@@ -136510,7 +136510,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
136510
136510
|
var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
|
|
136511
136511
|
context: _context.context
|
|
136512
136512
|
});
|
|
136513
|
-
},1273,[1274,
|
|
136513
|
+
},1273,[1274,2581,9],"src/_app.tsx");
|
|
136514
136514
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
136515
136515
|
"use strict";
|
|
136516
136516
|
|
|
@@ -138248,6 +138248,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138248
138248
|
}
|
|
138249
138249
|
var import_native_modules16 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
|
|
138250
138250
|
function noop() {}
|
|
138251
|
+
var INVALID_AD_GROUP_ID_ERROR_MESSAGE = "\uC798\uBABB\uB41C \uC694\uCCAD\uC774\uC5D0\uC694. \uD544\uC694\uD55C \uAC12\uC774 \uBE44\uC5B4 \uC788\uC5B4\uC694.";
|
|
138252
|
+
function normalizeAdGroupId(adGroupId) {
|
|
138253
|
+
return adGroupId.trim();
|
|
138254
|
+
}
|
|
138255
|
+
function createInvalidAdGroupIdError() {
|
|
138256
|
+
return new Error(INVALID_AD_GROUP_ID_ERROR_MESSAGE);
|
|
138257
|
+
}
|
|
138251
138258
|
function generateSessionId() {
|
|
138252
138259
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, c => {
|
|
138253
138260
|
var r = Math.random() * 16 | 0;
|
|
@@ -138268,7 +138275,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138268
138275
|
var onEvent = params.onEvent,
|
|
138269
138276
|
onError = params.onError,
|
|
138270
138277
|
options = params.options;
|
|
138271
|
-
var adGroupId = options.adGroupId;
|
|
138278
|
+
var adGroupId = normalizeAdGroupId(options.adGroupId);
|
|
138279
|
+
if (adGroupId.length === 0) {
|
|
138280
|
+
params.onError(createInvalidAdGroupIdError());
|
|
138281
|
+
return noop;
|
|
138282
|
+
}
|
|
138272
138283
|
var unregisterCallbacks = import_native_modules16.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("fetchTossAd", {
|
|
138273
138284
|
spaceUnitId: adGroupId,
|
|
138274
138285
|
sessionId,
|
|
@@ -138346,8 +138357,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138346
138357
|
}).catch(noop);
|
|
138347
138358
|
}
|
|
138348
138359
|
var INTEGRATED_AD_SDK_VERSION = "0.0.0";
|
|
138349
|
-
var ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.
|
|
138350
|
-
var IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.
|
|
138360
|
+
var ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.247.0";
|
|
138361
|
+
var IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.247.0";
|
|
138351
138362
|
var UNSUPPORTED_ERROR_MESSAGE2 = "This feature is not supported in the current environment";
|
|
138352
138363
|
var INTG_AD_ADM_FALLBACK_RID_MAP = {};
|
|
138353
138364
|
function integratedAdIsSupported() {
|
|
@@ -138362,16 +138373,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138362
138373
|
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
|
|
138363
138374
|
return noop;
|
|
138364
138375
|
}
|
|
138376
|
+
var normalizedAdGroupId = normalizeAdGroupId(params.options.adGroupId);
|
|
138377
|
+
if (normalizedAdGroupId.length === 0) {
|
|
138378
|
+
params.onError(createInvalidAdGroupIdError());
|
|
138379
|
+
return noop;
|
|
138380
|
+
}
|
|
138381
|
+
var normalizedParams = {
|
|
138382
|
+
...params,
|
|
138383
|
+
options: {
|
|
138384
|
+
...params.options,
|
|
138385
|
+
adGroupId: normalizedAdGroupId
|
|
138386
|
+
}
|
|
138387
|
+
};
|
|
138365
138388
|
if (!integratedAdIsSupported()) {
|
|
138366
138389
|
return import_native_modules18.GoogleAdMob.loadAppsInTossAdMob({
|
|
138367
|
-
...
|
|
138390
|
+
...normalizedParams,
|
|
138368
138391
|
onEvent: event => {
|
|
138369
138392
|
if (event.type === "loaded") {
|
|
138370
138393
|
var requestId = generateRequestId();
|
|
138371
|
-
INTG_AD_ADM_FALLBACK_RID_MAP[
|
|
138394
|
+
INTG_AD_ADM_FALLBACK_RID_MAP[normalizedAdGroupId] = requestId;
|
|
138372
138395
|
postEventTracking({
|
|
138373
138396
|
eventName: "LOAD",
|
|
138374
|
-
spaceUnitId:
|
|
138397
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138375
138398
|
requestId,
|
|
138376
138399
|
responseId: event.data.responseInfo.responseId,
|
|
138377
138400
|
mediationType: "ADMOB",
|
|
@@ -138380,13 +138403,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138380
138403
|
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
138381
138404
|
});
|
|
138382
138405
|
}
|
|
138383
|
-
return
|
|
138406
|
+
return normalizedParams.onEvent(event);
|
|
138384
138407
|
},
|
|
138385
138408
|
onError: error => {
|
|
138386
|
-
var requestId = INTG_AD_ADM_FALLBACK_RID_MAP[
|
|
138409
|
+
var requestId = INTG_AD_ADM_FALLBACK_RID_MAP[normalizedAdGroupId] ?? "";
|
|
138387
138410
|
postEventTracking({
|
|
138388
138411
|
eventName: "FAILED_TO_LOAD",
|
|
138389
|
-
spaceUnitId:
|
|
138412
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138390
138413
|
requestId,
|
|
138391
138414
|
responseId: "",
|
|
138392
138415
|
mediationType: "ADMOB",
|
|
@@ -138394,13 +138417,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138394
138417
|
adSourceName: "",
|
|
138395
138418
|
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
138396
138419
|
});
|
|
138397
|
-
return
|
|
138420
|
+
return normalizedParams.onError(error);
|
|
138398
138421
|
}
|
|
138399
138422
|
});
|
|
138400
138423
|
}
|
|
138401
|
-
var onEvent =
|
|
138402
|
-
onError =
|
|
138403
|
-
options =
|
|
138424
|
+
var onEvent = normalizedParams.onEvent,
|
|
138425
|
+
onError = normalizedParams.onError,
|
|
138426
|
+
options = normalizedParams.options;
|
|
138404
138427
|
var adGroupId = options.adGroupId;
|
|
138405
138428
|
var referrer = getReferrer();
|
|
138406
138429
|
var unregisterCallbacks = import_native_modules18.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadTossAdOrAdmob", {
|
|
@@ -138430,16 +138453,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138430
138453
|
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
|
|
138431
138454
|
return noop;
|
|
138432
138455
|
}
|
|
138456
|
+
var normalizedAdGroupId = normalizeAdGroupId(params.options.adGroupId);
|
|
138457
|
+
if (normalizedAdGroupId.length === 0) {
|
|
138458
|
+
params.onError(createInvalidAdGroupIdError());
|
|
138459
|
+
return noop;
|
|
138460
|
+
}
|
|
138461
|
+
var normalizedParams = {
|
|
138462
|
+
...params,
|
|
138463
|
+
options: {
|
|
138464
|
+
...params.options,
|
|
138465
|
+
adGroupId: normalizedAdGroupId
|
|
138466
|
+
}
|
|
138467
|
+
};
|
|
138433
138468
|
if (!integratedAdIsSupported()) {
|
|
138434
138469
|
return import_native_modules18.GoogleAdMob.showAppsInTossAdMob({
|
|
138435
|
-
...
|
|
138470
|
+
...normalizedParams,
|
|
138436
138471
|
onEvent: event => {
|
|
138437
|
-
var requestId = INTG_AD_ADM_FALLBACK_RID_MAP[
|
|
138472
|
+
var requestId = INTG_AD_ADM_FALLBACK_RID_MAP[normalizedAdGroupId] ?? "";
|
|
138438
138473
|
switch (event.type) {
|
|
138439
138474
|
case "show":
|
|
138440
138475
|
postEventTracking({
|
|
138441
138476
|
eventName: "SHOW",
|
|
138442
|
-
spaceUnitId:
|
|
138477
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138443
138478
|
requestId,
|
|
138444
138479
|
responseId: "",
|
|
138445
138480
|
mediationType: "ADMOB",
|
|
@@ -138451,7 +138486,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138451
138486
|
case "failedToShow":
|
|
138452
138487
|
postEventTracking({
|
|
138453
138488
|
eventName: "FAILED_TO_SHOW",
|
|
138454
|
-
spaceUnitId:
|
|
138489
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138455
138490
|
requestId,
|
|
138456
138491
|
responseId: "",
|
|
138457
138492
|
mediationType: "ADMOB",
|
|
@@ -138463,7 +138498,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138463
138498
|
case "impression":
|
|
138464
138499
|
postEventTracking({
|
|
138465
138500
|
eventName: "IMP",
|
|
138466
|
-
spaceUnitId:
|
|
138501
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138467
138502
|
requestId,
|
|
138468
138503
|
responseId: "",
|
|
138469
138504
|
mediationType: "ADMOB",
|
|
@@ -138475,7 +138510,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138475
138510
|
case "clicked":
|
|
138476
138511
|
postEventTracking({
|
|
138477
138512
|
eventName: "CLICK",
|
|
138478
|
-
spaceUnitId:
|
|
138513
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138479
138514
|
requestId,
|
|
138480
138515
|
responseId: "",
|
|
138481
138516
|
mediationType: "ADMOB",
|
|
@@ -138487,7 +138522,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138487
138522
|
case "dismissed":
|
|
138488
138523
|
postEventTracking({
|
|
138489
138524
|
eventName: "DISMISS",
|
|
138490
|
-
spaceUnitId:
|
|
138525
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138491
138526
|
requestId,
|
|
138492
138527
|
responseId: "",
|
|
138493
138528
|
mediationType: "ADMOB",
|
|
@@ -138499,7 +138534,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138499
138534
|
case "userEarnedReward":
|
|
138500
138535
|
postEventTracking({
|
|
138501
138536
|
eventName: "USER_EARNED_REWARD",
|
|
138502
|
-
spaceUnitId:
|
|
138537
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138503
138538
|
requestId,
|
|
138504
138539
|
responseId: "",
|
|
138505
138540
|
mediationType: "ADMOB",
|
|
@@ -138509,13 +138544,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138509
138544
|
});
|
|
138510
138545
|
break;
|
|
138511
138546
|
}
|
|
138512
|
-
return
|
|
138547
|
+
return normalizedParams.onEvent(event);
|
|
138513
138548
|
},
|
|
138514
138549
|
onError: error => {
|
|
138515
|
-
var requestId = INTG_AD_ADM_FALLBACK_RID_MAP[
|
|
138550
|
+
var requestId = INTG_AD_ADM_FALLBACK_RID_MAP[normalizedAdGroupId] ?? "";
|
|
138516
138551
|
postEventTracking({
|
|
138517
138552
|
eventName: "FAILED_TO_SHOW",
|
|
138518
|
-
spaceUnitId:
|
|
138553
|
+
spaceUnitId: normalizedAdGroupId,
|
|
138519
138554
|
requestId,
|
|
138520
138555
|
responseId: "",
|
|
138521
138556
|
mediationType: "ADMOB",
|
|
@@ -138523,13 +138558,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
138523
138558
|
adSourceName: "",
|
|
138524
138559
|
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
138525
138560
|
});
|
|
138526
|
-
return
|
|
138561
|
+
return normalizedParams.onError(error);
|
|
138527
138562
|
}
|
|
138528
138563
|
});
|
|
138529
138564
|
}
|
|
138530
|
-
var onEvent =
|
|
138531
|
-
onError =
|
|
138532
|
-
options =
|
|
138565
|
+
var onEvent = normalizedParams.onEvent,
|
|
138566
|
+
onError = normalizedParams.onError,
|
|
138567
|
+
options = normalizedParams.options;
|
|
138533
138568
|
var adGroupId = options.adGroupId;
|
|
138534
138569
|
var referrer = getReferrer();
|
|
138535
138570
|
var unregisterCallbacks = import_native_modules18.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showTossAdOrAdmob", {
|
|
@@ -139667,10 +139702,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
139667
139702
|
}
|
|
139668
139703
|
function _loadAd() {
|
|
139669
139704
|
_loadAd = _asyncToGenerator(function* (adGroupId) {
|
|
139670
|
-
|
|
139705
|
+
var normalizedAdGroupId = normalizeAdGroupId(adGroupId);
|
|
139706
|
+
if (normalizedAdGroupId.length === 0) {
|
|
139671
139707
|
return {
|
|
139672
139708
|
type: "error",
|
|
139673
|
-
error: createError(ERROR_CODES.INVALID_SPACE,
|
|
139709
|
+
error: createError(ERROR_CODES.INVALID_SPACE, INVALID_AD_GROUP_ID_ERROR_MESSAGE)
|
|
139674
139710
|
};
|
|
139675
139711
|
}
|
|
139676
139712
|
if (!fetchTossAd.isSupported()) {
|
|
@@ -139682,7 +139718,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
139682
139718
|
var response;
|
|
139683
139719
|
try {
|
|
139684
139720
|
var raw = yield fetchTossAdPromise({
|
|
139685
|
-
adGroupId,
|
|
139721
|
+
adGroupId: normalizedAdGroupId,
|
|
139686
139722
|
sdkId: SDK_ID,
|
|
139687
139723
|
availableStyleIds: AVAILABLE_STYLE_IDS
|
|
139688
139724
|
});
|
|
@@ -140557,29 +140593,30 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
140557
140593
|
};
|
|
140558
140594
|
}, []);
|
|
140559
140595
|
(0, import_react31.useEffect)(() => {
|
|
140596
|
+
var normalizedAdGroupId = normalizeAdGroupId(adGroupId);
|
|
140560
140597
|
var loadAdRequest = () => {
|
|
140561
140598
|
if (loadingRef.current) {
|
|
140562
140599
|
return;
|
|
140563
140600
|
}
|
|
140564
|
-
if (
|
|
140565
|
-
var error = createError2(ERROR_CODES.INVALID_SPACE,
|
|
140566
|
-
callbacksRef.current.onAdFailedToRender?.(buildBannerErrorPayload(slotIdRef.current,
|
|
140601
|
+
if (normalizedAdGroupId.length === 0) {
|
|
140602
|
+
var error = createError2(ERROR_CODES.INVALID_SPACE, INVALID_AD_GROUP_ID_ERROR_MESSAGE);
|
|
140603
|
+
callbacksRef.current.onAdFailedToRender?.(buildBannerErrorPayload(slotIdRef.current, normalizedAdGroupId, error));
|
|
140567
140604
|
return;
|
|
140568
140605
|
}
|
|
140569
140606
|
loadingRef.current = true;
|
|
140570
|
-
loadAd(
|
|
140607
|
+
loadAd(normalizedAdGroupId).then(result => {
|
|
140571
140608
|
if (!isMountedRef.current) return;
|
|
140572
140609
|
if (result.type === "noFill") {
|
|
140573
|
-
callbacksRef.current.onNoFill?.(buildNoFillPayload(slotIdRef.current,
|
|
140610
|
+
callbacksRef.current.onNoFill?.(buildNoFillPayload(slotIdRef.current, normalizedAdGroupId));
|
|
140574
140611
|
return;
|
|
140575
140612
|
}
|
|
140576
140613
|
if (result.type === "error") {
|
|
140577
|
-
callbacksRef.current.onAdFailedToRender?.(buildBannerErrorPayload(slotIdRef.current,
|
|
140614
|
+
callbacksRef.current.onAdFailedToRender?.(buildBannerErrorPayload(slotIdRef.current, normalizedAdGroupId, result.error));
|
|
140578
140615
|
return;
|
|
140579
140616
|
}
|
|
140580
140617
|
if (!isValidCreative(result.ad)) {
|
|
140581
140618
|
var invalidError = createError2(ERROR_CODES.INTERNAL_ERROR, "Invalid creative payload");
|
|
140582
|
-
callbacksRef.current.onAdFailedToRender?.(buildBannerErrorPayload(slotIdRef.current,
|
|
140619
|
+
callbacksRef.current.onAdFailedToRender?.(buildBannerErrorPayload(slotIdRef.current, normalizedAdGroupId, invalidError));
|
|
140583
140620
|
return;
|
|
140584
140621
|
}
|
|
140585
140622
|
if (result.responseExt?.refetchSeconds !== void 0) {
|
|
@@ -140594,7 +140631,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
140594
140631
|
clearTimeout(viewableTimerRef.current);
|
|
140595
140632
|
viewableTimerRef.current = null;
|
|
140596
140633
|
}
|
|
140597
|
-
var payload = buildBannerEventPayload(slotIdRef.current,
|
|
140634
|
+
var payload = buildBannerEventPayload(slotIdRef.current, normalizedAdGroupId, result.ad);
|
|
140598
140635
|
eventPayloadRef.current = payload;
|
|
140599
140636
|
eventTrackerRef.current = new EventTracker(result.ad.eventTrackingUrls ?? [], result.ad.eventTypes ?? [], result.ad.eventPayload ?? "", result.requestId, result.ad.creative?.id);
|
|
140600
140637
|
setIsAdBadgeEnabled(result.responseExt?.isAdBadgeEnabled !== false);
|
|
@@ -140602,7 +140639,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
140602
140639
|
}).catch(error => {
|
|
140603
140640
|
if (!isMountedRef.current) return;
|
|
140604
140641
|
var adError = error instanceof Error ? createError2(ERROR_CODES.INTERNAL_ERROR, error.message) : createError2(ERROR_CODES.INTERNAL_ERROR, "Unknown error");
|
|
140605
|
-
callbacksRef.current.onAdFailedToRender?.(buildBannerErrorPayload(slotIdRef.current,
|
|
140642
|
+
callbacksRef.current.onAdFailedToRender?.(buildBannerErrorPayload(slotIdRef.current, normalizedAdGroupId, adError));
|
|
140606
140643
|
}).finally(() => {
|
|
140607
140644
|
loadingRef.current = false;
|
|
140608
140645
|
});
|
|
@@ -140807,7 +140844,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
140807
140844
|
..._$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"),
|
|
140808
140845
|
..._$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types")
|
|
140809
140846
|
});
|
|
140810
|
-
},1274,[20,19,16,47,1275,1276,2,1463,33,6,9,2427,2508,610,2511,
|
|
140847
|
+
},1274,[20,19,16,47,1275,1276,2,1463,33,6,9,2427,2508,610,2511,2556,2564,2580,2436,1277,749],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
|
|
140811
140848
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
140812
140849
|
"use strict";
|
|
140813
140850
|
|
|
@@ -141517,9 +141554,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
141517
141554
|
var import_types = _$$_REQUIRE(_dependencyMap[10], "@apps-in-toss/types");
|
|
141518
141555
|
var import_react_native = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
|
|
141519
141556
|
var import_brick_module2 = _$$_REQUIRE(_dependencyMap[8], "brick-module");
|
|
141520
|
-
var
|
|
141557
|
+
var TossCoreModule = import_brick_module2.BrickModule.get("TossCoreModule");
|
|
141521
141558
|
var import_brick_module3 = _$$_REQUIRE(_dependencyMap[8], "brick-module");
|
|
141522
|
-
var
|
|
141559
|
+
var CommonModule = import_brick_module3.BrickModule.get("CommonModule");
|
|
141523
141560
|
function openPermissionDialog(permission) {
|
|
141524
141561
|
return safePostMessage("openPermissionDialog", permission);
|
|
141525
141562
|
}
|
|
@@ -210993,7 +211030,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
210993
211030
|
}
|
|
210994
211031
|
});
|
|
210995
211032
|
});
|
|
210996
|
-
},2511,[2512,2521,2522,2523,2524,2525,2526,2527,2528,2529,2530,
|
|
211033
|
+
},2511,[2512,2520,2521,2522,2523,2524,2525,2526,2527,2528,2529,2530,2532,2533,2534,2535,2536,2537,2538,2541,2542,2543,2544,2545,2546,2548,2549,2550,2551,2552,2553,2554,2555],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
|
|
210997
211034
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
210998
211035
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
210999
211036
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211080,66 +211117,53 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211080
211117
|
}
|
|
211081
211118
|
});
|
|
211082
211119
|
});
|
|
211083
|
-
|
|
211084
|
-
Object.keys(_instance).forEach(function (key) {
|
|
211085
|
-
if (key === "default" || key === "__esModule") return;
|
|
211086
|
-
if (key in exports && exports[key] === _instance[key]) return;
|
|
211087
|
-
Object.defineProperty(exports, key, {
|
|
211088
|
-
enumerable: true,
|
|
211089
|
-
get: function () {
|
|
211090
|
-
return _instance[key];
|
|
211091
|
-
}
|
|
211092
|
-
});
|
|
211093
|
-
});
|
|
211094
|
-
},2514,[2515,2516,2517,2518,2519,2520],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/natives.ts");
|
|
211120
|
+
},2514,[2515,2516,2517,2518,2519],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/natives.ts");
|
|
211095
211121
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211096
211122
|
Object.defineProperty(exports, "__esModule", {
|
|
211097
211123
|
value: true
|
|
211098
211124
|
});
|
|
211099
|
-
|
|
211125
|
+
exports.MiniAppModule = void 0;
|
|
211126
|
+
var _brickModule = _$$_REQUIRE(_dependencyMap[0], "brick-module");
|
|
211127
|
+
var MiniAppModule = exports.MiniAppModule = _brickModule.BrickModule.get('MiniAppModule');
|
|
211128
|
+
},2515,[18],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/MiniAppModule.brick.ts");
|
|
211100
211129
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211101
211130
|
Object.defineProperty(exports, "__esModule", {
|
|
211102
211131
|
value: true
|
|
211103
211132
|
});
|
|
211104
|
-
|
|
211133
|
+
exports.TossCoreModule = void 0;
|
|
211134
|
+
var _brickModule = _$$_REQUIRE(_dependencyMap[0], "brick-module");
|
|
211135
|
+
var TossCoreModule = exports.TossCoreModule = _brickModule.BrickModule.get('TossCoreModule');
|
|
211136
|
+
},2516,[18],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/TossCoreModule.brick.ts");
|
|
211105
211137
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211106
211138
|
Object.defineProperty(exports, "__esModule", {
|
|
211107
211139
|
value: true
|
|
211108
211140
|
});
|
|
211109
|
-
|
|
211141
|
+
exports.CommonModule = void 0;
|
|
211142
|
+
var _brickModule = _$$_REQUIRE(_dependencyMap[0], "brick-module");
|
|
211143
|
+
var CommonModule = exports.CommonModule = _brickModule.BrickModule.get('CommonModule');
|
|
211144
|
+
},2517,[18],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/CommonModule.brick.ts");
|
|
211110
211145
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211111
211146
|
Object.defineProperty(exports, "__esModule", {
|
|
211112
211147
|
value: true
|
|
211113
211148
|
});
|
|
211114
|
-
exports.MiniAppModule = void 0;
|
|
211115
211149
|
exports.safePostMessage = safePostMessage;
|
|
211116
211150
|
exports.safeSyncPostMessage = safeSyncPostMessage;
|
|
211117
|
-
var
|
|
211118
|
-
var MiniAppModule = exports.MiniAppModule = _brickModule.BrickModule.get('MiniAppModule');
|
|
211151
|
+
var _MiniAppModule = _$$_REQUIRE(_dependencyMap[0], "../spec/MiniAppModule.brick");
|
|
211119
211152
|
function safePostMessage(method, params) {
|
|
211120
|
-
return MiniAppModule.postMessage(method, params, {});
|
|
211153
|
+
return _MiniAppModule.MiniAppModule.postMessage(method, params, {});
|
|
211121
211154
|
}
|
|
211122
211155
|
function safeSyncPostMessage(method, params) {
|
|
211123
|
-
return MiniAppModule.postMessageSync(method, params, {});
|
|
211156
|
+
return _MiniAppModule.MiniAppModule.postMessageSync(method, params, {});
|
|
211124
211157
|
}
|
|
211125
|
-
},2518,[
|
|
211158
|
+
},2518,[2515],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/postMessage.ts");
|
|
211126
211159
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211127
211160
|
Object.defineProperty(exports, "__esModule", {
|
|
211128
211161
|
value: true
|
|
211129
211162
|
});
|
|
211130
|
-
exports.
|
|
211131
|
-
var
|
|
211132
|
-
var
|
|
211133
|
-
|
|
211134
|
-
},2519,[18],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/commonModule.ts");
|
|
211135
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211136
|
-
Object.defineProperty(exports, "__esModule", {
|
|
211137
|
-
value: true
|
|
211138
|
-
});
|
|
211139
|
-
exports.TossCoreModule = void 0;
|
|
211140
|
-
var _brickModule = _$$_REQUIRE(_dependencyMap[0], "brick-module");
|
|
211141
|
-
var TossCoreModule = exports.TossCoreModule = _brickModule.BrickModule.get('TossCoreModule');
|
|
211142
|
-
},2520,[18],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/TossCoreModule/instance.ts");
|
|
211163
|
+
exports.BedrockModule = void 0;
|
|
211164
|
+
var _CommonModule = _$$_REQUIRE(_dependencyMap[0], "../spec/CommonModule.brick");
|
|
211165
|
+
var BedrockModule = exports.BedrockModule = _CommonModule.CommonModule;
|
|
211166
|
+
},2519,[2517],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/commonModule.ts");
|
|
211143
211167
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211144
211168
|
Object.defineProperty(exports, "__esModule", {
|
|
211145
211169
|
value: true
|
|
@@ -211149,7 +211173,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211149
211173
|
function generateHapticFeedback(options) {
|
|
211150
211174
|
return _BedrockModule.CommonModule.generateHapticFeedback(options);
|
|
211151
211175
|
}
|
|
211152
|
-
},
|
|
211176
|
+
},2520,[2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/generateHapticFeedback/index.ts");
|
|
211153
211177
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211154
211178
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211155
211179
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211167,7 +211191,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211167
211191
|
});
|
|
211168
211192
|
return _share.apply(this, arguments);
|
|
211169
211193
|
}
|
|
211170
|
-
},
|
|
211194
|
+
},2521,[1,16,2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/share.ts");
|
|
211171
211195
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211172
211196
|
Object.defineProperty(exports, "__esModule", {
|
|
211173
211197
|
value: true
|
|
@@ -211177,7 +211201,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211177
211201
|
function setSecureScreen(options) {
|
|
211178
211202
|
return _BedrockModule.CommonModule.setSecureScreen(options);
|
|
211179
211203
|
}
|
|
211180
|
-
},
|
|
211204
|
+
},2522,[2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/setSecureScreen.ts");
|
|
211181
211205
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211182
211206
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211183
211207
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211195,7 +211219,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211195
211219
|
});
|
|
211196
211220
|
return _setScreenAwakeMode.apply(this, arguments);
|
|
211197
211221
|
}
|
|
211198
|
-
},
|
|
211222
|
+
},2523,[1,16,2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/setScreenAwakeMode.ts");
|
|
211199
211223
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211200
211224
|
Object.defineProperty(exports, "__esModule", {
|
|
211201
211225
|
value: true
|
|
@@ -211205,7 +211229,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211205
211229
|
function getNetworkStatus() {
|
|
211206
211230
|
return _BedrockModule.CommonModule.getNetworkStatus();
|
|
211207
211231
|
}
|
|
211208
|
-
},
|
|
211232
|
+
},2524,[2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getNetworkStatus/index.ts");
|
|
211209
211233
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211210
211234
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211211
211235
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211226,7 +211250,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211226
211250
|
});
|
|
211227
211251
|
return _setIosSwipeGestureEnabled.apply(this, arguments);
|
|
211228
211252
|
}
|
|
211229
|
-
},
|
|
211253
|
+
},2525,[1,16,2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/setIosSwipeGestureEnabled.ts");
|
|
211230
211254
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211231
211255
|
Object.defineProperty(exports, "__esModule", {
|
|
211232
211256
|
value: true
|
|
@@ -211236,7 +211260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211236
211260
|
function openURL(url) {
|
|
211237
211261
|
return _reactNative.Linking.openURL(url);
|
|
211238
211262
|
}
|
|
211239
|
-
},
|
|
211263
|
+
},2526,[33],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/openURL.ts");
|
|
211240
211264
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211241
211265
|
Object.defineProperty(exports, "__esModule", {
|
|
211242
211266
|
value: true
|
|
@@ -211246,7 +211270,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211246
211270
|
function openPermissionDialog(permission) {
|
|
211247
211271
|
return (0, _natives.safePostMessage)('openPermissionDialog', permission);
|
|
211248
211272
|
}
|
|
211249
|
-
},
|
|
211273
|
+
},2527,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/openPermissionDialog.ts");
|
|
211250
211274
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211251
211275
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211252
211276
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211272,7 +211296,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211272
211296
|
});
|
|
211273
211297
|
return _requestPermission.apply(this, arguments);
|
|
211274
211298
|
}
|
|
211275
|
-
},
|
|
211299
|
+
},2528,[1,16,2527,2529],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/requestPermission.ts");
|
|
211276
211300
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211277
211301
|
Object.defineProperty(exports, "__esModule", {
|
|
211278
211302
|
value: true
|
|
@@ -211282,7 +211306,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211282
211306
|
function getPermission(permission) {
|
|
211283
211307
|
return (0, _natives.safePostMessage)('getPermission', permission);
|
|
211284
211308
|
}
|
|
211285
|
-
},
|
|
211309
|
+
},2529,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getPermission.ts");
|
|
211286
211310
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211287
211311
|
Object.defineProperty(exports, "__esModule", {
|
|
211288
211312
|
value: true
|
|
@@ -211303,7 +211327,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211303
211327
|
},
|
|
211304
211328
|
error: _types.SetClipboardTextPermissionError
|
|
211305
211329
|
});
|
|
211306
|
-
},
|
|
211330
|
+
},2530,[1277,2514,2531],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/setClipboardText/setClipboardText.ts");
|
|
211307
211331
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211308
211332
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211309
211333
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211335,7 +211359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211335
211359
|
permissionFunction.openPermissionDialog = () => (0, _openPermissionDialog.openPermissionDialog)(permission);
|
|
211336
211360
|
return permissionFunction;
|
|
211337
211361
|
}
|
|
211338
|
-
},
|
|
211362
|
+
},2531,[1,16,2527,2528,2529],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/createPermissionFunction.ts");
|
|
211339
211363
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211340
211364
|
Object.defineProperty(exports, "__esModule", {
|
|
211341
211365
|
value: true
|
|
@@ -211354,7 +211378,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211354
211378
|
},
|
|
211355
211379
|
error: _types.GetClipboardTextPermissionError
|
|
211356
211380
|
});
|
|
211357
|
-
},
|
|
211381
|
+
},2532,[1277,2514,2531],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/getClipboardText/getClipboardText.ts");
|
|
211358
211382
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211359
211383
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211360
211384
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211385,7 +211409,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211385
211409
|
},
|
|
211386
211410
|
error: _types.FetchContactsPermissionError
|
|
211387
211411
|
});
|
|
211388
|
-
},
|
|
211412
|
+
},2533,[1,16,1277,2514,2531],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/fetchContacts/fetchContacts.ts");
|
|
211389
211413
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211390
211414
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211391
211415
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211417,7 +211441,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211417
211441
|
},
|
|
211418
211442
|
error: _types.FetchAlbumPhotosPermissionError
|
|
211419
211443
|
});
|
|
211420
|
-
},
|
|
211444
|
+
},2534,[1,16,1277,2514,2531],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/fetchAlbumPhotos/fetchAlbumPhotos.ts");
|
|
211421
211445
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211422
211446
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211423
211447
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211443,7 +211467,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211443
211467
|
},
|
|
211444
211468
|
error: _types.GetCurrentLocationPermissionError
|
|
211445
211469
|
});
|
|
211446
|
-
},
|
|
211470
|
+
},2535,[1,16,1277,2514,2531],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/getCurrentLocation/getCurrentLocation.ts");
|
|
211447
211471
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211448
211472
|
Object.defineProperty(exports, "__esModule", {
|
|
211449
211473
|
value: true
|
|
@@ -211466,7 +211490,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211466
211490
|
},
|
|
211467
211491
|
error: _types.OpenCameraPermissionError
|
|
211468
211492
|
});
|
|
211469
|
-
},
|
|
211493
|
+
},2536,[1277,2514,2531],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/permissions/openCamera/openCamera.ts");
|
|
211470
211494
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211471
211495
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211472
211496
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211484,7 +211508,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211484
211508
|
});
|
|
211485
211509
|
return _appLogin.apply(this, arguments);
|
|
211486
211510
|
}
|
|
211487
|
-
},
|
|
211511
|
+
},2537,[1,16,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/appLogin.ts");
|
|
211488
211512
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211489
211513
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211490
211514
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211525,7 +211549,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211525
211549
|
});
|
|
211526
211550
|
return _eventLog.apply(this, arguments);
|
|
211527
211551
|
}
|
|
211528
|
-
},
|
|
211552
|
+
},2538,[1,16,2539,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/eventLog.ts");
|
|
211529
211553
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211530
211554
|
Object.defineProperty(exports, "__esModule", {
|
|
211531
211555
|
value: true
|
|
@@ -211553,7 +211577,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211553
211577
|
}
|
|
211554
211578
|
return (0, _compareVersion.compareVersions)(currentVersion, minVersion) >= 0;
|
|
211555
211579
|
}
|
|
211556
|
-
},
|
|
211580
|
+
},2539,[33,2514,2540],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/isMinVersionSupported.ts");
|
|
211557
211581
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211558
211582
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211559
211583
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211635,7 +211659,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211635
211659
|
return 0;
|
|
211636
211660
|
};
|
|
211637
211661
|
exports.compareVersions = compareVersions;
|
|
211638
|
-
},
|
|
211662
|
+
},2540,[1,47],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/compareVersion.ts");
|
|
211639
211663
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211640
211664
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211641
211665
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211680,7 +211704,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211680
211704
|
});
|
|
211681
211705
|
return _getTossShareLinkV.apply(this, arguments);
|
|
211682
211706
|
}
|
|
211683
|
-
},
|
|
211707
|
+
},2541,[1,16,2539,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossShareLink.ts");
|
|
211684
211708
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211685
211709
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211686
211710
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211706,7 +211730,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211706
211730
|
});
|
|
211707
211731
|
return _setDeviceOrientation.apply(this, arguments);
|
|
211708
211732
|
}
|
|
211709
|
-
},
|
|
211733
|
+
},2542,[1,16,2539,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/setDeviceOrientation.ts");
|
|
211710
211734
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211711
211735
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211712
211736
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211724,7 +211748,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211724
211748
|
});
|
|
211725
211749
|
return _checkoutPayment.apply(this, arguments);
|
|
211726
211750
|
}
|
|
211727
|
-
},
|
|
211751
|
+
},2543,[1,16,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/checkoutPayment.ts");
|
|
211728
211752
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211729
211753
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211730
211754
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211751,7 +211775,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211751
211775
|
});
|
|
211752
211776
|
return _saveBase64Data.apply(this, arguments);
|
|
211753
211777
|
}
|
|
211754
|
-
},
|
|
211778
|
+
},2544,[1,16,2539,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/saveBase64Data.ts");
|
|
211755
211779
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211756
211780
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211757
211781
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211778,7 +211802,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211778
211802
|
});
|
|
211779
211803
|
return _appsInTossSignTossCert.apply(this, arguments);
|
|
211780
211804
|
}
|
|
211781
|
-
},
|
|
211805
|
+
},2545,[1,16,2539,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/appsInTossSignTossCert.ts");
|
|
211782
211806
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211783
211807
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211784
211808
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211802,7 +211826,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211802
211826
|
});
|
|
211803
211827
|
return _getGameCenterGameProfile.apply(this, arguments);
|
|
211804
211828
|
}
|
|
211805
|
-
},
|
|
211829
|
+
},2546,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGameCenterGameProfile.ts");
|
|
211806
211830
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211807
211831
|
Object.defineProperty(exports, "__esModule", {
|
|
211808
211832
|
value: true
|
|
@@ -211829,7 +211853,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211829
211853
|
android: '5.245.0',
|
|
211830
211854
|
ios: '5.245.0'
|
|
211831
211855
|
};
|
|
211832
|
-
},
|
|
211856
|
+
},2547,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts");
|
|
211833
211857
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211834
211858
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211835
211859
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211859,7 +211883,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211859
211883
|
});
|
|
211860
211884
|
return _openGameCenterLeaderboard.apply(this, arguments);
|
|
211861
211885
|
}
|
|
211862
|
-
},
|
|
211886
|
+
},2548,[1,16,2,2539,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openGameCenterLeaderboard.ts");
|
|
211863
211887
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211864
211888
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211865
211889
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211883,7 +211907,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211883
211907
|
});
|
|
211884
211908
|
return _submitGameCenterLeaderBoardScore.apply(this, arguments);
|
|
211885
211909
|
}
|
|
211886
|
-
},
|
|
211910
|
+
},2549,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/submitGameCenterLeaderBoardScore.ts");
|
|
211887
211911
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211888
211912
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211889
211913
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211918,7 +211942,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211918
211942
|
});
|
|
211919
211943
|
return _getUserKeyForGame.apply(this, arguments);
|
|
211920
211944
|
}
|
|
211921
|
-
},
|
|
211945
|
+
},2550,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
|
|
211922
211946
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211923
211947
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211924
211948
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211959,7 +211983,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211959
211983
|
});
|
|
211960
211984
|
return _grantPromotionReward.apply(this, arguments);
|
|
211961
211985
|
}
|
|
211962
|
-
},
|
|
211986
|
+
},2551,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
|
|
211963
211987
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211964
211988
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211965
211989
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -211977,7 +212001,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211977
212001
|
});
|
|
211978
212002
|
return _grantPromotionRewardForGame.apply(this, arguments);
|
|
211979
212003
|
}
|
|
211980
|
-
},
|
|
212004
|
+
},2552,[1,16,2551],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
|
|
211981
212005
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211982
212006
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211983
212007
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212002,7 +212026,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212002
212026
|
});
|
|
212003
212027
|
return _getIsTossLoginIntegratedService.apply(this, arguments);
|
|
212004
212028
|
}
|
|
212005
|
-
},
|
|
212029
|
+
},2553,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
|
|
212006
212030
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212007
212031
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212008
212032
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212027,7 +212051,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212027
212051
|
return _getServerTime.apply(this, arguments);
|
|
212028
212052
|
}
|
|
212029
212053
|
getServerTime.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
|
|
212030
|
-
},
|
|
212054
|
+
},2554,[1,16,2539,2514,2547],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
|
|
212031
212055
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212032
212056
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212033
212057
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212061,7 +212085,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212061
212085
|
return _requestReview.apply(this, arguments);
|
|
212062
212086
|
}
|
|
212063
212087
|
requestReview.isSupported = () => _natives.MiniAppModule.getConstants().operationalEnvironment === 'toss' && (0, _isMinVersionSupported.isMinVersionSupported)(MIN_VERSION);
|
|
212064
|
-
},
|
|
212088
|
+
},2555,[1,16,2539,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
|
|
212065
212089
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212066
212090
|
Object.defineProperty(exports, "__esModule", {
|
|
212067
212091
|
value: true
|
|
@@ -212143,7 +212167,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212143
212167
|
}
|
|
212144
212168
|
});
|
|
212145
212169
|
});
|
|
212146
|
-
},2557,
|
|
212170
|
+
},2556,[2557,2558,2559,2560,2561,2562,2563],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
|
|
212147
212171
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212148
212172
|
Object.defineProperty(exports, "__esModule", {
|
|
212149
212173
|
value: true
|
|
@@ -212161,7 +212185,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212161
212185
|
function replaceUnderbarToHypen(locale) {
|
|
212162
212186
|
return locale.replace(/_/g, '-');
|
|
212163
212187
|
}
|
|
212164
|
-
},
|
|
212188
|
+
},2557,[33,2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
|
|
212165
212189
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212166
212190
|
Object.defineProperty(exports, "__esModule", {
|
|
212167
212191
|
value: true
|
|
@@ -212171,7 +212195,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212171
212195
|
function getSchemeUri() {
|
|
212172
212196
|
return _BedrockModule.CommonModule.getConstants().schemeUri;
|
|
212173
212197
|
}
|
|
212174
|
-
},
|
|
212198
|
+
},2558,[2513],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
|
|
212175
212199
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212176
212200
|
Object.defineProperty(exports, "__esModule", {
|
|
212177
212201
|
value: true
|
|
@@ -212181,7 +212205,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212181
212205
|
function getPlatformOS() {
|
|
212182
212206
|
return _reactNative.Platform.OS;
|
|
212183
212207
|
}
|
|
212184
|
-
},
|
|
212208
|
+
},2559,[33],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
|
|
212185
212209
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212186
212210
|
Object.defineProperty(exports, "__esModule", {
|
|
212187
212211
|
value: true
|
|
@@ -212191,7 +212215,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212191
212215
|
function getOperationalEnvironment() {
|
|
212192
212216
|
return _natives.MiniAppModule.getConstants().operationalEnvironment;
|
|
212193
212217
|
}
|
|
212194
|
-
},
|
|
212218
|
+
},2560,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
|
|
212195
212219
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212196
212220
|
Object.defineProperty(exports, "__esModule", {
|
|
212197
212221
|
value: true
|
|
@@ -212201,7 +212225,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212201
212225
|
function getTossAppVersion() {
|
|
212202
212226
|
return _natives.MiniAppModule.getConstants().tossAppVersion;
|
|
212203
212227
|
}
|
|
212204
|
-
},
|
|
212228
|
+
},2561,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
|
|
212205
212229
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212206
212230
|
Object.defineProperty(exports, "__esModule", {
|
|
212207
212231
|
value: true
|
|
@@ -212211,7 +212235,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212211
212235
|
function getDeviceId() {
|
|
212212
212236
|
return _natives.MiniAppModule.getConstants().deviceId;
|
|
212213
212237
|
}
|
|
212214
|
-
},
|
|
212238
|
+
},2562,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
|
|
212215
212239
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212216
212240
|
Object.defineProperty(exports, "__esModule", {
|
|
212217
212241
|
value: true
|
|
@@ -212221,7 +212245,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212221
212245
|
function getGroupId() {
|
|
212222
212246
|
return _natives.MiniAppModule.getConstants().groupId;
|
|
212223
212247
|
}
|
|
212224
|
-
},
|
|
212248
|
+
},2563,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
|
|
212225
212249
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212226
212250
|
Object.defineProperty(exports, "__esModule", {
|
|
212227
212251
|
value: true
|
|
@@ -212259,7 +212283,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212259
212283
|
}
|
|
212260
212284
|
});
|
|
212261
212285
|
});
|
|
212262
|
-
},
|
|
212286
|
+
},2564,[2565,2579,2577],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
|
|
212263
212287
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212264
212288
|
Object.defineProperty(exports, "__esModule", {
|
|
212265
212289
|
value: true
|
|
@@ -212272,7 +212296,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212272
212296
|
}
|
|
212273
212297
|
startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
|
|
212274
212298
|
startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
|
|
212275
|
-
},
|
|
212299
|
+
},2565,[2566,2572],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
|
|
212276
212300
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212277
212301
|
Object.defineProperty(exports, "__esModule", {
|
|
212278
212302
|
value: true
|
|
@@ -212283,7 +212307,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212283
212307
|
var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
|
|
212284
212308
|
var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
|
|
212285
212309
|
var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
|
|
212286
|
-
},
|
|
212310
|
+
},2566,[2,2567,2568,2571],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
|
|
212287
212311
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212288
212312
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212289
212313
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212350,7 +212374,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212350
212374
|
}
|
|
212351
212375
|
}]);
|
|
212352
212376
|
}(_reactNative.GraniteEventDefinition);
|
|
212353
|
-
},
|
|
212377
|
+
},2567,[1,20,19,21,24,25,1277,2,2514,2528],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
|
|
212354
212378
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212355
212379
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212356
212380
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212410,7 +212434,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212410
212434
|
}
|
|
212411
212435
|
}]);
|
|
212412
212436
|
}(_reactNative.GraniteEventDefinition);
|
|
212413
|
-
},
|
|
212437
|
+
},2568,[1,20,19,21,24,25,2,2569,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
|
|
212414
212438
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212415
212439
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212416
212440
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212475,7 +212499,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212475
212499
|
unregisterCallback,
|
|
212476
212500
|
getCallbackIds
|
|
212477
212501
|
};
|
|
212478
|
-
},
|
|
212502
|
+
},2569,[1,47,89,2514,2570],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
|
|
212479
212503
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212480
212504
|
Object.defineProperty(exports, "__esModule", {
|
|
212481
212505
|
value: true
|
|
@@ -212484,7 +212508,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212484
212508
|
function generateUUID(placeholder) {
|
|
212485
212509
|
return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
|
|
212486
212510
|
}
|
|
212487
|
-
},
|
|
212511
|
+
},2570,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
|
|
212488
212512
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212489
212513
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212490
212514
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212542,7 +212566,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212542
212566
|
}
|
|
212543
212567
|
}]);
|
|
212544
212568
|
}(_reactNative.GraniteEventDefinition);
|
|
212545
|
-
},
|
|
212569
|
+
},2571,[1,20,19,21,24,25,2,2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
|
|
212546
212570
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212547
212571
|
Object.defineProperty(exports, "__esModule", {
|
|
212548
212572
|
value: true
|
|
@@ -212933,7 +212957,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212933
212957
|
showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
|
|
212934
212958
|
isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
|
|
212935
212959
|
};
|
|
212936
|
-
},
|
|
212960
|
+
},2572,[2573,2543,2537,2538,2534,2533,2532,2535,2530,2536,2562,2560,2561,2541,2575,2539,2544,2542,2576,2548,2546,2549,2550,2551,2552,2553,2577,2545,2563,2578,2554,2555],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
|
|
212937
212961
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212938
212962
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212939
212963
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -213066,7 +213090,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213066
213090
|
});
|
|
213067
213091
|
}
|
|
213068
213092
|
isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
|
|
213069
|
-
},
|
|
213093
|
+
},2573,[1,16,1278,2574,2569,2560,2539],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
|
|
213070
213094
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213071
213095
|
Object.defineProperty(exports, "__esModule", {
|
|
213072
213096
|
value: true
|
|
@@ -213080,7 +213104,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213080
213104
|
return null;
|
|
213081
213105
|
}
|
|
213082
213106
|
}
|
|
213083
|
-
},
|
|
213107
|
+
},2574,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
|
|
213084
213108
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213085
213109
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
213086
213110
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -213331,7 +213355,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213331
213355
|
completeProductGrant,
|
|
213332
213356
|
getSubscriptionInfo
|
|
213333
213357
|
};
|
|
213334
|
-
},
|
|
213358
|
+
},2575,[1,16,1278,2539,2514,2569],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
|
|
213335
213359
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213336
213360
|
Object.defineProperty(exports, "__esModule", {
|
|
213337
213361
|
value: true
|
|
@@ -213363,7 +213387,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213363
213387
|
removeItem,
|
|
213364
213388
|
clearItems
|
|
213365
213389
|
};
|
|
213366
|
-
},
|
|
213390
|
+
},2576,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
|
|
213367
213391
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213368
213392
|
Object.defineProperty(exports, "__esModule", {
|
|
213369
213393
|
value: true
|
|
@@ -213399,7 +213423,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213399
213423
|
});
|
|
213400
213424
|
return unregisterCallbacks;
|
|
213401
213425
|
}
|
|
213402
|
-
},
|
|
213426
|
+
},2577,[2569,2539],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
|
|
213403
213427
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213404
213428
|
Object.defineProperty(exports, "__esModule", {
|
|
213405
213429
|
value: true
|
|
@@ -213409,7 +213433,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213409
213433
|
function shareWithScheme(params) {
|
|
213410
213434
|
return (0, _natives.safePostMessage)('shareWithScheme', params);
|
|
213411
213435
|
}
|
|
213412
|
-
},
|
|
213436
|
+
},2578,[2514],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
|
|
213413
213437
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213414
213438
|
Object.defineProperty(exports, "__esModule", {
|
|
213415
213439
|
value: true
|
|
@@ -213419,7 +213443,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213419
213443
|
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
213420
213444
|
return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
|
|
213421
213445
|
}
|
|
213422
|
-
},
|
|
213446
|
+
},2579,[2566],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
|
|
213423
213447
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213424
213448
|
"use strict";
|
|
213425
213449
|
|
|
@@ -213466,12 +213490,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213466
213490
|
}
|
|
213467
213491
|
\`;document.head.appendChild(e);})();
|
|
213468
213492
|
`,
|
|
213469
|
-
m = '"use strict";(()=>{var de=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`)}},w=new de,O=()=>Math.random().toString(36).substring(2,15),B=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=O(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(w.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(w.on(`${e}/reject/${r}`,i=>{o(),a(B(i))})),w.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function R(e){return t=>{let r=O(),n=[w.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),w.on(`${e}/onError/${r}`,o=>{t.onError(B(o))})];return w.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{w.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function g(e){return()=>w.getConstant(e)}var ue=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=ue());var Xe=d("closeView"),Ye=d("generateHapticFeedback"),Ze=d("share"),Qe=d("setSecureScreen"),et=d("setScreenAwakeMode"),tt=d("getNetworkStatus"),rt=d("setIosSwipeGestureEnabled"),nt=d("openURL"),ot=d("openPermissionDialog"),st=d("getPermission"),at=d("requestPermission"),it=g("setClipboardText"),ct=g("getClipboardText"),dt=g("fetchContacts"),ut=g("fetchAlbumPhotos"),pt=g("getCurrentLocation"),mt=g("openCamera"),lt=d("appLogin"),gt=d("eventLog"),ft=d("getTossShareLink"),vt=d("setDeviceOrientation"),wt=d("checkoutPayment"),ht=d("saveBase64Data"),Et=d("appsInTossSignTossCert"),bt=d("getGameCenterGameProfile"),At=d("openGameCenterLeaderboard"),_t=d("submitGameCenterLeaderBoardScore"),St=d("getUserKeyForGame"),Ct=d("grantPromotionReward"),It=d("grantPromotionRewardForGame"),Tt=d("getIsTossLoginIntegratedService"),yt=d("getServerTime"),Lt=d("requestReview"),Rt=g("getLocale"),Pt=g("getSchemeUri"),xt=g("getPlatformOS"),Dt=g("getOperationalEnvironment"),Nt=g("getTossAppVersion"),Mt=g("getDeviceId"),Ft=g("getGroupId"),kt=R("contactsViral"),Gt=R("startUpdateLocation"),Ot=R("onVisibilityChangedByTransparentServiceWeb");var S=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},V=class extends S{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},H=class extends S{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},q=class extends S{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var k=class extends S{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},U=k,W=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 pe=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`)}},h=new pe,te=()=>Math.random().toString(36).substring(2,15),re=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=te(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(h.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(h.on(`${e}/reject/${r}`,i=>{o(),a(re(i))})),h.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function E(e){return t=>{let r=te(),n=[h.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),h.on(`${e}/onError/${r}`,o=>{t.onError(re(o))})];return h.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{h.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>h.getConstant(e)}var Kt={getItem:c("getStorageItem"),setItem:c("setStorageItem"),removeItem:c("removeStorageItem"),clearItems:c("clearItems")},me=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,$=e=>["*","x","X"].includes(e),j=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},le=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],ge=(e,t)=>{if($(e)||$(t))return 0;let[r,n]=le(j(e),j(t));return r>n?1:r<n?-1:0},K=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(me);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},J=(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=ge(o,s);if(a!==0)return a}return 0},fe=(e,t)=>{let r=K(e),n=K(t),o=r.pop(),s=n.pop(),a=J(r,n);return a!==0?a:o&&s?J(o.split("."),s.split(".")):o?-1:s?1:0};function G(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:fe(r,o)>=0}function X(e){return c("processProductGrant")(e)}var Jt={createOneTimePurchaseOrder:e=>{let t=G({android:"5.219.0",ios:"5.219.0"}),r=()=>{};if(!t)return r;let n=G({android:"5.231.1",ios:"5.230.0"}),{options:o,onEvent:s,onError:a}=e,i=o.sku??o.productId;return n?E("requestOneTimePurchase")({options:{sku:i},onEvent:async l=>{if(l.type==="purchased"){let m=await o.processProductGrant({orderId:l.data.orderId});await X({orderId:l.data.orderId,isProductGranted:m}).catch(a)}else s(l)},onError:l=>{a(l)}}):(c("iapCreateOneTimePurchaseOrder")({productId:i}).then(m=>{Promise.resolve(o.processProductGrant({orderId:m.orderId})).then(()=>{s({type:"success",data:m})}).catch(f=>{a(f)})}).catch(m=>{a(m)}),r)},createSubscriptionPurchaseOrder:e=>{let t=G({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:u}=n;return E("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async m=>{if(m.type==="purchased"){let f=await u({orderId:m.data.orderId,subscriptionId:m.data.subscriptionId});await X({orderId:m.data.orderId,isProductGranted:f}).catch(s)}else o(m)},onError:m=>{s(m)}})},getProductItemList:c("iapGetProductItemList"),getPendingOrders:c("getPendingOrders"),getCompletedOrRefundedOrders:c("getCompletedOrRefundedOrders"),completeProductGrant:c("completeProductGrant"),getSubscriptionInfo:c("getSubscriptionInfo")},Xt=p("getSafeAreaInsets");var Yt=p("getSafeAreaInsets");var Zt={loadAppsInTossAdMob:Object.assign(E("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(E("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(c("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var Qt={getDeploymentId:p("getDeploymentId")},er=p("deploymentId"),tr=p("brandDisplayName"),rr=p("brandIcon"),nr=p("brandPrimaryColor");var or={addAccessoryButton:c("addAccessoryButton"),removeAccessoryButton:c("removeAccessoryButton")},ve=c("requestPermission"),we=c("getPermission"),he=c("openPermissionDialog");function C({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await ve(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>we(e),n.openPermissionDialog=()=>he(e),n}var ar=C({handler:e=>c("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:V}),cr=C({handler:e=>c("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:H}),ur=C({handler:e=>c("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:k}),mr=C({handler:e=>c("openCamera")(e),permission:{name:"camera",access:"access"},error:q}),gr=C({handler:e=>c("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:z}),vr=C({handler:()=>c("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:W}),Ee=c("getPermission"),be=c("openPermissionDialog"),ne=e=>E("updateLocationEvent")({...e,onError:t=>{let r=new U;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ne.getPermission=()=>Ee({name:"geolocation",access:"access"});ne.openPermissionDialog=()=>be({name:"geolocation",access:"access"});var hr=Object.assign(E("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Er=Object.assign(E("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),Ae=c("openURL");function _e(e){let t=Se(e);return Ae(t)}function Se(e){return["http://","https://"].some(r=>e.startsWith(r))?Ce(e):e}function Ce(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var Y="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",Z=15e3,P=null;function _(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Ie(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=_();if(e)return Promise.resolve(e);if(P)return P;let t=new Promise((r,n)=>{let o=document.createElement("script"),s=()=>{o.removeEventListener("load",a),o.removeEventListener("error",i),window.clearTimeout(u),P=null},a=()=>{let l=_();if(l){s(),r(l);return}s(),n(new Error("Ads SDK script loaded but window.TossAdsSpaceKit was not exposed."))},i=()=>{s(),n(new Error(`Failed to load Ads SDK script from ${Y}.`))},u=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${Z}ms.`))},Z);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=Y,document.head.appendChild(o)});return P=t,t}var A=Object.assign(E("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Te=c("tossAdEventLog"),ye=new Set(["1","2"]);function Le(e){return new Promise((t,r)=>{if(!A.isSupported()){r(new Error("fetchTossAd is not supported in this environment."));return}return A({options:e,onEvent:t,onError:r})})}function Q(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>ye.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function Re(e){return Pe(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:Q(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:xe(e)?{resultType:"SUCCESS",success:Q(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Pe(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function xe(e){return!!(e&&typeof e=="object"&&"ads"in e)}function De(){return async(e,t)=>{try{let r=await Le({adGroupId:t.spaceUnitId,sdkId:"108",availableStyleIds:["1","2"]});return Re(r)}catch(r){return{resultType:"FAIL",error:{reason:r instanceof Error?r.message:"Unknown fetchTossAd error"}}}}}var L=null;function Ne(e){let{callbacks:t}=e,r=()=>t?.onInitialized?.(),n=a=>{let i=a instanceof Error?a:new Error(String(a));t?.onInitializationFailed?.(i)};if(_()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Ie().then(a=>{if(a.isInitialized())return;let u={environment:"live",customAdFetcher:De(),opener:_e};a.init(u)});L=s,s.then(r).catch(n).finally(()=>{L===s&&(L=null)})}function Me(e,t,r={}){let{callbacks:n}=r,o=s=>{let a=s instanceof Error?s:new Error(String(s));n?.onAdFailedToRender?.({slotId:"",adGroupId:e,adMetadata:{},error:{code:0,message:a.message}})};try{let s=e,a=_();if(!a)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!a.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let i=typeof t=="string"?document.querySelector(t):t;if(!i)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let u={spaceId:s,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:oe(e,r.callbacks)};a.banner.createSlot(i,u)}catch(s){o(s)}}var Fe="16px 20px",ke="20px",Ge="auto",Oe="blackAndWhite",Be="expanded",v="toss-ads-attach",ee="toss-ads-attach-style";function Ve(e){let t=e.ownerDocument;if(!t||t.getElementById(ee))return;let r=t.createElement("style");r.id=ee,r.textContent=`\n .${v} { background: #ffffff; }\n .${v}.toss-ads-tone-grey { background: #f2f4f7; }\n @media (prefers-color-scheme: dark) {\n .${v} { background: #17171c; }\n .${v}.toss-ads-tone-grey { background: #101013; }\n }\n .${v}.toss-ads-theme-light { background: #ffffff; }\n .${v}.toss-ads-theme-light.toss-ads-tone-grey { background: #f2f4f7; }\n .${v}.toss-ads-theme-dark { background: #17171c; }\n .${v}.toss-ads-theme-dark.toss-ads-tone-grey { background: #101013; }\n `;let n=t.head??t.body??t.documentElement;n&&n.appendChild(r)}function He(e,t,r={}){let{callbacks:n,theme:o=Ge,tone:s=Oe,variant:a=Be}=r,i=document.createElement("div");i.style.width="100%",i.style.height="100%",i.style.boxSizing="border-box",i.style.display="flex",i.style.flexDirection="column",i.style.justifyContent="center",i.style.overflow="hidden",a==="card"&&(i.style.padding="0 10px");let u=document.createElement("div");u.classList.add(v),s==="grey"&&u.classList.add("toss-ads-tone-grey"),o==="light"?u.classList.add("toss-ads-theme-light"):o==="dark"&&u.classList.add("toss-ads-theme-dark"),a==="card"&&(u.style.borderRadius="16px",u.style.overflow="hidden"),i.appendChild(u);let l=!1,m=null,f=b=>{let y=b instanceof Error?b:new Error(String(b));n?.onAdFailedToRender?.({slotId:"",adGroupId:e,adMetadata:{},error:{code:0,message:y.message}})},ae=oe(e,n);try{let b=e,y=_();if(!y)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!y.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let F=typeof t=="string"?document.querySelector(t):t;if(!F)throw new Error(`[toss-ad] Failed to find target element: ${t}`);Ve(F),F.appendChild(i),l=!0;let ie={spaceId:b,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:ce=>ce==="1"?Fe:ke,callbacks:ae};m=y.banner.createSlot(u,ie)}catch(b){l&&i.parentNode&&i.parentNode.removeChild(i),f(b)}return{destroy(){m?.destroy(),l&&i.parentNode&&i.parentNode.removeChild(i)}}}function qe(e){let t=_();t?.banner&&t.banner.destroy(e)}function Ue(){let e=_();e?.banner&&e.banner.destroyAll()}function oe(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=>{Te({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 br={initialize:Object.assign(Ne,{isSupported:A.isSupported}),attach:Object.assign(Me,{isSupported:A.isSupported}),attachBanner:Object.assign(He,{isSupported:A.isSupported}),destroy:Object.assign(qe,{isSupported:A.isSupported}),destroyAll:Object.assign(Ue,{isSupported:A.isSupported})},Ar=Object.assign(c("getServerTime"),{isSupported:p("getServerTime_isSupported")}),_r=Object.assign(c("requestReview"),{isSupported:p("requestReview_isSupported")});var x=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 D=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 D,debugLogger:new x};var I=/\\.(data|wasm|framework\\.js)(?:\\.gz|\\.br|\\.unityweb)?$/;function N(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)}),N(async(r,n,o)=>{let s=new Request(o[0],o[1]);if(!I.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let l=i.headers.get("ETag"),m=i.headers.get("Last-Modified");l&&s.headers.set("If-None-Match",l),m&&s.headers.set("If-Modified-Since",m);let f=await r.call(n,s);return f.status===304?(i.__revalidateResponse=f,i):(a.put(s,f.clone()),f)}let u=await r.call(n,s);return a.put(s,u.clone()),u})})();N(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 se=window.__appsInToss.debugLogger;se.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}:{};se.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})=>{I.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(!I.test(n.url))return;let a=await s.clone().blob().then(u=>T(u.size/1024,2)).catch(u=>(r({request:n,requestAt:o,error:u}),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})=>{I.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var M=[];function We(){let e=0;function t(r){let n=performance.now();if(r<n-1e3){M.push(e);return}e+=1,window.requestAnimationFrame(()=>t(r))}window.requestAnimationFrame(()=>t(performance.now()))}function ze(){if(M.length===0)return;let e=M;M=[];let t=$e(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 $e(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>We(),1e3);setInterval(()=>ze(),3e5);})();\n';
|
|
213493
|
+
m = '"use strict";(()=>{var fe=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},E=new fe,q=()=>Math.random().toString(36).substring(2,15),z=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function c(e){return(...t)=>{let r=q(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(E.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(E.on(`${e}/reject/${r}`,i=>{o(),a(z(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=q(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError(z(o))})];return E.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{E.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function v(e){return()=>E.getConstant(e)}var ve=function(){return{emit:function(t,r){for(var n=this.events[t]||[],o=0,s=n.length;o<s;o++)n[o](r)},events:{},on:function(t,r){var n=this,o,s;return((o=this.events)[s=t]||(o[s]=[])).push(r),function(){var a;n.events[t]=(a=n.events[t])===null||a===void 0?void 0:a.filter(function(i){return r!==i})}}}};typeof window<"u"&&(window.__GRANITE_NATIVE_EMITTER=ve());var at=c("closeView"),it=c("generateHapticFeedback"),dt=c("share"),ct=c("setSecureScreen"),ut=c("setScreenAwakeMode"),pt=c("getNetworkStatus"),mt=c("setIosSwipeGestureEnabled"),lt=c("openURL"),gt=c("openPermissionDialog"),ft=c("getPermission"),vt=c("requestPermission"),ht=v("setClipboardText"),wt=v("getClipboardText"),Et=v("fetchContacts"),bt=v("fetchAlbumPhotos"),At=v("getCurrentLocation"),_t=v("openCamera"),Ct=c("appLogin"),St=c("eventLog"),It=c("getTossShareLink"),Tt=c("setDeviceOrientation"),yt=c("checkoutPayment"),Rt=c("saveBase64Data"),Lt=c("appsInTossSignTossCert"),Pt=c("getGameCenterGameProfile"),xt=c("openGameCenterLeaderboard"),Dt=c("submitGameCenterLeaderBoardScore"),Nt=c("getUserKeyForGame"),Mt=c("grantPromotionReward"),Ft=c("grantPromotionRewardForGame"),Gt=c("getIsTossLoginIntegratedService"),Bt=c("getServerTime"),kt=c("requestReview"),Ot=v("getLocale"),Vt=v("getSchemeUri"),Ht=v("getPlatformOS"),Ut=v("getOperationalEnvironment"),Wt=v("getTossAppVersion"),qt=v("getDeviceId"),zt=v("getGroupId"),$t=D("contactsViral"),jt=D("startUpdateLocation"),Kt=D("onVisibilityChangedByTransparentServiceWeb");var S=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},$=class extends S{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},j=class extends S{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends S{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends S{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=V,X=class extends S{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Y=class extends S{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var he=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},b=new he,ie=()=>Math.random().toString(36).substring(2,15),de=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function d(e){return(...t)=>{let r=ie(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(b.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(b.on(`${e}/reject/${r}`,i=>{o(),a(de(i))})),b.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function A(e){return t=>{let r=ie(),n=[b.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),b.on(`${e}/onError/${r}`,o=>{t.onError(de(o))})];return b.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{b.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>b.getConstant(e)}var or={getItem:d("getStorageItem"),setItem:d("setStorageItem"),removeItem:d("removeStorageItem"),clearItems:d("clearItems")},we=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Z=e=>["*","x","X"].includes(e),Q=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ee=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Z(e)||Z(t))return 0;let[r,n]=Ee(Q(e),Q(t));return r>n?1:r<n?-1:0},ee=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(we);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},te=(e,t)=>{let r=Math.max(e.length,t.length);for(let n=0;n<r;n++){let o=e[n]??"0",s=t[n]??"0",a=be(o,s);if(a!==0)return a}return 0},Ae=(e,t)=>{let r=ee(e),n=ee(t),o=r.pop(),s=n.pop(),a=te(r,n);return a!==0?a:o&&s?te(o.split("."),s.split(".")):o?-1:s?1:0};function H(e){if(p("getOperationalEnvironment")()==="sandbox")return!0;let r=p("getTossAppVersion")(),o=p("getPlatformOS")()==="ios"?e.ios:e.android;return o===void 0?!1:o==="always"?!0:o==="never"?!1:Ae(r,o)>=0}function re(e){return d("processProductGrant")(e)}var sr={createOneTimePurchaseOrder:e=>{let t=H({android:"5.219.0",ios:"5.219.0"}),r=()=>{};if(!t)return r;let n=H({android:"5.231.1",ios:"5.230.0"}),{options:o,onEvent:s,onError:a}=e,i=o.sku??o.productId;return n?A("requestOneTimePurchase")({options:{sku:i},onEvent:async l=>{if(l.type==="purchased"){let u=await o.processProductGrant({orderId:l.data.orderId});await re({orderId:l.data.orderId,isProductGranted:u}).catch(a)}else s(l)},onError:l=>{a(l)}}):(d("iapCreateOneTimePurchaseOrder")({productId:i}).then(u=>{Promise.resolve(o.processProductGrant({orderId:u.orderId})).then(()=>{s({type:"success",data:u})}).catch(f=>{a(f)})}).catch(u=>{a(u)}),r)},createSubscriptionPurchaseOrder:e=>{let t=H({android:"5.248.0",ios:"5.249.0"}),r=()=>{};if(!t)return r;let{options:n,onEvent:o,onError:s}=e,{sku:a,offerId:i,processProductGrant:m}=n;return A("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await m({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await re({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:d("iapGetProductItemList"),getPendingOrders:d("getPendingOrders"),getCompletedOrRefundedOrders:d("getCompletedOrRefundedOrders"),completeProductGrant:d("completeProductGrant"),getSubscriptionInfo:d("getSubscriptionInfo")},ar=p("getSafeAreaInsets");var ir=p("getSafeAreaInsets");var dr={loadAppsInTossAdMob:Object.assign(A("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(A("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(d("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var cr={getDeploymentId:p("getDeploymentId")},ur=p("deploymentId"),pr=p("brandDisplayName"),mr=p("brandIcon"),lr=p("brandPrimaryColor");var gr={addAccessoryButton:d("addAccessoryButton"),removeAccessoryButton:d("removeAccessoryButton")},_e=d("requestPermission"),Ce=d("getPermission"),Se=d("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await _e(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Se(e),n}var vr=I({handler:e=>d("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:$}),wr=I({handler:e=>d("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:j}),br=I({handler:e=>d("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),_r=I({handler:e=>d("openCamera")(e),permission:{name:"camera",access:"access"},error:K}),Sr=I({handler:e=>d("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Y}),Tr=I({handler:()=>d("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:X}),Ie=d("getPermission"),Te=d("openPermissionDialog"),ce=e=>A("updateLocationEvent")({...e,onError:t=>{let r=new J;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ce.getPermission=()=>Ie({name:"geolocation",access:"access"});ce.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Rr=Object.assign(A("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Lr=Object.assign(A("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function ye(e,t){let r=P.get(e);if(r)return r;let n=t(),o=!1,s={destroy(){o||(o=!0,P.get(e)===s&&P.delete(e),n.destroy())}};return P.set(e,s),s}function Re(){P=new WeakMap}var Le=d("openURL");function Pe(e){let t=xe(e);return Le(t)}function xe(e){return["http://","https://"].some(r=>e.startsWith(r))?De(e):e}function De(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var ne="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",oe=15e3,N=null;function C(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Ne(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=C();if(e)return Promise.resolve(e);if(N)return N;let t=new Promise((r,n)=>{let o=document.createElement("script"),s=()=>{o.removeEventListener("load",a),o.removeEventListener("error",i),window.clearTimeout(m),N=null},a=()=>{let l=C();if(l){s(),r(l);return}s(),n(new Error("Ads SDK script loaded but window.TossAdsSpaceKit was not exposed."))},i=()=>{s(),n(new Error(`Failed to load Ads SDK script from ${ne}.`))},m=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${oe}ms.`))},oe);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=ne,document.head.appendChild(o)});return N=t,t}var _=Object.assign(A("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Me=d("tossAdEventLog"),Fe=new Set(["1","2"]),ue="\\uC798\\uBABB\\uB41C \\uC694\\uCCAD\\uC774\\uC5D0\\uC694. \\uD544\\uC694\\uD55C \\uAC12\\uC774 \\uBE44\\uC5B4 \\uC788\\uC5B4\\uC694.";function M(e){return e.trim()}function U(){return new Error(ue)}function Ge(){return{resultType:"FAIL",error:{reason:ue}}}function Be(e){return new Promise((t,r)=>{if(!_.isSupported()){r(new Error("fetchTossAd is not supported in this environment."));return}let n=M(e.adGroupId);if(n.length===0){r(U());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function se(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Fe.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function ke(e){return Oe(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:se(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:Ve(e)?{resultType:"SUCCESS",success:se(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Oe(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function Ve(e){return!!(e&&typeof e=="object"&&"ads"in e)}function He(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Ge();try{let n=await Be({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return ke(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function Ue(e){let{callbacks:t}=e,r=()=>t?.onInitialized?.(),n=a=>{let i=a instanceof Error?a:new Error(String(a));t?.onInitializationFailed?.(i)};if(C()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Ne().then(a=>{if(a.isInitialized())return;let m={environment:"live",customAdFetcher:He(),opener:Pe};a.init(m)});L=s,s.then(r).catch(n).finally(()=>{L===s&&(L=null)})}function We(e,t,r={}){let{callbacks:n}=r,o=M(e),s=a=>{let i=a instanceof Error?a:new Error(String(a));n?.onAdFailedToRender?.({slotId:"",adGroupId:o,adMetadata:{},error:{code:0,message:i.message}})};try{let a=o;if(a.length===0)throw U();let i=C();if(!i)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!i.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let m=typeof t=="string"?document.querySelector(t):t;if(!m)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let l={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:me(o,r.callbacks)};i.banner.createSlot(m,l)}catch(a){s(a)}}var qe="16px 20px",ze="20px",$e="auto",je="blackAndWhite",Ke="expanded",h="toss-ads-attach",ae="toss-ads-attach-style",pe="data-toss-ads-attach-banner-wrapper";function Je(e){let t=e.ownerDocument;if(!t||t.getElementById(ae))return;let r=t.createElement("style");r.id=ae,r.textContent=`\n .${h} { background: #ffffff; }\n .${h}.toss-ads-tone-grey { background: #f2f4f7; }\n @media (prefers-color-scheme: dark) {\n .${h} { background: #17171c; }\n .${h}.toss-ads-tone-grey { background: #101013; }\n }\n .${h}.toss-ads-theme-light { background: #ffffff; }\n .${h}.toss-ads-theme-light.toss-ads-tone-grey { background: #f2f4f7; }\n .${h}.toss-ads-theme-dark { background: #17171c; }\n .${h}.toss-ads-theme-dark.toss-ads-tone-grey { background: #101013; }\n `;let n=t.head??t.body??t.documentElement;n&&n.appendChild(r)}function Xe(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(pe)==="true"&&e.removeChild(t)})}function Ye(e,t,r={}){let{callbacks:n,theme:o=$e,tone:s=je,variant:a=Ke}=r,i=M(e),m=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},l=me(i,n);try{let u=i;if(u.length===0)throw U();let f=C();if(!f)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!f.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let R=typeof t=="string"?document.querySelector(t):t;if(!R)throw new Error(`[toss-ad] Failed to find target element: ${t}`);return ye(R,()=>{let g=document.createElement("div");g.style.width="100%",g.style.height="100%",g.style.boxSizing="border-box",g.style.display="flex",g.style.flexDirection="column",g.style.justifyContent="center",g.style.overflow="hidden",g.setAttribute(pe,"true"),a==="card"&&(g.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),s==="grey"&&w.classList.add("toss-ads-tone-grey"),o==="light"?w.classList.add("toss-ads-theme-light"):o==="dark"&&w.classList.add("toss-ads-theme-dark"),a==="card"&&(w.style.borderRadius="16px",w.style.overflow="hidden"),g.appendChild(w);let x=!1,W=null;try{Je(R),Xe(R),R.appendChild(g),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:ge=>ge==="1"?qe:ze,callbacks:l};W=f.banner.createSlot(w,O)}catch(O){throw x&&g.parentNode&&g.parentNode.removeChild(g),O}return{destroy(){W?.destroy(),x&&g.parentNode&&g.parentNode.removeChild(g),x=!1}}})}catch(u){return m(u),{destroy(){}}}}function Ze(e){let t=C();t?.banner&&t.banner.destroy(e)}function Qe(){let e=C();e?.banner&&(e.banner.destroyAll(),Re())}function me(e,t){if(!t)return;let r=n=>{let o={...n??{}};return o.adGroupId=o.adGroupId??o.spaceId??e,delete o.spaceId,o};return{onAdRendered:n=>t.onAdRendered?.(r(n)),onAdViewable:n=>t.onAdViewable?.(r(n)),onAdClicked:n=>t.onAdClicked?.(r(n)),onAdImpression:n=>{Me({log_name:"display_ads_all::impression__1px_banner",log_type:"event",params:{event_type:"impression",schema_id:1812034,request_id:n?.adMetadata?.requestId??""}}),t.onAdImpression?.(r(n))},onAdFailedToRender:n=>t.onAdFailedToRender?.({...r(n),error:n?.error??{code:0,message:"UNKNOWN"}}),onNoFill:n=>t.onNoFill?.(r(n))}}var Pr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ye,{isSupported:_.isSupported}),destroy:Object.assign(Ze,{isSupported:_.isSupported}),destroyAll:Object.assign(Qe,{isSupported:_.isSupported})},xr=Object.assign(d("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Dr=Object.assign(d("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=d("debugLog");log(t,r){try{this._log({log_name:`apps_in_toss_webview_${t}`,log_type:"debug",params:{...r,...this.getCommonParams()}})}catch{}}getCommonParams(){return{...this.getLocationInfo(),...this.getNavigatorInfo(),...this.getScreenInfo(),appName:window.__appsInToss.appName,deploymentId:window.__appsInToss.deploymentId,sessionId:window.__appsInToss.sessionId,isGame:window.__appsInToss.webViewType==="game",timestampMs:Date.now()}}getLocationInfo(){return{url:window.location.href,urlOrigin:window.location.origin,urlHost:window.location.hostname,urlPath:window.location.pathname,urlSearch:window.location.search}}getNavigatorInfo(){return{userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookieEnabled:navigator.cookieEnabled,hardwareConcurrency:navigator.hardwareConcurrency,deviceMemory:navigator.deviceMemory?navigator.deviceMemory*1024*1024:void 0,maxTouchPoints:navigator.maxTouchPoints}}getScreenInfo(){return{screenWidth:screen.width,screenHeight:screen.height,availableScreenWidth:screen.availWidth,availableScreenHeight:screen.availHeight,devicePixelRatio:window.devicePixelRatio,colorDepth:screen.colorDepth,pixelDepth:screen.pixelDepth,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight}}};var G=class{callbacks={};on(t,r){return typeof this.callbacks[t]>"u"&&(this.callbacks[t]=[]),this.callbacks[t].push(r),()=>{this.callbacks[t]=this.callbacks[t]?.filter(n=>n!==r)??[]}}emit(t,r){this.callbacks[t]?.forEach(n=>n(r))}};window.__appsInToss={appName:p("getAppName")(),deploymentId:p("getDeploymentId")(),webViewType:p("getWebViewType")(),sessionId:Math.random().toString(36).substring(2),eventEmitter:new G,debugLogger:new F};var T=/\\.(data|wasm|framework\\.js)(?:\\.gz|\\.br|\\.unityweb)?$/;function B(e){window.fetch=new Proxy(window.fetch,{apply:e})}(()=>{if(window.__appsInToss.webViewType!=="game"||typeof caches>"u")return;let e="@apps-in-toss/caches/",t=`${e}${window.__appsInToss.deploymentId}`;window.addEventListener("load",async()=>{let r=await caches.keys();for(let n of r)n.startsWith(e)&&n!==t&&await caches.delete(n)}),B(async(r,n,o)=>{let s=new Request(o[0],o[1]);if(!T.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let l=i.headers.get("ETag"),u=i.headers.get("Last-Modified");l&&s.headers.set("If-None-Match",l),u&&s.headers.set("If-Modified-Since",u);let f=await r.call(n,s);return f.status===304?(i.__revalidateResponse=f,i):(a.put(s,f.clone()),f)}let m=await r.call(n,s);return a.put(s,m.clone()),m})})();B(async(e,t,r)=>{let n=new Request(r[0],r[1]),o=Date.now();window.__appsInToss.eventEmitter.emit("fetchRequest",{request:n});try{let s=await e.call(t,n);return window.__appsInToss.eventEmitter.emit("fetchResponse",{request:n,response:s,requestAt:o}),s}catch(s){throw window.__appsInToss.eventEmitter.emit("fetchError",{request:n,requestAt:o,error:s}),s}});HTMLCanvasElement.prototype.getContext=new Proxy(HTMLCanvasElement.prototype.getContext,{apply:(e,t,r)=>{let n=e.apply(t,r);return(n instanceof WebGL2RenderingContext||n instanceof WebGLRenderingContext)&&window.__appsInToss.eventEmitter.emit("webglGetContext",{canvas:t,context:n}),n}});var le=window.__appsInToss.debugLogger;le.log("load_start",{});window.addEventListener("load",()=>{let e=performance.timeOrigin,t=performance.getEntriesByType?.("navigation")[0]??null,r=typeof e<"u"&&t!==null,n=r?{navigationStartAtMs:e+t.startTime,navigationRedirectStartAtMs:e+t.redirectStart,navigationRedirectEndAtMs:e+t.redirectEnd,navigationRedirectCount:t.redirectCount,navigationServiceWorkerStartAtMs:e+t.workerStart,navigationFetchStartAtMs:e+t.fetchStart,navigationDomainLookupStartAtMs:e+t.domainLookupStart,navigationDomainLookupEndAtMs:e+t.domainLookupEnd,navigationConnectStartAtMs:e+t.connectStart,navigationSecureConnectStartAtMs:e+t.secureConnectionStart,navigationConnectEndAtMs:e+t.connectEnd,navigationRequestStartAtMs:e+t.requestStart,navigationResponseStartAtMs:e+t.responseStart,navigationResponseEndAtMs:e+t.responseEnd,navigationDomInteractiveAtMs:e+t.domInteractive,navigationDomContentLoadedEventStartAtMs:e+t.domContentLoadedEventStart,navigationDomContentLoadedEventEndAtMs:e+t.domContentLoadedEventEnd,navigationDomCompleteAtMs:e+t.domComplete}:{};le.log("load_complete",{isNavigationDebugSupported:r,...n})});function y(e,t){return parseFloat(e.toFixed(t))}(()=>{if(typeof performance.memory>"u"||typeof performance.memory.usedJSHeapSize>"u"||typeof performance.memory.totalJSHeapSize>"u"||typeof performance.memory.jsHeapSizeLimit>"u")return;function e(t){window.__appsInToss.debugLogger.log(t,{usedJSHeapSize:y(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:y(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:y(performance.memory.jsHeapSizeLimit/1024,2)})}e("memory_usage_first_0s"),setTimeout(()=>e("memory_usage_first_1s"),1e3),setTimeout(()=>e("memory_usage_first_10s"),1e4),setTimeout(()=>e("memory_usage_first_30s"),3e4),setTimeout(()=>e("memory_usage_first_60s"),6e4),setInterval(()=>e("memory_usage_every_180s"),18e4)})();(()=>{let e=window.__appsInToss.debugLogger,t=performance.timeOrigin;if(typeof t>"u"||typeof PerformanceObserver>"u")return;new PerformanceObserver(o=>{o.getEntries().forEach(a=>{a.name==="first-paint"?e.log("first_paint",{fpStartAtMs:t+a.startTime}):a.name==="first-contentful-paint"&&e.log("first_contentful_paint",{fcpStartAtMs:t+a.startTime})})}).observe({type:"paint"}),new PerformanceObserver(o=>{o.getEntries().forEach(a=>{e.log("largest_contentful_paint",{lcpStartAtMs:t+a.startTime,lcpRenderSize:a.size})})}).observe({type:"largest-contentful-paint"})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.eventEmitter.on("webglGetContext",({canvas:t,context:r})=>{if(t.getAttribute("id")!=="unity-canvas")return;e();let n=r.getExtension("WEBGL_debug_renderer_info"),o=r.getParameter(r.MAX_VIEWPORT_DIMS),s={webGLRenderer:r.getParameter(r.RENDERER),webGLVendor:r.getParameter(r.VENDOR),webGLVersion:r.getParameter(r.VERSION),webGLShadingLanguageVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),webGLMaxTextureSize:r.getParameter(r.MAX_TEXTURE_SIZE),webGLMaxViewportWidth:o[0],webGLMaxViewportHeight:o[1],webGLMaxRenderbufferSize:r.getParameter(r.MAX_RENDERBUFFER_SIZE)},a=n?{webGLUnmaskedVendor:r.getParameter(n.UNMASKED_VENDOR_WEBGL),webGLUnmaskedRenderer:r.getParameter(n.UNMASKED_RENDERER_WEBGL)}:{};window.__appsInToss.debugLogger.log("unity_webgl_info",{...s,...a})})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.debugLogger,t=window.__appsInToss.eventEmitter;t.on("fetchRequest",({request:n})=>{T.test(n.url)&&e.log("game_resource_download_start",{gameResourceRequestURL:n.url})});function r({request:n,requestAt:o,error:s}){e.log("game_resource_download_error",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceError:s instanceof Error?s.message:"Unknown Error"})}t.on("fetchResponse",async({request:n,requestAt:o,response:s})=>{if(!T.test(n.url))return;let a=await s.clone().blob().then(m=>y(m.size/1024,2)).catch(m=>(r({request:n,requestAt:o,error:m}),null));if(a===null)return;let i=Date.now();e.log("game_resource_download_end",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceResponseAtMs:i,gameResourceResponseSize:a,gameResourceResponseStatus:s.__revalidateResponse?.status??s.status,gameResourceDownloadDurationMs:i-o})}),t.on("fetchError",async({request:n,requestAt:o,error:s})=>{T.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function et(){let e=0;function t(r){let n=performance.now();if(r<n-1e3){k.push(e);return}e+=1,window.requestAnimationFrame(()=>t(r))}window.requestAnimationFrame(()=>t(performance.now()))}function tt(){if(k.length===0)return;let e=k;k=[];let t=rt(e).toSorted(),r={};for(let o=0;o<=100;o+=10){let s=t[Math.floor((t.length-1)*(o/100))];s&&(r[`fpsP${o}`]=s)}let n=t.reduce((o,s)=>o+s,0);r.fpsAverage=n/t.length,window.__appsInToss.debugLogger.log("fps_every_300s",r)}function rt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>et(),1e3);setInterval(()=>tt(),3e5);})();\n';
|
|
213470
213494
|
0 && (module.exports = {
|
|
213471
213495
|
afterDocumentLoad,
|
|
213472
213496
|
beforeDocumentLoad
|
|
213473
213497
|
});
|
|
213474
|
-
},
|
|
213498
|
+
},2580,[],"../../user-scripts/dist/index.js");
|
|
213475
213499
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213476
213500
|
Object.defineProperty(exports, "__esModule", {
|
|
213477
213501
|
value: true
|
|
@@ -213484,7 +213508,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213484
213508
|
return files.get(id);
|
|
213485
213509
|
}
|
|
213486
213510
|
context.keys = () => Array.from(files.keys());
|
|
213487
|
-
},2582,
|
|
213511
|
+
},2581,[2582,2583],"context.ts");
|
|
213488
213512
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213489
213513
|
Object.defineProperty(exports, "__esModule", {
|
|
213490
213514
|
value: true
|
|
@@ -213517,7 +213541,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213517
213541
|
})
|
|
213518
213542
|
});
|
|
213519
213543
|
}
|
|
213520
|
-
},
|
|
213544
|
+
},2582,[1274,33,9],"pages/index.tsx");
|
|
213521
213545
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213522
213546
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
213523
213547
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -213530,6 +213554,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213530
213554
|
}
|
|
213531
213555
|
});
|
|
213532
213556
|
var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
|
|
213533
|
-
},
|
|
213557
|
+
},2583,[1,2582],"pages/_404.tsx");
|
|
213534
213558
|
__r(187);
|
|
213535
213559
|
__r(0);
|