manage-app-sdk 0.0.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/README.md +2 -0
- package/dist/Constants/Home.js +85 -0
- package/dist/assets/AppConstant.js +293 -0
- package/dist/assets/androidResources/Connectivity.java +52 -0
- package/dist/assets/androidResources/ConnectivityPackage.java +25 -0
- package/dist/assets/fonts/VoltePlay-Bold.ttf +0 -0
- package/dist/assets/fonts/VoltePlay-Light.ttf +0 -0
- package/dist/assets/fonts/VoltePlay-Medium.ttf +0 -0
- package/dist/assets/fonts/VoltePlay-Regular.ttf +0 -0
- package/dist/assets/fonts/VoltePlay-SemiBold.ttf +0 -0
- package/dist/assets/gif/loader.gif +0 -0
- package/dist/assets/images/PartnerLogosSmall.png +0 -0
- package/dist/assets/images/Union.png +0 -0
- package/dist/assets/images/appIcon.png +0 -0
- package/dist/assets/images/desktop-alert.png +0 -0
- package/dist/assets/images/desktop-cross.png +0 -0
- package/dist/assets/images/mobile-bg.png +0 -0
- package/dist/assets/images/stepper-one-small.png +0 -0
- package/dist/assets/images/stepper-one.png +0 -0
- package/dist/assets/images/stepper-two-small.png +0 -0
- package/dist/assets/images/stepper-two.png +0 -0
- package/dist/assets/images/tablet-bg.png +0 -0
- package/dist/assets/png/Tataplay-Binge.png +0 -0
- package/dist/assets/png/arrowBack.png +0 -0
- package/dist/assets/png/backArrowPng.png +0 -0
- package/dist/assets/svg/BingeLogoSvg.js +44 -0
- package/dist/assets/svg/CrossSvg.js +32 -0
- package/dist/assets/svg/OfferSvg.js +31 -0
- package/dist/assets/svg/PlansSvg.js +75 -0
- package/dist/assets/svg/TickSvg.js +28 -0
- package/dist/assets/svg/arrowBack.js +27 -0
- package/dist/assets/svg/arrowSvg.js +31 -0
- package/dist/components/AppIcon/AppIcon.js +70 -0
- package/dist/components/AppleBanner/AppleMusicBanner.js +36 -0
- package/dist/components/AppleBanner/AppleMusicBannerStyles.js +32 -0
- package/dist/components/AppleBanner/AppleMusicBlackBanner.js +66 -0
- package/dist/components/AppsContainer/AppsContainer.js +112 -0
- package/dist/components/BottomSheet/BottomSheet.js +173 -0
- package/dist/components/BottomSheet/BottomSheetStyles.js +48 -0
- package/dist/components/Buttons/PrimaryButton/PrimaryButton.js +50 -0
- package/dist/components/Buttons/RadioButton/RadioButton.js +24 -0
- package/dist/components/Buttons/TextButton/TextButton.js +44 -0
- package/dist/components/CheckButton/CheckButton.js +36 -0
- package/dist/components/CommonModal/CommonModel.js +79 -0
- package/dist/components/CommonModal/ModalTypes.js +10 -0
- package/dist/components/Confetti/ConfettiBurst.js +120 -0
- package/dist/components/Confetti/FallingConfetti.js +190 -0
- package/dist/components/Confetti/MultiConfettiBurst.js +73 -0
- package/dist/components/Coupon/CouponCard.js +47 -0
- package/dist/components/Coupon/CouponStyles.js +54 -0
- package/dist/components/Footer/Footer.js +177 -0
- package/dist/components/Footer/MServiceFooter/MServiceFooter.js +103 -0
- package/dist/components/Footer/OnButtonFooter/OneButtonFooter.js +65 -0
- package/dist/components/Footer/PlanSummaryFooter/SummaryFooter.js +180 -0
- package/dist/components/Footer/PrimeAoFooter/PrimeAoFooter.js +193 -0
- package/dist/components/Footer/UpgradeFooter/UpgradeFooter.js +89 -0
- package/dist/components/Footer/UpgradeFooter/styles.js +73 -0
- package/dist/components/GradientBorderContainer/GradientBorderContainer.js +79 -0
- package/dist/components/GradientText/GradientText.js +60 -0
- package/dist/components/Header/ManageAppHeader.js +71 -0
- package/dist/components/HighlightedText/HighlightedText.js +53 -0
- package/dist/components/Input/OtpInput.js +105 -0
- package/dist/components/Loader/Loader.js +39 -0
- package/dist/components/MServicePaymentMethod/MServicePaymentMethod.js +395 -0
- package/dist/components/MicroDrama/MicroDramaBanner.js +67 -0
- package/dist/components/MicroDrama/MicroDramaCard.js +33 -0
- package/dist/components/MicroDrama/styles.js +29 -0
- package/dist/components/OfferCard/OfferCard.js +100 -0
- package/dist/components/PaymentMethod/PaymentMethod.js +370 -0
- package/dist/components/Plan/CurrentPlanCard.js +138 -0
- package/dist/components/Plan/PlanCard.js +268 -0
- package/dist/components/Plan/PlanCardStyles.js +371 -0
- package/dist/components/Plan/RenderAppIcons.js +115 -0
- package/dist/components/Plan/SpecialPlanCard.js +272 -0
- package/dist/components/PopUps/CancelPopUp/CancelPopUp.js +190 -0
- package/dist/components/PopUps/ConfettiAnimation.js +172 -0
- package/dist/components/PopUps/ConfettiBurst.js +142 -0
- package/dist/components/PopUps/CouponPopUp/CouponPopUp.js +185 -0
- package/dist/components/PopUps/ErrorMsgPopup/ErrorMsgPopup.js +104 -0
- package/dist/components/PopUps/InternetErrorPopUp/InternetErrorPopUp.js +122 -0
- package/dist/components/PopUps/MServicePopUp/MServicePopUp.js +155 -0
- package/dist/components/PopUps/MpinPopUp/MpinPopUp.js +193 -0
- package/dist/components/PopUps/OtpPopup/OtpPopup.js +345 -0
- package/dist/components/PopUps/PlanCancelledPopUp/PlanCancelledPopUp.js +183 -0
- package/dist/components/PopUps/PlanDetailPopup/PlanDetailPopup.js +121 -0
- package/dist/components/PopUps/PopUp/PopUp.js +171 -0
- package/dist/components/PrimeAddOn/PrimeAddOn.js +72 -0
- package/dist/components/PrimeAddOn/PrimeAddOnStyles.js +79 -0
- package/dist/components/PrimeAddOn/SummaryPage/PrimeAddOnBanner.js +109 -0
- package/dist/components/PrimeBanner/PrimeBanner.js +27 -0
- package/dist/components/PrimeBanner/PrimeBannerStyles.js +36 -0
- package/dist/components/SectionItem/SectionItem.js +42 -0
- package/dist/components/Toast/Toast.js +71 -0
- package/dist/components/Toast/ToastStyle.js +62 -0
- package/dist/navigation/Routes.js +84 -0
- package/dist/navigation/RoutesConstants.js +18 -0
- package/dist/screens/AppDiscontinue/ChooseApp.js +325 -0
- package/dist/screens/AppDiscontinue/styles.js +89 -0
- package/dist/screens/AppsReplacement/AppsReplacement.js +359 -0
- package/dist/screens/AppsReplacement/styles.js +92 -0
- package/dist/screens/ChooseYourPlan/ChooseYourPlan.js +596 -0
- package/dist/screens/ChooseYourPlan/ChooseYourPlanStyles.js +28 -0
- package/dist/screens/ChooseYourPlan/OffersCarousel.js +146 -0
- package/dist/screens/CreateSession/CreateSession.js +620 -0
- package/dist/screens/MyPlan/MyPlan.js +429 -0
- package/dist/screens/MyPlan/MyPlanStyles.js +227 -0
- package/dist/screens/PaymentStatus/PaymentStatus.js +492 -0
- package/dist/screens/PaymentStatus/styles.js +68 -0
- package/dist/screens/PlanCancellation/CancelPlan.js +127 -0
- package/dist/screens/PlanCancellation/InfiniteAutoScroll.js +67 -0
- package/dist/screens/PlanCancellation/styles.js +83 -0
- package/dist/screens/PlanSummary/PlanSummary.js +748 -0
- package/dist/screens/PlanSummary/PlanSummaryStyles.js +385 -0
- package/dist/screens/PrimePlanSummary/PrimePlanSummary.js +252 -0
- package/dist/screens/PrimePlanSummary/PrimePlanSummaryStyles.js +102 -0
- package/dist/screens/SelectApps/SelectApps.js +513 -0
- package/dist/screens/SelectApps/SelectAppsStyles.js +165 -0
- package/dist/screens/SplashScreen/SplashScreen.js +82 -0
- package/dist/services/apiCall/action.js +718 -0
- package/dist/services/apiCall/apiServiceUtils.js +136 -0
- package/dist/services/apiCall/constants.js +42 -0
- package/dist/services/apiCall/parser.js +92 -0
- package/dist/services/apiCall/reducer.js +591 -0
- package/dist/services/global/action.js +111 -0
- package/dist/services/global/commonReducer.js +97 -0
- package/dist/services/global/constants.js +22 -0
- package/dist/services/serviceCommonHandler.js +220 -0
- package/dist/store/configureStore.js +13 -0
- package/dist/store/rootReducer.js +14 -0
- package/dist/utils/commonUtils.js +381 -0
- package/dist/utils/fontUtils.js +13 -0
- package/dist/utils/string.js +101 -0
- package/package.json +53 -0
package/README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.tenureConstants = exports.pageConstants = exports.mSalesConstants = exports.getJourneyURL = exports.bingeOfferTenure = void 0;
|
|
7
|
+
var _RoutesConstants = require("../navigation/RoutesConstants");
|
|
8
|
+
const pageConstants = exports.pageConstants = {
|
|
9
|
+
TenureSelectionPage: "Tenure-Selection",
|
|
10
|
+
PlanSummaryPage: "Summary-Selection",
|
|
11
|
+
PaymentSelection: "Payment-Selection",
|
|
12
|
+
LoginSelection: "Login-Selection",
|
|
13
|
+
RegionalSelection: "Regional-Selection",
|
|
14
|
+
PaymentPage: "Payment-Page",
|
|
15
|
+
AddressPage: "Address-Page",
|
|
16
|
+
WoPage: "WO-Page",
|
|
17
|
+
PaymentStatus: "Payment-Status",
|
|
18
|
+
AppRedirection: "App-Redirection",
|
|
19
|
+
BingePlusSelection: "BingePlus-Selection",
|
|
20
|
+
CouponSelection: "Coupon-Selection"
|
|
21
|
+
};
|
|
22
|
+
const mSalesConstants = exports.mSalesConstants = {
|
|
23
|
+
EVD: "EVD Balance",
|
|
24
|
+
DTH: "Tata Play Balance",
|
|
25
|
+
OTHER: "OTHER_PAYMENT",
|
|
26
|
+
LINK: "Subscriber Payment Link"
|
|
27
|
+
};
|
|
28
|
+
const tenureConstants = exports.tenureConstants = {
|
|
29
|
+
Month: "1 month",
|
|
30
|
+
"3 Months": "3 months",
|
|
31
|
+
"6 Months": "6 months",
|
|
32
|
+
"12 Months": "12 months",
|
|
33
|
+
Monthly: "1 month",
|
|
34
|
+
Quarterly: "3 months",
|
|
35
|
+
Yearly: "12 months",
|
|
36
|
+
SemiAnnually: "6 months",
|
|
37
|
+
"semi annual": "6 months",
|
|
38
|
+
semiannual: "6 months",
|
|
39
|
+
"15 Days": "15 days",
|
|
40
|
+
Days: "15 days",
|
|
41
|
+
"6 Days": "6 days",
|
|
42
|
+
"7 Days": "7 days",
|
|
43
|
+
days: "days",
|
|
44
|
+
"2 Months": "2 months",
|
|
45
|
+
null: ""
|
|
46
|
+
};
|
|
47
|
+
const bingeOfferTenure = exports.bingeOfferTenure = {
|
|
48
|
+
Month: "first month",
|
|
49
|
+
"3 Months": "three months",
|
|
50
|
+
Monthly: "first month",
|
|
51
|
+
Quarterly: "three months"
|
|
52
|
+
};
|
|
53
|
+
const getJourneyURL = exports.getJourneyURL = {
|
|
54
|
+
CYOP: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
55
|
+
MYOP: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
56
|
+
// PLAN: `/${GlobalConfig.manageApp_Path}/loading-session`,
|
|
57
|
+
// TENURE: `/${GlobalConfig.manageApp_Path}/loading-session`,
|
|
58
|
+
CHANGE: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
59
|
+
CONTENT: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
60
|
+
MYPLAN: _RoutesConstants.RoutesConstants.MyPlan,
|
|
61
|
+
// RENEWNOW: `/${GlobalConfig.manageApp_Path}/my-plan`,
|
|
62
|
+
DROP: _RoutesConstants.RoutesConstants.MyPlan,
|
|
63
|
+
PACKCONTENT: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
64
|
+
FTVWO: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
65
|
+
FTV: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
66
|
+
WA_OTT: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
67
|
+
FLEXIPLAN: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
68
|
+
WHATSAPP: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
69
|
+
SMS: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
70
|
+
FLEXI: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
71
|
+
APPDISCONTINUE: _RoutesConstants.RoutesConstants.ChooseApp,
|
|
72
|
+
APPREPLACE: _RoutesConstants.RoutesConstants.AppReplace,
|
|
73
|
+
ZEROAPPSELECTION: _RoutesConstants.RoutesConstants.SelectApps,
|
|
74
|
+
APPSELECTION: _RoutesConstants.RoutesConstants.SelectApps,
|
|
75
|
+
// CAROUSELCONTENT: `/${GlobalConfig.manageApp_Path}/digital-camp`,
|
|
76
|
+
// STATICCONTENT: `/${GlobalConfig.manageApp_Path}/static-camp`,
|
|
77
|
+
// CAROUSELDC: `/${GlobalConfig.manageApp_Path}/digital-camp`,
|
|
78
|
+
// STATICDC: `/${GlobalConfig.manageApp_Path}/static-camp`,
|
|
79
|
+
// NEWAPPSELECTION: `/${GlobalConfig.manageApp_Path}/select-apps-regional`,
|
|
80
|
+
NEWAPPSELECTION: _RoutesConstants.RoutesConstants.SelectApps,
|
|
81
|
+
CHANGETENURE: _RoutesConstants.RoutesConstants.SelectApps,
|
|
82
|
+
COUPONS: _RoutesConstants.RoutesConstants.ChooseYourPlan,
|
|
83
|
+
SUMMARY: _RoutesConstants.RoutesConstants.PlanSummary,
|
|
84
|
+
CANCELPLAN: _RoutesConstants.RoutesConstants.CancelPlan
|
|
85
|
+
};
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.normalizeFont = exports.AppConstant = void 0;
|
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
+
var _netinfo = _interopRequireDefault(require("@react-native-community/netinfo"));
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
var _serviceCommonHandler = require("../services/serviceCommonHandler");
|
|
12
|
+
var _string = require("../utils/string");
|
|
13
|
+
var _commonUtils = require("../utils/commonUtils");
|
|
14
|
+
var _constants = require("../services/apiCall/constants");
|
|
15
|
+
var _configureStore = _interopRequireDefault(require("../store/configureStore"));
|
|
16
|
+
var _AppConstant;
|
|
17
|
+
const normalizeFont = (size, factor = 1.2) => {
|
|
18
|
+
const scale = AppConstant.dimension.aspectRatio;
|
|
19
|
+
return scale * (0, _commonUtils.isTablet)() ? size * factor : size;
|
|
20
|
+
};
|
|
21
|
+
exports.normalizeFont = normalizeFont;
|
|
22
|
+
class AppConstant {
|
|
23
|
+
static normalizeFont(size, factor = 1.25) {
|
|
24
|
+
const scale = this.dimension.aspectRatio;
|
|
25
|
+
return scale * (0, _commonUtils.isTablet)() ? size * factor : size;
|
|
26
|
+
}
|
|
27
|
+
static isIosDevice() {
|
|
28
|
+
if (_reactNative.Platform.OS === "ios") {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
static getDeviceToken() {
|
|
34
|
+
return this.deviceToken;
|
|
35
|
+
}
|
|
36
|
+
static setDeviceToken(deviceToken) {
|
|
37
|
+
this.deviceToken = deviceToken;
|
|
38
|
+
}
|
|
39
|
+
static getManifestJson() {
|
|
40
|
+
return this.drupalInfoToInnerApis;
|
|
41
|
+
}
|
|
42
|
+
static setManifestJson(drupalInfoToInnerApis) {
|
|
43
|
+
this.drupalInfoToInnerApis = drupalInfoToInnerApis;
|
|
44
|
+
}
|
|
45
|
+
static getApiUrlFromManifest(api, durpal = false) {
|
|
46
|
+
var _this$getManifestJson, _serviceConsts$baseUr, _serviceConsts$baseUr2;
|
|
47
|
+
const manifest = ((_this$getManifestJson = this.getManifestJson()) === null || _this$getManifestJson === void 0 ? void 0 : _this$getManifestJson.apiPath) || {};
|
|
48
|
+
const baseUrl = (!durpal ? (_serviceCommonHandler.serviceConsts === null || _serviceCommonHandler.serviceConsts === void 0 || (_serviceConsts$baseUr = _serviceCommonHandler.serviceConsts.baseUrls) === null || _serviceConsts$baseUr === void 0 ? void 0 : _serviceConsts$baseUr.baseUrl) || "" : (_serviceCommonHandler.serviceConsts === null || _serviceCommonHandler.serviceConsts === void 0 || (_serviceConsts$baseUr2 = _serviceCommonHandler.serviceConsts.baseUrls) === null || _serviceConsts$baseUr2 === void 0 ? void 0 : _serviceConsts$baseUr2.drupalApi) || "").replace(/\/+$/, "");
|
|
49
|
+
const endpoint = manifest[api] || "";
|
|
50
|
+
return `${baseUrl}${endpoint.startsWith("/") ? endpoint : `/${endpoint}`}`;
|
|
51
|
+
}
|
|
52
|
+
static replaceAll(str, find, replace) {
|
|
53
|
+
var re = new RegExp(find, "g");
|
|
54
|
+
return str.replace(re, replace);
|
|
55
|
+
}
|
|
56
|
+
static randomNumber(min, max) {
|
|
57
|
+
var min = min;
|
|
58
|
+
// Get the maximum value my getting the size of the
|
|
59
|
+
// array and subtracting by 1.
|
|
60
|
+
var max = max + 1;
|
|
61
|
+
let random = Math.floor(Math.random() * (max - min)) + min;
|
|
62
|
+
//Get a random integer between the min and max value.
|
|
63
|
+
return random == max ? max - 1 : random;
|
|
64
|
+
}
|
|
65
|
+
static showConsoleLog(message, ...optionalParams) {
|
|
66
|
+
console.log(message, ...optionalParams);
|
|
67
|
+
}
|
|
68
|
+
static checkInternet(callback = () => {}) {
|
|
69
|
+
_netinfo.default.fetch().then(state => {
|
|
70
|
+
callback(state.isConnected);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
static showRetryAlert(callback = () => {}, isShowAlert = true, isCancel = false, canceCallback = () => {}) {
|
|
74
|
+
// setTimeout(() => {
|
|
75
|
+
_netinfo.default.fetch().then(state => {
|
|
76
|
+
// console.log('INTERNET STATE', state);
|
|
77
|
+
if (state.isConnected) {
|
|
78
|
+
callback();
|
|
79
|
+
} else {
|
|
80
|
+
if (isShowAlert && isCancel) {
|
|
81
|
+
_reactNative.Alert.alert("Network Issue", "You are offline. Please check your internet connection.", [{
|
|
82
|
+
text: "Cancel",
|
|
83
|
+
onPress: () => {
|
|
84
|
+
canceCallback();
|
|
85
|
+
},
|
|
86
|
+
style: "cancel"
|
|
87
|
+
}, {
|
|
88
|
+
text: "Retry",
|
|
89
|
+
onPress: () => {
|
|
90
|
+
setTimeout(() => {
|
|
91
|
+
this.showRetryAlert(callback, isShowAlert, isCancel);
|
|
92
|
+
}, 100);
|
|
93
|
+
}
|
|
94
|
+
}], {
|
|
95
|
+
cancelable: false
|
|
96
|
+
});
|
|
97
|
+
} else if (isShowAlert && !isCancel) {
|
|
98
|
+
_reactNative.Alert.alert("Network Issue", "You are offline. Please check your internet connection.", [{
|
|
99
|
+
text: "Retry",
|
|
100
|
+
onPress: () => {
|
|
101
|
+
setTimeout(() => {
|
|
102
|
+
this.showRetryAlert(callback, isShowAlert, isCancel);
|
|
103
|
+
}, 100);
|
|
104
|
+
}
|
|
105
|
+
}], {
|
|
106
|
+
cancelable: true
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
// }, 100);
|
|
112
|
+
}
|
|
113
|
+
static showRetryMessageAlert({
|
|
114
|
+
message = "",
|
|
115
|
+
callback = () => {},
|
|
116
|
+
canceCallback = () => {}
|
|
117
|
+
}) {
|
|
118
|
+
setTimeout(() => {
|
|
119
|
+
_reactNative.Alert.alert("Oops!", message, [{
|
|
120
|
+
text: "Cancel",
|
|
121
|
+
onPress: () => {
|
|
122
|
+
canceCallback();
|
|
123
|
+
},
|
|
124
|
+
style: "cancel"
|
|
125
|
+
}, {
|
|
126
|
+
text: "Retry",
|
|
127
|
+
onPress: () => {
|
|
128
|
+
setTimeout(() => {
|
|
129
|
+
callback();
|
|
130
|
+
}, 100);
|
|
131
|
+
}
|
|
132
|
+
}], {
|
|
133
|
+
cancelable: false
|
|
134
|
+
});
|
|
135
|
+
}, 100);
|
|
136
|
+
}
|
|
137
|
+
static showAlert({
|
|
138
|
+
title = "",
|
|
139
|
+
msg = "",
|
|
140
|
+
ok = "Ok",
|
|
141
|
+
canCancel = false,
|
|
142
|
+
cancel = "Cancel",
|
|
143
|
+
callback = () => {}
|
|
144
|
+
}) {
|
|
145
|
+
// setTimeout(() => {
|
|
146
|
+
if (!canCancel) {
|
|
147
|
+
_reactNative.Alert.alert(title, msg, [{
|
|
148
|
+
text: ok,
|
|
149
|
+
onPress: () => {
|
|
150
|
+
callback();
|
|
151
|
+
}
|
|
152
|
+
}], {
|
|
153
|
+
cancelable: false
|
|
154
|
+
});
|
|
155
|
+
} else {
|
|
156
|
+
_reactNative.Alert.alert(title, msg, [{
|
|
157
|
+
text: cancel,
|
|
158
|
+
onPress: () => {},
|
|
159
|
+
style: "cancel"
|
|
160
|
+
}, {
|
|
161
|
+
text: ok,
|
|
162
|
+
onPress: () => {
|
|
163
|
+
callback();
|
|
164
|
+
}
|
|
165
|
+
}], {
|
|
166
|
+
cancelable: false
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
// }, 100);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
//------ Start API-----
|
|
173
|
+
|
|
174
|
+
static getChecksumToken() {
|
|
175
|
+
return this.checksumToken;
|
|
176
|
+
}
|
|
177
|
+
static setChecksumToken(checksumToken) {
|
|
178
|
+
this.checksumToken = checksumToken;
|
|
179
|
+
}
|
|
180
|
+
static getUserAccessToken() {
|
|
181
|
+
return this.userAccessToken;
|
|
182
|
+
}
|
|
183
|
+
static setUserAccessToken(userAccessToken) {
|
|
184
|
+
this.userAccessToken = userAccessToken;
|
|
185
|
+
}
|
|
186
|
+
static getUserChecksumValue() {
|
|
187
|
+
return this.userChecksumValue;
|
|
188
|
+
}
|
|
189
|
+
static setUserChecksumValue(userChecksumValue) {
|
|
190
|
+
this.userChecksumValue = userChecksumValue;
|
|
191
|
+
}
|
|
192
|
+
static getUserSessionId() {
|
|
193
|
+
return this.userSessionId;
|
|
194
|
+
}
|
|
195
|
+
static setUserSessionId(userSessionId) {
|
|
196
|
+
this.userSessionId = userSessionId;
|
|
197
|
+
}
|
|
198
|
+
static getServiceHeader(type = 0) {
|
|
199
|
+
switch (type) {
|
|
200
|
+
case 1:
|
|
201
|
+
return {
|
|
202
|
+
Accept: "application/json",
|
|
203
|
+
"Content-Type": "multipart/form-data",
|
|
204
|
+
checksum: this.getChecksumToken(),
|
|
205
|
+
"access-token": this.getUserAccessToken() ? `Bearer ${this.getUserAccessToken()}` : "",
|
|
206
|
+
"session-id": this.getUserSessionId() ? `Bearer ${this.getUserSessionId()}` : ""
|
|
207
|
+
};
|
|
208
|
+
case 2:
|
|
209
|
+
return {
|
|
210
|
+
Accept: "application/json",
|
|
211
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
212
|
+
checksum: AppConstant.getChecksumToken(),
|
|
213
|
+
"access-token": this.getUserAccessToken() ? `Bearer ${this.getUserAccessToken()}` : "",
|
|
214
|
+
"session-id": this.getUserSessionId() ? `Bearer ${this.getUserSessionId()}` : ""
|
|
215
|
+
};
|
|
216
|
+
case 3:
|
|
217
|
+
return {
|
|
218
|
+
Accept: "application/json",
|
|
219
|
+
"Content-Type": "text/plain",
|
|
220
|
+
checksum: AppConstant.getChecksumToken(),
|
|
221
|
+
"access-token": this.getUserAccessToken() ? `Bearer ${this.getUserAccessToken()}` : "",
|
|
222
|
+
"session-id": this.getUserSessionId() ? `Bearer ${this.getUserSessionId()}` : ""
|
|
223
|
+
};
|
|
224
|
+
default:
|
|
225
|
+
return {
|
|
226
|
+
Accept: "application/json",
|
|
227
|
+
"Content-Type": "application/json",
|
|
228
|
+
checksum: AppConstant.getChecksumToken(),
|
|
229
|
+
"access-token": this.getUserAccessToken() ? `Bearer ${this.getUserAccessToken()}` : "",
|
|
230
|
+
"session-id": this.getUserSessionId() ? `Bearer ${this.getUserSessionId()}` : ""
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
static resetManageApp() {
|
|
235
|
+
this.clearAppConstants();
|
|
236
|
+
_configureStore.default.dispatch({
|
|
237
|
+
type: _constants.CLEAR_STORE
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
static clearAppConstants() {
|
|
241
|
+
// Tokens & session
|
|
242
|
+
this.deviceToken = null;
|
|
243
|
+
this.checksumToken = null;
|
|
244
|
+
this.userAccessToken = null;
|
|
245
|
+
this.userChecksumValue = null;
|
|
246
|
+
this.userSessionId = null;
|
|
247
|
+
|
|
248
|
+
// Manifest
|
|
249
|
+
this.drupalInfoToInnerApis = null;
|
|
250
|
+
console.log("AppConstant cleared on back");
|
|
251
|
+
}
|
|
252
|
+
static getServiceHeaderData(type = 0) {
|
|
253
|
+
return {
|
|
254
|
+
headers: this.getServiceHeader(type),
|
|
255
|
+
credentials: "include"
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
static urlEncodeDataBody(data) {
|
|
259
|
+
var _ref;
|
|
260
|
+
var urlEncodedData = "";
|
|
261
|
+
var urlEncodedDataPairs = [];
|
|
262
|
+
urlEncodedDataPairs = (_ref = [...data._parts]) === null || _ref === void 0 ? void 0 : _ref.map(e => encodeURIComponent(e[0]) + "=" + encodeURIComponent(e[1]));
|
|
263
|
+
//// expand the elements from the .entries() iterator into an actual array and transform the elements into encoded key-value-pairs
|
|
264
|
+
urlEncodedData = urlEncodedDataPairs.join("&");
|
|
265
|
+
return urlEncodedData;
|
|
266
|
+
}
|
|
267
|
+
static rawDataBody(data) {
|
|
268
|
+
var _ref2;
|
|
269
|
+
let json = {};
|
|
270
|
+
(_ref2 = [...data._parts]) === null || _ref2 === void 0 || _ref2.map(e => {
|
|
271
|
+
json[e[0]] = e[1];
|
|
272
|
+
});
|
|
273
|
+
return JSON.stringify(json);
|
|
274
|
+
}
|
|
275
|
+
//------ End API-----
|
|
276
|
+
}
|
|
277
|
+
exports.AppConstant = AppConstant;
|
|
278
|
+
_AppConstant = AppConstant;
|
|
279
|
+
(0, _defineProperty2.default)(AppConstant, "timeout", 25000);
|
|
280
|
+
(0, _defineProperty2.default)(AppConstant, "midTimeout", 60000);
|
|
281
|
+
(0, _defineProperty2.default)(AppConstant, "maxTimeout", 120000);
|
|
282
|
+
(0, _defineProperty2.default)(AppConstant, "BASE_WIDTH", 360);
|
|
283
|
+
(0, _defineProperty2.default)(AppConstant, "dimension", {
|
|
284
|
+
width: _reactNative.Dimensions.get("window").width,
|
|
285
|
+
height: _reactNative.Dimensions.get("window").height,
|
|
286
|
+
aspectRatio: Math.min(_reactNative.Dimensions.get("window").width / _AppConstant.BASE_WIDTH, 1.3)
|
|
287
|
+
});
|
|
288
|
+
(0, _defineProperty2.default)(AppConstant, "deviceToken", null);
|
|
289
|
+
(0, _defineProperty2.default)(AppConstant, "drupalInfoToInnerApis", null);
|
|
290
|
+
(0, _defineProperty2.default)(AppConstant, "checksumToken", null);
|
|
291
|
+
(0, _defineProperty2.default)(AppConstant, "userAccessToken", null);
|
|
292
|
+
(0, _defineProperty2.default)(AppConstant, "userChecksumValue", null);
|
|
293
|
+
(0, _defineProperty2.default)(AppConstant, "userSessionId", null);
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
package <filePath>;
|
|
2
|
+
|
|
3
|
+
import static androidx.core.content.ContextCompat.startActivity;
|
|
4
|
+
|
|
5
|
+
import android.content.Intent;
|
|
6
|
+
|
|
7
|
+
import org.json.JSONArray;
|
|
8
|
+
import org.json.JSONObject;
|
|
9
|
+
|
|
10
|
+
import java.lang.reflect.Field;
|
|
11
|
+
import java.lang.reflect.ParameterizedType;
|
|
12
|
+
import java.lang.reflect.Type;
|
|
13
|
+
import java.util.ArrayList;
|
|
14
|
+
import java.util.List;
|
|
15
|
+
|
|
16
|
+
import <filePath>.MainActivity;
|
|
17
|
+
import <filePath>.MyReactActivity;
|
|
18
|
+
import <filePath>.SecondActivity;
|
|
19
|
+
import com.facebook.react.bridge.Promise;
|
|
20
|
+
import com.facebook.react.bridge.ReactApplicationContext;
|
|
21
|
+
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
22
|
+
import com.facebook.react.bridge.ReactMethod;
|
|
23
|
+
|
|
24
|
+
public class Connectivity extends ReactContextBaseJavaModule {
|
|
25
|
+
|
|
26
|
+
private static final String TAG = "Connectivity";
|
|
27
|
+
|
|
28
|
+
public Connectivity(ReactApplicationContext reactContext) {
|
|
29
|
+
super(reactContext);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public String getName() {
|
|
33
|
+
return "Connectivity";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@ReactMethod
|
|
37
|
+
public void goToSecondActivity(String selectedAppsJson, Promise promise) {
|
|
38
|
+
try {
|
|
39
|
+
// Converting JSON string back to JSONObject
|
|
40
|
+
JSONArray selectedApps = new JSONArray(selectedAppsJson);
|
|
41
|
+
|
|
42
|
+
// Using the data as needed and navigating to the second activity
|
|
43
|
+
Intent intent = new Intent(getCurrentActivity(), SecondActivity.class);
|
|
44
|
+
intent.putExtra("selectedApps", selectedApps.toString());
|
|
45
|
+
getCurrentActivity().startActivity(intent);
|
|
46
|
+
|
|
47
|
+
promise.resolve("Success");
|
|
48
|
+
} catch (Exception e) {
|
|
49
|
+
promise.reject("Error", e);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
package <filePath>;
|
|
2
|
+
|
|
3
|
+
import com.facebook.react.ReactPackage;
|
|
4
|
+
import com.facebook.react.bridge.NativeModule;
|
|
5
|
+
import com.facebook.react.bridge.ReactApplicationContext;
|
|
6
|
+
import com.facebook.react.uimanager.ViewManager;
|
|
7
|
+
|
|
8
|
+
import java.util.ArrayList;
|
|
9
|
+
import java.util.Collections;
|
|
10
|
+
import java.util.List;
|
|
11
|
+
|
|
12
|
+
public class ConnectivityPackage implements ReactPackage {
|
|
13
|
+
|
|
14
|
+
@Override
|
|
15
|
+
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
|
|
16
|
+
List<NativeModule> modules = new ArrayList<>();
|
|
17
|
+
modules.add(new Connectivity(reactContext));
|
|
18
|
+
return modules;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@Override
|
|
22
|
+
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
|
|
23
|
+
return Collections.emptyList();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
10
|
+
var _AppConstant = require("../AppConstant");
|
|
11
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
12
|
+
const ratio = _AppConstant.AppConstant.dimension.aspectRatio;
|
|
13
|
+
const BingeLogoSvg = ({
|
|
14
|
+
width = 108,
|
|
15
|
+
height = 25,
|
|
16
|
+
style
|
|
17
|
+
}) => {
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_reactNativeSvg.default, {
|
|
19
|
+
width: width * ratio,
|
|
20
|
+
height: height * ratio,
|
|
21
|
+
viewBox: "0 0 108 25",
|
|
22
|
+
fill: "none",
|
|
23
|
+
style: [style]
|
|
24
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
25
|
+
d: "M37.3491 24.1906H44.6368V12.35L52.9988 24.1906H59.7375V0.835693H52.4262V11.9333L44.4928 0.835693H37.3491V24.1906Z",
|
|
26
|
+
fill: "white"
|
|
27
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
28
|
+
d: "M61.3442 12.7427C61.3442 19.8095 66.1952 25.0229 73.8878 24.9989C81.1519 24.976 86.2886 20.1335 86.2886 12.603C86.2886 12.1623 86.265 11.6757 86.2166 11.2133H74.6044V16.6121H78.858C78.1178 17.9561 76.2773 18.5354 74.1511 18.5354C70.8065 18.5354 68.7275 16.0099 68.7275 12.4886C68.7275 8.78171 71.2847 6.53448 74.1747 6.53448C76.5406 6.53448 78.0458 7.57739 78.6904 9.12973H85.9781C84.951 2.98906 79.4082 0 74.0555 0C66.7206 0 61.3442 5.35191 61.3442 12.7427Z",
|
|
29
|
+
fill: "white"
|
|
30
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
31
|
+
d: "M87.8965 24.1906H106.509V18.0271H95.4226V15.5474H105.578V9.47774H95.4226V6.99812H106.509V0.835693H87.8965V24.1906Z",
|
|
32
|
+
fill: "white"
|
|
33
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
34
|
+
d: "M26.8149 0.835693V24.1906H34.4131V0.835693H26.8149Z",
|
|
35
|
+
fill: "white"
|
|
36
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
37
|
+
d: "M0.000488281 24.4216L20.5247 16.7526L20.5483 8.22621L0.000488281 0.603027H15.1012C20.3335 0.603027 24.1573 2.08553 24.1573 6.74255C24.1573 9.03672 23.011 11.1214 20.5495 12.3028C23.0582 13.0206 24.7075 15.0366 24.7075 17.7246C24.7075 22.567 20.7408 24.4205 15.9866 24.4205H0.000488281V24.4216Z",
|
|
38
|
+
fill: "white"
|
|
39
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
40
|
+
d: "M20.5483 8.22621L0.000488281 0.603027V8.43456L12.0671 12.4425L0.000488281 16.4744V24.4216L20.5247 16.7526L20.5483 8.22621Z",
|
|
41
|
+
fill: "#E10092"
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
44
|
+
var _default = exports.default = BingeLogoSvg;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _reactNativeSvg = require("react-native-svg");
|
|
11
|
+
var _AppConstant = require("../AppConstant");
|
|
12
|
+
const ratio = _AppConstant.AppConstant.dimension.aspectRatio;
|
|
13
|
+
const CrossSvg = ({
|
|
14
|
+
color = "white",
|
|
15
|
+
width = 14,
|
|
16
|
+
height = 14,
|
|
17
|
+
style,
|
|
18
|
+
...props
|
|
19
|
+
}) => /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, (0, _extends2.default)({
|
|
20
|
+
width: width * ratio,
|
|
21
|
+
height: height * ratio,
|
|
22
|
+
viewBox: "0 0 14 14",
|
|
23
|
+
fill: "none",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
+
style: style
|
|
26
|
+
}, props), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M11.6532 0.333313H13.6666L8.00662 6.99998L13.6666 13.6666H11.6532L6.99992 8.18574L2.34666 13.6666H0.333252L5.99321 6.99998L0.333252 0.333313H2.34666L6.99992 5.81422L11.6532 0.333313Z",
|
|
30
|
+
fill: color
|
|
31
|
+
}));
|
|
32
|
+
var _default = exports.default = CrossSvg;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
11
|
+
var _AppConstant = require("../AppConstant");
|
|
12
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
|
+
const ratio = _AppConstant.AppConstant.dimension.aspectRatio;
|
|
14
|
+
const OfferSvg = ({
|
|
15
|
+
width = 18,
|
|
16
|
+
height = 18,
|
|
17
|
+
style,
|
|
18
|
+
...props
|
|
19
|
+
}) => {
|
|
20
|
+
return /*#__PURE__*/_react.default.createElement(_reactNativeSvg.default, (0, _extends2.default)({
|
|
21
|
+
width: width * ratio,
|
|
22
|
+
height: height * ratio,
|
|
23
|
+
style: style,
|
|
24
|
+
viewBox: "0 0 18 18",
|
|
25
|
+
fill: "none"
|
|
26
|
+
}, props), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
27
|
+
d: "M17.3332 9.00002C17.3332 8.15501 15.684 7.58555 15.4384 6.81402C15.1928 6.02412 16.2104 4.53617 15.7367 3.87486C15.263 3.19518 13.6139 3.76464 12.9647 3.26866C12.3332 2.79104 12.3156 0.95407 11.5612 0.696893C10.8244 0.439717 9.80686 1.9093 8.98229 1.9093C8.17528 1.9093 7.14019 0.439717 6.40335 0.696893C5.64896 0.95407 5.63142 2.77268 4.99984 3.26866C4.35071 3.76464 2.70159 3.19518 2.22791 3.87486C1.77177 4.53617 2.77177 6.02412 2.52615 6.81402C2.31563 7.58555 0.666504 8.15501 0.666504 9.00002C0.666504 9.84503 2.31563 10.4145 2.56124 11.186C2.80685 11.9759 1.78931 13.4639 2.263 14.1252C2.73668 14.8049 4.3858 14.2354 5.03493 14.7314C5.6665 15.209 5.68405 17.046 6.43843 17.3032C7.17528 17.5603 8.19282 16.0907 9.01738 16.0907C9.8244 16.0907 10.8595 17.5603 11.5963 17.3032C12.3507 17.046 12.3683 15.2274 12.9998 14.7314C13.649 14.2354 15.2981 14.8049 15.7718 14.1252C16.2279 13.4639 15.2279 11.9759 15.4735 11.186C15.684 10.4145 17.3332 9.84503 17.3332 9.00002ZM6.84194 5.50977C7.49107 5.50977 8.01738 6.06086 8.01738 6.74054C8.01738 7.42022 7.49107 7.97132 6.84194 7.97132C6.19282 7.97132 5.6665 7.42022 5.6665 6.74054C5.6665 6.06086 6.19282 5.50977 6.84194 5.50977ZM11.1577 12.4903C10.5086 12.4903 9.98229 11.9392 9.98229 11.2595C9.98229 10.5798 10.5086 10.0287 11.1577 10.0287C11.8069 10.0287 12.3332 10.5798 12.3332 11.2595C12.3332 11.9392 11.8069 12.4903 11.1577 12.4903ZM12.1402 6.86913L6.96475 12.2882C6.80686 12.4535 6.61387 12.527 6.40335 12.527C6.21036 12.527 5.99984 12.4535 5.84194 12.2882C5.5437 11.9759 5.5437 11.4432 5.84194 11.1309L11.0174 5.71184C11.3156 5.39955 11.8244 5.39955 12.1226 5.71184C12.4384 6.04249 12.4384 6.55684 12.1402 6.86913Z",
|
|
28
|
+
fill: "#D6C6F4"
|
|
29
|
+
}));
|
|
30
|
+
};
|
|
31
|
+
var _default = exports.default = OfferSvg;
|