diy-template-components 1.0.0 → 1.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/build/index.es.js +580 -573
- package/build/index.es.js.map +1 -1
- package/build/index.js +178 -171
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function ___$insertStyle(css) {
|
|
2
|
-
if (!css ||
|
|
3
|
-
return;
|
|
4
|
-
}
|
|
5
|
-
const style = document.createElement('style');
|
|
6
|
-
style.setAttribute('type', 'text/css');
|
|
7
|
-
style.innerHTML = css;
|
|
8
|
-
document.head.appendChild(style);
|
|
9
|
-
return css;
|
|
1
|
+
function ___$insertStyle(css) {
|
|
2
|
+
if (!css || typeof window === 'undefined') {
|
|
3
|
+
return;
|
|
4
|
+
}
|
|
5
|
+
const style = document.createElement('style');
|
|
6
|
+
style.setAttribute('type', 'text/css');
|
|
7
|
+
style.innerHTML = css;
|
|
8
|
+
document.head.appendChild(style);
|
|
9
|
+
return css;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
import React
|
|
12
|
+
import React, { createContext, useContext, forwardRef, useRef, useEffect, useState, useMemo, useLayoutEffect, Suspense, memo, lazy, Fragment } from 'react';
|
|
13
13
|
import Slider from 'react-slick';
|
|
14
14
|
import axios from 'axios';
|
|
15
15
|
import moment from 'moment';
|
|
@@ -35,7 +35,7 @@ function _extends() {
|
|
|
35
35
|
|
|
36
36
|
const PageContext = /*#__PURE__*/createContext({});
|
|
37
37
|
|
|
38
|
-
const context = /*#__PURE__*/React
|
|
38
|
+
const context = /*#__PURE__*/React.createContext({});
|
|
39
39
|
const theming = createTheming(context);
|
|
40
40
|
const createUseStyles = styles => createUseStyles$1(styles, {
|
|
41
41
|
theming
|
|
@@ -506,21 +506,21 @@ const Button = /*#__PURE__*/forwardRef(function Button({
|
|
|
506
506
|
fluid,
|
|
507
507
|
disabled
|
|
508
508
|
});
|
|
509
|
-
return data?.isLink ? /*#__PURE__*/React
|
|
509
|
+
return data?.isLink ? /*#__PURE__*/React.createElement("a", _extends({
|
|
510
510
|
ref: ref,
|
|
511
511
|
href: link,
|
|
512
512
|
target: data?.isExternal ? '_blank' : null,
|
|
513
513
|
rel: data?.isExternal ? 'nofollow noopener' : null,
|
|
514
514
|
className: (active ? classes.active : '') + ' ' + classes[type] + ' ' + classes[size] + ' ' + classes.anchorClass,
|
|
515
515
|
style: styling
|
|
516
|
-
}, elementProps), data?.value) : /*#__PURE__*/React
|
|
516
|
+
}, elementProps), data?.value) : /*#__PURE__*/React.createElement("button", _extends({
|
|
517
517
|
ref: ref,
|
|
518
518
|
className: (active ? classes.active : '') + ' ' + classes[type] + ' ' + classes[size],
|
|
519
519
|
onClick: isEdit ? null : onClick,
|
|
520
520
|
style: styling
|
|
521
521
|
}, elementProps, {
|
|
522
522
|
disabled: disabled
|
|
523
|
-
}), /*#__PURE__*/React
|
|
523
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
524
524
|
dangerouslySetInnerHTML: {
|
|
525
525
|
__html: data?.value
|
|
526
526
|
}
|
|
@@ -903,7 +903,7 @@ const Icon = ({
|
|
|
903
903
|
});
|
|
904
904
|
}
|
|
905
905
|
}, [name]);
|
|
906
|
-
return /*#__PURE__*/React
|
|
906
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
907
907
|
ref: rootRef,
|
|
908
908
|
className: _className
|
|
909
909
|
}, svgState.attributes, {
|
|
@@ -986,20 +986,20 @@ const useDropdownStyles = createUseStyles(theme => ({
|
|
|
986
986
|
function Dropdown(props) {
|
|
987
987
|
const theme = useTheme();
|
|
988
988
|
const classes = useDropdownStyles(props);
|
|
989
|
-
return /*#__PURE__*/React
|
|
989
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
990
990
|
className: classes.container
|
|
991
|
-
}, /*#__PURE__*/React
|
|
991
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
992
992
|
className: classes.label
|
|
993
|
-
}, props.label, ' ', /*#__PURE__*/React
|
|
993
|
+
}, props.label, ' ', /*#__PURE__*/React.createElement(Icon, {
|
|
994
994
|
name: "Angle",
|
|
995
995
|
className: classes.icon,
|
|
996
996
|
color: theme.palette.primary.main,
|
|
997
997
|
width: "12px",
|
|
998
998
|
height: "12px"
|
|
999
|
-
})), /*#__PURE__*/React
|
|
999
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
1000
1000
|
className: classes.listBox
|
|
1001
1001
|
}, props?.list?.map((dt, ind) => {
|
|
1002
|
-
return /*#__PURE__*/React
|
|
1002
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
1003
1003
|
key: ind,
|
|
1004
1004
|
data: {
|
|
1005
1005
|
link: dt.slug,
|
|
@@ -1042,14 +1042,14 @@ function OptionList({
|
|
|
1042
1042
|
};
|
|
1043
1043
|
const tabData = tabsDataModifier();
|
|
1044
1044
|
const classes = useSectionStyles$a();
|
|
1045
|
-
return /*#__PURE__*/React
|
|
1045
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1046
1046
|
className: classes.listSection
|
|
1047
|
-
}, /*#__PURE__*/React
|
|
1047
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1048
1048
|
className: classes.optionsContainer
|
|
1049
|
-
}, /*#__PURE__*/React
|
|
1049
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1050
1050
|
className: classes.optionList
|
|
1051
1051
|
}, tabData?.map((dt, ind) => {
|
|
1052
|
-
return /*#__PURE__*/React
|
|
1052
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
1053
1053
|
key: ind,
|
|
1054
1054
|
data: dt,
|
|
1055
1055
|
type: 'tertiary',
|
|
@@ -1061,27 +1061,27 @@ function OptionList({
|
|
|
1061
1061
|
},
|
|
1062
1062
|
active: dt.active
|
|
1063
1063
|
});
|
|
1064
|
-
})), navDataCount > 5 && !isMobile ? /*#__PURE__*/React
|
|
1064
|
+
})), navDataCount > 5 && !isMobile ? /*#__PURE__*/React.createElement(Dropdown, {
|
|
1065
1065
|
list: moreContent,
|
|
1066
1066
|
label: 'More',
|
|
1067
1067
|
icon: arrowDown
|
|
1068
|
-
}) : null, isTutorWebsite && !headerData?.navs ? /*#__PURE__*/React
|
|
1068
|
+
}) : null, isTutorWebsite && !headerData?.navs ? /*#__PURE__*/React.createElement("div", {
|
|
1069
1069
|
className: classes.socialBtn
|
|
1070
|
-
}, headerData?.androidURL ? /*#__PURE__*/React
|
|
1070
|
+
}, headerData?.androidURL ? /*#__PURE__*/React.createElement("a", {
|
|
1071
1071
|
href: headerData?.androidURL,
|
|
1072
1072
|
target: "_blank",
|
|
1073
1073
|
className: classes.socialBtnItems
|
|
1074
|
-
}, /*#__PURE__*/React
|
|
1074
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
1075
1075
|
src: playStore,
|
|
1076
1076
|
alt: "playStore"
|
|
1077
|
-
})) : null, headerData?.iosUrl ? /*#__PURE__*/React
|
|
1077
|
+
})) : null, headerData?.iosUrl ? /*#__PURE__*/React.createElement("a", {
|
|
1078
1078
|
target: "_blank",
|
|
1079
1079
|
href: headerData?.iosUrl,
|
|
1080
1080
|
className: classes.socialBtnItems
|
|
1081
|
-
}, /*#__PURE__*/React
|
|
1081
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
1082
1082
|
src: appStore,
|
|
1083
1083
|
alt: "appStore"
|
|
1084
|
-
})) : null) : null, isMobile ? headerData?.appLink && /*#__PURE__*/React
|
|
1084
|
+
})) : null) : null, isMobile ? headerData?.appLink && /*#__PURE__*/React.createElement(Button, {
|
|
1085
1085
|
data: {
|
|
1086
1086
|
link: headerData?.appLink,
|
|
1087
1087
|
isLink: 1,
|
|
@@ -1095,7 +1095,7 @@ function OptionList({
|
|
|
1095
1095
|
styling: isMobile ? {
|
|
1096
1096
|
margin: '0 40px'
|
|
1097
1097
|
} : {}
|
|
1098
|
-
}) : headerData?.loginCtaLink ? /*#__PURE__*/React
|
|
1098
|
+
}) : headerData?.loginCtaLink ? /*#__PURE__*/React.createElement(Button, {
|
|
1099
1099
|
data: {
|
|
1100
1100
|
link: headerData?.loginCtaLink,
|
|
1101
1101
|
isLink: 1,
|
|
@@ -1164,7 +1164,7 @@ const NextImageRenderer = ({
|
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|
|
1166
1166
|
const NextImage = require('next/image').default;
|
|
1167
|
-
return /*#__PURE__*/React
|
|
1167
|
+
return /*#__PURE__*/React.createElement(NextImage, _extends({
|
|
1168
1168
|
priority: sectionIndex === 0 ? true : false,
|
|
1169
1169
|
loader: imageLoader,
|
|
1170
1170
|
src: src,
|
|
@@ -1175,7 +1175,7 @@ const NextImageRenderer = ({
|
|
|
1175
1175
|
alt: "image"
|
|
1176
1176
|
}));
|
|
1177
1177
|
} else {
|
|
1178
|
-
return /*#__PURE__*/React
|
|
1178
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
1179
1179
|
ref: refSetter,
|
|
1180
1180
|
className: className,
|
|
1181
1181
|
src: src
|
|
@@ -1183,7 +1183,7 @@ const NextImageRenderer = ({
|
|
|
1183
1183
|
}
|
|
1184
1184
|
} catch (err) {
|
|
1185
1185
|
console.log('next image failed', err);
|
|
1186
|
-
return /*#__PURE__*/React
|
|
1186
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
1187
1187
|
ref: refSetter,
|
|
1188
1188
|
className: className,
|
|
1189
1189
|
src: src
|
|
@@ -1231,32 +1231,32 @@ function DesktopHeader({
|
|
|
1231
1231
|
}
|
|
1232
1232
|
return moreContent;
|
|
1233
1233
|
};
|
|
1234
|
-
return /*#__PURE__*/React
|
|
1234
|
+
return /*#__PURE__*/React.createElement("nav", {
|
|
1235
1235
|
className: classes.section
|
|
1236
|
-
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React
|
|
1236
|
+
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
1237
1237
|
className: classes.headerSection
|
|
1238
|
-
}, /*#__PURE__*/React
|
|
1238
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1239
1239
|
className: classes.headerContainer
|
|
1240
|
-
}, /*#__PURE__*/React
|
|
1240
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1241
1241
|
className: classes.imageDiv
|
|
1242
|
-
}, header?.websiteLogo ? /*#__PURE__*/React
|
|
1242
|
+
}, header?.websiteLogo ? /*#__PURE__*/React.createElement("a", {
|
|
1243
1243
|
href: logoUrl,
|
|
1244
1244
|
className: classes.imageAnchor,
|
|
1245
1245
|
style: {
|
|
1246
1246
|
pointerEvents: isLandingPage ? 'none' : 'auto',
|
|
1247
1247
|
cursor: isLandingPage ? 'not-allowed' : 'default'
|
|
1248
1248
|
}
|
|
1249
|
-
}, /*#__PURE__*/React
|
|
1249
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1250
1250
|
className: classes?.imageDivImage
|
|
1251
|
-
}, /*#__PURE__*/React
|
|
1251
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
1252
1252
|
src: header?.websiteLogo,
|
|
1253
1253
|
className: classes.imageDivImageNext,
|
|
1254
1254
|
order: 1
|
|
1255
|
-
}))) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React
|
|
1255
|
+
}))) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React.createElement("a", {
|
|
1256
1256
|
href: logoUrl
|
|
1257
|
-
}, /*#__PURE__*/React
|
|
1257
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
1258
1258
|
className: classes.appNameClass
|
|
1259
|
-
}, " ", header?.appName)) : null), /*#__PURE__*/React
|
|
1259
|
+
}, " ", header?.appName)) : null), /*#__PURE__*/React.createElement(OptionList, {
|
|
1260
1260
|
optionsData: optionDataFn(),
|
|
1261
1261
|
navDataCount: navData?.length,
|
|
1262
1262
|
headerData: header,
|
|
@@ -1264,7 +1264,7 @@ function DesktopHeader({
|
|
|
1264
1264
|
isLandingPages: isLandingPage,
|
|
1265
1265
|
moreContent: moreContentFn(),
|
|
1266
1266
|
isTutorWebsite: isTutorWebsite
|
|
1267
|
-
}))) : /*#__PURE__*/React
|
|
1267
|
+
}))) : /*#__PURE__*/React.createElement("div", {
|
|
1268
1268
|
style: {
|
|
1269
1269
|
paddingTop: '30px'
|
|
1270
1270
|
}
|
|
@@ -1311,11 +1311,11 @@ function MobileHeader({
|
|
|
1311
1311
|
let downloadLink = null;
|
|
1312
1312
|
if (isTutorWebsite) {
|
|
1313
1313
|
if (header?.iosUrl) {
|
|
1314
|
-
iosUrl = /*#__PURE__*/React
|
|
1314
|
+
iosUrl = /*#__PURE__*/React.createElement(Button, {
|
|
1315
1315
|
data: {
|
|
1316
1316
|
link: header?.iosUrl,
|
|
1317
1317
|
isLink: 1,
|
|
1318
|
-
value: /*#__PURE__*/React
|
|
1318
|
+
value: /*#__PURE__*/React.createElement("img", {
|
|
1319
1319
|
src: phoneIos,
|
|
1320
1320
|
alt: "iosUrl"
|
|
1321
1321
|
}),
|
|
@@ -1332,11 +1332,11 @@ function MobileHeader({
|
|
|
1332
1332
|
});
|
|
1333
1333
|
}
|
|
1334
1334
|
if (header?.androidURL) {
|
|
1335
|
-
androidUrl = /*#__PURE__*/React
|
|
1335
|
+
androidUrl = /*#__PURE__*/React.createElement(Button, {
|
|
1336
1336
|
data: {
|
|
1337
1337
|
link: header?.androidURL,
|
|
1338
1338
|
isLink: 1,
|
|
1339
|
-
value: /*#__PURE__*/React
|
|
1339
|
+
value: /*#__PURE__*/React.createElement("img", {
|
|
1340
1340
|
src: phoneAndroid,
|
|
1341
1341
|
alt: "iosUrl"
|
|
1342
1342
|
}),
|
|
@@ -1352,9 +1352,9 @@ function MobileHeader({
|
|
|
1352
1352
|
});
|
|
1353
1353
|
}
|
|
1354
1354
|
if (iosUrl && androidUrl) {
|
|
1355
|
-
downloadLink = /*#__PURE__*/React
|
|
1355
|
+
downloadLink = /*#__PURE__*/React.createElement("div", null, iosUrl, androidUrl);
|
|
1356
1356
|
} else if (header?.iosUrl) {
|
|
1357
|
-
downloadLink = /*#__PURE__*/React
|
|
1357
|
+
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1358
1358
|
data: {
|
|
1359
1359
|
link: header?.iosUrl,
|
|
1360
1360
|
isLink: 1,
|
|
@@ -1367,7 +1367,7 @@ function MobileHeader({
|
|
|
1367
1367
|
rel: null
|
|
1368
1368
|
});
|
|
1369
1369
|
} else if (header?.androidURL) {
|
|
1370
|
-
downloadLink = /*#__PURE__*/React
|
|
1370
|
+
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1371
1371
|
data: {
|
|
1372
1372
|
link: header?.androidURL,
|
|
1373
1373
|
isLink: 1,
|
|
@@ -1384,7 +1384,7 @@ function MobileHeader({
|
|
|
1384
1384
|
}
|
|
1385
1385
|
} else {
|
|
1386
1386
|
if (header?.appLink) {
|
|
1387
|
-
downloadLink = /*#__PURE__*/React
|
|
1387
|
+
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1388
1388
|
data: {
|
|
1389
1389
|
link: header?.appLink,
|
|
1390
1390
|
isLink: 1,
|
|
@@ -1400,56 +1400,56 @@ function MobileHeader({
|
|
|
1400
1400
|
downloadLink = null;
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
|
-
return /*#__PURE__*/React
|
|
1403
|
+
return /*#__PURE__*/React.createElement("nav", {
|
|
1404
1404
|
ref: navEl,
|
|
1405
1405
|
className: classes.section
|
|
1406
|
-
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React
|
|
1406
|
+
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
1407
1407
|
className: classes.headerSection
|
|
1408
|
-
}, /*#__PURE__*/React
|
|
1408
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1409
1409
|
className: classes.mobileHeader
|
|
1410
|
-
}, /*#__PURE__*/React
|
|
1410
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1411
1411
|
className: classes.mobileContent
|
|
1412
|
-
}, !!navData?.length && /*#__PURE__*/React
|
|
1412
|
+
}, !!navData?.length && /*#__PURE__*/React.createElement("div", {
|
|
1413
1413
|
onClick: () => {
|
|
1414
1414
|
openSideMenu(true);
|
|
1415
1415
|
},
|
|
1416
1416
|
className: classes.sideDrawerImg
|
|
1417
|
-
}, /*#__PURE__*/React
|
|
1417
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1418
1418
|
name: 'Menu',
|
|
1419
1419
|
color: theme.palette.primary.main,
|
|
1420
1420
|
width: '24px'
|
|
1421
|
-
})), header?.websiteLogo ? /*#__PURE__*/React
|
|
1421
|
+
})), header?.websiteLogo ? /*#__PURE__*/React.createElement("a", {
|
|
1422
1422
|
href: logoUrl,
|
|
1423
1423
|
className: classes.imageAnchorMobile,
|
|
1424
1424
|
style: {
|
|
1425
1425
|
pointerEvents: isLandingPage ? 'none' : 'auto',
|
|
1426
1426
|
cursor: isLandingPage ? 'not-allowed' : 'default'
|
|
1427
1427
|
}
|
|
1428
|
-
}, /*#__PURE__*/React
|
|
1428
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1429
1429
|
className: classes?.imageDivImageMobile
|
|
1430
|
-
}, /*#__PURE__*/React
|
|
1430
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
1431
1431
|
src: header?.websiteLogo,
|
|
1432
1432
|
className: classes.imageDivImageNext,
|
|
1433
1433
|
order: 1
|
|
1434
|
-
}))) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React
|
|
1434
|
+
}))) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React.createElement("p", {
|
|
1435
1435
|
className: classes.mobileAppNameClass
|
|
1436
|
-
}, " ", header?.appName) : null), downloadLink), sideMenu ? /*#__PURE__*/React
|
|
1436
|
+
}, " ", header?.appName) : null), downloadLink), sideMenu ? /*#__PURE__*/React.createElement("div", {
|
|
1437
1437
|
className: classes.mobileMenu
|
|
1438
|
-
}, /*#__PURE__*/React
|
|
1438
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1439
1439
|
className: classes.backdrop,
|
|
1440
1440
|
onClick: () => {
|
|
1441
1441
|
openSideMenu(false);
|
|
1442
1442
|
}
|
|
1443
|
-
}), /*#__PURE__*/React
|
|
1443
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
1444
1444
|
className: classes.menuContainer
|
|
1445
|
-
}, /*#__PURE__*/React
|
|
1445
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1446
1446
|
className: classes.menuItem
|
|
1447
|
-
}, /*#__PURE__*/React
|
|
1447
|
+
}, /*#__PURE__*/React.createElement(OptionList, {
|
|
1448
1448
|
optionsData: navData,
|
|
1449
1449
|
navDataCount: navData?.length,
|
|
1450
1450
|
headerData: header,
|
|
1451
1451
|
isMobile: true
|
|
1452
|
-
})))) : null) : /*#__PURE__*/React
|
|
1452
|
+
})))) : null) : /*#__PURE__*/React.createElement("div", {
|
|
1453
1453
|
style: {
|
|
1454
1454
|
paddingTop: '30px'
|
|
1455
1455
|
}
|
|
@@ -1467,12 +1467,12 @@ function Header({
|
|
|
1467
1467
|
const filterHiddenNavs = () => {
|
|
1468
1468
|
return data?.navs?.filter(dt => !dt.isHiddenNav);
|
|
1469
1469
|
};
|
|
1470
|
-
return isMobile ? /*#__PURE__*/React
|
|
1470
|
+
return isMobile ? /*#__PURE__*/React.createElement(MobileHeader, {
|
|
1471
1471
|
navData: filterHiddenNavs(),
|
|
1472
1472
|
header: data,
|
|
1473
1473
|
isTutorWebsite: isTutorWebsite,
|
|
1474
1474
|
isLandingPage: isLandingPage
|
|
1475
|
-
}) : /*#__PURE__*/React
|
|
1475
|
+
}) : /*#__PURE__*/React.createElement(DesktopHeader, {
|
|
1476
1476
|
navData: filterHiddenNavs(),
|
|
1477
1477
|
header: data,
|
|
1478
1478
|
isTutorWebsite: isTutorWebsite,
|
|
@@ -1697,131 +1697,131 @@ function Footer({
|
|
|
1697
1697
|
const classes = useSectionStyles$9({
|
|
1698
1698
|
isCustomWebsite
|
|
1699
1699
|
});
|
|
1700
|
-
return /*#__PURE__*/React
|
|
1700
|
+
return /*#__PURE__*/React.createElement("footer", {
|
|
1701
1701
|
className: data.metadata.isCpBranding ? `${classes.section}` : `${classes.section} ${classes.sectionNoBranding}`
|
|
1702
|
-
}, /*#__PURE__*/React
|
|
1702
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1703
1703
|
className: data.metadata.isCpBranding ? `${classes.upperContainer}` : `${classes.upperContainer} ${classes.upperContainerNoBranding}`
|
|
1704
|
-
}, /*#__PURE__*/React
|
|
1704
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1705
1705
|
className: classes.upperContainerItem1
|
|
1706
|
-
}, /*#__PURE__*/React
|
|
1706
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1707
1707
|
className: classes.upperContainerItem1Img
|
|
1708
|
-
}, /*#__PURE__*/React
|
|
1708
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
1709
1709
|
src: data?.logo?.metadata?.url,
|
|
1710
1710
|
ref: data?.logo?.refSetter,
|
|
1711
1711
|
className: classes.footerLogoImage
|
|
1712
|
-
}))), /*#__PURE__*/React
|
|
1712
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
1713
1713
|
className: classes.upperContainerItem2
|
|
1714
|
-
}, data?.address?.metadata.value && data?.address?.metadata.value !== '<br>' ? /*#__PURE__*/React
|
|
1714
|
+
}, data?.address?.metadata.value && data?.address?.metadata.value !== '<br>' ? /*#__PURE__*/React.createElement("p", {
|
|
1715
1715
|
className: classes.addressContainer
|
|
1716
|
-
}, /*#__PURE__*/React
|
|
1716
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1717
1717
|
className: classes.addressImg
|
|
1718
|
-
}, /*#__PURE__*/React
|
|
1718
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1719
1719
|
name: 'Location',
|
|
1720
1720
|
color: theme.palette.font.primary,
|
|
1721
1721
|
width: '18px'
|
|
1722
|
-
})), /*#__PURE__*/React
|
|
1722
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
1723
1723
|
className: classes.addressText,
|
|
1724
1724
|
ref: data?.address?.refSetter,
|
|
1725
1725
|
dangerouslySetInnerHTML: {
|
|
1726
1726
|
__html: data?.address?.metadata.value
|
|
1727
1727
|
}
|
|
1728
|
-
})) : null, data?.phone?.metadata.value && data?.phone?.metadata.value !== '<br>' ? /*#__PURE__*/React
|
|
1728
|
+
})) : null, data?.phone?.metadata.value && data?.phone?.metadata.value !== '<br>' ? /*#__PURE__*/React.createElement("p", {
|
|
1729
1729
|
className: classes.addressContainer
|
|
1730
|
-
}, /*#__PURE__*/React
|
|
1730
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1731
1731
|
className: classes.addressImg
|
|
1732
|
-
}, /*#__PURE__*/React
|
|
1732
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1733
1733
|
name: 'Phone',
|
|
1734
1734
|
color: theme.palette.font.primary,
|
|
1735
1735
|
width: '18px'
|
|
1736
|
-
})), /*#__PURE__*/React
|
|
1736
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
1737
1737
|
className: classes.addressText,
|
|
1738
1738
|
ref: data?.phone?.refSetter,
|
|
1739
1739
|
dangerouslySetInnerHTML: {
|
|
1740
1740
|
__html: data?.phone?.metadata.value
|
|
1741
1741
|
}
|
|
1742
|
-
})) : null, data?.email?.metadata.value && data?.email?.metadata.value !== '<br>' ? /*#__PURE__*/React
|
|
1742
|
+
})) : null, data?.email?.metadata.value && data?.email?.metadata.value !== '<br>' ? /*#__PURE__*/React.createElement("p", {
|
|
1743
1743
|
className: classes.addressContainer
|
|
1744
|
-
}, /*#__PURE__*/React
|
|
1744
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1745
1745
|
className: classes.addressImg
|
|
1746
|
-
}, /*#__PURE__*/React
|
|
1746
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1747
1747
|
name: 'Email',
|
|
1748
1748
|
color: theme.palette.font.primary,
|
|
1749
1749
|
width: '18px'
|
|
1750
|
-
})), /*#__PURE__*/React
|
|
1750
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
1751
1751
|
className: classes.addressText,
|
|
1752
1752
|
ref: data?.email?.refSetter,
|
|
1753
1753
|
dangerouslySetInnerHTML: {
|
|
1754
1754
|
__html: data?.email?.metadata.value
|
|
1755
1755
|
}
|
|
1756
|
-
})) : null), /*#__PURE__*/React
|
|
1756
|
+
})) : null), /*#__PURE__*/React.createElement("div", {
|
|
1757
1757
|
className: classes.upperContainerItem3
|
|
1758
|
-
}, data?.facebookLink?.metadata?.value ? /*#__PURE__*/React
|
|
1758
|
+
}, data?.facebookLink?.metadata?.value ? /*#__PURE__*/React.createElement("button", {
|
|
1759
1759
|
ref: data?.facebookLink?.refSetter,
|
|
1760
1760
|
className: classes.socialMediaCta,
|
|
1761
1761
|
onClick: () => {
|
|
1762
1762
|
window.open(data?.facebookLink?.metadata?.value, '_blank');
|
|
1763
1763
|
}
|
|
1764
|
-
}, /*#__PURE__*/React
|
|
1764
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1765
1765
|
name: 'Facebook Solid',
|
|
1766
1766
|
color: theme.palette.background.default,
|
|
1767
1767
|
width: '16px',
|
|
1768
1768
|
height: '16px'
|
|
1769
|
-
})) : null, data?.twitterLink?.metadata?.value ? /*#__PURE__*/React
|
|
1769
|
+
})) : null, data?.twitterLink?.metadata?.value ? /*#__PURE__*/React.createElement("button", {
|
|
1770
1770
|
ref: data?.twitterLink?.refSetter,
|
|
1771
1771
|
className: classes.socialMediaCta,
|
|
1772
1772
|
onClick: () => {
|
|
1773
1773
|
window.open(data?.twitterLink?.metadata?.value, '_blank');
|
|
1774
1774
|
}
|
|
1775
|
-
}, /*#__PURE__*/React
|
|
1775
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1776
1776
|
name: 'Twitter Solid',
|
|
1777
1777
|
color: theme.palette.background.default,
|
|
1778
1778
|
width: '16px',
|
|
1779
1779
|
height: '16px'
|
|
1780
|
-
})) : null, data?.instagramLink?.metadata?.value ? /*#__PURE__*/React
|
|
1780
|
+
})) : null, data?.instagramLink?.metadata?.value ? /*#__PURE__*/React.createElement("button", {
|
|
1781
1781
|
ref: data?.instagramLink?.refSetter,
|
|
1782
1782
|
className: classes.socialMediaCta,
|
|
1783
1783
|
onClick: () => {
|
|
1784
1784
|
window.open(data?.instagramLink?.metadata?.value, '_blank');
|
|
1785
1785
|
}
|
|
1786
|
-
}, /*#__PURE__*/React
|
|
1786
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1787
1787
|
name: 'Instagram',
|
|
1788
1788
|
color: theme.palette.background.default,
|
|
1789
1789
|
width: '16px',
|
|
1790
1790
|
height: '16px'
|
|
1791
|
-
})) : null, data?.telegramLink?.metadata?.value ? /*#__PURE__*/React
|
|
1791
|
+
})) : null, data?.telegramLink?.metadata?.value ? /*#__PURE__*/React.createElement("button", {
|
|
1792
1792
|
ref: data?.telegramLink?.refSetter,
|
|
1793
1793
|
className: classes.socialMediaCta,
|
|
1794
1794
|
onClick: () => {
|
|
1795
1795
|
window.open(data?.telegramLink?.metadata?.value, '_blank');
|
|
1796
1796
|
}
|
|
1797
|
-
}, /*#__PURE__*/React
|
|
1797
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1798
1798
|
name: 'Telegram',
|
|
1799
1799
|
color: theme.palette.background.default,
|
|
1800
1800
|
width: '16px',
|
|
1801
1801
|
height: '16px'
|
|
1802
|
-
})) : null, data?.youtubeLink?.metadata?.value ? /*#__PURE__*/React
|
|
1802
|
+
})) : null, data?.youtubeLink?.metadata?.value ? /*#__PURE__*/React.createElement("button", {
|
|
1803
1803
|
ref: data?.youtubeLink?.refSetter,
|
|
1804
1804
|
className: classes.socialMediaCta,
|
|
1805
1805
|
onClick: () => {
|
|
1806
1806
|
window.open(data?.youtubeLink?.metadata?.value, '_blank');
|
|
1807
1807
|
}
|
|
1808
|
-
}, /*#__PURE__*/React
|
|
1808
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1809
1809
|
name: 'YouTube',
|
|
1810
1810
|
color: theme.palette.background.default,
|
|
1811
1811
|
width: '16px',
|
|
1812
1812
|
height: '16px'
|
|
1813
|
-
})) : null)), data.metadata.isCpBranding ? /*#__PURE__*/React
|
|
1813
|
+
})) : null)), data.metadata.isCpBranding ? /*#__PURE__*/React.createElement("div", {
|
|
1814
1814
|
className: classes.lowerContainer
|
|
1815
|
-
}, /*#__PURE__*/React
|
|
1815
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1816
1816
|
className: classes.bottomLeftText
|
|
1817
|
-
}, "2022 All Rights Reserved"), /*#__PURE__*/React
|
|
1817
|
+
}, "2022 All Rights Reserved"), /*#__PURE__*/React.createElement("div", {
|
|
1818
1818
|
className: classes.poweredByContainer
|
|
1819
|
-
}, /*#__PURE__*/React
|
|
1819
|
+
}, /*#__PURE__*/React.createElement("p", null, "Powered by"), /*#__PURE__*/React.createElement("a", {
|
|
1820
1820
|
title: "Powered by Classplus",
|
|
1821
1821
|
target: "_blank",
|
|
1822
1822
|
href: "https://classplusapp.com/",
|
|
1823
1823
|
className: classes.poweredDiv
|
|
1824
|
-
}, /*#__PURE__*/React
|
|
1824
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
1825
1825
|
src: 'https://storage.googleapis.com/coursewebview/logo.png',
|
|
1826
1826
|
alt: "classplus",
|
|
1827
1827
|
className: classes.poweredDivImg
|
|
@@ -2023,7 +2023,7 @@ function FontSeeder({
|
|
|
2023
2023
|
fontFamily
|
|
2024
2024
|
}) {
|
|
2025
2025
|
const Comp = getFontComponent(fontFamily);
|
|
2026
|
-
return /*#__PURE__*/React
|
|
2026
|
+
return /*#__PURE__*/React.createElement(Comp, null);
|
|
2027
2027
|
}
|
|
2028
2028
|
const useRubikFont = createUseStyles$1({
|
|
2029
2029
|
'@import': `url('https://fonts.googleapis.com/css2?family=Lato&family=Rubik:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap')`
|
|
@@ -2089,7 +2089,7 @@ const MemoisedSection$1 = /*#__PURE__*/memo(({
|
|
|
2089
2089
|
sectionIndex
|
|
2090
2090
|
}) => {
|
|
2091
2091
|
const SectionComp = getCompToRender$1(sectionData.type);
|
|
2092
|
-
return /*#__PURE__*/React
|
|
2092
|
+
return /*#__PURE__*/React.createElement(SectionComp, {
|
|
2093
2093
|
sectionData: sectionData,
|
|
2094
2094
|
extraProps: extraProps,
|
|
2095
2095
|
sectionIndex: sectionIndex
|
|
@@ -2100,9 +2100,9 @@ function SectionRenderer$1({
|
|
|
2100
2100
|
sectionIndex,
|
|
2101
2101
|
extraProps
|
|
2102
2102
|
}) {
|
|
2103
|
-
return /*#__PURE__*/React
|
|
2103
|
+
return /*#__PURE__*/React.createElement(Suspense, {
|
|
2104
2104
|
fallback: null /*GIF maybe*/
|
|
2105
|
-
}, /*#__PURE__*/React
|
|
2105
|
+
}, /*#__PURE__*/React.createElement(MemoisedSection$1, {
|
|
2106
2106
|
sectionData: sectionData,
|
|
2107
2107
|
extraProps: extraProps,
|
|
2108
2108
|
sectionIndex: sectionIndex
|
|
@@ -2179,32 +2179,32 @@ function PageRenderer$1({
|
|
|
2179
2179
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2180
2180
|
const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2181
2181
|
const Wrapper = SectionWrapper || Fragment;
|
|
2182
|
-
return /*#__PURE__*/React
|
|
2182
|
+
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
2183
2183
|
theme: theme
|
|
2184
|
-
}, /*#__PURE__*/React
|
|
2184
|
+
}, /*#__PURE__*/React.createElement(PageContext.Provider, {
|
|
2185
2185
|
value: context
|
|
2186
|
-
}, /*#__PURE__*/React
|
|
2186
|
+
}, /*#__PURE__*/React.createElement(FontSeeder, {
|
|
2187
2187
|
fontFamily: font
|
|
2188
|
-
}), !!header && /*#__PURE__*/React
|
|
2188
|
+
}), !!header && /*#__PURE__*/React.createElement(Wrapper, !!SectionWrapper && {
|
|
2189
2189
|
sectionData: header,
|
|
2190
2190
|
isHeader: true,
|
|
2191
2191
|
hideLogin
|
|
2192
|
-
}, /*#__PURE__*/React
|
|
2192
|
+
}, /*#__PURE__*/React.createElement(Header, {
|
|
2193
2193
|
data: header,
|
|
2194
2194
|
isLandingPage: isLandingPage
|
|
2195
|
-
})), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React
|
|
2195
|
+
})), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React.createElement(Wrapper, _extends({}, !!SectionWrapper && {
|
|
2196
2196
|
sectionData,
|
|
2197
2197
|
sectionIndex
|
|
2198
2198
|
}, {
|
|
2199
2199
|
key: sectionData.type + (sectionData._id || sectionIndex)
|
|
2200
|
-
}), /*#__PURE__*/React
|
|
2200
|
+
}), /*#__PURE__*/React.createElement(SectionRenderer$1, {
|
|
2201
2201
|
sectionData: sectionData,
|
|
2202
2202
|
extraProps: extraProps,
|
|
2203
2203
|
sectionIndex: sectionIndex
|
|
2204
|
-
}))) : sectionPlaceholder, !!footer && /*#__PURE__*/React
|
|
2204
|
+
}))) : sectionPlaceholder, !!footer && /*#__PURE__*/React.createElement(Wrapper, !!SectionWrapper && {
|
|
2205
2205
|
sectionData: footer,
|
|
2206
2206
|
isFooter: true
|
|
2207
|
-
}, /*#__PURE__*/React
|
|
2207
|
+
}, /*#__PURE__*/React.createElement(Footer, {
|
|
2208
2208
|
data: footer
|
|
2209
2209
|
}))));
|
|
2210
2210
|
}
|
|
@@ -2454,10 +2454,10 @@ function ArrowButton(props) {
|
|
|
2454
2454
|
onClick
|
|
2455
2455
|
} = props;
|
|
2456
2456
|
const classes = useArrowButtonStyles(props);
|
|
2457
|
-
return /*#__PURE__*/React
|
|
2457
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
2458
2458
|
onClick: onClick,
|
|
2459
2459
|
className: classes.arrowButtonContainer
|
|
2460
|
-
}, /*#__PURE__*/React
|
|
2460
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2461
2461
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2462
2462
|
name: "Angle",
|
|
2463
2463
|
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
@@ -2518,10 +2518,10 @@ function Carousel({
|
|
|
2518
2518
|
leftCount,
|
|
2519
2519
|
rightCount
|
|
2520
2520
|
} = dotsToShow(currentDot, children.length);
|
|
2521
|
-
return /*#__PURE__*/React
|
|
2522
|
-
if (currentDot - leftCount <= i && currentDot + rightCount >= i) return /*#__PURE__*/React
|
|
2521
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("ul", null, dots.map((item, i) => {
|
|
2522
|
+
if (currentDot - leftCount <= i && currentDot + rightCount >= i) return /*#__PURE__*/React.createElement("li", {
|
|
2523
2523
|
key: i
|
|
2524
|
-
}, item.props.children);else return /*#__PURE__*/React
|
|
2524
|
+
}, item.props.children);else return /*#__PURE__*/React.createElement(Fragment, {
|
|
2525
2525
|
key: i
|
|
2526
2526
|
});
|
|
2527
2527
|
})));
|
|
@@ -2531,9 +2531,9 @@ function Carousel({
|
|
|
2531
2531
|
leftCount,
|
|
2532
2532
|
rightCount
|
|
2533
2533
|
} = dotsToShow(currentDot, children.length);
|
|
2534
|
-
if (currentDot - leftCount <= i && currentDot + rightCount >= i) return /*#__PURE__*/React
|
|
2534
|
+
if (currentDot - leftCount <= i && currentDot + rightCount >= i) return /*#__PURE__*/React.createElement("div", {
|
|
2535
2535
|
className: i == currentDot ? classes.activeDot : classes.dots
|
|
2536
|
-
});else return /*#__PURE__*/React
|
|
2536
|
+
});else return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
2537
2537
|
},
|
|
2538
2538
|
...settings,
|
|
2539
2539
|
className: settings?.className ? settings?.className + ' ' + classes.sliderClass : classes.sliderClass
|
|
@@ -2544,15 +2544,15 @@ function Carousel({
|
|
|
2544
2544
|
const previousClick = () => {
|
|
2545
2545
|
sliderRef.current.slickPrev();
|
|
2546
2546
|
};
|
|
2547
|
-
return /*#__PURE__*/React
|
|
2547
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Slider, _extends({
|
|
2548
2548
|
ref: sliderRef
|
|
2549
|
-
}, sliderSettings), children), hideArrow || isMobile ? null : /*#__PURE__*/React
|
|
2549
|
+
}, sliderSettings), children), hideArrow || isMobile ? null : /*#__PURE__*/React.createElement("div", {
|
|
2550
2550
|
className: buttonContainerClass || classes.buttonContainer
|
|
2551
|
-
}, /*#__PURE__*/React
|
|
2551
|
+
}, /*#__PURE__*/React.createElement(ArrowButton, {
|
|
2552
2552
|
onClick: previousClick,
|
|
2553
2553
|
left: true,
|
|
2554
2554
|
inverted: inverted
|
|
2555
|
-
}), /*#__PURE__*/React
|
|
2555
|
+
}), /*#__PURE__*/React.createElement(ArrowButton, {
|
|
2556
2556
|
onClick: nextClick,
|
|
2557
2557
|
right: true,
|
|
2558
2558
|
inverted: inverted
|
|
@@ -2574,42 +2574,42 @@ function Section$4({
|
|
|
2574
2574
|
isCustomWebsite,
|
|
2575
2575
|
isMobile
|
|
2576
2576
|
});
|
|
2577
|
-
return /*#__PURE__*/React
|
|
2577
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
2578
2578
|
className: classes.centerData
|
|
2579
|
-
}, /*#__PURE__*/React
|
|
2579
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2580
2580
|
className: classes.partialBackground
|
|
2581
|
-
}), /*#__PURE__*/React
|
|
2581
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2582
2582
|
className: classes.contentContainer
|
|
2583
|
-
}, /*#__PURE__*/React
|
|
2583
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2584
2584
|
className: classes.textContainer
|
|
2585
|
-
}, /*#__PURE__*/React
|
|
2585
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2586
2586
|
className: classes.subTitleHeading
|
|
2587
|
-
}, /*#__PURE__*/React
|
|
2587
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2588
2588
|
ref: nodeData?.cardHeading?.refSetter,
|
|
2589
2589
|
dangerouslySetInnerHTML: {
|
|
2590
2590
|
__html: nodeData.cardHeading.metadata.value
|
|
2591
2591
|
}
|
|
2592
|
-
})), /*#__PURE__*/React
|
|
2592
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
2593
2593
|
className: classes.heading
|
|
2594
|
-
}, /*#__PURE__*/React
|
|
2594
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2595
2595
|
ref: nodeData?.title?.refSetter,
|
|
2596
2596
|
dangerouslySetInnerHTML: {
|
|
2597
2597
|
__html: nodeData.title.metadata.value
|
|
2598
2598
|
}
|
|
2599
|
-
})), /*#__PURE__*/React
|
|
2599
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
2600
2600
|
ref: nodeData?.description?.refSetter,
|
|
2601
2601
|
className: classes.description,
|
|
2602
2602
|
dangerouslySetInnerHTML: {
|
|
2603
2603
|
__html: nodeData.description.metadata.value
|
|
2604
2604
|
}
|
|
2605
|
-
}), nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React
|
|
2605
|
+
}), nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(Button, {
|
|
2606
2606
|
ref: nodeData?.cta?.refSetter,
|
|
2607
2607
|
data: nodeData.cta.metadata,
|
|
2608
2608
|
type: nodeData?.cta?.metadata?.type,
|
|
2609
2609
|
size: isMobile ? 'small' : 'medium'
|
|
2610
|
-
})), /*#__PURE__*/React
|
|
2610
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
2611
2611
|
className: classes?.imageContainer
|
|
2612
|
-
}, /*#__PURE__*/React
|
|
2612
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
2613
2613
|
ref: nodeData?.image?.refSetter,
|
|
2614
2614
|
className: classes.sideBannerImage,
|
|
2615
2615
|
src: nodeData.image.metadata.value,
|
|
@@ -2638,11 +2638,11 @@ function BannerCarouselRight({
|
|
|
2638
2638
|
buttonContainerClass: classes.absoluteButtonsBannerRight,
|
|
2639
2639
|
inverted: false
|
|
2640
2640
|
} : {};
|
|
2641
|
-
return /*#__PURE__*/React
|
|
2641
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
2642
2642
|
className: classes.bannerCarouselRightSection
|
|
2643
|
-
}, /*#__PURE__*/React
|
|
2643
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2644
2644
|
className: classes.sectionContainer
|
|
2645
|
-
}, /*#__PURE__*/React
|
|
2645
|
+
}, /*#__PURE__*/React.createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$4, {
|
|
2646
2646
|
nodeData: node,
|
|
2647
2647
|
key: idx /* or some other unique property */,
|
|
2648
2648
|
sectionIndex: sectionIndex
|
|
@@ -2843,41 +2843,41 @@ function List({
|
|
|
2843
2843
|
const getNumber = val => {
|
|
2844
2844
|
return val.toString().length == 1 ? '0' + val : val;
|
|
2845
2845
|
};
|
|
2846
|
-
return /*#__PURE__*/React
|
|
2846
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
2847
2847
|
className: classes.section
|
|
2848
|
-
}, /*#__PURE__*/React
|
|
2848
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2849
2849
|
className: classes.sectionContainer
|
|
2850
|
-
}, /*#__PURE__*/React
|
|
2850
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2851
2851
|
className: classes.subTitleHeading
|
|
2852
|
-
}, /*#__PURE__*/React
|
|
2852
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2853
2853
|
ref: nodeData?.cardHeading?.refSetter,
|
|
2854
2854
|
dangerouslySetInnerHTML: {
|
|
2855
2855
|
__html: nodeData.cardHeading.metadata.value
|
|
2856
2856
|
}
|
|
2857
|
-
})), /*#__PURE__*/React
|
|
2857
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
2858
2858
|
className: classes.heading
|
|
2859
|
-
}, /*#__PURE__*/React
|
|
2859
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2860
2860
|
ref: nodeData?.title?.refSetter,
|
|
2861
2861
|
dangerouslySetInnerHTML: {
|
|
2862
2862
|
__html: nodeData.title.metadata.value
|
|
2863
2863
|
}
|
|
2864
|
-
})), /*#__PURE__*/React
|
|
2864
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
2865
2865
|
className: classes.contentContainer
|
|
2866
2866
|
}, nodeData.contentList.components.map((dt, ind) => {
|
|
2867
|
-
return /*#__PURE__*/React
|
|
2867
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
2868
2868
|
key: ind,
|
|
2869
2869
|
className: classes.content
|
|
2870
|
-
}, /*#__PURE__*/React
|
|
2870
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2871
2871
|
className: classes.contentNumber
|
|
2872
|
-
}, getNumber(ind + 1)), /*#__PURE__*/React
|
|
2872
|
+
}, getNumber(ind + 1)), /*#__PURE__*/React.createElement("div", {
|
|
2873
2873
|
className: classes.contentText
|
|
2874
|
-
}, /*#__PURE__*/React
|
|
2874
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
2875
2875
|
ref: dt?.contentHeading?.refSetter,
|
|
2876
2876
|
className: classes.contentHeading,
|
|
2877
2877
|
dangerouslySetInnerHTML: {
|
|
2878
2878
|
__html: dt.contentHeading.metadata.value
|
|
2879
2879
|
}
|
|
2880
|
-
}), /*#__PURE__*/React
|
|
2880
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
2881
2881
|
ref: dt?.contentPara?.refSetter,
|
|
2882
2882
|
className: classes.contentPara,
|
|
2883
2883
|
dangerouslySetInnerHTML: {
|
|
@@ -3058,44 +3058,44 @@ const Section$3 = ({
|
|
|
3058
3058
|
containerWidth,
|
|
3059
3059
|
isCustomWebsite
|
|
3060
3060
|
});
|
|
3061
|
-
return /*#__PURE__*/React
|
|
3061
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
3062
3062
|
className: classes.bannerCarouselCenterSection
|
|
3063
|
-
}, /*#__PURE__*/React
|
|
3063
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3064
3064
|
className: classes.contentContainer
|
|
3065
|
-
}, /*#__PURE__*/React
|
|
3065
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3066
3066
|
className: classes.sectionContainer
|
|
3067
|
-
}, !(nodeData.cardHeading.metadata.value === '<br>' && nodeData.title.metadata.value === '<br>' && nodeData.description.metadata.value === '<br>' && nodeData?.cta?.metadata?.value === '') ? /*#__PURE__*/React
|
|
3067
|
+
}, !(nodeData.cardHeading.metadata.value === '<br>' && nodeData.title.metadata.value === '<br>' && nodeData.description.metadata.value === '<br>' && nodeData?.cta?.metadata?.value === '') ? /*#__PURE__*/React.createElement("div", {
|
|
3068
3068
|
className: classes.textContainer
|
|
3069
|
-
}, nodeData.cardHeading.metadata.value !== '<br>' ? /*#__PURE__*/React
|
|
3069
|
+
}, nodeData.cardHeading.metadata.value !== '<br>' ? /*#__PURE__*/React.createElement("div", {
|
|
3070
3070
|
className: classes.subTitleHeading
|
|
3071
|
-
}, /*#__PURE__*/React
|
|
3071
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
3072
3072
|
ref: nodeData?.cardHeading?.refSetter,
|
|
3073
3073
|
dangerouslySetInnerHTML: {
|
|
3074
3074
|
__html: nodeData.cardHeading.metadata.value
|
|
3075
3075
|
}
|
|
3076
|
-
})) : null, nodeData.title.metadata.value !== '<br>' ? /*#__PURE__*/React
|
|
3076
|
+
})) : null, nodeData.title.metadata.value !== '<br>' ? /*#__PURE__*/React.createElement("h2", {
|
|
3077
3077
|
className: classes.heading
|
|
3078
|
-
}, /*#__PURE__*/React
|
|
3078
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
3079
3079
|
ref: nodeData?.title?.refSetter,
|
|
3080
3080
|
dangerouslySetInnerHTML: {
|
|
3081
3081
|
__html: nodeData.title.metadata.value
|
|
3082
3082
|
}
|
|
3083
|
-
})) : null, nodeData.description.metadata.value !== '<br>' ? /*#__PURE__*/React
|
|
3083
|
+
})) : null, nodeData.description.metadata.value !== '<br>' ? /*#__PURE__*/React.createElement("p", {
|
|
3084
3084
|
ref: nodeData?.description?.refSetter,
|
|
3085
3085
|
className: classes.description,
|
|
3086
3086
|
dangerouslySetInnerHTML: {
|
|
3087
3087
|
__html: nodeData.description.metadata.value
|
|
3088
3088
|
}
|
|
3089
|
-
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React
|
|
3089
|
+
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement("div", {
|
|
3090
3090
|
className: classes.buttonClass
|
|
3091
|
-
}, /*#__PURE__*/React
|
|
3091
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
3092
3092
|
ref: nodeData?.cta?.refSetter,
|
|
3093
3093
|
data: nodeData.cta.metadata,
|
|
3094
3094
|
type: nodeData?.cta?.metadata?.type,
|
|
3095
3095
|
size: isMobile ? 'small' : 'medium'
|
|
3096
|
-
}))) : null), /*#__PURE__*/React
|
|
3096
|
+
}))) : null), /*#__PURE__*/React.createElement("div", {
|
|
3097
3097
|
className: classes?.centerBgImageContainer
|
|
3098
|
-
}, /*#__PURE__*/React
|
|
3098
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
3099
3099
|
src: nodeData.image.metadata.value,
|
|
3100
3100
|
className: classes?.centerBgImage,
|
|
3101
3101
|
sectionIndex: sectionIndex
|
|
@@ -3117,9 +3117,9 @@ function BannerCarouselCenter({
|
|
|
3117
3117
|
buttonContainerClass: classes.absoluteButtons,
|
|
3118
3118
|
inverted: true
|
|
3119
3119
|
} : {};
|
|
3120
|
-
return /*#__PURE__*/React
|
|
3120
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
3121
3121
|
className: classes.bannerCarouselCenterSection
|
|
3122
|
-
}, /*#__PURE__*/React
|
|
3122
|
+
}, /*#__PURE__*/React.createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$3, {
|
|
3123
3123
|
nodeData: node,
|
|
3124
3124
|
isCustomWebsite: isCustomWebsite,
|
|
3125
3125
|
key: idx /* or some other unique property */,
|
|
@@ -3279,40 +3279,40 @@ function Section$2({
|
|
|
3279
3279
|
isCustomWebsite,
|
|
3280
3280
|
isMobile
|
|
3281
3281
|
});
|
|
3282
|
-
return /*#__PURE__*/React
|
|
3282
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
3283
3283
|
className: classes.centerData
|
|
3284
|
-
}, /*#__PURE__*/React
|
|
3284
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3285
3285
|
className: classes.imageContainerDiv
|
|
3286
|
-
}, /*#__PURE__*/React
|
|
3286
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3287
3287
|
className: classes.imageContainer
|
|
3288
|
-
}, /*#__PURE__*/React
|
|
3288
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
3289
3289
|
src: nodeData.image.metadata.value,
|
|
3290
3290
|
ref: nodeData?.image?.refSetter,
|
|
3291
3291
|
className: classes.sideBannerImage,
|
|
3292
3292
|
sectionIndex: sectionIndex
|
|
3293
|
-
}))), /*#__PURE__*/React
|
|
3293
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
3294
3294
|
className: classes.textContainer
|
|
3295
|
-
}, /*#__PURE__*/React
|
|
3295
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3296
3296
|
className: classes.subTitleHeading
|
|
3297
|
-
}, /*#__PURE__*/React
|
|
3297
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
3298
3298
|
ref: nodeData?.cardHeading?.refSetter,
|
|
3299
3299
|
dangerouslySetInnerHTML: {
|
|
3300
3300
|
__html: nodeData.cardHeading.metadata.value
|
|
3301
3301
|
}
|
|
3302
|
-
})), /*#__PURE__*/React
|
|
3302
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
3303
3303
|
className: classes.heading
|
|
3304
|
-
}, /*#__PURE__*/React
|
|
3304
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
3305
3305
|
ref: nodeData?.title?.refSetter,
|
|
3306
3306
|
dangerouslySetInnerHTML: {
|
|
3307
3307
|
__html: nodeData.title.metadata.value
|
|
3308
3308
|
}
|
|
3309
|
-
})), /*#__PURE__*/React
|
|
3309
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
3310
3310
|
ref: nodeData?.description?.refSetter,
|
|
3311
3311
|
className: classes.description,
|
|
3312
3312
|
dangerouslySetInnerHTML: {
|
|
3313
3313
|
__html: nodeData.description.metadata.value
|
|
3314
3314
|
}
|
|
3315
|
-
}), nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React
|
|
3315
|
+
}), nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(Button, {
|
|
3316
3316
|
ref: nodeData?.cta?.refSetter,
|
|
3317
3317
|
data: nodeData.cta.metadata,
|
|
3318
3318
|
type: nodeData?.cta?.metadata?.type,
|
|
@@ -3338,11 +3338,11 @@ function BannerCarouselLeft({
|
|
|
3338
3338
|
bannerCarousel
|
|
3339
3339
|
}] = sectionData.components;
|
|
3340
3340
|
const Wrapper = bannerCarousel.components.length > 1 ? Carousel : Fragment;
|
|
3341
|
-
return /*#__PURE__*/React
|
|
3341
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
3342
3342
|
className: classes.section
|
|
3343
|
-
}, /*#__PURE__*/React
|
|
3343
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3344
3344
|
className: classes.sectionContainer
|
|
3345
|
-
}, /*#__PURE__*/React
|
|
3345
|
+
}, /*#__PURE__*/React.createElement(Wrapper, null, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$2, {
|
|
3346
3346
|
nodeData: node,
|
|
3347
3347
|
key: idx /* or some other unique property */,
|
|
3348
3348
|
sectionIndex: sectionIndex
|
|
@@ -3598,7 +3598,7 @@ function Input({
|
|
|
3598
3598
|
} = props;
|
|
3599
3599
|
const classes = inputStyles();
|
|
3600
3600
|
const Comp = inputType;
|
|
3601
|
-
return /*#__PURE__*/React
|
|
3601
|
+
return /*#__PURE__*/React.createElement(Comp, _extends({}, inputType === 'input' ? {
|
|
3602
3602
|
type: 'text'
|
|
3603
3603
|
} : {
|
|
3604
3604
|
rows: '3'
|
|
@@ -3668,34 +3668,34 @@ function SubscribeToNewsletter({
|
|
|
3668
3668
|
setBtnDisabled(false);
|
|
3669
3669
|
}
|
|
3670
3670
|
}, [isValid]);
|
|
3671
|
-
return /*#__PURE__*/React
|
|
3671
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
3672
3672
|
className: classes.section
|
|
3673
|
-
}, /*#__PURE__*/React
|
|
3673
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3674
3674
|
className: classes.newsLetterContainer
|
|
3675
|
-
}, /*#__PURE__*/React
|
|
3675
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3676
3676
|
className: classes.partialBackground
|
|
3677
|
-
}), /*#__PURE__*/React
|
|
3677
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
3678
3678
|
className: classes.sectionContainer
|
|
3679
|
-
}, /*#__PURE__*/React
|
|
3679
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
3680
3680
|
className: classes.cardHeading
|
|
3681
|
-
}, /*#__PURE__*/React
|
|
3681
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
3682
3682
|
ref: nodeData?.cardHeading?.refSetter,
|
|
3683
3683
|
dangerouslySetInnerHTML: {
|
|
3684
3684
|
__html: nodeData.cardHeading.metadata.value
|
|
3685
3685
|
}
|
|
3686
|
-
})), /*#__PURE__*/React
|
|
3686
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
3687
3687
|
className: classes.contentContainer
|
|
3688
|
-
}, /*#__PURE__*/React
|
|
3688
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3689
3689
|
ref: nodeData?.title?.refSetter,
|
|
3690
3690
|
className: classes.title,
|
|
3691
3691
|
dangerouslySetInnerHTML: {
|
|
3692
3692
|
__html: nodeData.title.metadata.value
|
|
3693
3693
|
}
|
|
3694
|
-
}), /*#__PURE__*/React
|
|
3694
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
3695
3695
|
className: classes.inputContainer
|
|
3696
|
-
}, /*#__PURE__*/React
|
|
3696
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3697
3697
|
className: classes.inputFieldDiv
|
|
3698
|
-
}, /*#__PURE__*/React
|
|
3698
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
3699
3699
|
data: nodeData?.inputField,
|
|
3700
3700
|
value: inputVal,
|
|
3701
3701
|
isValid: isValid,
|
|
@@ -3714,9 +3714,9 @@ function SubscribeToNewsletter({
|
|
|
3714
3714
|
onFocus: () => {
|
|
3715
3715
|
setIsValid(true);
|
|
3716
3716
|
}
|
|
3717
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React
|
|
3717
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", {
|
|
3718
3718
|
className: classes.btnContainer
|
|
3719
|
-
}, /*#__PURE__*/React
|
|
3719
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
3720
3720
|
ref: nodeData?.cta?.refSetter,
|
|
3721
3721
|
data: btnDisabled && isValid ? {
|
|
3722
3722
|
value: 'Submitted'
|
|
@@ -3916,7 +3916,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3916
3916
|
|
|
3917
3917
|
function QuotesComponent() {
|
|
3918
3918
|
const theme = useTheme();
|
|
3919
|
-
return /*#__PURE__*/React
|
|
3919
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
|
|
3920
3920
|
width: "28px",
|
|
3921
3921
|
height: "21px",
|
|
3922
3922
|
name: "Quote",
|
|
@@ -3953,21 +3953,21 @@ function Section$1({
|
|
|
3953
3953
|
/*#__PURE__*/
|
|
3954
3954
|
// kept an extra element as slick mutates this element and gives it 100% width
|
|
3955
3955
|
// and so, we can't use margins here on the top level element
|
|
3956
|
-
React
|
|
3956
|
+
React.createElement(Fragment, {
|
|
3957
3957
|
key: idx
|
|
3958
|
-
}, /*#__PURE__*/React
|
|
3958
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3959
3959
|
className: classes.singleCard
|
|
3960
|
-
}, /*#__PURE__*/React
|
|
3960
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3961
3961
|
className: classes.quoteIcon
|
|
3962
|
-
}, /*#__PURE__*/React
|
|
3962
|
+
}, /*#__PURE__*/React.createElement(QuotesComponent, null)), /*#__PURE__*/React.createElement("div", {
|
|
3963
3963
|
className: classes.cardDetails
|
|
3964
|
-
}, /*#__PURE__*/React
|
|
3964
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
3965
3965
|
ref: el?.cardTextContent?.refSetter,
|
|
3966
3966
|
className: classes.reviewText,
|
|
3967
3967
|
dangerouslySetInnerHTML: {
|
|
3968
3968
|
__html: el?.cardTextContent?.metadata?.value
|
|
3969
3969
|
}
|
|
3970
|
-
}), /*#__PURE__*/React
|
|
3970
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
3971
3971
|
className: classes.userContainer
|
|
3972
3972
|
}, el?.cardUserImage?.metadata?.value ?
|
|
3973
3973
|
/*#__PURE__*/
|
|
@@ -3977,46 +3977,46 @@ function Section$1({
|
|
|
3977
3977
|
// src={el?.cardUserImage?.metadata?.value}
|
|
3978
3978
|
// alt="userImg"
|
|
3979
3979
|
// />
|
|
3980
|
-
React
|
|
3980
|
+
React.createElement("div", {
|
|
3981
3981
|
className: classes.userImageContainer
|
|
3982
|
-
}, /*#__PURE__*/React
|
|
3982
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
3983
3983
|
ref: el?.cardUserImage?.refSetter,
|
|
3984
3984
|
className: classes.userImage,
|
|
3985
3985
|
src: el?.cardUserImage?.metadata?.value,
|
|
3986
3986
|
alt: "userImg",
|
|
3987
3987
|
sectionIndex: sectionIndex
|
|
3988
|
-
})) : /*#__PURE__*/React
|
|
3988
|
+
})) : /*#__PURE__*/React.createElement("div", {
|
|
3989
3989
|
ref: el?.cardUserImage?.refSetter,
|
|
3990
3990
|
className: classes.userImageDummy
|
|
3991
|
-
}), /*#__PURE__*/React
|
|
3991
|
+
}), /*#__PURE__*/React.createElement("h3", {
|
|
3992
3992
|
ref: el?.cardUserName?.refSetter,
|
|
3993
3993
|
className: classes.userName,
|
|
3994
3994
|
dangerouslySetInnerHTML: {
|
|
3995
3995
|
__html: el?.cardUserName?.metadata?.value
|
|
3996
3996
|
}
|
|
3997
3997
|
}))))));
|
|
3998
|
-
return /*#__PURE__*/React
|
|
3998
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
3999
3999
|
className: classes.sectionContainer
|
|
4000
|
-
}, /*#__PURE__*/React
|
|
4000
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4001
4001
|
className: classes.testimonialCardAndText
|
|
4002
|
-
}, /*#__PURE__*/React
|
|
4002
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4003
4003
|
className: classes.testimonialText
|
|
4004
|
-
}, /*#__PURE__*/React
|
|
4004
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4005
4005
|
ref: nodeData?.carouselHeading?.refSetter,
|
|
4006
4006
|
dangerouslySetInnerHTML: {
|
|
4007
4007
|
__html: nodeData?.carouselHeading?.metadata?.value
|
|
4008
4008
|
}
|
|
4009
|
-
})), /*#__PURE__*/React
|
|
4009
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4010
4010
|
className: classes.testimonialHeader
|
|
4011
|
-
}, /*#__PURE__*/React
|
|
4011
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4012
4012
|
ref: nodeData?.title?.refSetter,
|
|
4013
4013
|
dangerouslySetInnerHTML: {
|
|
4014
4014
|
__html: nodeData?.title?.metadata?.value
|
|
4015
4015
|
}
|
|
4016
|
-
})), cardsCount > slidesToShow ? /*#__PURE__*/React
|
|
4016
|
+
})), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
|
|
4017
4017
|
hideArrow: isMobile,
|
|
4018
4018
|
settings: settings
|
|
4019
|
-
}, carouselContent) : /*#__PURE__*/React
|
|
4019
|
+
}, carouselContent) : /*#__PURE__*/React.createElement("div", {
|
|
4020
4020
|
className: classes.contentRow
|
|
4021
4021
|
}, carouselContent))));
|
|
4022
4022
|
}
|
|
@@ -4025,9 +4025,9 @@ function Testimonials({
|
|
|
4025
4025
|
sectionIndex
|
|
4026
4026
|
}) {
|
|
4027
4027
|
const classes = useTestimonialStyles();
|
|
4028
|
-
return /*#__PURE__*/React
|
|
4028
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4029
4029
|
className: classes.testimonialContainer
|
|
4030
|
-
}, /*#__PURE__*/React
|
|
4030
|
+
}, /*#__PURE__*/React.createElement(Section$1, {
|
|
4031
4031
|
nodeData: sectionData.components[0],
|
|
4032
4032
|
sectionIndex: sectionIndex
|
|
4033
4033
|
}));
|
|
@@ -4107,11 +4107,11 @@ function Loader({
|
|
|
4107
4107
|
};
|
|
4108
4108
|
}
|
|
4109
4109
|
}, []);
|
|
4110
|
-
return /*#__PURE__*/React
|
|
4110
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
4111
4111
|
className: classes.loaderContainer
|
|
4112
|
-
}, /*#__PURE__*/React
|
|
4112
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4113
4113
|
className: classes.spinner
|
|
4114
|
-
}), texts && texts.length ? /*#__PURE__*/React
|
|
4114
|
+
}), texts && texts.length ? /*#__PURE__*/React.createElement("p", {
|
|
4115
4115
|
className: classes.loaderDesc
|
|
4116
4116
|
}, " ", loaderText) : ''));
|
|
4117
4117
|
}
|
|
@@ -4189,23 +4189,23 @@ function VideoPlayer(props) {
|
|
|
4189
4189
|
return url;
|
|
4190
4190
|
}
|
|
4191
4191
|
}
|
|
4192
|
-
return /*#__PURE__*/React
|
|
4192
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, !isLoaded && /*#__PURE__*/React.createElement("div", {
|
|
4193
4193
|
className: classes.imgContainer,
|
|
4194
4194
|
onClick: () => {
|
|
4195
4195
|
setIsEnableed(true);
|
|
4196
4196
|
}
|
|
4197
|
-
}, /*#__PURE__*/React
|
|
4197
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
4198
4198
|
src: imageUrl,
|
|
4199
4199
|
sectionIndex: props?.sectionIndex,
|
|
4200
4200
|
className: classes.videoPlayerImage
|
|
4201
|
-
}), isEnabled ? /*#__PURE__*/React
|
|
4201
|
+
}), isEnabled ? /*#__PURE__*/React.createElement(Loader, null) : /*#__PURE__*/React.createElement(React.Fragment, null, props.onlyThumbnail ? null : /*#__PURE__*/React.createElement(Icon, {
|
|
4202
4202
|
name: "Video Play",
|
|
4203
4203
|
color: theme.palette.font.invertedDefault,
|
|
4204
4204
|
className: classes?.icon,
|
|
4205
4205
|
onClick: () => {
|
|
4206
4206
|
setIsEnableed(true);
|
|
4207
4207
|
}
|
|
4208
|
-
}))), isEnabled && /*#__PURE__*/React
|
|
4208
|
+
}))), isEnabled && /*#__PURE__*/React.createElement("iframe", {
|
|
4209
4209
|
className: classes.iframe + ' ' + classes.hideImg,
|
|
4210
4210
|
src: imageUrl ? getId(videoUrl) + '?autoplay=1' : getId(videoUrl),
|
|
4211
4211
|
frameBorder: "0",
|
|
@@ -4342,34 +4342,34 @@ const SingleVideoSlide$2 = props => {
|
|
|
4342
4342
|
data
|
|
4343
4343
|
} = props;
|
|
4344
4344
|
const classes = useVideoTestimonialStyles();
|
|
4345
|
-
return /*#__PURE__*/React
|
|
4345
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4346
4346
|
className: classes.videoCarouselContainer
|
|
4347
|
-
}, /*#__PURE__*/React
|
|
4347
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4348
4348
|
className: classes.videoCarousel
|
|
4349
|
-
}, /*#__PURE__*/React
|
|
4349
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4350
4350
|
className: classes.iframeSuperContainer
|
|
4351
|
-
}, /*#__PURE__*/React
|
|
4351
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4352
4352
|
ref: data?.videoFrame?.refSetter,
|
|
4353
4353
|
className: classes.iframeContainer
|
|
4354
|
-
}, /*#__PURE__*/React
|
|
4354
|
+
}, /*#__PURE__*/React.createElement(VideoPlayer, {
|
|
4355
4355
|
imageUrl: data.videoFrame.metadata?.thumbnail,
|
|
4356
4356
|
videoUrl: data.videoFrame.metadata?.value,
|
|
4357
4357
|
sectionIndex: props?.sectionIndex
|
|
4358
|
-
}))), /*#__PURE__*/React
|
|
4358
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
4359
4359
|
className: classes.videoDetails
|
|
4360
|
-
}, /*#__PURE__*/React
|
|
4360
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
4361
4361
|
ref: data?.videoTextHeading?.refSetter,
|
|
4362
4362
|
className: classes.videoDetailsHeading,
|
|
4363
4363
|
dangerouslySetInnerHTML: {
|
|
4364
4364
|
__html: data.videoTextHeading.metadata.value
|
|
4365
4365
|
}
|
|
4366
|
-
}), /*#__PURE__*/React
|
|
4366
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4367
4367
|
ref: data?.videoTextContent?.refSetter,
|
|
4368
4368
|
className: classes.videoDetailsContent,
|
|
4369
4369
|
dangerouslySetInnerHTML: {
|
|
4370
4370
|
__html: data.videoTextContent.metadata.value
|
|
4371
4371
|
}
|
|
4372
|
-
}), /*#__PURE__*/React
|
|
4372
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4373
4373
|
ref: data?.videoTextSubContent?.refSetter,
|
|
4374
4374
|
className: classes.videoDetailsSubContent,
|
|
4375
4375
|
dangerouslySetInnerHTML: {
|
|
@@ -4396,27 +4396,27 @@ function VideoTestimonial({
|
|
|
4396
4396
|
});
|
|
4397
4397
|
const [videoData] = sectionData.components;
|
|
4398
4398
|
const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : Fragment;
|
|
4399
|
-
return /*#__PURE__*/React
|
|
4399
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4400
4400
|
className: classes.videoTestimonialSuperContainer
|
|
4401
|
-
}, /*#__PURE__*/React
|
|
4401
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4402
4402
|
className: classes.videoTestimonialContainer
|
|
4403
|
-
}, /*#__PURE__*/React
|
|
4403
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4404
4404
|
className: classes.sectionContainer
|
|
4405
|
-
}, /*#__PURE__*/React
|
|
4405
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4406
4406
|
className: classes.videoTestimonialHeading
|
|
4407
|
-
}, /*#__PURE__*/React
|
|
4407
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4408
4408
|
ref: videoData?.videoHeading?.refSetter,
|
|
4409
4409
|
dangerouslySetInnerHTML: {
|
|
4410
4410
|
__html: videoData.videoHeading.metadata.value
|
|
4411
4411
|
}
|
|
4412
|
-
})), /*#__PURE__*/React
|
|
4412
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4413
4413
|
className: classes.videoTestimonialTitle
|
|
4414
|
-
}, /*#__PURE__*/React
|
|
4414
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4415
4415
|
ref: videoData?.title?.refSetter,
|
|
4416
4416
|
dangerouslySetInnerHTML: {
|
|
4417
4417
|
__html: videoData.title.metadata.value
|
|
4418
4418
|
}
|
|
4419
|
-
})), /*#__PURE__*/React
|
|
4419
|
+
})), /*#__PURE__*/React.createElement(Wrapper, null, videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleVideoSlide$2, {
|
|
4420
4420
|
data: data,
|
|
4421
4421
|
key: index,
|
|
4422
4422
|
sectionIndex: sectionIndex,
|
|
@@ -4578,26 +4578,26 @@ const SingleSlide$1 = props => {
|
|
|
4578
4578
|
data
|
|
4579
4579
|
} = props;
|
|
4580
4580
|
const classes = useVideoStyles();
|
|
4581
|
-
return /*#__PURE__*/React
|
|
4581
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4582
4582
|
className: classes.singleSlideContainer
|
|
4583
|
-
}, /*#__PURE__*/React
|
|
4583
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4584
4584
|
ref: data?.videoFrame?.refSetter,
|
|
4585
4585
|
className: classes.iframeContainer,
|
|
4586
4586
|
style: {
|
|
4587
4587
|
background: 'linear-gradient(#333333,rgb(0 0 0))'
|
|
4588
4588
|
}
|
|
4589
|
-
}, /*#__PURE__*/React
|
|
4589
|
+
}, /*#__PURE__*/React.createElement(VideoPlayer, {
|
|
4590
4590
|
imageUrl: data.videoFrame.metadata?.thumbnail,
|
|
4591
4591
|
videoUrl: data.videoFrame.metadata?.value
|
|
4592
|
-
})), /*#__PURE__*/React
|
|
4592
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
4593
4593
|
className: classes.videoDetailsContainer
|
|
4594
|
-
}, /*#__PURE__*/React
|
|
4594
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
4595
4595
|
ref: data?.videoTitle?.refSetter,
|
|
4596
4596
|
className: classes.videoDetailsHeading,
|
|
4597
4597
|
dangerouslySetInnerHTML: {
|
|
4598
4598
|
__html: data.videoTitle.metadata.value
|
|
4599
4599
|
}
|
|
4600
|
-
}), /*#__PURE__*/React
|
|
4600
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
4601
4601
|
ref: data?.videoSubTitle?.refSetter,
|
|
4602
4602
|
className: classes.videoDetailsSubHeading,
|
|
4603
4603
|
dangerouslySetInnerHTML: {
|
|
@@ -4630,34 +4630,34 @@ function Video({
|
|
|
4630
4630
|
centerPadding: isMobile ? '0px' : '100px 0 0',
|
|
4631
4631
|
centerMode: true
|
|
4632
4632
|
};
|
|
4633
|
-
const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React
|
|
4633
|
+
const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleSlide$1, {
|
|
4634
4634
|
data: data,
|
|
4635
4635
|
key: index
|
|
4636
4636
|
}));
|
|
4637
|
-
return /*#__PURE__*/React
|
|
4637
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4638
4638
|
className: classes.videoSuperContainer
|
|
4639
|
-
}, /*#__PURE__*/React
|
|
4639
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4640
4640
|
className: classes.videoContainer
|
|
4641
|
-
}, /*#__PURE__*/React
|
|
4641
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4642
4642
|
className: classes.sectionContainer
|
|
4643
|
-
}, /*#__PURE__*/React
|
|
4643
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4644
4644
|
className: classes.videoHeading
|
|
4645
|
-
}, /*#__PURE__*/React
|
|
4645
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4646
4646
|
ref: videoData?.videoHeading?.refSetter,
|
|
4647
4647
|
dangerouslySetInnerHTML: {
|
|
4648
4648
|
__html: videoData.videoHeading.metadata.value
|
|
4649
4649
|
}
|
|
4650
|
-
})), /*#__PURE__*/React
|
|
4650
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4651
4651
|
className: classes.videoTitle
|
|
4652
|
-
}, /*#__PURE__*/React
|
|
4652
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4653
4653
|
ref: videoData?.videoTitle?.refSetter,
|
|
4654
4654
|
dangerouslySetInnerHTML: {
|
|
4655
4655
|
__html: videoData.videoTitle.metadata.value
|
|
4656
4656
|
}
|
|
4657
|
-
})), cardsCount > slidesToShow ? /*#__PURE__*/React
|
|
4657
|
+
})), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
|
|
4658
4658
|
hideArrow: isMobile,
|
|
4659
4659
|
settings: settings
|
|
4660
|
-
}, carouselContent) : /*#__PURE__*/React
|
|
4660
|
+
}, carouselContent) : /*#__PURE__*/React.createElement("div", {
|
|
4661
4661
|
className: classes.contentRow
|
|
4662
4662
|
}, carouselContent))));
|
|
4663
4663
|
}
|
|
@@ -4835,60 +4835,60 @@ function Info({
|
|
|
4835
4835
|
const carouselContent = carouselList.map((dt, ind) =>
|
|
4836
4836
|
/*#__PURE__*/
|
|
4837
4837
|
// Need to keep this Fragment otherwise Slick mutates the top level div
|
|
4838
|
-
React
|
|
4838
|
+
React.createElement(Fragment, {
|
|
4839
4839
|
key: ind
|
|
4840
|
-
}, /*#__PURE__*/React
|
|
4840
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4841
4841
|
className: classes.card
|
|
4842
|
-
}, /*#__PURE__*/React
|
|
4842
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4843
4843
|
className: classes.cardContent
|
|
4844
|
-
}, /*#__PURE__*/React
|
|
4844
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4845
4845
|
ref: dt?.icon?.refSetter,
|
|
4846
4846
|
className: classes.imageContainer
|
|
4847
|
-
}, /*#__PURE__*/React
|
|
4847
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
4848
4848
|
name: dt.icon.metadata.value,
|
|
4849
4849
|
color: theme.palette.primary.main,
|
|
4850
4850
|
width: isMobile ? '30px' : '40px',
|
|
4851
4851
|
height: isMobile ? '30px' : '40px'
|
|
4852
|
-
})), /*#__PURE__*/React
|
|
4852
|
+
})), /*#__PURE__*/React.createElement("h3", {
|
|
4853
4853
|
ref: dt?.contentHeading?.refSetter,
|
|
4854
4854
|
className: classes.cardHeading,
|
|
4855
4855
|
dangerouslySetInnerHTML: {
|
|
4856
4856
|
__html: dt.contentHeading.metadata.value
|
|
4857
4857
|
}
|
|
4858
|
-
}), /*#__PURE__*/React
|
|
4858
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4859
4859
|
ref: dt?.contentPara?.refSetter,
|
|
4860
4860
|
className: classes.cardPara,
|
|
4861
4861
|
dangerouslySetInnerHTML: {
|
|
4862
4862
|
__html: dt.contentPara.metadata.value
|
|
4863
4863
|
}
|
|
4864
4864
|
})))));
|
|
4865
|
-
return /*#__PURE__*/React
|
|
4865
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
4866
4866
|
className: classes.section
|
|
4867
|
-
}, /*#__PURE__*/React
|
|
4867
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4868
4868
|
className: classes.sectionContainer
|
|
4869
|
-
}, /*#__PURE__*/React
|
|
4869
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4870
4870
|
className: classes.partialBackground
|
|
4871
|
-
}), /*#__PURE__*/React
|
|
4871
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
4872
4872
|
className: classes.content
|
|
4873
|
-
}, /*#__PURE__*/React
|
|
4873
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4874
4874
|
className: classes.subTitleHeading
|
|
4875
|
-
}, /*#__PURE__*/React
|
|
4875
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4876
4876
|
ref: nodeData?.cardHeading?.refSetter,
|
|
4877
4877
|
dangerouslySetInnerHTML: {
|
|
4878
4878
|
__html: nodeData?.cardHeading?.metadata?.value
|
|
4879
4879
|
}
|
|
4880
|
-
})), /*#__PURE__*/React
|
|
4880
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4881
4881
|
className: classes.heading
|
|
4882
|
-
}, /*#__PURE__*/React
|
|
4882
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4883
4883
|
ref: nodeData?.title?.refSetter,
|
|
4884
4884
|
dangerouslySetInnerHTML: {
|
|
4885
4885
|
__html: nodeData?.title?.metadata?.value
|
|
4886
4886
|
}
|
|
4887
|
-
})), cardsCount > slidesToShow ? /*#__PURE__*/React
|
|
4887
|
+
})), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
|
|
4888
4888
|
hideArrow: isMobile,
|
|
4889
4889
|
settings: settings
|
|
4890
4890
|
// buttonContainerClass={classes.buttonContainerClass}
|
|
4891
|
-
}, carouselContent) : /*#__PURE__*/React
|
|
4891
|
+
}, carouselContent) : /*#__PURE__*/React.createElement("div", {
|
|
4892
4892
|
className: classes.contentRow
|
|
4893
4893
|
}, carouselContent))));
|
|
4894
4894
|
}
|
|
@@ -4968,33 +4968,33 @@ const TextSection = ({
|
|
|
4968
4968
|
isMobile
|
|
4969
4969
|
});
|
|
4970
4970
|
const [nodeData] = sectionData.components;
|
|
4971
|
-
return /*#__PURE__*/React
|
|
4971
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
|
|
4972
4972
|
className: classes.section
|
|
4973
|
-
}, /*#__PURE__*/React
|
|
4973
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4974
4974
|
className: classes.sectionContainer
|
|
4975
|
-
}, /*#__PURE__*/React
|
|
4975
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4976
4976
|
className: classes.subHeading
|
|
4977
|
-
}, /*#__PURE__*/React
|
|
4977
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4978
4978
|
ref: nodeData?.subHeading?.refSetter,
|
|
4979
4979
|
dangerouslySetInnerHTML: {
|
|
4980
4980
|
__html: nodeData.subHeading.metadata.value
|
|
4981
4981
|
}
|
|
4982
|
-
})), /*#__PURE__*/React
|
|
4982
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4983
4983
|
className: classes.title
|
|
4984
|
-
}, /*#__PURE__*/React
|
|
4984
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
4985
4985
|
ref: nodeData?.title?.refSetter,
|
|
4986
4986
|
dangerouslySetInnerHTML: {
|
|
4987
4987
|
__html: nodeData.title.metadata.value
|
|
4988
4988
|
}
|
|
4989
|
-
})), /*#__PURE__*/React
|
|
4989
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
4990
4990
|
className: classes.textContent
|
|
4991
|
-
}, /*#__PURE__*/React
|
|
4991
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4992
4992
|
ref: nodeData?.textLeft?.refSetter,
|
|
4993
4993
|
className: classes.textPara,
|
|
4994
4994
|
dangerouslySetInnerHTML: {
|
|
4995
4995
|
__html: nodeData.textLeft.metadata.value
|
|
4996
4996
|
}
|
|
4997
|
-
}), /*#__PURE__*/React
|
|
4997
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4998
4998
|
ref: nodeData?.textRight?.refSetter,
|
|
4999
4999
|
className: classes.textPara,
|
|
5000
5000
|
dangerouslySetInnerHTML: {
|
|
@@ -5133,39 +5133,39 @@ function PhotoGallery({
|
|
|
5133
5133
|
arrows: false
|
|
5134
5134
|
};
|
|
5135
5135
|
const carouselContent = carouselList?.map((el, idx) => {
|
|
5136
|
-
return /*#__PURE__*/React
|
|
5136
|
+
return /*#__PURE__*/React.createElement(Fragment, {
|
|
5137
5137
|
key: idx
|
|
5138
|
-
}, /*#__PURE__*/React
|
|
5138
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5139
5139
|
className: classes.singleCard
|
|
5140
|
-
}, /*#__PURE__*/React
|
|
5140
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
5141
5141
|
src: el?.cardImage?.metadata?.value,
|
|
5142
5142
|
ref: el?.cardImage?.refSetter,
|
|
5143
5143
|
className: classes?.carouselImage,
|
|
5144
5144
|
sectionIndex: sectionIndex
|
|
5145
5145
|
})));
|
|
5146
5146
|
});
|
|
5147
|
-
return /*#__PURE__*/React
|
|
5147
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
5148
5148
|
className: classes.container
|
|
5149
|
-
}, /*#__PURE__*/React
|
|
5149
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5150
5150
|
className: classes.sectionContainer
|
|
5151
|
-
}, /*#__PURE__*/React
|
|
5151
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5152
5152
|
className: classes.cardHeading
|
|
5153
|
-
}, /*#__PURE__*/React
|
|
5153
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5154
5154
|
ref: nodeData?.carouselHeading?.refSetter,
|
|
5155
5155
|
dangerouslySetInnerHTML: {
|
|
5156
5156
|
__html: nodeData?.carouselHeading?.metadata?.value
|
|
5157
5157
|
}
|
|
5158
|
-
})), /*#__PURE__*/React
|
|
5158
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
5159
5159
|
className: classes.title
|
|
5160
|
-
}, /*#__PURE__*/React
|
|
5160
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5161
5161
|
ref: nodeData?.title?.refSetter,
|
|
5162
5162
|
dangerouslySetInnerHTML: {
|
|
5163
5163
|
__html: nodeData?.title?.metadata?.value
|
|
5164
5164
|
}
|
|
5165
|
-
})), cardsCount > slidesToShow ? /*#__PURE__*/React
|
|
5165
|
+
})), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
|
|
5166
5166
|
hideArrow: isMobile,
|
|
5167
5167
|
settings: settings
|
|
5168
|
-
}, carouselContent) : /*#__PURE__*/React
|
|
5168
|
+
}, carouselContent) : /*#__PURE__*/React.createElement("div", {
|
|
5169
5169
|
className: classes.contentRow
|
|
5170
5170
|
}, carouselContent))));
|
|
5171
5171
|
}
|
|
@@ -5276,27 +5276,27 @@ const FAQListing = ({
|
|
|
5276
5276
|
isMobile
|
|
5277
5277
|
});
|
|
5278
5278
|
const [nodeData] = sectionData.components;
|
|
5279
|
-
return /*#__PURE__*/React
|
|
5279
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
5280
5280
|
className: classes.section
|
|
5281
|
-
}, /*#__PURE__*/React
|
|
5281
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5282
5282
|
className: classes.sectionContainer
|
|
5283
|
-
}, /*#__PURE__*/React
|
|
5283
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5284
5284
|
className: classes.sectionSubheading
|
|
5285
|
-
}, /*#__PURE__*/React
|
|
5285
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5286
5286
|
ref: nodeData?.subheading?.refSetter,
|
|
5287
5287
|
dangerouslySetInnerHTML: {
|
|
5288
5288
|
__html: nodeData.subheading.metadata.value
|
|
5289
5289
|
}
|
|
5290
|
-
})), /*#__PURE__*/React
|
|
5290
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
5291
5291
|
className: classes.sectionHeading
|
|
5292
|
-
}, /*#__PURE__*/React
|
|
5292
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5293
5293
|
ref: nodeData?.title?.refSetter,
|
|
5294
5294
|
dangerouslySetInnerHTML: {
|
|
5295
5295
|
__html: nodeData.title.metadata.value
|
|
5296
5296
|
}
|
|
5297
|
-
})), /*#__PURE__*/React
|
|
5297
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
5298
5298
|
className: classes.container
|
|
5299
|
-
}, nodeData.faqQuestions.components.map((item, index) => /*#__PURE__*/React
|
|
5299
|
+
}, nodeData.faqQuestions.components.map((item, index) => /*#__PURE__*/React.createElement(Accordion, {
|
|
5300
5300
|
key: index,
|
|
5301
5301
|
item: item,
|
|
5302
5302
|
onClick: () => {
|
|
@@ -5313,26 +5313,26 @@ const Accordion = ({
|
|
|
5313
5313
|
const classes = useFaqListStyles({
|
|
5314
5314
|
isSelected
|
|
5315
5315
|
});
|
|
5316
|
-
return /*#__PURE__*/React
|
|
5316
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
5317
5317
|
className: classes.basicCardContainer
|
|
5318
|
-
}, /*#__PURE__*/React
|
|
5318
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5319
5319
|
onClick: onClick,
|
|
5320
5320
|
className: classes.innerContainer
|
|
5321
|
-
}, /*#__PURE__*/React
|
|
5321
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5322
5322
|
className: classes.header
|
|
5323
|
-
}, /*#__PURE__*/React
|
|
5323
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
5324
5324
|
ref: item?.question?.refSetter,
|
|
5325
5325
|
className: classes.title,
|
|
5326
5326
|
dangerouslySetInnerHTML: {
|
|
5327
5327
|
__html: item.question.metadata.value
|
|
5328
5328
|
}
|
|
5329
|
-
}), /*#__PURE__*/React
|
|
5329
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
5330
5330
|
className: classes.arrowButton
|
|
5331
|
-
}, /*#__PURE__*/React
|
|
5331
|
+
}, /*#__PURE__*/React.createElement(ArrowButton, {
|
|
5332
5332
|
down: isSelected,
|
|
5333
5333
|
up: !isSelected,
|
|
5334
5334
|
size: "small"
|
|
5335
|
-
}))), /*#__PURE__*/React
|
|
5335
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
5336
5336
|
ref: item?.answer?.refSetter,
|
|
5337
5337
|
className: classes.content,
|
|
5338
5338
|
dangerouslySetInnerHTML: {
|
|
@@ -5466,47 +5466,47 @@ const TextGrid = ({
|
|
|
5466
5466
|
infinite: false,
|
|
5467
5467
|
slidesToShow: isMobile ? 1.1 : 2
|
|
5468
5468
|
};
|
|
5469
|
-
const carouselContent = nodeData?.contentList?.components?.map((item, index) => /*#__PURE__*/React
|
|
5469
|
+
const carouselContent = nodeData?.contentList?.components?.map((item, index) => /*#__PURE__*/React.createElement(Fragment, {
|
|
5470
5470
|
key: index
|
|
5471
|
-
}, /*#__PURE__*/React
|
|
5471
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5472
5472
|
className: classes.node
|
|
5473
|
-
}, /*#__PURE__*/React
|
|
5473
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
5474
5474
|
ref: item?.contentHeading?.refSetter,
|
|
5475
5475
|
className: classes.nodeTitle,
|
|
5476
5476
|
dangerouslySetInnerHTML: {
|
|
5477
5477
|
__html: item.contentHeading.metadata.value
|
|
5478
5478
|
}
|
|
5479
|
-
}), /*#__PURE__*/React
|
|
5479
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
5480
5480
|
ref: item?.contentPara?.refSetter,
|
|
5481
5481
|
className: classes.nodePara,
|
|
5482
5482
|
dangerouslySetInnerHTML: {
|
|
5483
5483
|
__html: item.contentPara.metadata.value
|
|
5484
5484
|
}
|
|
5485
5485
|
}))));
|
|
5486
|
-
return /*#__PURE__*/React
|
|
5486
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
5487
5487
|
className: classes.section
|
|
5488
|
-
}, /*#__PURE__*/React
|
|
5488
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5489
5489
|
className: classes.sectionContainer
|
|
5490
|
-
}, /*#__PURE__*/React
|
|
5490
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5491
5491
|
className: classes.subheading
|
|
5492
|
-
}, /*#__PURE__*/React
|
|
5492
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5493
5493
|
ref: nodeData?.subheading?.refSetter,
|
|
5494
5494
|
dangerouslySetInnerHTML: {
|
|
5495
5495
|
__html: nodeData.subheading.metadata.value
|
|
5496
5496
|
}
|
|
5497
|
-
})), /*#__PURE__*/React
|
|
5497
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
5498
5498
|
className: classes.heading
|
|
5499
|
-
}, /*#__PURE__*/React
|
|
5499
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5500
5500
|
ref: nodeData?.title?.refSetter,
|
|
5501
5501
|
dangerouslySetInnerHTML: {
|
|
5502
5502
|
__html: nodeData.title.metadata.value
|
|
5503
5503
|
}
|
|
5504
|
-
})), /*#__PURE__*/React
|
|
5504
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
5505
5505
|
className: classes.slickContainer
|
|
5506
|
-
}, cardsCount > slidesToShow ? /*#__PURE__*/React
|
|
5506
|
+
}, cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
|
|
5507
5507
|
hideArrow: isMobile,
|
|
5508
5508
|
settings: settings
|
|
5509
|
-
}, carouselContent) : /*#__PURE__*/React
|
|
5509
|
+
}, carouselContent) : /*#__PURE__*/React.createElement("div", {
|
|
5510
5510
|
className: classes.contentRow
|
|
5511
5511
|
}, carouselContent))));
|
|
5512
5512
|
};
|
|
@@ -5851,46 +5851,46 @@ function CourseCard({
|
|
|
5851
5851
|
const finalPrice = formatCurrency(countryCode, card?.finalPrice, currencySymbol);
|
|
5852
5852
|
const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'Buy Now';
|
|
5853
5853
|
const offText = countryCode === 'KR' ? '할인' : 'OFF';
|
|
5854
|
-
return /*#__PURE__*/React
|
|
5854
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
5855
5855
|
className: classes.singleCard
|
|
5856
|
-
}, /*#__PURE__*/React
|
|
5856
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5857
5857
|
className: classes.courseCardImg
|
|
5858
|
-
}, /*#__PURE__*/React
|
|
5858
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
5859
5859
|
src: card?.imageUrl ? card?.imageUrl : defaultCardImg,
|
|
5860
5860
|
className: classes.courseCardImgThumbnail
|
|
5861
|
-
})), /*#__PURE__*/React
|
|
5861
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
5862
5862
|
className: classes.courseCardData
|
|
5863
|
-
}, /*#__PURE__*/React
|
|
5863
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
5864
5864
|
className: classes.courseCardTags
|
|
5865
|
-
}, card?.tag?.text == 'LIVE COURSE' && /*#__PURE__*/React
|
|
5865
|
+
}, card?.tag?.text == 'LIVE COURSE' && /*#__PURE__*/React.createElement("div", {
|
|
5866
5866
|
className: classes.courseCardTag
|
|
5867
|
-
}, " LIVE COURSE"), !!card?.isSamplingEnabled && /*#__PURE__*/React
|
|
5867
|
+
}, " LIVE COURSE"), !!card?.isSamplingEnabled && /*#__PURE__*/React.createElement("div", {
|
|
5868
5868
|
className: classes.courseCardTag
|
|
5869
|
-
}, " FREE CONTENT"), !!card?.isPhysicalDeliveryEnabled && /*#__PURE__*/React
|
|
5869
|
+
}, " FREE CONTENT"), !!card?.isPhysicalDeliveryEnabled && /*#__PURE__*/React.createElement("div", {
|
|
5870
5870
|
className: classes.courseCardTag
|
|
5871
|
-
}, " BOOKS")), /*#__PURE__*/React
|
|
5871
|
+
}, " BOOKS")), /*#__PURE__*/React.createElement("div", {
|
|
5872
5872
|
className: classes.courseCardName
|
|
5873
|
-
}, getShortenedSubstring(card?.name, 50)), card.maxCouponDiscount && card.maxCouponDiscount.text && /*#__PURE__*/React
|
|
5873
|
+
}, getShortenedSubstring(card?.name, 50)), card.maxCouponDiscount && card.maxCouponDiscount.text && /*#__PURE__*/React.createElement("div", {
|
|
5874
5874
|
className: classes.courseCardDiscount
|
|
5875
|
-
}, /*#__PURE__*/React
|
|
5875
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
5876
5876
|
src: tagIcon,
|
|
5877
5877
|
alt: ""
|
|
5878
|
-
}), card.maxCouponDiscount.text), card?.tag?.text == 'LIVE COURSE' || !!card?.isSamplingEnabled || !!card?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React
|
|
5878
|
+
}), card.maxCouponDiscount.text), card?.tag?.text == 'LIVE COURSE' || !!card?.isSamplingEnabled || !!card?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement(React.Fragment, null) : /*#__PURE__*/React.createElement("div", {
|
|
5879
5879
|
style: {
|
|
5880
5880
|
paddingTop: '20px'
|
|
5881
5881
|
}
|
|
5882
|
-
})), /*#__PURE__*/React
|
|
5882
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
5883
5883
|
className: classes.courseCardFooter
|
|
5884
|
-
}, /*#__PURE__*/React
|
|
5884
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5885
5885
|
className: classes.courseCardPriceContainer
|
|
5886
|
-
}, /*#__PURE__*/React
|
|
5886
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5887
5887
|
className: classes.courseCardPrice
|
|
5888
|
-
}, finalPrice), card?.price !== card?.finalPrice ? /*#__PURE__*/React
|
|
5888
|
+
}, finalPrice), card?.price !== card?.finalPrice ? /*#__PURE__*/React.createElement("div", {
|
|
5889
5889
|
className: classes.courseCardStrikePrice
|
|
5890
|
-
}, /*#__PURE__*/React
|
|
5890
|
+
}, /*#__PURE__*/React.createElement("span", null, price), " ", discount > 0 && discount + `% ${offText}`) : null), /*#__PURE__*/React.createElement("a", {
|
|
5891
5891
|
className: classes.coursesAnchorTag,
|
|
5892
5892
|
href: isEdit ? null : card?.shareableLink
|
|
5893
|
-
}, /*#__PURE__*/React
|
|
5893
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5894
5894
|
className: classes.courseCardBuyBtn
|
|
5895
5895
|
}, buyNowText)))));
|
|
5896
5896
|
}
|
|
@@ -5977,51 +5977,51 @@ function courses({
|
|
|
5977
5977
|
} : {
|
|
5978
5978
|
classes
|
|
5979
5979
|
};
|
|
5980
|
-
return errored ? null : /*#__PURE__*/React
|
|
5980
|
+
return errored ? null : /*#__PURE__*/React.createElement("div", {
|
|
5981
5981
|
className: classes.coursesContainer
|
|
5982
|
-
}, /*#__PURE__*/React
|
|
5982
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5983
5983
|
className: classes.sectionContainer
|
|
5984
|
-
}, /*#__PURE__*/React
|
|
5984
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5985
5985
|
className: classes.coursesCardAndText
|
|
5986
|
-
}, /*#__PURE__*/React
|
|
5986
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5987
5987
|
className: classes.coursesText
|
|
5988
|
-
}, /*#__PURE__*/React
|
|
5988
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5989
5989
|
ref: nodeData?.heading?.refSetter,
|
|
5990
5990
|
dangerouslySetInnerHTML: {
|
|
5991
5991
|
__html: nodeData?.heading?.metadata?.value
|
|
5992
5992
|
}
|
|
5993
|
-
})), /*#__PURE__*/React
|
|
5993
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
5994
5994
|
className: classes.coursesHeader
|
|
5995
|
-
}, /*#__PURE__*/React
|
|
5995
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5996
5996
|
ref: nodeData?.title?.refSetter,
|
|
5997
5997
|
dangerouslySetInnerHTML: {
|
|
5998
5998
|
__html: nodeData?.title?.metadata?.value
|
|
5999
5999
|
}
|
|
6000
|
-
})), !showShimmer ? /*#__PURE__*/React
|
|
6000
|
+
})), !showShimmer ? /*#__PURE__*/React.createElement(Wrapper, wrapperProps, cardList != null ? cardList?.map((card, index) => /*#__PURE__*/React.createElement(CourseCard, {
|
|
6001
6001
|
key: index,
|
|
6002
6002
|
card: card,
|
|
6003
6003
|
countryCode: countryCode,
|
|
6004
6004
|
currencySymbol: currencySymbol
|
|
6005
6005
|
})) : fallBackImages?.map((dt, ind) => {
|
|
6006
|
-
return /*#__PURE__*/React
|
|
6006
|
+
return /*#__PURE__*/React.createElement(Fragment, {
|
|
6007
6007
|
key: ind
|
|
6008
|
-
}, /*#__PURE__*/React
|
|
6008
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6009
6009
|
style: {
|
|
6010
6010
|
padding: '0 12px',
|
|
6011
6011
|
width: '100%'
|
|
6012
6012
|
}
|
|
6013
|
-
}, /*#__PURE__*/React
|
|
6013
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
6014
6014
|
src: dt?.url,
|
|
6015
6015
|
style: {
|
|
6016
6016
|
width: '100%'
|
|
6017
6017
|
}
|
|
6018
6018
|
})));
|
|
6019
|
-
})) : /*#__PURE__*/React
|
|
6019
|
+
})) : /*#__PURE__*/React.createElement("div", {
|
|
6020
6020
|
className: classes.shimmerContainer
|
|
6021
6021
|
}, Array.from({
|
|
6022
6022
|
length: isMobile ? 1 : 3
|
|
6023
6023
|
}).map((val, i) => {
|
|
6024
|
-
return /*#__PURE__*/React
|
|
6024
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
6025
6025
|
className: classes.shine,
|
|
6026
6026
|
key: i
|
|
6027
6027
|
});
|
|
@@ -6031,7 +6031,7 @@ function SimpleCardsContainer({
|
|
|
6031
6031
|
children,
|
|
6032
6032
|
classes
|
|
6033
6033
|
}) {
|
|
6034
|
-
return /*#__PURE__*/React
|
|
6034
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
6035
6035
|
className: classes.singleCardContainer
|
|
6036
6036
|
}, children);
|
|
6037
6037
|
}
|
|
@@ -6185,25 +6185,25 @@ const SingleSlide = ({
|
|
|
6185
6185
|
sectionIndex
|
|
6186
6186
|
}) => {
|
|
6187
6187
|
const classes = useTeamStyles();
|
|
6188
|
-
return /*#__PURE__*/React
|
|
6188
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
6189
6189
|
className: classes.singleSlideContainer
|
|
6190
|
-
}, /*#__PURE__*/React
|
|
6190
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6191
6191
|
className: classes.imageContainer
|
|
6192
|
-
}, /*#__PURE__*/React
|
|
6192
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
6193
6193
|
ref: data?.image?.refSetter,
|
|
6194
6194
|
className: classes.image,
|
|
6195
6195
|
alt: "Hero Image",
|
|
6196
6196
|
src: data.image.metadata.value,
|
|
6197
6197
|
sectionIndex: sectionIndex
|
|
6198
|
-
})), /*#__PURE__*/React
|
|
6198
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6199
6199
|
className: classes.teamDetailsContainer
|
|
6200
|
-
}, /*#__PURE__*/React
|
|
6200
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
6201
6201
|
ref: data?.teamSlideTitle?.refSetter,
|
|
6202
6202
|
className: classes.teamDetailsHeading,
|
|
6203
6203
|
dangerouslySetInnerHTML: {
|
|
6204
6204
|
__html: data.teamSlideTitle.metadata.value
|
|
6205
6205
|
}
|
|
6206
|
-
}), /*#__PURE__*/React
|
|
6206
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
6207
6207
|
ref: data?.teamSlideSubTitle?.refSetter,
|
|
6208
6208
|
className: classes.teamDetailsSubHeading,
|
|
6209
6209
|
dangerouslySetInnerHTML: {
|
|
@@ -6240,34 +6240,34 @@ function TeamCard({
|
|
|
6240
6240
|
centerMode: true
|
|
6241
6241
|
};
|
|
6242
6242
|
const carouselContent = teamData.teamCarousel.components.map((data, idx) => {
|
|
6243
|
-
return /*#__PURE__*/React
|
|
6243
|
+
return /*#__PURE__*/React.createElement(SingleSlide, {
|
|
6244
6244
|
key: idx,
|
|
6245
6245
|
data: data,
|
|
6246
6246
|
sectionIndex: sectionIndex
|
|
6247
6247
|
});
|
|
6248
6248
|
});
|
|
6249
|
-
return /*#__PURE__*/React
|
|
6249
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
6250
6250
|
className: classes.teamSuperContainer
|
|
6251
|
-
}, /*#__PURE__*/React
|
|
6251
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6252
6252
|
className: classes.sectionContainer
|
|
6253
|
-
}, /*#__PURE__*/React
|
|
6253
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6254
6254
|
className: classes.teamHeading
|
|
6255
|
-
}, /*#__PURE__*/React
|
|
6255
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6256
6256
|
ref: teamData?.teamHeading?.refSetter,
|
|
6257
6257
|
dangerouslySetInnerHTML: {
|
|
6258
6258
|
__html: teamData.teamHeading.metadata.value
|
|
6259
6259
|
}
|
|
6260
|
-
})), /*#__PURE__*/React
|
|
6260
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
6261
6261
|
className: classes.teamTitle
|
|
6262
|
-
}, /*#__PURE__*/React
|
|
6262
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6263
6263
|
ref: teamData?.teamTitle?.refSetter,
|
|
6264
6264
|
dangerouslySetInnerHTML: {
|
|
6265
6265
|
__html: teamData.teamTitle.metadata.value
|
|
6266
6266
|
}
|
|
6267
|
-
})), cardsCount > slidesToShow ? /*#__PURE__*/React
|
|
6267
|
+
})), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
|
|
6268
6268
|
hideArrow: isMobile,
|
|
6269
6269
|
settings: settings
|
|
6270
|
-
}, carouselContent) : /*#__PURE__*/React
|
|
6270
|
+
}, carouselContent) : /*#__PURE__*/React.createElement("div", {
|
|
6271
6271
|
className: classes.contentRow
|
|
6272
6272
|
}, " ", carouselContent)));
|
|
6273
6273
|
}
|
|
@@ -6498,80 +6498,80 @@ function FormEnquiry({
|
|
|
6498
6498
|
}
|
|
6499
6499
|
}
|
|
6500
6500
|
};
|
|
6501
|
-
return /*#__PURE__*/React
|
|
6501
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
6502
6502
|
className: classes.section
|
|
6503
|
-
}, /*#__PURE__*/React
|
|
6503
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6504
6504
|
className: classes.formContainer
|
|
6505
|
-
}, /*#__PURE__*/React
|
|
6505
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6506
6506
|
className: classes.partialBackground
|
|
6507
|
-
}), /*#__PURE__*/React
|
|
6507
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
6508
6508
|
className: classes.sectionContainer
|
|
6509
|
-
}, /*#__PURE__*/React
|
|
6509
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6510
6510
|
className: classes.contentContainer
|
|
6511
|
-
}, /*#__PURE__*/React
|
|
6511
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6512
6512
|
className: classes.leftContainer
|
|
6513
|
-
}, /*#__PURE__*/React
|
|
6513
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
6514
6514
|
className: classes.title
|
|
6515
|
-
}, /*#__PURE__*/React
|
|
6515
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6516
6516
|
ref: nodeData?.title?.refSetter,
|
|
6517
6517
|
dangerouslySetInnerHTML: {
|
|
6518
6518
|
__html: nodeData?.title?.metadata?.value
|
|
6519
6519
|
}
|
|
6520
|
-
})), /*#__PURE__*/React
|
|
6520
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6521
6521
|
ref: nodeData?.subtitle?.refSetter,
|
|
6522
6522
|
className: classes.subtitle,
|
|
6523
6523
|
dangerouslySetInnerHTML: {
|
|
6524
6524
|
__html: nodeData?.subtitle?.metadata?.value
|
|
6525
6525
|
}
|
|
6526
|
-
}), /*#__PURE__*/React
|
|
6526
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
6527
6527
|
className: classes.addressContainer
|
|
6528
|
-
}, /*#__PURE__*/React
|
|
6528
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6529
6529
|
className: classes.addressRow
|
|
6530
|
-
}, /*#__PURE__*/React
|
|
6530
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6531
6531
|
className: classes.addressImg
|
|
6532
|
-
}, /*#__PURE__*/React
|
|
6532
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
6533
6533
|
name: 'Location',
|
|
6534
6534
|
color: theme.palette.font.primary,
|
|
6535
6535
|
width: '12px'
|
|
6536
|
-
})), /*#__PURE__*/React
|
|
6536
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6537
6537
|
ref: nodeData?.address?.refSetter,
|
|
6538
6538
|
className: classes.addressText,
|
|
6539
6539
|
dangerouslySetInnerHTML: {
|
|
6540
6540
|
__html: nodeData?.address?.metadata?.value
|
|
6541
6541
|
}
|
|
6542
|
-
})), /*#__PURE__*/React
|
|
6542
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6543
6543
|
className: classes.addressRow
|
|
6544
|
-
}, /*#__PURE__*/React
|
|
6544
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6545
6545
|
className: classes.addressImg
|
|
6546
|
-
}, /*#__PURE__*/React
|
|
6546
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
6547
6547
|
name: 'Phone',
|
|
6548
6548
|
color: theme.palette.font.primary,
|
|
6549
6549
|
width: '12px'
|
|
6550
|
-
})), /*#__PURE__*/React
|
|
6550
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6551
6551
|
ref: nodeData?.phoneNumber?.refSetter,
|
|
6552
6552
|
className: classes.addressText,
|
|
6553
6553
|
dangerouslySetInnerHTML: {
|
|
6554
6554
|
__html: nodeData?.phoneNumber?.metadata?.value
|
|
6555
6555
|
}
|
|
6556
|
-
})), /*#__PURE__*/React
|
|
6556
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6557
6557
|
className: classes.addressRow
|
|
6558
|
-
}, /*#__PURE__*/React
|
|
6558
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6559
6559
|
className: classes.addressImg
|
|
6560
|
-
}, /*#__PURE__*/React
|
|
6560
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
6561
6561
|
name: 'Email',
|
|
6562
6562
|
color: theme.palette.font.primary,
|
|
6563
6563
|
width: '12px'
|
|
6564
|
-
})), /*#__PURE__*/React
|
|
6564
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6565
6565
|
ref: nodeData?.email?.refSetter,
|
|
6566
6566
|
className: classes.addressText,
|
|
6567
6567
|
dangerouslySetInnerHTML: {
|
|
6568
6568
|
__html: nodeData?.email?.metadata?.value
|
|
6569
6569
|
}
|
|
6570
|
-
})))), /*#__PURE__*/React
|
|
6570
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
6571
6571
|
className: classes.rightContainer
|
|
6572
|
-
}, /*#__PURE__*/React
|
|
6572
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6573
6573
|
className: classes.inputDiv
|
|
6574
|
-
}, /*#__PURE__*/React
|
|
6574
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
6575
6575
|
data: nodeData.nameField,
|
|
6576
6576
|
value: inputVal.name,
|
|
6577
6577
|
isValid: validData.nameValid,
|
|
@@ -6591,9 +6591,9 @@ function FormEnquiry({
|
|
|
6591
6591
|
nameValid: 1
|
|
6592
6592
|
});
|
|
6593
6593
|
}
|
|
6594
|
-
})), /*#__PURE__*/React
|
|
6594
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6595
6595
|
className: classes.inputDiv
|
|
6596
|
-
}, /*#__PURE__*/React
|
|
6596
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
6597
6597
|
data: nodeData.phoneField,
|
|
6598
6598
|
value: inputVal.phone,
|
|
6599
6599
|
isValid: validData.phoneValid,
|
|
@@ -6613,9 +6613,9 @@ function FormEnquiry({
|
|
|
6613
6613
|
phoneValid: 1
|
|
6614
6614
|
});
|
|
6615
6615
|
}
|
|
6616
|
-
})), /*#__PURE__*/React
|
|
6616
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6617
6617
|
className: classes.inputDiv
|
|
6618
|
-
}, ' ', /*#__PURE__*/React
|
|
6618
|
+
}, ' ', /*#__PURE__*/React.createElement(Input, {
|
|
6619
6619
|
data: nodeData.emailField,
|
|
6620
6620
|
value: inputVal.email,
|
|
6621
6621
|
isValid: validData.emailValid,
|
|
@@ -6635,9 +6635,9 @@ function FormEnquiry({
|
|
|
6635
6635
|
emailValid: 1
|
|
6636
6636
|
});
|
|
6637
6637
|
}
|
|
6638
|
-
})), /*#__PURE__*/React
|
|
6638
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6639
6639
|
className: classes.inputDiv
|
|
6640
|
-
}, ' ', /*#__PURE__*/React
|
|
6640
|
+
}, ' ', /*#__PURE__*/React.createElement(Input, {
|
|
6641
6641
|
data: nodeData.messageField,
|
|
6642
6642
|
value: inputVal.message,
|
|
6643
6643
|
isValid: validData.messageValid,
|
|
@@ -6657,7 +6657,7 @@ function FormEnquiry({
|
|
|
6657
6657
|
messageValid: 1
|
|
6658
6658
|
});
|
|
6659
6659
|
}
|
|
6660
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React
|
|
6660
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
6661
6661
|
ref: nodeData?.cta?.refSetter,
|
|
6662
6662
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6663
6663
|
value: 'Submitted'
|
|
@@ -6934,43 +6934,43 @@ function Contact({
|
|
|
6934
6934
|
}
|
|
6935
6935
|
}
|
|
6936
6936
|
};
|
|
6937
|
-
return /*#__PURE__*/React
|
|
6937
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
6938
6938
|
className: classes.section
|
|
6939
|
-
}, /*#__PURE__*/React
|
|
6939
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6940
6940
|
className: classes.contactContainer
|
|
6941
|
-
}, /*#__PURE__*/React
|
|
6941
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6942
6942
|
className: classes.partialBackground
|
|
6943
|
-
}), /*#__PURE__*/React
|
|
6943
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
6944
6944
|
className: classes.sectionContainer
|
|
6945
|
-
}, /*#__PURE__*/React
|
|
6945
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6946
6946
|
className: classes.contentContainer
|
|
6947
|
-
}, /*#__PURE__*/React
|
|
6947
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6948
6948
|
className: classes.leftContainer
|
|
6949
|
-
}, /*#__PURE__*/React
|
|
6949
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
6950
6950
|
className: classes.title
|
|
6951
|
-
}, /*#__PURE__*/React
|
|
6951
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6952
6952
|
ref: nodeData?.title?.refSetter,
|
|
6953
6953
|
dangerouslySetInnerHTML: {
|
|
6954
6954
|
__html: nodeData?.title?.metadata?.value
|
|
6955
6955
|
}
|
|
6956
|
-
})), /*#__PURE__*/React
|
|
6956
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6957
6957
|
ref: nodeData?.subtitle?.refSetter,
|
|
6958
6958
|
className: classes.subtitle,
|
|
6959
6959
|
dangerouslySetInnerHTML: {
|
|
6960
6960
|
__html: nodeData?.subtitle?.metadata?.value
|
|
6961
6961
|
}
|
|
6962
|
-
}), /*#__PURE__*/React
|
|
6962
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
6963
6963
|
className: classes.addressContainer
|
|
6964
|
-
}, /*#__PURE__*/React
|
|
6964
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
6965
6965
|
className: classes?.telephoneImage,
|
|
6966
6966
|
ref: nodeData?.image?.refSetter,
|
|
6967
6967
|
src: nodeData?.image?.metadata?.value,
|
|
6968
6968
|
sectionIndex: sectionIndex
|
|
6969
|
-
}))), /*#__PURE__*/React
|
|
6969
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
6970
6970
|
className: classes.rightContainer
|
|
6971
|
-
}, /*#__PURE__*/React
|
|
6971
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6972
6972
|
className: classes.inputDiv
|
|
6973
|
-
}, /*#__PURE__*/React
|
|
6973
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
6974
6974
|
data: nodeData.nameField,
|
|
6975
6975
|
value: inputVal.name,
|
|
6976
6976
|
isValid: validData.nameValid,
|
|
@@ -6990,9 +6990,9 @@ function Contact({
|
|
|
6990
6990
|
nameValid: 1
|
|
6991
6991
|
});
|
|
6992
6992
|
}
|
|
6993
|
-
})), /*#__PURE__*/React
|
|
6993
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
6994
6994
|
className: classes.inputDiv
|
|
6995
|
-
}, /*#__PURE__*/React
|
|
6995
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
6996
6996
|
data: nodeData.phoneField,
|
|
6997
6997
|
value: inputVal.phone,
|
|
6998
6998
|
isValid: validData.phoneValid,
|
|
@@ -7012,9 +7012,9 @@ function Contact({
|
|
|
7012
7012
|
phoneValid: 1
|
|
7013
7013
|
});
|
|
7014
7014
|
}
|
|
7015
|
-
})), /*#__PURE__*/React
|
|
7015
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
7016
7016
|
className: classes.inputDiv
|
|
7017
|
-
}, ' ', /*#__PURE__*/React
|
|
7017
|
+
}, ' ', /*#__PURE__*/React.createElement(Input, {
|
|
7018
7018
|
data: nodeData.emailField,
|
|
7019
7019
|
value: inputVal.email,
|
|
7020
7020
|
isValid: validData.emailValid,
|
|
@@ -7034,9 +7034,9 @@ function Contact({
|
|
|
7034
7034
|
emailValid: 1
|
|
7035
7035
|
});
|
|
7036
7036
|
}
|
|
7037
|
-
})), /*#__PURE__*/React
|
|
7037
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
7038
7038
|
className: classes.inputDiv
|
|
7039
|
-
}, ' ', /*#__PURE__*/React
|
|
7039
|
+
}, ' ', /*#__PURE__*/React.createElement(Input, {
|
|
7040
7040
|
data: nodeData.messageField,
|
|
7041
7041
|
value: inputVal.message,
|
|
7042
7042
|
isValid: validData.messageValid,
|
|
@@ -7056,9 +7056,9 @@ function Contact({
|
|
|
7056
7056
|
messageValid: 1
|
|
7057
7057
|
});
|
|
7058
7058
|
}
|
|
7059
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React
|
|
7059
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", {
|
|
7060
7060
|
className: classes.btnContainer
|
|
7061
|
-
}, /*#__PURE__*/React
|
|
7061
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
7062
7062
|
ref: nodeData?.cta?.refSetter,
|
|
7063
7063
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
7064
7064
|
value: 'Submitted'
|
|
@@ -7550,13 +7550,13 @@ function CoursePromotionPage$1({
|
|
|
7550
7550
|
containerWidth,
|
|
7551
7551
|
isMobile
|
|
7552
7552
|
});
|
|
7553
|
-
return /*#__PURE__*/React
|
|
7553
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
7554
7554
|
className: classes.webinarSuperContainer
|
|
7555
|
-
}, /*#__PURE__*/React
|
|
7555
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7556
7556
|
className: classes.videoTestimonialContainer
|
|
7557
|
-
}, /*#__PURE__*/React
|
|
7557
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7558
7558
|
className: classes.sectionContainer
|
|
7559
|
-
}, /*#__PURE__*/React
|
|
7559
|
+
}, /*#__PURE__*/React.createElement(SingleVideoSlide$1, {
|
|
7560
7560
|
data: sectionData.components[0].metadata,
|
|
7561
7561
|
webinarCtaClick: extraProps.webinarCtaClick,
|
|
7562
7562
|
conversions: extraProps.conversions,
|
|
@@ -7883,13 +7883,13 @@ const SingleVideoSlide = props => {
|
|
|
7883
7883
|
}) => {
|
|
7884
7884
|
if (days === 0 && hours < 24) {
|
|
7885
7885
|
if (countryCode === 'KR') {
|
|
7886
|
-
return /*#__PURE__*/React
|
|
7886
|
+
return /*#__PURE__*/React.createElement("span", null, hours, " \uC2DC\uAC04 ", minutes, " \uBD84 ", seconds, "\uCD08");
|
|
7887
7887
|
}
|
|
7888
|
-
return /*#__PURE__*/React
|
|
7888
|
+
return /*#__PURE__*/React.createElement("span", null, hours, "h ", minutes, "m ", seconds, "s");
|
|
7889
7889
|
} else {
|
|
7890
7890
|
let given = moment(props.data.endDate);
|
|
7891
7891
|
let current = moment().startOf('day');
|
|
7892
|
-
return /*#__PURE__*/React
|
|
7892
|
+
return /*#__PURE__*/React.createElement("span", null, Math.floor(moment.duration(given.diff(current)).asDays()), ' ', countryCode === 'KR' ? '일' : 'day(s)');
|
|
7893
7893
|
}
|
|
7894
7894
|
};
|
|
7895
7895
|
const {
|
|
@@ -7937,20 +7937,20 @@ const SingleVideoSlide = props => {
|
|
|
7937
7937
|
const limitedPeriodOfferText = countryCode === 'KR' ? `기간 한정 딜이므로 서두르세요!` : 'Hurry up! Offer for limited period only';
|
|
7938
7938
|
const renderOfferEndsInText = () => {
|
|
7939
7939
|
if (countryCode === 'KR') {
|
|
7940
|
-
return /*#__PURE__*/React
|
|
7940
|
+
return /*#__PURE__*/React.createElement("p", {
|
|
7941
7941
|
className: classes.offerText
|
|
7942
|
-
}, /*#__PURE__*/React
|
|
7942
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
7943
7943
|
className: classes.courseDetailTime
|
|
7944
|
-
}, /*#__PURE__*/React
|
|
7944
|
+
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
7945
7945
|
renderer: renderer,
|
|
7946
7946
|
date: data.endDate
|
|
7947
7947
|
})), ' ', "\uD6C4\xA0\uC2E0\uCCAD\xA0\uB9C8\uAC10\xA0\uC608\uC815");
|
|
7948
7948
|
} else {
|
|
7949
|
-
return /*#__PURE__*/React
|
|
7949
|
+
return /*#__PURE__*/React.createElement("p", {
|
|
7950
7950
|
className: classes.offerText
|
|
7951
|
-
}, "Offer Ends in", ' ', /*#__PURE__*/React
|
|
7951
|
+
}, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
|
|
7952
7952
|
className: classes.courseDetailTime
|
|
7953
|
-
}, /*#__PURE__*/React
|
|
7953
|
+
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
7954
7954
|
renderer: renderer,
|
|
7955
7955
|
date: data.endDate
|
|
7956
7956
|
})));
|
|
@@ -7966,72 +7966,79 @@ const SingleVideoSlide = props => {
|
|
|
7966
7966
|
return 'Read More';
|
|
7967
7967
|
}
|
|
7968
7968
|
};
|
|
7969
|
-
|
|
7969
|
+
const handleCourseCertificateText = () => {
|
|
7970
|
+
if (countryCode === 'KR') {
|
|
7971
|
+
return '수료증 발급';
|
|
7972
|
+
} else {
|
|
7973
|
+
return 'Course Certificate';
|
|
7974
|
+
}
|
|
7975
|
+
};
|
|
7976
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
7970
7977
|
className: classes.videoCarouselContainer
|
|
7971
|
-
}, /*#__PURE__*/React
|
|
7978
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7972
7979
|
className: classes.coursePageCarousel
|
|
7973
|
-
}, /*#__PURE__*/React
|
|
7980
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7974
7981
|
className: classes.iframeSuperContainer
|
|
7975
|
-
}, /*#__PURE__*/React
|
|
7982
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7976
7983
|
className: classes.videoDetails
|
|
7977
|
-
}, (checkIfOfferIsValid() || data.offerPriceValidFor > 0) && (data.offerPriceValidFor > conversions || data.offerPriceValidFor === null) && /*#__PURE__*/React
|
|
7984
|
+
}, (checkIfOfferIsValid() || data.offerPriceValidFor > 0) && (data.offerPriceValidFor > conversions || data.offerPriceValidFor === null) && /*#__PURE__*/React.createElement("div", null, data.offerPriceValidFor - conversions > 0 && data.discount && (data.endDate ? checkIfOfferIsValid() : true) ? /*#__PURE__*/React.createElement("div", {
|
|
7978
7985
|
className: classes.bannerContainer
|
|
7979
|
-
}, /*#__PURE__*/React
|
|
7986
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7980
7987
|
className: classes.bannerContainerText
|
|
7981
|
-
}, renderHurryUpBannerText())) : checkIfOfferIsValid() && /*#__PURE__*/React
|
|
7988
|
+
}, renderHurryUpBannerText())) : checkIfOfferIsValid() && /*#__PURE__*/React.createElement("div", {
|
|
7982
7989
|
className: classes.bannerContainer
|
|
7983
|
-
}, /*#__PURE__*/React
|
|
7990
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7984
7991
|
className: classes.bannerContainerText
|
|
7985
|
-
}, limitedPeriodOfferText))), /*#__PURE__*/React
|
|
7992
|
+
}, limitedPeriodOfferText))), /*#__PURE__*/React.createElement("div", {
|
|
7986
7993
|
className: classes.emblemContainer
|
|
7987
7994
|
}, data?.courseOverviewData?.courseTagList.length && data?.courseOverviewData?.courseTagList?.map(data => {
|
|
7988
|
-
return /*#__PURE__*/React
|
|
7995
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
7989
7996
|
className: classes.courseEmblem
|
|
7990
7997
|
}, data?.text);
|
|
7991
|
-
})), /*#__PURE__*/React
|
|
7998
|
+
})), /*#__PURE__*/React.createElement("h3", {
|
|
7992
7999
|
className: classes.videoDetailsHeading
|
|
7993
|
-
}, /*#__PURE__*/React
|
|
8000
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
7994
8001
|
ref: data?.videoTextHeading?.refSetter,
|
|
7995
8002
|
dangerouslySetInnerHTML: {
|
|
7996
8003
|
__html: data.courseName
|
|
7997
8004
|
}
|
|
7998
|
-
})), /*#__PURE__*/React
|
|
8005
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
7999
8006
|
className: classes.courseDetailsTags
|
|
8000
|
-
}, data?.courseOverviewData?.courseDuration?.text ? /*#__PURE__*/React
|
|
8007
|
+
}, data?.courseOverviewData?.courseDuration?.text ? /*#__PURE__*/React.createElement("div", {
|
|
8001
8008
|
className: classes.courseDetailTag
|
|
8002
|
-
}, /*#__PURE__*/React
|
|
8009
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
8003
8010
|
className: classes.iconBackground
|
|
8004
|
-
}, /*#__PURE__*/React
|
|
8011
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8005
8012
|
name: 'Clock',
|
|
8006
8013
|
color: theme.palette.primary.main
|
|
8007
|
-
})), /*#__PURE__*/React
|
|
8014
|
+
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8008
8015
|
className: classes.courseDetailTag
|
|
8009
|
-
}, /*#__PURE__*/React
|
|
8016
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
8010
8017
|
className: classes.iconBackground
|
|
8011
|
-
}, /*#__PURE__*/React
|
|
8018
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8012
8019
|
name: 'Book Saved',
|
|
8013
8020
|
color: theme.palette.primary.main
|
|
8014
|
-
})), /*#__PURE__*/React
|
|
8021
|
+
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8015
8022
|
className: classes.courseDetailTag
|
|
8016
|
-
}, /*#__PURE__*/React
|
|
8023
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
8017
8024
|
className: classes.iconBackground
|
|
8018
|
-
}, /*#__PURE__*/React
|
|
8025
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8019
8026
|
name: 'Certificate',
|
|
8020
8027
|
color: theme.palette.primary.main
|
|
8021
|
-
})), /*#__PURE__*/React
|
|
8028
|
+
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React.createElement("div", {
|
|
8022
8029
|
className: classes.courseDetailTag
|
|
8023
|
-
}, /*#__PURE__*/React
|
|
8030
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
8024
8031
|
className: classes.iconBackground
|
|
8025
|
-
}, /*#__PURE__*/React
|
|
8032
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8026
8033
|
name: 'Certificate',
|
|
8027
8034
|
color: theme.palette.primary.main
|
|
8028
|
-
})), /*#__PURE__*/React
|
|
8035
|
+
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
|
|
8029
8036
|
ref: data?.videoTextContent?.refSetter,
|
|
8030
8037
|
className: classes.courseDetailContent,
|
|
8031
8038
|
dangerouslySetInnerHTML: {
|
|
8032
8039
|
__html: isReadMore ? data.description : data.description.substring(0, 250)
|
|
8033
8040
|
}
|
|
8034
|
-
}), /*#__PURE__*/React
|
|
8041
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
8035
8042
|
onClick: () => {
|
|
8036
8043
|
setIsReadMore(true);
|
|
8037
8044
|
},
|
|
@@ -8040,37 +8047,37 @@ const SingleVideoSlide = props => {
|
|
|
8040
8047
|
dangerouslySetInnerHTML: {
|
|
8041
8048
|
__html: data.description.length > 250 && !isReadMore ? handleReadMoreText() : null
|
|
8042
8049
|
}
|
|
8043
|
-
}))), /*#__PURE__*/React
|
|
8050
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
8044
8051
|
style: {
|
|
8045
8052
|
display: 'flex',
|
|
8046
8053
|
flexDirection: 'column'
|
|
8047
8054
|
}
|
|
8048
|
-
}, /*#__PURE__*/React
|
|
8055
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8049
8056
|
className: classes.courseViewContainer
|
|
8050
|
-
}, checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && renderOfferEndsInText(), /*#__PURE__*/React
|
|
8057
|
+
}, checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && renderOfferEndsInText(), /*#__PURE__*/React.createElement("div", {
|
|
8051
8058
|
ref: data?.videoFrame?.refSetter,
|
|
8052
8059
|
className: classes.iframeContainer
|
|
8053
|
-
}, /*#__PURE__*/React
|
|
8060
|
+
}, /*#__PURE__*/React.createElement(VideoPlayer, {
|
|
8054
8061
|
onlyThumbnail: true,
|
|
8055
8062
|
imageUrl: data.thumbnail,
|
|
8056
8063
|
videoUrl: data.thumbnail,
|
|
8057
8064
|
sectionIndex: props?.sectionIndex
|
|
8058
|
-
})), /*#__PURE__*/React
|
|
8065
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
8059
8066
|
className: classes.bottomContainer
|
|
8060
|
-
}, /*#__PURE__*/React
|
|
8067
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8061
8068
|
className: classes.priceContainer
|
|
8062
|
-
}, /*#__PURE__*/React
|
|
8069
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8063
8070
|
className: classes.offerPrice
|
|
8064
|
-
}, effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React
|
|
8071
|
+
}, effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
|
|
8065
8072
|
style: {
|
|
8066
8073
|
// fontSize: '20px',
|
|
8067
8074
|
marginTop: '0px'
|
|
8068
8075
|
}
|
|
8069
|
-
}, /*#__PURE__*/React
|
|
8076
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
8070
8077
|
className: classes.originalPrice
|
|
8071
|
-
}, finalPrice), ' ', /*#__PURE__*/React
|
|
8078
|
+
}, finalPrice), ' ', /*#__PURE__*/React.createElement("span", {
|
|
8072
8079
|
className: classes.offerDiscount
|
|
8073
|
-
}, `${data && discount(data)}%`))), /*#__PURE__*/React
|
|
8080
|
+
}, `${data && discount(data)}%`))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
8074
8081
|
style: {
|
|
8075
8082
|
width: '150px'
|
|
8076
8083
|
},
|
|
@@ -8088,19 +8095,19 @@ const SingleVideoSlide = props => {
|
|
|
8088
8095
|
name: "button",
|
|
8089
8096
|
rel: null
|
|
8090
8097
|
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
8091
|
-
})))), showCourseInstallmentData && InstalmentData && /*#__PURE__*/React
|
|
8098
|
+
})))), showCourseInstallmentData && InstalmentData && /*#__PURE__*/React.createElement("div", {
|
|
8092
8099
|
className: classes.payInstallmentContainer,
|
|
8093
8100
|
onClick: showCourseInstallment
|
|
8094
|
-
}, /*#__PURE__*/React
|
|
8101
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
8095
8102
|
src: calendar,
|
|
8096
8103
|
alt: "calender"
|
|
8097
|
-
}), /*#__PURE__*/React
|
|
8104
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
8098
8105
|
className: classes.payInstallmentHeader
|
|
8099
|
-
}, /*#__PURE__*/React
|
|
8106
|
+
}, /*#__PURE__*/React.createElement("h4", null, /*#__PURE__*/React.createElement("span", {
|
|
8100
8107
|
dangerouslySetInnerHTML: {
|
|
8101
8108
|
__html: ` Start learning at Rs ${isEdit ? InstalmentData : InstalmentData / 100}`
|
|
8102
8109
|
}
|
|
8103
|
-
})), /*#__PURE__*/React
|
|
8110
|
+
})), /*#__PURE__*/React.createElement("p", null, "Pay in Instalments")), /*#__PURE__*/React.createElement("img", {
|
|
8104
8111
|
className: classes.arrowRightIcon,
|
|
8105
8112
|
src: arrowRight,
|
|
8106
8113
|
alt: "open pay-installment popup"
|
|
@@ -8124,13 +8131,13 @@ function CoursePromotionPage({
|
|
|
8124
8131
|
containerWidth,
|
|
8125
8132
|
isMobile
|
|
8126
8133
|
});
|
|
8127
|
-
return /*#__PURE__*/React
|
|
8134
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8128
8135
|
className: classes.courseSuperContainer
|
|
8129
|
-
}, /*#__PURE__*/React
|
|
8136
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8130
8137
|
className: classes.videoTestimonialContainer
|
|
8131
|
-
}, /*#__PURE__*/React
|
|
8138
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8132
8139
|
className: classes.sectionContainer
|
|
8133
|
-
}, /*#__PURE__*/React
|
|
8140
|
+
}, /*#__PURE__*/React.createElement(SingleVideoSlide, {
|
|
8134
8141
|
data: sectionData.components[0].metadata,
|
|
8135
8142
|
courseBuyNow: extraProps.courseBuyNow,
|
|
8136
8143
|
showCourseInstallment: extraProps.showCourseInstallment,
|
|
@@ -8407,25 +8414,25 @@ const FormPage = ({
|
|
|
8407
8414
|
}
|
|
8408
8415
|
}
|
|
8409
8416
|
};
|
|
8410
|
-
return /*#__PURE__*/React
|
|
8417
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
8411
8418
|
className: classes.formPageSection
|
|
8412
|
-
}, /*#__PURE__*/React
|
|
8419
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8413
8420
|
className: classes.formPageFormContainer
|
|
8414
|
-
}, /*#__PURE__*/React
|
|
8421
|
+
}, /*#__PURE__*/React.createElement("form", {
|
|
8415
8422
|
onSubmit: handleSubmit
|
|
8416
|
-
}, /*#__PURE__*/React
|
|
8423
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8417
8424
|
className: classes.formPageHeader
|
|
8418
|
-
}, /*#__PURE__*/React
|
|
8425
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8419
8426
|
className: classes.formPageTitle
|
|
8420
|
-
}, metadata?.title), /*#__PURE__*/React
|
|
8427
|
+
}, metadata?.title), /*#__PURE__*/React.createElement("div", {
|
|
8421
8428
|
className: classes.formPageSubtitle
|
|
8422
|
-
}, metadata?.subTitle)), metadata?.questions?.map((item, index) => /*#__PURE__*/React
|
|
8429
|
+
}, metadata?.subTitle)), metadata?.questions?.map((item, index) => /*#__PURE__*/React.createElement(React.Fragment, null, item.type === 'SA' && /*#__PURE__*/React.createElement("div", {
|
|
8423
8430
|
className: classes.inputField
|
|
8424
|
-
}, /*#__PURE__*/React
|
|
8431
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
8425
8432
|
className: classes.inputFieldLabel
|
|
8426
|
-
}, item.text, ' ', item.isRequired && /*#__PURE__*/React
|
|
8433
|
+
}, item.text, ' ', item.isRequired && /*#__PURE__*/React.createElement("span", {
|
|
8427
8434
|
className: classes.inputFieldRequired
|
|
8428
|
-
}, "*")), /*#__PURE__*/React
|
|
8435
|
+
}, "*")), /*#__PURE__*/React.createElement("input", {
|
|
8429
8436
|
className: classes.inputFieldControl,
|
|
8430
8437
|
required: item.isRequired,
|
|
8431
8438
|
type: "text",
|
|
@@ -8443,32 +8450,32 @@ const FormPage = ({
|
|
|
8443
8450
|
}
|
|
8444
8451
|
});
|
|
8445
8452
|
}
|
|
8446
|
-
})), item.type === 'MC' && /*#__PURE__*/React
|
|
8453
|
+
})), item.type === 'MC' && /*#__PURE__*/React.createElement("div", {
|
|
8447
8454
|
className: classes.checkboxField
|
|
8448
|
-
}, /*#__PURE__*/React
|
|
8455
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8449
8456
|
className: classes.checkBoxFieldLabel
|
|
8450
|
-
}, item.text, ' ', item.isRequired && /*#__PURE__*/React
|
|
8457
|
+
}, item.text, ' ', item.isRequired && /*#__PURE__*/React.createElement("span", {
|
|
8451
8458
|
className: classes.inputFieldRequired
|
|
8452
|
-
}, "*")), item.options.map((option, index) => /*#__PURE__*/React
|
|
8459
|
+
}, "*")), item.options.map((option, index) => /*#__PURE__*/React.createElement("div", {
|
|
8453
8460
|
className: classes.checkboxFieldControl
|
|
8454
|
-
}, /*#__PURE__*/React
|
|
8461
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
8455
8462
|
value: option.value,
|
|
8456
8463
|
type: "checkbox",
|
|
8457
8464
|
name: option.value,
|
|
8458
8465
|
checked: formData[item._id]?.solutionArray?.includes(option.value),
|
|
8459
8466
|
id: option.value,
|
|
8460
8467
|
onClick: e => handleOnClick(e, item, option)
|
|
8461
|
-
}), /*#__PURE__*/React
|
|
8468
|
+
}), /*#__PURE__*/React.createElement("label", {
|
|
8462
8469
|
htmlFor: option.value
|
|
8463
|
-
}, option.value)))), item.type === 'SC' && /*#__PURE__*/React
|
|
8470
|
+
}, option.value)))), item.type === 'SC' && /*#__PURE__*/React.createElement("div", {
|
|
8464
8471
|
className: classes.checkboxField
|
|
8465
|
-
}, /*#__PURE__*/React
|
|
8472
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8466
8473
|
className: classes.checkBoxFieldLabel
|
|
8467
|
-
}, item.text, ' ', item.isRequired && /*#__PURE__*/React
|
|
8474
|
+
}, item.text, ' ', item.isRequired && /*#__PURE__*/React.createElement("span", {
|
|
8468
8475
|
className: classes.inputFieldRequired
|
|
8469
|
-
}, "*")), item.options.map((option, index) => /*#__PURE__*/React
|
|
8476
|
+
}, "*")), item.options.map((option, index) => /*#__PURE__*/React.createElement("div", {
|
|
8470
8477
|
className: classes.checkboxFieldControl
|
|
8471
|
-
}, /*#__PURE__*/React
|
|
8478
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
8472
8479
|
// value={option.value}
|
|
8473
8480
|
type: "radio",
|
|
8474
8481
|
name: `text_${item._id}`,
|
|
@@ -8488,11 +8495,11 @@ const FormPage = ({
|
|
|
8488
8495
|
}
|
|
8489
8496
|
});
|
|
8490
8497
|
}
|
|
8491
|
-
}), /*#__PURE__*/React
|
|
8498
|
+
}), /*#__PURE__*/React.createElement("label", {
|
|
8492
8499
|
htmlFor: option.value
|
|
8493
|
-
}, option.value)))))), /*#__PURE__*/React
|
|
8500
|
+
}, option.value)))))), /*#__PURE__*/React.createElement("div", {
|
|
8494
8501
|
className: classes.submitBtnContainer
|
|
8495
|
-
}, /*#__PURE__*/React
|
|
8502
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
8496
8503
|
data: {
|
|
8497
8504
|
// link: 'headerData?.loginCtaLink',
|
|
8498
8505
|
// isLink: 1,
|
|
@@ -8610,16 +8617,16 @@ function Tiles({
|
|
|
8610
8617
|
}
|
|
8611
8618
|
};
|
|
8612
8619
|
const TileDiv = tilesList?.map((tile, i) => {
|
|
8613
|
-
return /*#__PURE__*/React
|
|
8620
|
+
return /*#__PURE__*/React.createElement(Fragment, {
|
|
8614
8621
|
key: i
|
|
8615
|
-
}, /*#__PURE__*/React
|
|
8622
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8616
8623
|
className: classes.tileDiv,
|
|
8617
8624
|
onClick: () => handleClick(tile.cta?.metadata?.value)
|
|
8618
|
-
}, /*#__PURE__*/React
|
|
8625
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
8619
8626
|
className: classes.tileImg,
|
|
8620
8627
|
src: tile?.tileImage?.metadata?.value,
|
|
8621
8628
|
sectionIndex: sectionIndex
|
|
8622
|
-
}), /*#__PURE__*/React
|
|
8629
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
8623
8630
|
className: classes.title,
|
|
8624
8631
|
ref: tile.tileName?.refSetter,
|
|
8625
8632
|
dangerouslySetInnerHTML: {
|
|
@@ -8627,21 +8634,21 @@ function Tiles({
|
|
|
8627
8634
|
}
|
|
8628
8635
|
})));
|
|
8629
8636
|
});
|
|
8630
|
-
return /*#__PURE__*/React
|
|
8637
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
8631
8638
|
className: classes.tileParentDiv
|
|
8632
|
-
}, /*#__PURE__*/React
|
|
8639
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8633
8640
|
className: classes.header,
|
|
8634
8641
|
ref: nodeData[0].sectionHeader?.refSetter,
|
|
8635
8642
|
dangerouslySetInnerHTML: {
|
|
8636
8643
|
__html: nodeData[0].sectionHeader?.metadata?.value
|
|
8637
8644
|
}
|
|
8638
|
-
}), /*#__PURE__*/React
|
|
8645
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
8639
8646
|
className: classes.headerTitle,
|
|
8640
8647
|
ref: nodeData[0].sectionTitle?.refSetter,
|
|
8641
8648
|
dangerouslySetInnerHTML: {
|
|
8642
8649
|
__html: nodeData[0].sectionTitle?.metadata?.value
|
|
8643
8650
|
}
|
|
8644
|
-
}), /*#__PURE__*/React
|
|
8651
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
8645
8652
|
className: classes.row
|
|
8646
8653
|
}, TileDiv)));
|
|
8647
8654
|
}
|
|
@@ -8736,41 +8743,41 @@ function Section({
|
|
|
8736
8743
|
const landing = nodeData?.components[2];
|
|
8737
8744
|
const footer = nodeData?.components[3];
|
|
8738
8745
|
const classes = useEmailStyles();
|
|
8739
|
-
return /*#__PURE__*/React
|
|
8746
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("center", {
|
|
8740
8747
|
className: classes.wrapper,
|
|
8741
8748
|
ref: emailRef
|
|
8742
|
-
}, isProceed && pixel, /*#__PURE__*/React
|
|
8749
|
+
}, isProceed && pixel, /*#__PURE__*/React.createElement("table", {
|
|
8743
8750
|
className: classes.main,
|
|
8744
8751
|
style: {
|
|
8745
8752
|
width: '100%',
|
|
8746
8753
|
maxWidth: '600px',
|
|
8747
8754
|
backgroundColor: '#ffffff'
|
|
8748
8755
|
}
|
|
8749
|
-
}, /*#__PURE__*/React
|
|
8756
|
+
}, /*#__PURE__*/React.createElement("tbody", null, customHtmlData?.isCustomHtml ? /*#__PURE__*/React.createElement("div", {
|
|
8750
8757
|
className: classes.email_description_para,
|
|
8751
8758
|
dangerouslySetInnerHTML: {
|
|
8752
8759
|
__html: `${customHtmlData?.html ? customHtmlData?.html : ''}`
|
|
8753
8760
|
// __html: '<div>sdnfksdnflksdnfklsndk</div>'
|
|
8754
8761
|
}
|
|
8755
|
-
}) : /*#__PURE__*/React
|
|
8762
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null, header?.isActive ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8756
8763
|
style: {
|
|
8757
8764
|
textAlign: 'center',
|
|
8758
8765
|
background: '#ffffff',
|
|
8759
8766
|
paddingTop: '16px',
|
|
8760
8767
|
width: '100%'
|
|
8761
8768
|
}
|
|
8762
|
-
}, /*#__PURE__*/React
|
|
8769
|
+
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
8763
8770
|
style: {
|
|
8764
8771
|
display: 'inline-block'
|
|
8765
8772
|
}
|
|
8766
|
-
}, header?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React
|
|
8773
|
+
}, header?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
|
|
8767
8774
|
src: header?.components[0]?.metadata?.image,
|
|
8768
8775
|
alt: "",
|
|
8769
8776
|
style: {
|
|
8770
8777
|
width: 'auto',
|
|
8771
8778
|
height: '48px'
|
|
8772
8779
|
}
|
|
8773
|
-
}) : renderHTML ? null : /*#__PURE__*/React
|
|
8780
|
+
}) : renderHTML ? null : /*#__PURE__*/React.createElement("div", {
|
|
8774
8781
|
style: {
|
|
8775
8782
|
display: 'flex',
|
|
8776
8783
|
alignItems: 'center',
|
|
@@ -8778,11 +8785,11 @@ function Section({
|
|
|
8778
8785
|
fontStyle: 'italic',
|
|
8779
8786
|
minHeight: '30px'
|
|
8780
8787
|
}
|
|
8781
|
-
}, "Your logo")))))), /*#__PURE__*/React
|
|
8788
|
+
}, "Your logo")))))), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
8782
8789
|
style: {
|
|
8783
8790
|
textAlign: 'center'
|
|
8784
8791
|
}
|
|
8785
|
-
}, header?.components[1]?.metadata?.image?.length ? /*#__PURE__*/React
|
|
8792
|
+
}, header?.components[1]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
|
|
8786
8793
|
src: header?.components[1]?.metadata?.image
|
|
8787
8794
|
// width={600}
|
|
8788
8795
|
,
|
|
@@ -8792,7 +8799,7 @@ function Section({
|
|
|
8792
8799
|
width: '100%',
|
|
8793
8800
|
marginBottom: '-4px'
|
|
8794
8801
|
}
|
|
8795
|
-
}) : renderHTML ? null : /*#__PURE__*/React
|
|
8802
|
+
}) : renderHTML ? null : /*#__PURE__*/React.createElement("div", {
|
|
8796
8803
|
style: {
|
|
8797
8804
|
maxWidth: '600px',
|
|
8798
8805
|
width: '100%',
|
|
@@ -8804,14 +8811,14 @@ function Section({
|
|
|
8804
8811
|
justifyContent: 'center',
|
|
8805
8812
|
fontStyle: 'italic'
|
|
8806
8813
|
}
|
|
8807
|
-
}, "Cover Image")))) : null, body && body?.isActive ? /*#__PURE__*/React
|
|
8814
|
+
}, "Cover Image")))) : null, body && body?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8808
8815
|
style: {
|
|
8809
8816
|
textAlign: 'center',
|
|
8810
8817
|
width: '100%',
|
|
8811
8818
|
backgroundColor: '#ffffff',
|
|
8812
8819
|
padding: '0px 24px'
|
|
8813
8820
|
}
|
|
8814
|
-
}, /*#__PURE__*/React
|
|
8821
|
+
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("p", {
|
|
8815
8822
|
style: {
|
|
8816
8823
|
// fontFamily: 'Roboto',
|
|
8817
8824
|
fontStyle: 'normal',
|
|
@@ -8823,7 +8830,7 @@ function Section({
|
|
|
8823
8830
|
marginTop: '24px'
|
|
8824
8831
|
},
|
|
8825
8832
|
ref: body?.components[0]?.refSetter
|
|
8826
|
-
}, body?.components[0]?.metadata?.text), /*#__PURE__*/React
|
|
8833
|
+
}, body?.components[0]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
|
|
8827
8834
|
style: {
|
|
8828
8835
|
// fontFamily: 'Roboto',
|
|
8829
8836
|
fontStyle: 'normal',
|
|
@@ -8836,7 +8843,7 @@ function Section({
|
|
|
8836
8843
|
marginBottom: '15px'
|
|
8837
8844
|
},
|
|
8838
8845
|
ref: body?.components[1]?.refSetter
|
|
8839
|
-
}, body?.components[1]?.metadata?.text), /*#__PURE__*/React
|
|
8846
|
+
}, body?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("div", {
|
|
8840
8847
|
style: {
|
|
8841
8848
|
maxWidth: '435px',
|
|
8842
8849
|
// margin: '0px 10px',
|
|
@@ -8853,12 +8860,12 @@ function Section({
|
|
|
8853
8860
|
},
|
|
8854
8861
|
className: classes.email_description_para,
|
|
8855
8862
|
ref: body?.components[2]?.refSetter
|
|
8856
|
-
})))))) : null, landing?.isActive ? /*#__PURE__*/React
|
|
8863
|
+
})))))) : null, landing?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8857
8864
|
style: {
|
|
8858
8865
|
width: '100%',
|
|
8859
8866
|
padding: '12px'
|
|
8860
8867
|
}
|
|
8861
|
-
}, /*#__PURE__*/React
|
|
8868
|
+
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8862
8869
|
style: {
|
|
8863
8870
|
width: '100%',
|
|
8864
8871
|
background: '#f4f9fd',
|
|
@@ -8866,11 +8873,11 @@ function Section({
|
|
|
8866
8873
|
padding: '32px',
|
|
8867
8874
|
textAlign: 'center'
|
|
8868
8875
|
}
|
|
8869
|
-
}, /*#__PURE__*/React
|
|
8876
|
+
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
8870
8877
|
style: {
|
|
8871
8878
|
textAlign: 'center'
|
|
8872
8879
|
}
|
|
8873
|
-
}, landing?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React
|
|
8880
|
+
}, landing?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
|
|
8874
8881
|
src: landing?.components[0]?.metadata?.image,
|
|
8875
8882
|
alt: "",
|
|
8876
8883
|
style: {
|
|
@@ -8878,7 +8885,7 @@ function Section({
|
|
|
8878
8885
|
width: '100%',
|
|
8879
8886
|
borderRadius: '10px'
|
|
8880
8887
|
}
|
|
8881
|
-
}) : renderHTML ? null : /*#__PURE__*/React
|
|
8888
|
+
}) : renderHTML ? null : /*#__PURE__*/React.createElement("div", {
|
|
8882
8889
|
style: {
|
|
8883
8890
|
background: '#D9D9D9F0',
|
|
8884
8891
|
width: '100%',
|
|
@@ -8889,7 +8896,7 @@ function Section({
|
|
|
8889
8896
|
fontStyle: 'italic',
|
|
8890
8897
|
borderRadius: '10px'
|
|
8891
8898
|
}
|
|
8892
|
-
}, "Thumbnail Image"), /*#__PURE__*/React
|
|
8899
|
+
}, "Thumbnail Image"), /*#__PURE__*/React.createElement("p", {
|
|
8893
8900
|
style: {
|
|
8894
8901
|
// fontFamily: 'Roboto',
|
|
8895
8902
|
fontStyle: 'normal',
|
|
@@ -8902,13 +8909,13 @@ function Section({
|
|
|
8902
8909
|
textAlign: 'left'
|
|
8903
8910
|
},
|
|
8904
8911
|
ref: landing?.components[1]?.refSetter
|
|
8905
|
-
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React
|
|
8912
|
+
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("a", {
|
|
8906
8913
|
href: landing?.components[3]?.metadata?.text,
|
|
8907
8914
|
target: "_blank",
|
|
8908
8915
|
style: {
|
|
8909
8916
|
textDecoration: 'none'
|
|
8910
8917
|
}
|
|
8911
|
-
}, /*#__PURE__*/React
|
|
8918
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8912
8919
|
style: {
|
|
8913
8920
|
background: '#009AE0',
|
|
8914
8921
|
borderRadius: '7.18333px',
|
|
@@ -8925,13 +8932,13 @@ function Section({
|
|
|
8925
8932
|
color: '#fafafa'
|
|
8926
8933
|
},
|
|
8927
8934
|
ref: landing?.components[2]?.refSetter
|
|
8928
|
-
}, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React
|
|
8935
|
+
}, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8929
8936
|
style: {
|
|
8930
8937
|
width: '100%',
|
|
8931
8938
|
background: '#e3f0ff',
|
|
8932
8939
|
textAlign: 'center'
|
|
8933
8940
|
}
|
|
8934
|
-
}, /*#__PURE__*/React
|
|
8941
|
+
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("p", {
|
|
8935
8942
|
style: {
|
|
8936
8943
|
// fontFamily: 'Roboto',
|
|
8937
8944
|
fontStyle: 'normal',
|
|
@@ -8942,20 +8949,20 @@ function Section({
|
|
|
8942
8949
|
color: '#0a1629',
|
|
8943
8950
|
marginTop: '32px'
|
|
8944
8951
|
}
|
|
8945
|
-
}, "Connect with us on:"), /*#__PURE__*/React
|
|
8952
|
+
}, "Connect with us on:"), /*#__PURE__*/React.createElement("table", {
|
|
8946
8953
|
style: {
|
|
8947
8954
|
width: '100%',
|
|
8948
8955
|
marginTop: '8px',
|
|
8949
8956
|
marginBottom: '16px'
|
|
8950
8957
|
}
|
|
8951
|
-
}, /*#__PURE__*/React
|
|
8958
|
+
}, /*#__PURE__*/React.createElement("tbody", null, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("a", {
|
|
8952
8959
|
href: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.text : undefined,
|
|
8953
8960
|
target: "_blank",
|
|
8954
8961
|
style: {
|
|
8955
8962
|
textDecoration: 'none',
|
|
8956
8963
|
display: renderHTML && footer?.components[0]?.metadata?.text ? '' : renderHTML === false ? '' : 'none'
|
|
8957
8964
|
}
|
|
8958
|
-
}, /*#__PURE__*/React
|
|
8965
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
8959
8966
|
src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
|
|
8960
8967
|
alt: "",
|
|
8961
8968
|
style: {
|
|
@@ -8965,14 +8972,14 @@ function Section({
|
|
|
8965
8972
|
cursor: 'pointer'
|
|
8966
8973
|
},
|
|
8967
8974
|
ref: footer?.components[0]?.refSetter
|
|
8968
|
-
})), /*#__PURE__*/React
|
|
8975
|
+
})), /*#__PURE__*/React.createElement("a", {
|
|
8969
8976
|
href: footer?.components[1]?.metadata?.text ? footer?.components[1]?.metadata?.text : undefined,
|
|
8970
8977
|
target: "_blank",
|
|
8971
8978
|
style: {
|
|
8972
8979
|
textDecoration: 'none',
|
|
8973
8980
|
display: renderHTML && footer?.components[1]?.metadata?.text ? '' : renderHTML === false ? '' : 'none'
|
|
8974
8981
|
}
|
|
8975
|
-
}, /*#__PURE__*/React
|
|
8982
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
8976
8983
|
src: footer?.components[1]?.metadata?.text ? footer?.components[1]?.metadata?.iconUrlColor : footer?.components[1]?.metadata?.iconUrl,
|
|
8977
8984
|
alt: "",
|
|
8978
8985
|
style: {
|
|
@@ -8982,14 +8989,14 @@ function Section({
|
|
|
8982
8989
|
cursor: 'pointer'
|
|
8983
8990
|
},
|
|
8984
8991
|
ref: footer?.components[1]?.refSetter
|
|
8985
|
-
})), /*#__PURE__*/React
|
|
8992
|
+
})), /*#__PURE__*/React.createElement("a", {
|
|
8986
8993
|
href: footer?.components[2]?.metadata?.text ? footer?.components[2]?.metadata?.text : undefined,
|
|
8987
8994
|
target: "_blank",
|
|
8988
8995
|
style: {
|
|
8989
8996
|
textDecoration: 'none',
|
|
8990
8997
|
display: renderHTML && footer?.components[2]?.metadata?.text ? '' : renderHTML === false ? '' : 'none'
|
|
8991
8998
|
}
|
|
8992
|
-
}, /*#__PURE__*/React
|
|
8999
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
8993
9000
|
src: footer?.components[2]?.metadata?.text ? footer?.components[2]?.metadata?.iconUrlColor : footer?.components[2]?.metadata?.iconUrl,
|
|
8994
9001
|
alt: "",
|
|
8995
9002
|
style: {
|
|
@@ -8999,14 +9006,14 @@ function Section({
|
|
|
8999
9006
|
margin: '0px 12px'
|
|
9000
9007
|
},
|
|
9001
9008
|
ref: footer?.components[2]?.refSetter
|
|
9002
|
-
})), /*#__PURE__*/React
|
|
9009
|
+
})), /*#__PURE__*/React.createElement("a", {
|
|
9003
9010
|
href: footer?.components[3]?.metadata?.text ? footer?.components[3]?.metadata?.text : undefined,
|
|
9004
9011
|
target: "_blank",
|
|
9005
9012
|
style: {
|
|
9006
9013
|
textDecoration: 'none',
|
|
9007
9014
|
display: renderHTML && footer?.components[3]?.metadata?.text ? '' : renderHTML === false ? '' : 'none'
|
|
9008
9015
|
}
|
|
9009
|
-
}, /*#__PURE__*/React
|
|
9016
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
9010
9017
|
src: footer?.components[3]?.metadata?.text ? footer?.components[3]?.metadata?.iconUrlColor : footer?.components[3]?.metadata?.iconUrl,
|
|
9011
9018
|
alt: "",
|
|
9012
9019
|
style: {
|
|
@@ -9016,14 +9023,14 @@ function Section({
|
|
|
9016
9023
|
cursor: 'pointer'
|
|
9017
9024
|
},
|
|
9018
9025
|
ref: footer?.components[3]?.refSetter
|
|
9019
|
-
})), /*#__PURE__*/React
|
|
9026
|
+
})), /*#__PURE__*/React.createElement("a", {
|
|
9020
9027
|
href: footer?.components[4]?.metadata?.text ? footer?.components[4]?.metadata?.text : undefined,
|
|
9021
9028
|
target: "_blank",
|
|
9022
9029
|
style: {
|
|
9023
9030
|
textDecoration: 'none',
|
|
9024
9031
|
display: renderHTML && footer?.components[4]?.metadata?.text ? '' : renderHTML === false ? '' : 'none'
|
|
9025
9032
|
}
|
|
9026
|
-
}, /*#__PURE__*/React
|
|
9033
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
9027
9034
|
src: footer?.components[4]?.metadata?.text ? footer?.components[4]?.metadata?.iconUrlColor : footer?.components[4]?.metadata?.iconUrl,
|
|
9028
9035
|
alt: "",
|
|
9029
9036
|
style: {
|
|
@@ -9033,12 +9040,12 @@ function Section({
|
|
|
9033
9040
|
margin: '0px 12px'
|
|
9034
9041
|
},
|
|
9035
9042
|
ref: footer?.components[4]?.refSetter
|
|
9036
|
-
})), /*#__PURE__*/React
|
|
9043
|
+
})), /*#__PURE__*/React.createElement("table", {
|
|
9037
9044
|
style: {
|
|
9038
9045
|
width: '100%',
|
|
9039
9046
|
marginTop: '13px'
|
|
9040
9047
|
}
|
|
9041
|
-
}, /*#__PURE__*/React
|
|
9048
|
+
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("p", {
|
|
9042
9049
|
style: {
|
|
9043
9050
|
// fontFamily: 'Roboto',
|
|
9044
9051
|
fontStyle: 'normal',
|
|
@@ -9048,7 +9055,7 @@ function Section({
|
|
|
9048
9055
|
textAlign: 'center',
|
|
9049
9056
|
color: '#7d8592'
|
|
9050
9057
|
}
|
|
9051
|
-
}, "For any concerns, mail us at\xA0", footer?.components[5]?.metadata?.text ? footer?.components[5]?.metadata?.text : ''), /*#__PURE__*/React
|
|
9058
|
+
}, "For any concerns, mail us at\xA0", footer?.components[5]?.metadata?.text ? footer?.components[5]?.metadata?.text : ''), /*#__PURE__*/React.createElement("p", {
|
|
9052
9059
|
style: {
|
|
9053
9060
|
// fontFamily: 'Roboto',
|
|
9054
9061
|
fontStyle: 'normal',
|
|
@@ -9058,7 +9065,7 @@ function Section({
|
|
|
9058
9065
|
textAlign: 'center',
|
|
9059
9066
|
color: '#7d8592'
|
|
9060
9067
|
}
|
|
9061
|
-
}, "Copyright \xA9 2023 |\xA0", footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.text : ''), /*#__PURE__*/React
|
|
9068
|
+
}, "Copyright \xA9 2023 |\xA0", footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.text : ''), /*#__PURE__*/React.createElement("p", {
|
|
9062
9069
|
style: {
|
|
9063
9070
|
// fontFamily: 'Roboto',
|
|
9064
9071
|
fontStyle: 'normal',
|
|
@@ -9077,7 +9084,7 @@ function EmailDripMarket({
|
|
|
9077
9084
|
}) {
|
|
9078
9085
|
const isInitialMount = useRef(true);
|
|
9079
9086
|
const convertToHtml = sectionData => {
|
|
9080
|
-
const html = ReactDOMServer.renderToStaticMarkup( /*#__PURE__*/React
|
|
9087
|
+
const html = ReactDOMServer.renderToStaticMarkup( /*#__PURE__*/React.createElement(Section, {
|
|
9081
9088
|
nodeData: sectionData,
|
|
9082
9089
|
renderHTML: true,
|
|
9083
9090
|
isProceed: extraProps.isProceed,
|
|
@@ -9095,17 +9102,17 @@ function EmailDripMarket({
|
|
|
9095
9102
|
|
|
9096
9103
|
// const mockData = sectionData?.sections[0];
|
|
9097
9104
|
const emailRef = useRef(null);
|
|
9098
|
-
return /*#__PURE__*/React
|
|
9105
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
9099
9106
|
style: {
|
|
9100
9107
|
width: '95%',
|
|
9101
9108
|
paddingBottom: '5%'
|
|
9102
9109
|
}
|
|
9103
|
-
}, /*#__PURE__*/React
|
|
9110
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9104
9111
|
onClick: e => {
|
|
9105
9112
|
e.stopPropagation(); // prevent the click from event Capturing, in email onClick events do not work
|
|
9106
9113
|
e.preventDefault();
|
|
9107
9114
|
}
|
|
9108
|
-
}, /*#__PURE__*/React
|
|
9115
|
+
}, /*#__PURE__*/React.createElement(Section, {
|
|
9109
9116
|
sectionRef: emailRef,
|
|
9110
9117
|
customHtmlData: extraProps?.customHtmlData,
|
|
9111
9118
|
nodeData: sectionData
|
|
@@ -9149,7 +9156,7 @@ const MemoisedSection = /*#__PURE__*/memo(({
|
|
|
9149
9156
|
sectionIndex
|
|
9150
9157
|
}) => {
|
|
9151
9158
|
const SectionComp = getCompToRender(sectionData.type);
|
|
9152
|
-
return /*#__PURE__*/React
|
|
9159
|
+
return /*#__PURE__*/React.createElement(SectionComp, {
|
|
9153
9160
|
sectionData: sectionData,
|
|
9154
9161
|
extraProps: extraProps,
|
|
9155
9162
|
isCustomWebsite: isCustomWebsite,
|
|
@@ -9162,7 +9169,7 @@ function SectionRenderer({
|
|
|
9162
9169
|
isCustomWebsite,
|
|
9163
9170
|
sectionIndex
|
|
9164
9171
|
}) {
|
|
9165
|
-
return /*#__PURE__*/React
|
|
9172
|
+
return /*#__PURE__*/React.createElement(MemoisedSection, {
|
|
9166
9173
|
sectionData: sectionData,
|
|
9167
9174
|
extraProps: extraProps,
|
|
9168
9175
|
isCustomWebsite: isCustomWebsite,
|
|
@@ -9228,32 +9235,32 @@ function PageRenderer({
|
|
|
9228
9235
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9229
9236
|
const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9230
9237
|
const Wrapper = SectionWrapper || Fragment;
|
|
9231
|
-
return /*#__PURE__*/React
|
|
9238
|
+
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
9232
9239
|
theme: theme
|
|
9233
|
-
}, /*#__PURE__*/React
|
|
9240
|
+
}, /*#__PURE__*/React.createElement(PageContext.Provider, {
|
|
9234
9241
|
value: context
|
|
9235
|
-
}, /*#__PURE__*/React
|
|
9242
|
+
}, /*#__PURE__*/React.createElement(FontSeeder, {
|
|
9236
9243
|
fontFamily: font
|
|
9237
|
-
}), !!header && /*#__PURE__*/React
|
|
9244
|
+
}), !!header && /*#__PURE__*/React.createElement(Wrapper, !!SectionWrapper && {
|
|
9238
9245
|
sectionData: header,
|
|
9239
9246
|
isHeader: true
|
|
9240
|
-
}, /*#__PURE__*/React
|
|
9247
|
+
}, /*#__PURE__*/React.createElement(Header, {
|
|
9241
9248
|
data: header,
|
|
9242
9249
|
isLandingPage: isLandingPage
|
|
9243
|
-
})), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React
|
|
9250
|
+
})), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React.createElement(Wrapper, _extends({}, !!SectionWrapper && {
|
|
9244
9251
|
sectionData,
|
|
9245
9252
|
sectionIndex
|
|
9246
9253
|
}, {
|
|
9247
9254
|
key: sectionData.type + (sectionData._id || sectionIndex)
|
|
9248
|
-
}), /*#__PURE__*/React
|
|
9255
|
+
}), /*#__PURE__*/React.createElement(SectionRenderer, {
|
|
9249
9256
|
sectionData: sectionData,
|
|
9250
9257
|
extraProps: extraProps,
|
|
9251
9258
|
isCustomWebsite: isCustomWebsite,
|
|
9252
9259
|
sectionIndex: sectionIndex
|
|
9253
|
-
}))) : sectionPlaceholder, !!footer && /*#__PURE__*/React
|
|
9260
|
+
}))) : sectionPlaceholder, !!footer && /*#__PURE__*/React.createElement(Wrapper, !!SectionWrapper && {
|
|
9254
9261
|
sectionData: footer,
|
|
9255
9262
|
isFooter: true
|
|
9256
|
-
}, /*#__PURE__*/React
|
|
9263
|
+
}, /*#__PURE__*/React.createElement(Footer, {
|
|
9257
9264
|
data: footer
|
|
9258
9265
|
}))));
|
|
9259
9266
|
}
|