@apps-in-toss/web-framework 0.0.0-dev.1765878631929 → 0.0.0-dev.1765960737704
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/cli/chunk-AZQN2M6D.js +63 -0
- package/dist/cli/chunk-PT6B3KQJ.js +209904 -0
- package/dist/cli/lib-GNFDOQZX.js +1007 -0
- package/dist/cli/typescript-WPGJO2BO.js +6 -0
- package/dist/prebuilt/dev.android.js +618 -249
- package/dist/prebuilt/dev.ios.js +616 -247
- package/dist/prebuilt/prod.android.js +377 -9
- package/dist/prebuilt/prod.ios.js +377 -9
- package/dist/prebuilt/prod.json +14 -0
- package/package.json +8 -8
|
@@ -46133,6 +46133,328 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46133
46133
|
}
|
|
46134
46134
|
return "".concat(scheme, "://").concat(url.hostname).concat(url.pathname).concat(url.search);
|
|
46135
46135
|
}
|
|
46136
|
+
function noop4() {
|
|
46137
|
+
}
|
|
46138
|
+
function generateSessionId() {
|
|
46139
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c41) {
|
|
46140
|
+
var r50 = Math.random() * 16 | 0;
|
|
46141
|
+
var v24 = c41 === "x" ? r50 : r50 & 3 | 8;
|
|
46142
|
+
return v24.toString(16);
|
|
46143
|
+
});
|
|
46144
|
+
}
|
|
46145
|
+
function fetchTossAd(params) {
|
|
46146
|
+
if (!fetchTossAd.isSupported()) {
|
|
46147
|
+
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE5));
|
|
46148
|
+
return noop4;
|
|
46149
|
+
}
|
|
46150
|
+
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
46151
|
+
var adGroupId = options.adGroupId;
|
|
46152
|
+
var unregisterCallbacks = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("fetchTossAd", {
|
|
46153
|
+
spaceUnitId: adGroupId,
|
|
46154
|
+
sessionId,
|
|
46155
|
+
sdkId: options.sdkId,
|
|
46156
|
+
availableStyleIds: options.availableStyleIds
|
|
46157
|
+
}, {
|
|
46158
|
+
onSuccess: function(response) {
|
|
46159
|
+
onEvent(response);
|
|
46160
|
+
},
|
|
46161
|
+
onError: function(error) {
|
|
46162
|
+
onError2(error);
|
|
46163
|
+
}
|
|
46164
|
+
});
|
|
46165
|
+
return unregisterCallbacks;
|
|
46166
|
+
}
|
|
46167
|
+
function generateRequestId() {
|
|
46168
|
+
var timestamp = Date.now().toString(36).toUpperCase();
|
|
46169
|
+
var random = Math.random().toString(36).substring(2, 7).toUpperCase();
|
|
46170
|
+
return "ait-".concat(timestamp).concat(random);
|
|
46171
|
+
}
|
|
46172
|
+
function getReferrer3() {
|
|
46173
|
+
try {
|
|
46174
|
+
return new URL(getSchemeUri()).searchParams.get("referrer");
|
|
46175
|
+
} catch (e60) {
|
|
46176
|
+
return null;
|
|
46177
|
+
}
|
|
46178
|
+
}
|
|
46179
|
+
function getIsDev() {
|
|
46180
|
+
try {
|
|
46181
|
+
return new URL(getSchemeUri()).searchParams.get("isDev") === "true";
|
|
46182
|
+
} catch (e60) {
|
|
46183
|
+
return false;
|
|
46184
|
+
}
|
|
46185
|
+
}
|
|
46186
|
+
function getPostEventTrackingUrl() {
|
|
46187
|
+
var isDev = getIsDev();
|
|
46188
|
+
if (OPERATIONAL_ENVIRONMENT === "sandbox" || isDev) {
|
|
46189
|
+
return ALPHA_EVENT_TRACKER_HTTP_ENDPOINT;
|
|
46190
|
+
}
|
|
46191
|
+
return LIVE_EVENT_TRACKER_HTTP_ENDPOINT;
|
|
46192
|
+
}
|
|
46193
|
+
function postEventTracking(params) {
|
|
46194
|
+
var endpoint = getPostEventTrackingUrl();
|
|
46195
|
+
var bodyJSON = JSON.stringify(_object_spread_props(_object_spread({}, params), {
|
|
46196
|
+
os: OS,
|
|
46197
|
+
appVer: APP_VER,
|
|
46198
|
+
deviceIdType: "NONE",
|
|
46199
|
+
platform: "RN"
|
|
46200
|
+
}));
|
|
46201
|
+
return fetch(endpoint, {
|
|
46202
|
+
method: "POST",
|
|
46203
|
+
headers: {
|
|
46204
|
+
"Content-Type": "application/json"
|
|
46205
|
+
},
|
|
46206
|
+
body: bodyJSON
|
|
46207
|
+
}).catch(noop4);
|
|
46208
|
+
}
|
|
46209
|
+
function integratedAdIsSupported() {
|
|
46210
|
+
return isMinVersionSupported({
|
|
46211
|
+
android: ANDROID_INTEGRATED_AD_SUPPORTED_VERSION,
|
|
46212
|
+
ios: IOS_INTEGRATED_AD_SUPPORTED_VERSION
|
|
46213
|
+
});
|
|
46214
|
+
}
|
|
46215
|
+
function generateLoadFullScreenAd(sdkId) {
|
|
46216
|
+
var fn7 = function(params) {
|
|
46217
|
+
if (!GoogleAdMob.loadAppsInTossAdMob.isSupported()) {
|
|
46218
|
+
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE22));
|
|
46219
|
+
return noop4;
|
|
46220
|
+
}
|
|
46221
|
+
if (!integratedAdIsSupported()) {
|
|
46222
|
+
return GoogleAdMob.loadAppsInTossAdMob(_object_spread_props(_object_spread({}, params), {
|
|
46223
|
+
onEvent: function(event) {
|
|
46224
|
+
if (event.type === "loaded") {
|
|
46225
|
+
var _event_data_responseInfo_loadedAdNetworkInfo;
|
|
46226
|
+
var requestId = generateRequestId();
|
|
46227
|
+
INTG_AD_ADM_FALLBACK_RID_MAP[params.options.adGroupId] = requestId;
|
|
46228
|
+
var _event_data_responseInfo_loadedAdNetworkInfo_adSourceName;
|
|
46229
|
+
postEventTracking({
|
|
46230
|
+
eventName: "LOAD",
|
|
46231
|
+
spaceUnitId: params.options.adGroupId,
|
|
46232
|
+
requestId,
|
|
46233
|
+
responseId: event.data.responseInfo.responseId,
|
|
46234
|
+
mediationType: "ADMOB",
|
|
46235
|
+
format: "",
|
|
46236
|
+
adSourceName: (_event_data_responseInfo_loadedAdNetworkInfo_adSourceName = (_event_data_responseInfo_loadedAdNetworkInfo = event.data.responseInfo.loadedAdNetworkInfo) === null || _event_data_responseInfo_loadedAdNetworkInfo === void 0 ? void 0 : _event_data_responseInfo_loadedAdNetworkInfo.adSourceName) !== null && _event_data_responseInfo_loadedAdNetworkInfo_adSourceName !== void 0 ? _event_data_responseInfo_loadedAdNetworkInfo_adSourceName : "",
|
|
46237
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46238
|
+
});
|
|
46239
|
+
}
|
|
46240
|
+
return params.onEvent(event);
|
|
46241
|
+
},
|
|
46242
|
+
onError: function(error) {
|
|
46243
|
+
var _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId;
|
|
46244
|
+
var requestId = (_INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId = INTG_AD_ADM_FALLBACK_RID_MAP[params.options.adGroupId]) !== null && _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId !== void 0 ? _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId : "";
|
|
46245
|
+
postEventTracking({
|
|
46246
|
+
eventName: "FAILED_TO_LOAD",
|
|
46247
|
+
spaceUnitId: params.options.adGroupId,
|
|
46248
|
+
requestId,
|
|
46249
|
+
responseId: "",
|
|
46250
|
+
mediationType: "ADMOB",
|
|
46251
|
+
format: "",
|
|
46252
|
+
adSourceName: "",
|
|
46253
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46254
|
+
});
|
|
46255
|
+
return params.onError(error);
|
|
46256
|
+
}
|
|
46257
|
+
}));
|
|
46258
|
+
}
|
|
46259
|
+
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
46260
|
+
var adGroupId = options.adGroupId;
|
|
46261
|
+
var referrer2 = getReferrer3();
|
|
46262
|
+
var unregisterCallbacks = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadTossAdOrAdmob", {
|
|
46263
|
+
spaceUnitId: adGroupId,
|
|
46264
|
+
referrer: referrer2,
|
|
46265
|
+
sessionId,
|
|
46266
|
+
sdkId
|
|
46267
|
+
}, {
|
|
46268
|
+
onSuccess: function() {
|
|
46269
|
+
onEvent({
|
|
46270
|
+
type: "loaded"
|
|
46271
|
+
});
|
|
46272
|
+
},
|
|
46273
|
+
onError: function(error) {
|
|
46274
|
+
onError2(error);
|
|
46275
|
+
}
|
|
46276
|
+
});
|
|
46277
|
+
return unregisterCallbacks;
|
|
46278
|
+
};
|
|
46279
|
+
fn7.isSupported = GoogleAdMob.loadAppsInTossAdMob.isSupported;
|
|
46280
|
+
return fn7;
|
|
46281
|
+
}
|
|
46282
|
+
function showFullScreenAd(params) {
|
|
46283
|
+
if (!GoogleAdMob.showAppsInTossAdMob.isSupported()) {
|
|
46284
|
+
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE22));
|
|
46285
|
+
return noop4;
|
|
46286
|
+
}
|
|
46287
|
+
if (!integratedAdIsSupported()) {
|
|
46288
|
+
return GoogleAdMob.showAppsInTossAdMob(_object_spread_props(_object_spread({}, params), {
|
|
46289
|
+
onEvent: function(event) {
|
|
46290
|
+
var _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId;
|
|
46291
|
+
var requestId = (_INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId = INTG_AD_ADM_FALLBACK_RID_MAP[params.options.adGroupId]) !== null && _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId !== void 0 ? _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId : "";
|
|
46292
|
+
switch (event.type) {
|
|
46293
|
+
case "show":
|
|
46294
|
+
postEventTracking({
|
|
46295
|
+
eventName: "SHOW",
|
|
46296
|
+
spaceUnitId: params.options.adGroupId,
|
|
46297
|
+
requestId,
|
|
46298
|
+
responseId: "",
|
|
46299
|
+
mediationType: "ADMOB",
|
|
46300
|
+
format: "",
|
|
46301
|
+
adSourceName: "",
|
|
46302
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46303
|
+
});
|
|
46304
|
+
break;
|
|
46305
|
+
case "failedToShow":
|
|
46306
|
+
postEventTracking({
|
|
46307
|
+
eventName: "FAILED_TO_SHOW",
|
|
46308
|
+
spaceUnitId: params.options.adGroupId,
|
|
46309
|
+
requestId,
|
|
46310
|
+
responseId: "",
|
|
46311
|
+
mediationType: "ADMOB",
|
|
46312
|
+
format: "",
|
|
46313
|
+
adSourceName: "",
|
|
46314
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46315
|
+
});
|
|
46316
|
+
break;
|
|
46317
|
+
case "impression":
|
|
46318
|
+
postEventTracking({
|
|
46319
|
+
eventName: "IMP",
|
|
46320
|
+
spaceUnitId: params.options.adGroupId,
|
|
46321
|
+
requestId,
|
|
46322
|
+
responseId: "",
|
|
46323
|
+
mediationType: "ADMOB",
|
|
46324
|
+
format: "",
|
|
46325
|
+
adSourceName: "",
|
|
46326
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46327
|
+
});
|
|
46328
|
+
break;
|
|
46329
|
+
case "clicked":
|
|
46330
|
+
postEventTracking({
|
|
46331
|
+
eventName: "CLICK",
|
|
46332
|
+
spaceUnitId: params.options.adGroupId,
|
|
46333
|
+
requestId,
|
|
46334
|
+
responseId: "",
|
|
46335
|
+
mediationType: "ADMOB",
|
|
46336
|
+
format: "",
|
|
46337
|
+
adSourceName: "",
|
|
46338
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46339
|
+
});
|
|
46340
|
+
break;
|
|
46341
|
+
case "dismissed":
|
|
46342
|
+
postEventTracking({
|
|
46343
|
+
eventName: "DISMISS",
|
|
46344
|
+
spaceUnitId: params.options.adGroupId,
|
|
46345
|
+
requestId,
|
|
46346
|
+
responseId: "",
|
|
46347
|
+
mediationType: "ADMOB",
|
|
46348
|
+
format: "",
|
|
46349
|
+
adSourceName: "",
|
|
46350
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46351
|
+
});
|
|
46352
|
+
break;
|
|
46353
|
+
case "userEarnedReward":
|
|
46354
|
+
postEventTracking({
|
|
46355
|
+
eventName: "USER_EARNED_REWARD",
|
|
46356
|
+
spaceUnitId: params.options.adGroupId,
|
|
46357
|
+
requestId,
|
|
46358
|
+
responseId: "",
|
|
46359
|
+
mediationType: "ADMOB",
|
|
46360
|
+
format: "",
|
|
46361
|
+
adSourceName: "",
|
|
46362
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46363
|
+
});
|
|
46364
|
+
break;
|
|
46365
|
+
}
|
|
46366
|
+
return params.onEvent(event);
|
|
46367
|
+
},
|
|
46368
|
+
onError: function(error) {
|
|
46369
|
+
var _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId;
|
|
46370
|
+
var requestId = (_INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId = INTG_AD_ADM_FALLBACK_RID_MAP[params.options.adGroupId]) !== null && _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId !== void 0 ? _INTG_AD_ADM_FALLBACK_RID_MAP_params_options_adGroupId : "";
|
|
46371
|
+
postEventTracking({
|
|
46372
|
+
eventName: "FAILED_TO_SHOW",
|
|
46373
|
+
spaceUnitId: params.options.adGroupId,
|
|
46374
|
+
requestId,
|
|
46375
|
+
responseId: "",
|
|
46376
|
+
mediationType: "ADMOB",
|
|
46377
|
+
format: "",
|
|
46378
|
+
adSourceName: "",
|
|
46379
|
+
sdkVer: INTEGRATED_AD_SDK_VERSION
|
|
46380
|
+
});
|
|
46381
|
+
return params.onError(error);
|
|
46382
|
+
}
|
|
46383
|
+
}));
|
|
46384
|
+
}
|
|
46385
|
+
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
46386
|
+
var adGroupId = options.adGroupId;
|
|
46387
|
+
var referrer2 = getReferrer3();
|
|
46388
|
+
var unregisterCallbacks = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showTossAdOrAdmob", {
|
|
46389
|
+
spaceUnitId: adGroupId,
|
|
46390
|
+
referrer: referrer2,
|
|
46391
|
+
sessionId
|
|
46392
|
+
}, {
|
|
46393
|
+
onAdClicked: function() {
|
|
46394
|
+
onEvent({
|
|
46395
|
+
type: "clicked"
|
|
46396
|
+
});
|
|
46397
|
+
},
|
|
46398
|
+
onAdDismissed: function() {
|
|
46399
|
+
onEvent({
|
|
46400
|
+
type: "dismissed"
|
|
46401
|
+
});
|
|
46402
|
+
},
|
|
46403
|
+
onAdFailedToShow: function() {
|
|
46404
|
+
onEvent({
|
|
46405
|
+
type: "failedToShow"
|
|
46406
|
+
});
|
|
46407
|
+
},
|
|
46408
|
+
onAdImpression: function() {
|
|
46409
|
+
onEvent({
|
|
46410
|
+
type: "impression"
|
|
46411
|
+
});
|
|
46412
|
+
},
|
|
46413
|
+
onAdShow: function() {
|
|
46414
|
+
onEvent({
|
|
46415
|
+
type: "show"
|
|
46416
|
+
});
|
|
46417
|
+
},
|
|
46418
|
+
onUserEarnedReward: function(data) {
|
|
46419
|
+
onEvent({
|
|
46420
|
+
type: "userEarnedReward",
|
|
46421
|
+
data
|
|
46422
|
+
});
|
|
46423
|
+
},
|
|
46424
|
+
onSuccess: function() {
|
|
46425
|
+
onEvent({
|
|
46426
|
+
type: "requested"
|
|
46427
|
+
});
|
|
46428
|
+
},
|
|
46429
|
+
onError: function(error) {
|
|
46430
|
+
onError2(error);
|
|
46431
|
+
}
|
|
46432
|
+
});
|
|
46433
|
+
return unregisterCallbacks;
|
|
46434
|
+
}
|
|
46435
|
+
function tossAdEventLog(params) {
|
|
46436
|
+
return _tossAdEventLog.apply(this, arguments);
|
|
46437
|
+
}
|
|
46438
|
+
function _tossAdEventLog() {
|
|
46439
|
+
_tossAdEventLog = _async_to_generator(function(params) {
|
|
46440
|
+
var referrer2, appName, eventLogParams;
|
|
46441
|
+
return __generator(this, function(_state) {
|
|
46442
|
+
referrer2 = getReferrer3();
|
|
46443
|
+
appName = Granite.appName;
|
|
46444
|
+
eventLogParams = _object_spread_props(_object_spread({}, params), {
|
|
46445
|
+
params: _object_spread_props(_object_spread({}, params.params), {
|
|
46446
|
+
referrer: referrer2,
|
|
46447
|
+
app_name: appName
|
|
46448
|
+
})
|
|
46449
|
+
});
|
|
46450
|
+
return [
|
|
46451
|
+
2,
|
|
46452
|
+
INTERNAL__module.tossCoreEventLog(eventLogParams)
|
|
46453
|
+
];
|
|
46454
|
+
});
|
|
46455
|
+
});
|
|
46456
|
+
return _tossAdEventLog.apply(this, arguments);
|
|
46457
|
+
}
|
|
46136
46458
|
function serializeError(error) {
|
|
46137
46459
|
return JSON.stringify(error, function(_16, value) {
|
|
46138
46460
|
if (_instanceof1(value, Error)) {
|
|
@@ -46687,7 +47009,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46687
47009
|
var batteryModePreference = param.batteryModePreference, colorPreference = param.colorPreference, locale = param.locale, navbarPreference = param.navbarPreference, pureSafeArea = param.pureSafeArea, safeArea = param.safeArea, safeAreaBottomTransparency = param.safeAreaBottomTransparency;
|
|
46688
47010
|
var platform = getPlatformOS();
|
|
46689
47011
|
var appVersion = getTossAppVersion();
|
|
46690
|
-
var fontScale = (0,
|
|
47012
|
+
var fontScale = (0, import_react_native230.useWindowDimensions)().fontScale;
|
|
46691
47013
|
var platformString = platform === "ios" ? "iPhone" : "Android phone";
|
|
46692
47014
|
var fontA11y = mapFontScaleToCategory(fontScale, platform);
|
|
46693
47015
|
var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
|
|
@@ -46817,6 +47139,11 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46817
47139
|
/** AdMobV2 */
|
|
46818
47140
|
loadAppsInTossAdMob: GoogleAdMob.loadAppsInTossAdMob,
|
|
46819
47141
|
showAppsInTossAdMob: GoogleAdMob.showAppsInTossAdMob,
|
|
47142
|
+
/** IntegratedAd */
|
|
47143
|
+
loadFullScreenAd: loadFullScreenAdForWeb,
|
|
47144
|
+
showFullScreenAd,
|
|
47145
|
+
/** TossAd */
|
|
47146
|
+
fetchTossAd,
|
|
46820
47147
|
/** IAP */
|
|
46821
47148
|
iapCreateOneTimePurchaseOrder: IAP.createOneTimePurchaseOrder,
|
|
46822
47149
|
requestOneTimePurchase
|
|
@@ -46851,6 +47178,11 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46851
47178
|
/** AdMobV2 */
|
|
46852
47179
|
loadAppsInTossAdMob_isSupported: GoogleAdMob.loadAppsInTossAdMob.isSupported,
|
|
46853
47180
|
showAppsInTossAdMob_isSupported: GoogleAdMob.showAppsInTossAdMob.isSupported,
|
|
47181
|
+
/** IntegratedAd */
|
|
47182
|
+
loadFullScreenAd_isSupported: loadFullScreenAdForWeb.isSupported,
|
|
47183
|
+
showFullScreenAd_isSupported: showFullScreenAd.isSupported,
|
|
47184
|
+
/** TossAd */
|
|
47185
|
+
fetchTossAd_isSupported: fetchTossAd.isSupported,
|
|
46854
47186
|
/** env */
|
|
46855
47187
|
getDeploymentId: env.getDeploymentId
|
|
46856
47188
|
}),
|
|
@@ -46901,7 +47233,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46901
47233
|
processProductGrant,
|
|
46902
47234
|
getPendingOrders: IAP.getPendingOrders,
|
|
46903
47235
|
getCompletedOrRefundedOrders: IAP.getCompletedOrRefundedOrders,
|
|
46904
|
-
completeProductGrant: IAP.completeProductGrant
|
|
47236
|
+
completeProductGrant: IAP.completeProductGrant,
|
|
47237
|
+
/** Toss Ads */
|
|
47238
|
+
tossAdEventLog
|
|
46905
47239
|
})
|
|
46906
47240
|
});
|
|
46907
47241
|
var headerPropForExternalWebView = (0, import_react225.useMemo)(function() {
|
|
@@ -47017,7 +47351,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47017
47351
|
return typeof script === "string";
|
|
47018
47352
|
}).join("\n");
|
|
47019
47353
|
}
|
|
47020
|
-
var import_react_native197, import_react208, import_react209, import_react210, import_react211, import_jsx_runtime217, import_react212, import_jsx_runtime218, import_react213, import_react_native203, import_react214, import_react_native205, import_react215, import_react_native207, import_react216, import_react217, import_react218, import_react219, import_jsx_runtime219, import_jsx_runtime220, import_react220, import_react_native210, import_react221, import_react222, import_react223, import_react_native215, import_react_native216, import_jsx_runtime221, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react224, import_jsx_runtime225, import_jsx_runtime226, import_react_native219, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react225, import_react_native221, import_react226, import_react_native222, import_react227, import_react_native224, import_jsx_runtime230, import_jsx_runtime231, import_react228, import_react229, import_jsx_runtime232, import_jsx_runtime233, import_react230, import_react231, import_react232, import_react233,
|
|
47354
|
+
var import_react_native197, import_react208, import_react209, import_react210, import_react211, import_jsx_runtime217, import_react212, import_jsx_runtime218, import_react213, import_react_native203, import_react214, import_react_native205, import_react215, import_react_native207, import_react216, import_react217, import_react218, import_react219, import_jsx_runtime219, import_jsx_runtime220, import_react220, import_react_native210, import_react221, import_react222, import_react223, import_react_native215, import_react_native216, import_jsx_runtime221, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_react224, import_jsx_runtime225, import_jsx_runtime226, import_react_native219, import_jsx_runtime227, import_jsx_runtime228, import_jsx_runtime229, import_react225, import_react_native221, import_react226, import_react_native222, import_react227, import_react_native224, import_jsx_runtime230, import_jsx_runtime231, import_react228, import_react229, import_jsx_runtime232, import_jsx_runtime233, import_react230, import_react231, import_react232, import_react233, import_react_native230, import_react234, import_react235, import_jsx_runtime234, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE5, ENVIRONMENT5, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, EventEmitter, INITIAL_STATE, HISTORY_BACK_SCRIPT, HISTORY_HOME_SCRIPT, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, Analytics2;
|
|
47021
47355
|
var init_dist8 = __esm({
|
|
47022
47356
|
"../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.js"() {
|
|
47023
47357
|
"use strict";
|
|
@@ -47156,6 +47490,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47156
47490
|
import_react229 = __toESM(require_react(), 1);
|
|
47157
47491
|
import_jsx_runtime232 = __toESM(require_jsx_runtime(), 1);
|
|
47158
47492
|
import_jsx_runtime233 = __toESM(require_jsx_runtime(), 1);
|
|
47493
|
+
init_dist6();
|
|
47494
|
+
init_dist6();
|
|
47495
|
+
init_src3();
|
|
47496
|
+
init_dist6();
|
|
47497
|
+
init_src3();
|
|
47498
|
+
init_dist6();
|
|
47499
|
+
init_src3();
|
|
47159
47500
|
import_react230 = __toESM(require_react(), 1);
|
|
47160
47501
|
init_react_native_safe_area_context();
|
|
47161
47502
|
import_react231 = __toESM(require_react(), 1);
|
|
@@ -47165,7 +47506,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47165
47506
|
import_react232 = __toESM(require_react(), 1);
|
|
47166
47507
|
import_react233 = __toESM(require_react(), 1);
|
|
47167
47508
|
init_dist6();
|
|
47168
|
-
|
|
47509
|
+
import_react_native230 = __toESM(require_react_native(), 1);
|
|
47169
47510
|
init_dist6();
|
|
47170
47511
|
import_react234 = __toESM(require_react(), 1);
|
|
47171
47512
|
import_react235 = __toESM(require_react(), 1);
|
|
@@ -47763,6 +48104,33 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47763
48104
|
]
|
|
47764
48105
|
});
|
|
47765
48106
|
});
|
|
48107
|
+
sessionId = generateSessionId();
|
|
48108
|
+
ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
|
|
48109
|
+
IOS_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
|
|
48110
|
+
UNSUPPORTED_ERROR_MESSAGE5 = "This feature is not supported in the current environment";
|
|
48111
|
+
ENVIRONMENT5 = getOperationalEnvironment();
|
|
48112
|
+
fetchTossAd.isSupported = function() {
|
|
48113
|
+
if (ENVIRONMENT5 !== "toss") {
|
|
48114
|
+
return false;
|
|
48115
|
+
}
|
|
48116
|
+
return isMinVersionSupported({
|
|
48117
|
+
android: ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION,
|
|
48118
|
+
ios: IOS_FETCH_TOSS_AD_SUPPORTED_VERSION
|
|
48119
|
+
});
|
|
48120
|
+
};
|
|
48121
|
+
OPERATIONAL_ENVIRONMENT = getOperationalEnvironment();
|
|
48122
|
+
OS = getPlatformOS();
|
|
48123
|
+
APP_VER = getTossAppVersion();
|
|
48124
|
+
ALPHA_EVENT_TRACKER_HTTP_ENDPOINT = "https://alpha-trillion.toss.im/trk/sdk-mediation/event";
|
|
48125
|
+
LIVE_EVENT_TRACKER_HTTP_ENDPOINT = "https://trillion.toss.im/trk/sdk-mediation/event";
|
|
48126
|
+
INTEGRATED_AD_SDK_VERSION = "0.0.0";
|
|
48127
|
+
ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.241.0";
|
|
48128
|
+
IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.241.0";
|
|
48129
|
+
UNSUPPORTED_ERROR_MESSAGE22 = "This feature is not supported in the current environment";
|
|
48130
|
+
INTG_AD_ADM_FALLBACK_RID_MAP = {};
|
|
48131
|
+
loadFullScreenAd = generateLoadFullScreenAd("107");
|
|
48132
|
+
loadFullScreenAdForWeb = generateLoadFullScreenAd("107");
|
|
48133
|
+
showFullScreenAd.isSupported = GoogleAdMob.showAppsInTossAdMob.isSupported;
|
|
47766
48134
|
globalEventListenerMap = /* @__PURE__ */ new Map();
|
|
47767
48135
|
EventEmitter = /* @__PURE__ */ function() {
|
|
47768
48136
|
"use strict";
|
|
@@ -47869,7 +48237,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47869
48237
|
};
|
|
47870
48238
|
}
|
|
47871
48239
|
};
|
|
47872
|
-
|
|
48240
|
+
getReferrer22 = function() {
|
|
47873
48241
|
try {
|
|
47874
48242
|
var referrer2 = new URL(getSchemeUri());
|
|
47875
48243
|
return referrer2.searchParams.get("referrer");
|
|
@@ -47884,7 +48252,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47884
48252
|
log_name: "".concat(groupId, "::screen"),
|
|
47885
48253
|
params: {
|
|
47886
48254
|
search,
|
|
47887
|
-
referrer:
|
|
48255
|
+
referrer: getReferrer22(),
|
|
47888
48256
|
deployment_id: env.getDeploymentId(),
|
|
47889
48257
|
deployment_timestamp: extractDateFromUUIDv7(env.getDeploymentId()).getTime()
|
|
47890
48258
|
}
|
|
@@ -47919,7 +48287,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47919
48287
|
}
|
|
47920
48288
|
});
|
|
47921
48289
|
function Index() {
|
|
47922
|
-
return /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
|
|
48290
|
+
return /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(import_react_native232.View, {
|
|
47923
48291
|
style: {
|
|
47924
48292
|
flex: 1
|
|
47925
48293
|
},
|
|
@@ -47941,13 +48309,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47941
48309
|
})
|
|
47942
48310
|
});
|
|
47943
48311
|
}
|
|
47944
|
-
var import_jsx_runtime235,
|
|
48312
|
+
var import_jsx_runtime235, import_react_native232;
|
|
47945
48313
|
var init_pages = __esm({
|
|
47946
48314
|
"react-native/pages/index.tsx"() {
|
|
47947
48315
|
"use strict";
|
|
47948
48316
|
import_jsx_runtime235 = __toESM(require_jsx_runtime(), 1);
|
|
47949
48317
|
init_dist8();
|
|
47950
|
-
|
|
48318
|
+
import_react_native232 = __toESM(require_react_native(), 1);
|
|
47951
48319
|
}
|
|
47952
48320
|
});
|
|
47953
48321
|
|