@apps-in-toss/web-framework 1.12.0 → 1.14.0
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/README.md +22 -2
- package/dist/cli/index.js +1 -1
- package/dist/prebuilt/dev.android.js +276 -254
- package/dist/prebuilt/dev.ios.js +276 -254
- package/dist/prebuilt/prod.android.js +103 -102
- package/dist/prebuilt/prod.ios.js +103 -102
- package/package.json +7 -7
|
@@ -45303,6 +45303,23 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45303
45303
|
openConfirm
|
|
45304
45304
|
]);
|
|
45305
45305
|
}
|
|
45306
|
+
function createEvent(event) {
|
|
45307
|
+
return {
|
|
45308
|
+
name: event,
|
|
45309
|
+
subscribe: function(listener) {
|
|
45310
|
+
return eventEmitter.subscribe(event, listener);
|
|
45311
|
+
},
|
|
45312
|
+
hasSubscriptions: function() {
|
|
45313
|
+
return eventEmitter.hasSubscriptions(event);
|
|
45314
|
+
},
|
|
45315
|
+
clearSubscriptions: function() {
|
|
45316
|
+
return eventEmitter.clearSubscriptions(event);
|
|
45317
|
+
},
|
|
45318
|
+
emit: function(data) {
|
|
45319
|
+
return eventEmitter.emit(event, data);
|
|
45320
|
+
}
|
|
45321
|
+
};
|
|
45322
|
+
}
|
|
45306
45323
|
function useNavigationBarLogging() {
|
|
45307
45324
|
var referrer2 = useReferrer();
|
|
45308
45325
|
var baseParams = {
|
|
@@ -45415,7 +45432,11 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45415
45432
|
},
|
|
45416
45433
|
handleHomeButtonClick: function() {
|
|
45417
45434
|
logging.homeButtonClick();
|
|
45418
|
-
|
|
45435
|
+
if (homeEvent.hasSubscriptions()) {
|
|
45436
|
+
homeEvent.emit({});
|
|
45437
|
+
} else {
|
|
45438
|
+
navigation.navigate("/");
|
|
45439
|
+
}
|
|
45419
45440
|
},
|
|
45420
45441
|
handleCloseButtonClick: function() {
|
|
45421
45442
|
logging.closeButtonClick();
|
|
@@ -45628,16 +45649,16 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45628
45649
|
}
|
|
45629
45650
|
});
|
|
45630
45651
|
}
|
|
45631
|
-
function
|
|
45652
|
+
function SettingsMenu() {
|
|
45632
45653
|
var globals = getAppsInTossGlobals();
|
|
45633
45654
|
if (getOperationalEnvironment() === "sandbox") {
|
|
45634
45655
|
return null;
|
|
45635
45656
|
}
|
|
45636
45657
|
return /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(Menu, {
|
|
45637
|
-
title: "\
|
|
45658
|
+
title: "\uC124\uC815",
|
|
45638
45659
|
iconURL: "https://static.toss.im/icons/png/4x/icon-setting-mono.png",
|
|
45639
45660
|
onPress: function() {
|
|
45640
|
-
return openURL("servicetoss://apps-in-toss-menu/
|
|
45661
|
+
return openURL("servicetoss://apps-in-toss-menu/settings?appName=".concat(Granite.appName, "&displayAppName=").concat(globals.brandDisplayName));
|
|
45641
45662
|
}
|
|
45642
45663
|
});
|
|
45643
45664
|
}
|
|
@@ -45658,7 +45679,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45658
45679
|
var isHomeShortcutSupported = isMinVersionSupported(MIN_VERSION.HOME_SHORTCUT_MENU);
|
|
45659
45680
|
var isBottomSheetSupported = isMinVersionSupported(MIN_VERSION.BOTTOM_SHEET);
|
|
45660
45681
|
var isShareListMenuSupported = isMinVersionSupported(MIN_VERSION.SHARE_LIST_MENU);
|
|
45661
|
-
var
|
|
45682
|
+
var isSettingsMenuSupported = isMinVersionSupported(MIN_VERSION.SETTINGS_MENU);
|
|
45662
45683
|
(0, import_react224.useEffect)(function() {
|
|
45663
45684
|
if (!isBottomSheetSupported) {
|
|
45664
45685
|
return;
|
|
@@ -45672,16 +45693,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45672
45693
|
return console.error("\uBA54\uB274 \uBAA9\uB85D\uC744 \uAC00\uC838\uC624\uB294 \uB370 \uC2E4\uD328\uD588\uC5B4\uC694:", error);
|
|
45673
45694
|
}
|
|
45674
45695
|
});
|
|
45675
|
-
if (isMinVersionSupported(MIN_VERSION.PERMISSIONS_MENU)) {
|
|
45676
|
-
INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getAllPermission", {}, {
|
|
45677
|
-
onSuccess: function(permissions) {
|
|
45678
|
-
return setIsPermissionsMenuSupported(permissions.length > 0);
|
|
45679
|
-
},
|
|
45680
|
-
onError: function(error) {
|
|
45681
|
-
return console.error("\uAD8C\uD55C \uBAA9\uB85D\uC744 \uAC00\uC838\uC624\uB294 \uB370 \uC2E4\uD328\uD588\uC5B4\uC694:", error);
|
|
45682
|
-
}
|
|
45683
|
-
});
|
|
45684
|
-
}
|
|
45685
45696
|
}, [
|
|
45686
45697
|
isBottomSheetSupported
|
|
45687
45698
|
]);
|
|
@@ -45750,7 +45761,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45750
45761
|
}),
|
|
45751
45762
|
isHomeShortcutSupported && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(HomeShortcutMenu, {}),
|
|
45752
45763
|
isShareListMenuSupported && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(AppShareListMenu, {}),
|
|
45753
|
-
|
|
45764
|
+
isSettingsMenuSupported && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(SettingsMenu, {})
|
|
45754
45765
|
]
|
|
45755
45766
|
})
|
|
45756
45767
|
})
|
|
@@ -46661,23 +46672,19 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46661
46672
|
return null;
|
|
46662
46673
|
}
|
|
46663
46674
|
}
|
|
46664
|
-
function
|
|
46675
|
+
function useSafeAreaInsetsEvent() {
|
|
46665
46676
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
46666
|
-
var emitter = (0, import_react232.useMemo)(function() {
|
|
46667
|
-
return new EventEmitter();
|
|
46668
|
-
}, []);
|
|
46669
46677
|
(0, import_react232.useEffect)(function() {
|
|
46670
|
-
|
|
46671
|
-
return function() {
|
|
46672
|
-
emitter.off("safeAreaInsetsChange", function(listener) {
|
|
46673
|
-
return listener(insets);
|
|
46674
|
-
});
|
|
46675
|
-
};
|
|
46678
|
+
safeAreaInsetsChange.emit(insets);
|
|
46676
46679
|
}, [
|
|
46677
|
-
emitter,
|
|
46678
46680
|
insets
|
|
46679
46681
|
]);
|
|
46680
|
-
|
|
46682
|
+
(0, import_react232.useEffect)(function() {
|
|
46683
|
+
return function() {
|
|
46684
|
+
return safeAreaInsetsChange.clearSubscriptions();
|
|
46685
|
+
};
|
|
46686
|
+
}, []);
|
|
46687
|
+
return safeAreaInsetsChange;
|
|
46681
46688
|
}
|
|
46682
46689
|
function reducer(state, action) {
|
|
46683
46690
|
switch (action.type) {
|
|
@@ -46731,7 +46738,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46731
46738
|
canGoForward: canGoForward2
|
|
46732
46739
|
});
|
|
46733
46740
|
}, []);
|
|
46734
|
-
var
|
|
46741
|
+
var _useMemo4 = (0, import_react234.useMemo)(function() {
|
|
46735
46742
|
var canBack = state.index > 0;
|
|
46736
46743
|
var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
|
|
46737
46744
|
return {
|
|
@@ -46741,7 +46748,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46741
46748
|
}, [
|
|
46742
46749
|
state.index,
|
|
46743
46750
|
state.stack.length
|
|
46744
|
-
]), canGoBack =
|
|
46751
|
+
]), canGoBack = _useMemo4.canGoBack, canGoForward = _useMemo4.canGoForward;
|
|
46745
46752
|
return {
|
|
46746
46753
|
onNavigationStateChange,
|
|
46747
46754
|
hasHistory: canGoBack,
|
|
@@ -46842,27 +46849,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46842
46849
|
var handleWebHome = (0, import_react233.useCallback)(function() {
|
|
46843
46850
|
var _webViewRef_current;
|
|
46844
46851
|
logging.homeButtonClick();
|
|
46845
|
-
if (
|
|
46846
|
-
|
|
46847
|
-
try {
|
|
46848
|
-
for (var _iterator = webBackHandlersRef[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
46849
|
-
var handler = _step.value;
|
|
46850
|
-
handler();
|
|
46851
|
-
}
|
|
46852
|
-
} catch (err) {
|
|
46853
|
-
_didIteratorError = true;
|
|
46854
|
-
_iteratorError = err;
|
|
46855
|
-
} finally {
|
|
46856
|
-
try {
|
|
46857
|
-
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
46858
|
-
_iterator.return();
|
|
46859
|
-
}
|
|
46860
|
-
} finally {
|
|
46861
|
-
if (_didIteratorError) {
|
|
46862
|
-
throw _iteratorError;
|
|
46863
|
-
}
|
|
46864
|
-
}
|
|
46865
|
-
}
|
|
46852
|
+
if (homeEvent.hasSubscriptions()) {
|
|
46853
|
+
homeEvent.emit({});
|
|
46866
46854
|
return;
|
|
46867
46855
|
}
|
|
46868
46856
|
(_webViewRef_current = webViewRef.current) === null || _webViewRef_current === void 0 ? void 0 : _webViewRef_current.injectJavaScript("\n (function() {\n const webBundleOrigin = '".concat(webViewInitialURL.origin, "';\n window.location.href = window.location.origin === webBundleOrigin ? '/' : webBundleOrigin;\n })();\n "));
|
|
@@ -47170,7 +47158,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47170
47158
|
var insets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)();
|
|
47171
47159
|
var global2 = getAppsInTossGlobals();
|
|
47172
47160
|
var navigationBarContext = useNavigationBarContext();
|
|
47173
|
-
var
|
|
47161
|
+
var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
|
|
47174
47162
|
var _useState6 = _sliced_to_array((0, import_react226.useState)(props.allowsBackForwardNavigationGestures), 2), allowsBackForwardNavigationGestures = _useState6[0], setAllowsBackForwardNavigationGestures = _useState6[1];
|
|
47175
47163
|
var handler = useBridgeHandler({
|
|
47176
47164
|
onMessage,
|
|
@@ -47189,6 +47177,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47189
47177
|
webBackHandler.removeEventListener(onEvent);
|
|
47190
47178
|
};
|
|
47191
47179
|
},
|
|
47180
|
+
homeEvent: function(param) {
|
|
47181
|
+
var onEvent = param.onEvent;
|
|
47182
|
+
return homeEvent.subscribe(onEvent);
|
|
47183
|
+
},
|
|
47192
47184
|
updateLocationEvent: function(param) {
|
|
47193
47185
|
var onEvent = param.onEvent, onError2 = param.onError, options = param.options;
|
|
47194
47186
|
return appsInTossEvent.addEventListener("updateLocationEvent", {
|
|
@@ -47199,10 +47191,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47199
47191
|
},
|
|
47200
47192
|
safeAreaInsetsChange: function(param) {
|
|
47201
47193
|
var onEvent = param.onEvent;
|
|
47202
|
-
|
|
47203
|
-
return function() {
|
|
47204
|
-
safeAreaInsetsEmitter.off("safeAreaInsetsChange", onEvent);
|
|
47205
|
-
};
|
|
47194
|
+
return safeAreaInsetsEvent.subscribe(onEvent);
|
|
47206
47195
|
},
|
|
47207
47196
|
/** @internal */
|
|
47208
47197
|
appBridgeCallbackEvent: function(param) {
|
|
@@ -47434,7 +47423,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47434
47423
|
onRenderProcessGone: handleWebViewProcessDidTerminate
|
|
47435
47424
|
}));
|
|
47436
47425
|
}
|
|
47437
|
-
var import_react_native197, import_react209, import_react210, import_react211, import_react212, import_jsx_runtime218, import_react213, import_jsx_runtime219, import_react214, import_react_native203, import_react215, import_react_native205, import_react216, import_react_native207, import_react217, import_react218, import_react219, import_react220, import_jsx_runtime220, import_jsx_runtime221, import_react221, import_react_native210, import_react222, import_react223, import_react224, import_react_native215, import_react_native216, import_jsx_runtime222, import_jsx_runtime223, import_react_native218, import_jsx_runtime224, import_jsx_runtime225, import_jsx_runtime226, import_react225, import_jsx_runtime227, import_jsx_runtime228, import_react_native220, import_jsx_runtime229, import_jsx_runtime230, import_jsx_runtime231, import_react226, import_react_native222, import_react227, import_react_native223, import_react228, import_react_native225, import_jsx_runtime232, import_jsx_runtime233, import_react229, import_react230, import_jsx_runtime234, import_jsx_runtime235, import_react231, import_react232, import_react233, import_react234, import_react_native231, import_react235, import_react236, import_jsx_runtime236, import_react237, import_react_native234, import_react238, import_react_native235, import_jsx_runtime237, import_react239, import_react_native236, import_jsx_runtime238, import_jsx_runtime239, __GlobalEventDeduplicator, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap,
|
|
47426
|
+
var import_react_native197, import_react209, import_react210, import_react211, import_react212, import_jsx_runtime218, import_react213, import_jsx_runtime219, import_react214, import_react_native203, import_react215, import_react_native205, import_react216, import_react_native207, import_react217, import_react218, import_react219, import_react220, import_jsx_runtime220, import_jsx_runtime221, import_react221, import_react_native210, import_react222, import_react223, import_react224, import_react_native215, import_react_native216, import_jsx_runtime222, import_jsx_runtime223, import_react_native218, import_jsx_runtime224, import_jsx_runtime225, import_jsx_runtime226, import_react225, import_jsx_runtime227, import_jsx_runtime228, import_react_native220, import_jsx_runtime229, import_jsx_runtime230, import_jsx_runtime231, import_react226, import_react_native222, import_react227, import_react_native223, import_react228, import_react_native225, import_jsx_runtime232, import_jsx_runtime233, import_react229, import_react230, import_jsx_runtime234, import_jsx_runtime235, import_react231, import_react232, import_react233, import_react234, import_react_native231, import_react235, import_react236, import_jsx_runtime236, import_react237, import_react_native234, import_react238, import_react_native235, import_jsx_runtime237, import_react239, import_react_native236, import_jsx_runtime238, import_jsx_runtime239, __GlobalEventDeduplicator, __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, EventEmitter, eventEmitter, homeEvent, safeAreaInsetsChange, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, INITIAL_STATE, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, ERROR_CODES, _obj6, ERROR_MESSAGES, API_RESULT_ERROR_MAP, AD_STATUS_ERROR_MAP, GlobalEventDeduplicator, globalEventDeduplicator, styles3, styles22, styles32, Analytics2;
|
|
47438
47427
|
var init_dist9 = __esm({
|
|
47439
47428
|
"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
|
|
47440
47429
|
"use strict";
|
|
@@ -48111,6 +48100,62 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
48111
48100
|
bottom: 0,
|
|
48112
48101
|
zIndex: Z_INDEX.PROFILE_OVERLAY
|
|
48113
48102
|
};
|
|
48103
|
+
EventEmitter = /* @__PURE__ */ function() {
|
|
48104
|
+
"use strict";
|
|
48105
|
+
function EventEmitter2() {
|
|
48106
|
+
_class_call_check(this, EventEmitter2);
|
|
48107
|
+
this.listeners = {};
|
|
48108
|
+
}
|
|
48109
|
+
_create_class(EventEmitter2, [
|
|
48110
|
+
{
|
|
48111
|
+
key: "subscribe",
|
|
48112
|
+
value: function subscribe(event, listener) {
|
|
48113
|
+
var _this = this;
|
|
48114
|
+
if (!this.listeners[event]) {
|
|
48115
|
+
this.listeners[event] = [];
|
|
48116
|
+
}
|
|
48117
|
+
this.listeners[event].push(listener);
|
|
48118
|
+
return function() {
|
|
48119
|
+
var _this_listeners_event;
|
|
48120
|
+
var _this_listeners_event_filter;
|
|
48121
|
+
_this.listeners[event] = (_this_listeners_event_filter = (_this_listeners_event = _this.listeners[event]) === null || _this_listeners_event === void 0 ? void 0 : _this_listeners_event.filter(function(l51) {
|
|
48122
|
+
return l51 !== listener;
|
|
48123
|
+
})) !== null && _this_listeners_event_filter !== void 0 ? _this_listeners_event_filter : [];
|
|
48124
|
+
};
|
|
48125
|
+
}
|
|
48126
|
+
},
|
|
48127
|
+
{
|
|
48128
|
+
key: "hasSubscriptions",
|
|
48129
|
+
value: function hasSubscriptions(event) {
|
|
48130
|
+
return this.listeners[event] != null && this.listeners[event].length > 0;
|
|
48131
|
+
}
|
|
48132
|
+
},
|
|
48133
|
+
{
|
|
48134
|
+
key: "clearSubscriptions",
|
|
48135
|
+
value: function clearSubscriptions(event) {
|
|
48136
|
+
this.listeners[event] = [];
|
|
48137
|
+
}
|
|
48138
|
+
},
|
|
48139
|
+
{
|
|
48140
|
+
key: "emit",
|
|
48141
|
+
value: function emit(event) {
|
|
48142
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
48143
|
+
args[_key - 1] = arguments[_key];
|
|
48144
|
+
}
|
|
48145
|
+
if (!this.listeners[event]) {
|
|
48146
|
+
return;
|
|
48147
|
+
}
|
|
48148
|
+
this.listeners[event].forEach(function(listener) {
|
|
48149
|
+
return listener.apply(void 0, _to_consumable_array(args));
|
|
48150
|
+
});
|
|
48151
|
+
}
|
|
48152
|
+
}
|
|
48153
|
+
]);
|
|
48154
|
+
return EventEmitter2;
|
|
48155
|
+
}();
|
|
48156
|
+
eventEmitter = new EventEmitter();
|
|
48157
|
+
homeEvent = createEvent("homeEvent");
|
|
48158
|
+
safeAreaInsetsChange = createEvent("safeAreaInsetsChange");
|
|
48114
48159
|
NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
|
|
48115
48160
|
NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
|
|
48116
48161
|
CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
|
|
@@ -48150,7 +48195,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
48150
48195
|
android: "5.246.0",
|
|
48151
48196
|
ios: "5.246.0"
|
|
48152
48197
|
},
|
|
48153
|
-
|
|
48198
|
+
SETTINGS_MENU: {
|
|
48154
48199
|
android: "5.238.0",
|
|
48155
48200
|
ios: "5.237.0"
|
|
48156
48201
|
}
|
|
@@ -48242,50 +48287,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
48242
48287
|
loadFullScreenAdForWeb = generateLoadFullScreenAd("107");
|
|
48243
48288
|
showFullScreenAd.isSupported = GoogleAdMob.showAppsInTossAdMob.isSupported;
|
|
48244
48289
|
globalEventListenerMap = /* @__PURE__ */ new Map();
|
|
48245
|
-
EventEmitter = /* @__PURE__ */ function() {
|
|
48246
|
-
"use strict";
|
|
48247
|
-
function EventEmitter2() {
|
|
48248
|
-
_class_call_check(this, EventEmitter2);
|
|
48249
|
-
this.listeners = {};
|
|
48250
|
-
}
|
|
48251
|
-
_create_class(EventEmitter2, [
|
|
48252
|
-
{
|
|
48253
|
-
key: "on",
|
|
48254
|
-
value: function on3(event, listener) {
|
|
48255
|
-
if (!this.listeners[event]) {
|
|
48256
|
-
this.listeners[event] = [];
|
|
48257
|
-
}
|
|
48258
|
-
this.listeners[event].push(listener);
|
|
48259
|
-
}
|
|
48260
|
-
},
|
|
48261
|
-
{
|
|
48262
|
-
key: "emit",
|
|
48263
|
-
value: function emit(event) {
|
|
48264
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
48265
|
-
args[_key - 1] = arguments[_key];
|
|
48266
|
-
}
|
|
48267
|
-
if (!this.listeners[event]) {
|
|
48268
|
-
return;
|
|
48269
|
-
}
|
|
48270
|
-
this.listeners[event].forEach(function(listener) {
|
|
48271
|
-
return listener.apply(void 0, _to_consumable_array(args));
|
|
48272
|
-
});
|
|
48273
|
-
}
|
|
48274
|
-
},
|
|
48275
|
-
{
|
|
48276
|
-
key: "off",
|
|
48277
|
-
value: function off(event, listener) {
|
|
48278
|
-
if (!this.listeners[event]) {
|
|
48279
|
-
return;
|
|
48280
|
-
}
|
|
48281
|
-
this.listeners[event] = this.listeners[event].filter(function(l51) {
|
|
48282
|
-
return l51 !== listener;
|
|
48283
|
-
});
|
|
48284
|
-
}
|
|
48285
|
-
}
|
|
48286
|
-
]);
|
|
48287
|
-
return EventEmitter2;
|
|
48288
|
-
}();
|
|
48289
48290
|
INITIAL_STATE = {
|
|
48290
48291
|
stack: [],
|
|
48291
48292
|
index: -1
|