tabexseriescomponents 0.0.152 → 0.0.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +217 -197
- package/dist/index.esm.js +217 -197
- package/dist/index.umd.js +219 -201
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -113,6 +113,8 @@ var ReactPlayer = require('react-player');
|
|
|
113
113
|
var BackgroundSlideshow = require('react-background-slideshow');
|
|
114
114
|
var _extends = require('@babel/runtime/helpers/extends');
|
|
115
115
|
var reactSlideshowImage = require('react-slideshow-image');
|
|
116
|
+
var HiOutlineLocationMarker = require('@react-icons/all-files/hi/HiOutlineLocationMarker');
|
|
117
|
+
var FiPhoneCall = require('@react-icons/all-files/fi/FiPhoneCall');
|
|
116
118
|
var BsEye = require('@react-icons/all-files/bs/BsEye');
|
|
117
119
|
var BiTimeFive = require('@react-icons/all-files/bi/BiTimeFive');
|
|
118
120
|
var IoIosArrowUp = require('@react-icons/all-files/io/IoIosArrowUp');
|
|
@@ -9359,7 +9361,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
9359
9361
|
}, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9360
9362
|
"class": section_cssstyles.line_left
|
|
9361
9363
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9362
|
-
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_cssstyles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_cssstyles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_cssstyles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_cssstyles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_cssstyles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(section_cssstyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
9364
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_cssstyles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_cssstyles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_cssstyles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_cssstyles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_cssstyles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? "".concat(section_cssstyles.sectiontitlespan) + ' ASUL mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(section_cssstyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
9363
9365
|
style: {
|
|
9364
9366
|
color: sectionproperties.sectionTitleColor,
|
|
9365
9367
|
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
@@ -9411,7 +9413,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
9411
9413
|
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px'
|
|
9412
9414
|
}
|
|
9413
9415
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9414
|
-
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : ' m-0 p-0 wordbreak',
|
|
9416
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
9415
9417
|
style: {
|
|
9416
9418
|
color: sectionproperties.prodCatColor,
|
|
9417
9419
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
@@ -9427,7 +9429,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
9427
9429
|
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px'
|
|
9428
9430
|
}
|
|
9429
9431
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9430
|
-
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
9432
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
9431
9433
|
style: {
|
|
9432
9434
|
color: sectionproperties.prodCatColor,
|
|
9433
9435
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
@@ -9456,7 +9458,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
9456
9458
|
}
|
|
9457
9459
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9458
9460
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
|
|
9459
|
-
},
|
|
9461
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9462
|
+
"class": sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
|
|
9463
|
+
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar)), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9460
9464
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center'
|
|
9461
9465
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9462
9466
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -9524,7 +9528,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
9524
9528
|
cardinfoitemprops: cardinfoitem,
|
|
9525
9529
|
sectionindexprops: index,
|
|
9526
9530
|
sectionidprops: item.sectionid,
|
|
9527
|
-
actions: actions
|
|
9531
|
+
actions: actions,
|
|
9532
|
+
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
|
|
9528
9533
|
}));
|
|
9529
9534
|
}), fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
9530
9535
|
className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center mt-4 ',
|
|
@@ -9553,7 +9558,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
9553
9558
|
cardinfoitemprops: cardinfoitem,
|
|
9554
9559
|
sectionindexprops: index,
|
|
9555
9560
|
sectionidprops: item.sectionid,
|
|
9556
|
-
actions: actions
|
|
9561
|
+
actions: actions,
|
|
9562
|
+
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
|
|
9557
9563
|
}));
|
|
9558
9564
|
}), fetchingtype == 'products' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9559
9565
|
className: "w-100 col-lg-12 allcentered mt-2"
|
|
@@ -35625,9 +35631,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
35625
35631
|
}, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
35626
35632
|
"class": sectionStyles.line_left
|
|
35627
35633
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
35628
|
-
"class":
|
|
35629
|
-
// font-sm-18 font-md-20
|
|
35630
|
-
sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(sectionStyles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(sectionStyles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(sectionStyles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(sectionStyles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(sectionStyles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(sectionStyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
35634
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(sectionStyles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(sectionStyles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(sectionStyles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(sectionStyles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(sectionStyles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(sectionStyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
35631
35635
|
style: {
|
|
35632
35636
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
35633
35637
|
color: sectionproperties.sectionTitleColor,
|
|
@@ -35638,7 +35642,23 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
35638
35642
|
}
|
|
35639
35643
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
35640
35644
|
"class": sectionStyles.line_right
|
|
35641
|
-
})))),
|
|
35645
|
+
})))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35646
|
+
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 d-md-none ',
|
|
35647
|
+
style: {
|
|
35648
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
|
|
35649
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
35650
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
35651
|
+
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px'
|
|
35652
|
+
}
|
|
35653
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
35654
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : ' m-0 p-0 wordbreak',
|
|
35655
|
+
style: {
|
|
35656
|
+
color: sectionproperties.prodCatColor,
|
|
35657
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
35658
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
35659
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
35660
|
+
}
|
|
35661
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
35642
35662
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35643
35663
|
"class": "col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start mb-md-3 align-items-stretch",
|
|
35644
35664
|
style: {
|
|
@@ -37427,58 +37447,30 @@ var TwoWayServiceSectionWithImage = function TwoWayServiceSectionWithImage(props
|
|
|
37427
37447
|
function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
37428
37448
|
function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
37429
37449
|
var ContactUsSection = function ContactUsSection(props) {
|
|
37450
|
+
var _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i10;
|
|
37430
37451
|
var _useState = React.useState(''),
|
|
37431
37452
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
37432
37453
|
sectionproperties = _useState2[0],
|
|
37433
37454
|
setsectionproperties = _useState2[1];
|
|
37434
|
-
var _useState3 = React.useState([]),
|
|
37435
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
37436
|
-
bgimagesarray = _useState4[0],
|
|
37437
|
-
setbgimagesarray = _useState4[1];
|
|
37438
|
-
var _useState5 = React.useState([]),
|
|
37439
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
37440
|
-
cardsarray = _useState6[0],
|
|
37441
|
-
setcardsarray = _useState6[1];
|
|
37442
37455
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
37443
37456
|
props.actions.lang;
|
|
37444
37457
|
var langdetect = props.actions.langdetect;
|
|
37458
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
37445
37459
|
React.useEffect(function () {
|
|
37446
|
-
|
|
37447
|
-
|
|
37448
|
-
|
|
37449
|
-
|
|
37450
|
-
|
|
37451
|
-
|
|
37452
|
-
} else {
|
|
37453
|
-
var secpropobj = {};
|
|
37454
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
37455
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
37456
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
37457
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
37458
|
-
});
|
|
37459
|
-
}
|
|
37460
|
-
});
|
|
37461
|
-
setsectionproperties(_objectSpread$z({}, secpropobj));
|
|
37462
|
-
}
|
|
37463
|
-
}, [StatePagePropertiesContext]);
|
|
37464
|
-
React.useEffect(function () {
|
|
37465
|
-
if (sectionproperties.length != 0) {
|
|
37466
|
-
if (sectionproperties.bgsection_imagearrayofobjs != null) {
|
|
37467
|
-
var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.bgsection_imagearrayofobjs);
|
|
37468
|
-
if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
|
|
37469
|
-
setbgimagesarray(_toConsumableArray__default["default"](bgsection_imagearrayofobjsparsed));
|
|
37470
|
-
}
|
|
37471
|
-
}
|
|
37472
|
-
if (sectionproperties.card_arrayofobjects != null) {
|
|
37473
|
-
var card_arrayofobjectsparsed = JSON.parse(sectionproperties.card_arrayofobjects);
|
|
37474
|
-
if (Array.isArray(card_arrayofobjectsparsed)) {
|
|
37475
|
-
setcardsarray(_toConsumableArray__default["default"](card_arrayofobjectsparsed));
|
|
37476
|
-
}
|
|
37460
|
+
var secpropobj = {};
|
|
37461
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
37462
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
37463
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
37464
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
37465
|
+
});
|
|
37477
37466
|
}
|
|
37478
|
-
}
|
|
37479
|
-
|
|
37467
|
+
});
|
|
37468
|
+
setsectionproperties(_objectSpread$z({}, secpropobj));
|
|
37469
|
+
}, [StatePagePropertiesContext]);
|
|
37480
37470
|
var section_styles = {
|
|
37481
37471
|
cards_sections: glamor.css({
|
|
37472
|
+
width: sectionproperties.width + 'vw',
|
|
37473
|
+
height: sectionproperties.height + 'vh',
|
|
37482
37474
|
marginTop: sectionproperties.marginTop + 'px',
|
|
37483
37475
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
37484
37476
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
@@ -37486,170 +37478,180 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
37486
37478
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
37487
37479
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
37488
37480
|
background: sectionproperties.backgroundColor,
|
|
37489
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
37490
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
37491
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
37492
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
37481
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
37482
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
37483
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
37484
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
37493
37485
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
37494
37486
|
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
37495
37487
|
}),
|
|
37496
|
-
|
|
37497
|
-
|
|
37498
|
-
|
|
37499
|
-
|
|
37500
|
-
|
|
37501
|
-
|
|
37502
|
-
|
|
37503
|
-
|
|
37504
|
-
|
|
37505
|
-
|
|
37506
|
-
|
|
37507
|
-
|
|
37488
|
+
sectionTitle: glamor.css({
|
|
37489
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
37490
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
37491
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
37492
|
+
color: sectionproperties.sectionTitleColor
|
|
37493
|
+
}),
|
|
37494
|
+
description: glamor.css({
|
|
37495
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
37496
|
+
color: sectionproperties.prodCatColor,
|
|
37497
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
37498
|
+
}),
|
|
37499
|
+
iconContainer: glamor.css({
|
|
37500
|
+
width: sectionproperties.iconcontainerwidth + 'vh',
|
|
37501
|
+
height: sectionproperties.iconcontainerheight + 'vh',
|
|
37502
|
+
border: sectionproperties.iconcontainer_borderWidth + 'px solid ' + sectionproperties.iconcontainer_bordercolor,
|
|
37503
|
+
borderRadius: sectionproperties.iconcontainerborderbl + 'px',
|
|
37504
|
+
background: sectionproperties.iconcontainerbg,
|
|
37505
|
+
color: sectionproperties.iconcontainercolor,
|
|
37506
|
+
transition: '.3s',
|
|
37507
|
+
':hover': {
|
|
37508
|
+
color: sectionproperties.iconcontainercoloronhover
|
|
37508
37509
|
}
|
|
37509
37510
|
}),
|
|
37510
|
-
|
|
37511
|
-
|
|
37512
|
-
|
|
37513
|
-
|
|
37514
|
-
|
|
37515
|
-
|
|
37516
|
-
|
|
37517
|
-
|
|
37518
|
-
|
|
37519
|
-
|
|
37520
|
-
|
|
37521
|
-
|
|
37522
|
-
|
|
37511
|
+
storeinfotitle: glamor.css({
|
|
37512
|
+
fontSize: sectionproperties.footerinfotext_secondaryfontsize + 'px',
|
|
37513
|
+
fontWeight: sectionproperties.footerinfotext_secondaryfontweight,
|
|
37514
|
+
color: sectionproperties.footerinfotext_secondarycolor
|
|
37515
|
+
}),
|
|
37516
|
+
storeinfo: glamor.css({
|
|
37517
|
+
cursor: 'pointer',
|
|
37518
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
37519
|
+
color: sectionproperties.footerinfotext_color,
|
|
37520
|
+
fontWeight: sectionproperties.footerinfotext_fontweight,
|
|
37521
|
+
transition: '.3s',
|
|
37522
|
+
':hover .storeinfo': {
|
|
37523
|
+
color: sectionproperties.footerinfotext_coloronhover,
|
|
37524
|
+
transition: '.3s'
|
|
37525
|
+
},
|
|
37526
|
+
':hover .storeinfoicon': {
|
|
37527
|
+
backgroundColor: sectionproperties.iconcontainerbgonhover,
|
|
37528
|
+
transition: '.3s'
|
|
37523
37529
|
}
|
|
37524
37530
|
})
|
|
37525
37531
|
};
|
|
37526
|
-
var
|
|
37527
|
-
return /*#__PURE__*/React__default["default"].createElement("
|
|
37532
|
+
var SectionTitle = function SectionTitle() {
|
|
37533
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37534
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? section_styles.sectionTitle + ' PacificoFont p-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? section_styles.sectionTitle + ' PlayfairFont p-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? section_styles.sectionTitle + ' GreatvibesFont p-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? section_styles.sectionTitle + ' QuicksandFont p-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? section_styles.sectionTitle + ' SatisfyFont p-0 wordbreak ' : section_styles.sectionTitle + ' p-0 wordbreak ',
|
|
37528
37535
|
style: {
|
|
37529
|
-
|
|
37530
|
-
|
|
37531
|
-
|
|
37532
|
-
|
|
37533
|
-
|
|
37534
|
-
|
|
37535
|
-
|
|
37536
|
-
publicKey: IKpublicKey,
|
|
37537
|
-
path: bgimagesarray.length != 0 ? bgimagesarray[0].bgsection_image : '',
|
|
37536
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
37537
|
+
}
|
|
37538
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar);
|
|
37539
|
+
};
|
|
37540
|
+
var Description = function Description() {
|
|
37541
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37542
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? section_styles.description + ' PacificoFont p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? section_styles.description + ' PlayfairFont p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? section_styles.description + ' GreatvibesFont p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? section_styles.description + ' QuicksandFont p-0 wordbreak ' : sectionproperties.descFontFamily == 'Satisfy' ? section_styles.description + ' SatisfyFont p-0 wordbreak ' : section_styles.description + ' p-0 wordbreak ',
|
|
37538
37543
|
style: {
|
|
37539
|
-
|
|
37540
|
-
height: sectionproperties.image_height + 'px',
|
|
37541
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
37542
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
37543
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
37544
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
37545
|
-
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
37546
|
-
border: sectionproperties.image_borderwidth + ' solid ' + sectionproperties.image_bordercolor,
|
|
37547
|
-
objectFit: sectionproperties.bgcovercontain
|
|
37544
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
37548
37545
|
}
|
|
37549
|
-
})
|
|
37546
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
|
|
37550
37547
|
};
|
|
37551
37548
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37552
|
-
"class":
|
|
37553
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37554
|
-
"class": section_styles.cards_sections + ' col-lg-12 pl-md-2 pr-md-2 '
|
|
37555
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37556
|
-
"class": "row m-0 d-flex justify-content-center w-100"
|
|
37549
|
+
"class": section_styles.cards_sections + ' row m-0 d-flex align-items-center h-md-100vh pl-sm-3 pr-sm-3 pb-md-5 '
|
|
37557
37550
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37558
|
-
"class":
|
|
37559
|
-
}, imagesection()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37560
|
-
"class": "col-lg-6 mb-md-3 d-flex justify-content-start h-100"
|
|
37561
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37562
|
-
"class": "row ml-0 mr-0 w-100 mb-auto",
|
|
37551
|
+
"class": ' col-lg-12 p-0 h-100 ',
|
|
37563
37552
|
style: {
|
|
37564
|
-
|
|
37553
|
+
overflow: 'hidden'
|
|
37565
37554
|
}
|
|
37566
37555
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37567
|
-
"class": "
|
|
37568
|
-
style: {
|
|
37569
|
-
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px'
|
|
37570
|
-
}
|
|
37556
|
+
"class": "row m-0 d-flex justify-content-center w-100 h-100"
|
|
37571
37557
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37572
|
-
"class": "
|
|
37558
|
+
"class": "col-lg-6 d-flex align-items-center justify-content-start flex-column p-0"
|
|
37573
37559
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37574
|
-
"class": "
|
|
37560
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start pl-5 pr-5 pl-md-2 pr-md-2 p-sm-0"
|
|
37561
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37562
|
+
"class": "col-lg-12 p-0 d-flex d-sm-none align-items-center",
|
|
37575
37563
|
style: {
|
|
37576
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
37564
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
37565
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
37577
37566
|
}
|
|
37578
|
-
},
|
|
37567
|
+
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37568
|
+
"class": "col-lg-12 p-0 d-none d-sm-flex align-items-center justify-content-start",
|
|
37579
37569
|
style: {
|
|
37580
|
-
|
|
37581
|
-
|
|
37582
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
37583
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
37584
|
-
position: 'relative'
|
|
37570
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
37571
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
37585
37572
|
}
|
|
37586
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
37587
|
-
"class": ""
|
|
37588
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37589
|
-
"class": "col-lg-12 d-flex justify-content-md-center p-0",
|
|
37573
|
+
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37574
|
+
"class": "col-lg-12 p-0 d-flex d-sm-none align-items-center",
|
|
37590
37575
|
style: {
|
|
37591
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
37576
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
37577
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
37592
37578
|
}
|
|
37593
|
-
},
|
|
37594
|
-
|
|
37579
|
+
}, Description()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37580
|
+
"class": "col-lg-12 p-0 d-none d-sm-flex align-items-center",
|
|
37595
37581
|
style: {
|
|
37596
|
-
|
|
37597
|
-
|
|
37598
|
-
|
|
37599
|
-
|
|
37600
|
-
|
|
37582
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
37583
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
37584
|
+
}
|
|
37585
|
+
}, Description()), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37586
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
37587
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37588
|
+
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row mb-4 ',
|
|
37589
|
+
onClick: function onClick() {
|
|
37590
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
37591
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.contactinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.email), '_self');
|
|
37601
37592
|
}
|
|
37602
37593
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37603
|
-
"class":
|
|
37604
|
-
|
|
37605
|
-
|
|
37594
|
+
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
37595
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
37596
|
+
"class": "h-100 allcentered"
|
|
37597
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMail.AiOutlineMail, {
|
|
37598
|
+
size: sectionproperties.iconcontainer_iconfontsize
|
|
37599
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37600
|
+
"class": "ml-2 mr-2 d-flex justify-content-start flex-column"
|
|
37601
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37602
|
+
"class": section_styles.storeinfotitle
|
|
37603
|
+
}, "Email us"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37604
|
+
"class": "storeinfo"
|
|
37605
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email)))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37606
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
37607
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37608
|
+
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row mb-4 ',
|
|
37609
|
+
onClick: function onClick() {
|
|
37610
|
+
var _authdetailsContext$i5, _authdetailsContext$i6;
|
|
37611
|
+
window.open('tel:+' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : (_authdetailsContext$i6 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.mobile), '_blank');
|
|
37606
37612
|
}
|
|
37607
|
-
},
|
|
37608
|
-
"class":
|
|
37613
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37614
|
+
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
37615
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
37616
|
+
"class": "h-100 allcentered"
|
|
37617
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPhoneCall.FiPhoneCall, {
|
|
37618
|
+
size: sectionproperties.iconcontainer_iconfontsize
|
|
37619
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37620
|
+
"class": "ml-2 mr-2 d-flex justify-content-start flex-column"
|
|
37621
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37622
|
+
"class": section_styles.storeinfotitle
|
|
37623
|
+
}, "Call us"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37624
|
+
"class": "storeinfo"
|
|
37625
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.mobile)))), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37626
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
37609
37627
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37610
|
-
"class": 'p-
|
|
37611
|
-
|
|
37612
|
-
|
|
37613
|
-
|
|
37614
|
-
color: sectionproperties.prodCatColor,
|
|
37615
|
-
fontWeight: sectionproperties.prodCatFontWeight,
|
|
37616
|
-
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
37617
|
-
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
37628
|
+
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row mb-5 ',
|
|
37629
|
+
onClick: function onClick() {
|
|
37630
|
+
var _authdetailsContext$i9;
|
|
37631
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.googlemapslink);
|
|
37618
37632
|
}
|
|
37619
|
-
},
|
|
37620
|
-
|
|
37621
|
-
|
|
37622
|
-
|
|
37623
|
-
|
|
37624
|
-
|
|
37625
|
-
|
|
37626
|
-
|
|
37627
|
-
|
|
37628
|
-
|
|
37629
|
-
|
|
37630
|
-
|
|
37631
|
-
|
|
37632
|
-
|
|
37633
|
-
|
|
37634
|
-
|
|
37635
|
-
|
|
37636
|
-
|
|
37637
|
-
|
|
37638
|
-
|
|
37639
|
-
|
|
37640
|
-
|
|
37641
|
-
}, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37642
|
-
"class": "m-0 p-0 wordbreak wordbreak3",
|
|
37643
|
-
style: {
|
|
37644
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
37645
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
37646
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
37647
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
37648
|
-
}
|
|
37649
|
-
}, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_descripen : cardsarray[cardinfoindex].cardobj_descripar))));
|
|
37650
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37651
|
-
"class": "col-lg-6 d-none d-md-flex justify-content-end justify-content-md-center pl-3 pr-3"
|
|
37652
|
-
}, imagesection()))));
|
|
37633
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37634
|
+
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
37635
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
37636
|
+
"class": "h-100 allcentered"
|
|
37637
|
+
}, /*#__PURE__*/React__default["default"].createElement(HiOutlineLocationMarker.HiOutlineLocationMarker, {
|
|
37638
|
+
size: sectionproperties.iconcontainer_iconfontsize
|
|
37639
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37640
|
+
"class": "ml-2 mr-2 d-flex justify-content-start flex-column"
|
|
37641
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37642
|
+
"class": section_styles.storeinfotitle
|
|
37643
|
+
}, "Visit us"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
37644
|
+
"class": "storeinfo"
|
|
37645
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.address_en)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37646
|
+
"class": "col-lg-6 allcentered p-0 h-100"
|
|
37647
|
+
}, /*#__PURE__*/React__default["default"].createElement("iframe", {
|
|
37648
|
+
src: "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3454.576281041015!2d31.49283901495739!3d30.020320781891087!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x145822591a17706b%3A0xc9f886adcffbb941!2sPoint%2090%20Mall!5e0!3m2!1sen!2seg!4v1669632726995!5m2!1sen!2seg",
|
|
37649
|
+
width: "100%",
|
|
37650
|
+
height: "100%",
|
|
37651
|
+
allowfullscreen: "",
|
|
37652
|
+
loading: "lazy",
|
|
37653
|
+
referrerpolicy: "no-referrer-when-downgrade"
|
|
37654
|
+
})))));
|
|
37653
37655
|
};
|
|
37654
37656
|
|
|
37655
37657
|
function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -41283,11 +41285,6 @@ var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
|
41283
41285
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
41284
41286
|
props.actions.lang;
|
|
41285
41287
|
var langdetect = props.actions.langdetect;
|
|
41286
|
-
props.actions.routingcountext;
|
|
41287
|
-
props.actions.StaticPagesLinksContext;
|
|
41288
|
-
props.addtofavoritescontext;
|
|
41289
|
-
props.setShowProductInfoModalContext;
|
|
41290
|
-
props.setProductIdProdutInfoModalContext;
|
|
41291
41288
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
41292
41289
|
var _useState5 = React.useState(props.cardinfoindexprops),
|
|
41293
41290
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
@@ -44630,7 +44627,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
44630
44627
|
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
44631
44628
|
}
|
|
44632
44629
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44633
|
-
"class":
|
|
44630
|
+
"class": props.fontFamilyprops == 'ASUL' ? ' ASUL m-0 p-0 text-uppercase' : ' m-0 p-0 text-uppercase',
|
|
44634
44631
|
style: {
|
|
44635
44632
|
color: sectionproperties.badge_color,
|
|
44636
44633
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
@@ -44660,14 +44657,18 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
44660
44657
|
setShowProductInfoModalContext(true);
|
|
44661
44658
|
setProductIdProdutInfoModalContext(item.productid);
|
|
44662
44659
|
}
|
|
44663
|
-
},
|
|
44660
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
44661
|
+
"class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
|
|
44662
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44664
44663
|
"class": "".concat(card_cssstyles.cart_btnresponsive) + ' cursor-pointer d-none d-md-flex d-sm-flex align-items-center justify-content-center w-sm-80 ',
|
|
44665
44664
|
onClick: function onClick(e) {
|
|
44666
44665
|
e.stopPropagation();
|
|
44667
44666
|
setShowProductInfoModalContext(true);
|
|
44668
44667
|
setProductIdProdutInfoModalContext(item.productid);
|
|
44669
44668
|
}
|
|
44670
|
-
},
|
|
44669
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
44670
|
+
"class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
|
|
44671
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44671
44672
|
"class": 'row m-0 w-100 text-center mt-2'
|
|
44672
44673
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44673
44674
|
"class": "col-lg-12 p-0"
|
|
@@ -44675,13 +44676,13 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
44675
44676
|
onClick: function onClick() {
|
|
44676
44677
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44677
44678
|
},
|
|
44678
|
-
"class": "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
|
|
44679
|
+
"class": props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 100 && sectionproperties.prodNameFontWeight < 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-400 ' : props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-700 ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
|
|
44679
44680
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44680
44681
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0"
|
|
44681
44682
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44682
|
-
"class": "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
|
|
44683
|
+
"class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
|
|
44683
44684
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44684
|
-
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 p-0 mr-2 ml-2 font-md-15 '
|
|
44685
|
+
"class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productSalePricestyles) + ' ASUL linethrough m-0 p-0 mr-2 ml-2 font-md-15 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 p-0 mr-2 ml-2 font-md-15 '
|
|
44685
44686
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')))));
|
|
44686
44687
|
};
|
|
44687
44688
|
|
|
@@ -45873,7 +45874,26 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
45873
45874
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
45874
45875
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
45875
45876
|
height: sectionproperties.image_height + 'px',
|
|
45876
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
45877
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
45878
|
+
overflow: 'hidden',
|
|
45879
|
+
position: 'relative',
|
|
45880
|
+
':before': {
|
|
45881
|
+
position: 'absolute',
|
|
45882
|
+
content: 's',
|
|
45883
|
+
fontSize: 0,
|
|
45884
|
+
width: '100%',
|
|
45885
|
+
height: '100%',
|
|
45886
|
+
backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
|
|
45887
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
45888
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
45889
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
45890
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
45891
|
+
zIndex: 100
|
|
45892
|
+
},
|
|
45893
|
+
':hover:before': {
|
|
45894
|
+
transition: '.3s',
|
|
45895
|
+
backgroundColor: 'rgba(0,0,0,0)'
|
|
45896
|
+
}
|
|
45877
45897
|
}),
|
|
45878
45898
|
categoryname: glamor.css({
|
|
45879
45899
|
color: sectionproperties.generaltext_fontColor,
|
|
@@ -45943,7 +45963,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
45943
45963
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
45944
45964
|
},
|
|
45945
45965
|
loading: "lazy"
|
|
45946
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45966
|
+
})), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45947
45967
|
"class": "col-lg-12 p-0 allcentered"
|
|
45948
45968
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45949
45969
|
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center '
|