tabexseriescomponents 0.0.808 → 0.0.811
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 +263 -295
- package/dist/index.esm.js +263 -295
- package/dist/index.umd.js +263 -295
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12938,7 +12938,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12938
12938
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2n({}, tempFetchTabexStatesPayloadobjContext));
|
|
12939
12939
|
payloadobjchange('countryid', option.id);
|
|
12940
12940
|
},
|
|
12941
|
-
styles:
|
|
12941
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12942
12942
|
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
12943
12943
|
isSearchable: true
|
|
12944
12944
|
}), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
@@ -13022,7 +13022,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
13022
13022
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2n({}, tempFetchTabexStatesPayloadobjContext));
|
|
13023
13023
|
payloadobjchange('stateid', option.id);
|
|
13024
13024
|
},
|
|
13025
|
-
styles:
|
|
13025
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
13026
13026
|
placeholder: lang.choosestategov,
|
|
13027
13027
|
isSearchable: true
|
|
13028
13028
|
}), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
@@ -13102,7 +13102,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
13102
13102
|
onChange: function onChange(option) {
|
|
13103
13103
|
payloadobjchange('cityid', option.id);
|
|
13104
13104
|
},
|
|
13105
|
-
styles:
|
|
13105
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
13106
13106
|
placeholder: lang.choosecity,
|
|
13107
13107
|
isSearchable: true
|
|
13108
13108
|
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
@@ -16742,6 +16742,15 @@ var Filter$1 = function Filter(props) {
|
|
|
16742
16742
|
tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
16743
16743
|
isattrexists = true;
|
|
16744
16744
|
}
|
|
16745
|
+
// if (attritem.id == slecitem.featureid) {
|
|
16746
|
+
// if (tempproductfeatuesarr[attrindex].value == slecitem.value_en) {
|
|
16747
|
+
// tempproductfeatuesarr.splice(attrindex, 1);
|
|
16748
|
+
// isattrexists = true;
|
|
16749
|
+
// } else {
|
|
16750
|
+
// tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
16751
|
+
// isattrexists = true;
|
|
16752
|
+
// }
|
|
16753
|
+
// }
|
|
16745
16754
|
});
|
|
16746
16755
|
}
|
|
16747
16756
|
if (isattrexists == false) {
|
|
@@ -17327,9 +17336,13 @@ var Filter$1 = function Filter(props) {
|
|
|
17327
17336
|
// minValue={parseInt(sectionproperties.filterpriceminvalue)}
|
|
17328
17337
|
,
|
|
17329
17338
|
maxValue: parseInt(5000),
|
|
17330
|
-
minValue: parseInt(
|
|
17339
|
+
minValue: parseInt(1),
|
|
17331
17340
|
value: price_rangevalue,
|
|
17332
17341
|
onChange: function onChange(value) {
|
|
17342
|
+
// alert(JSON.stringify(value));
|
|
17343
|
+
// if (value.min == 0) {
|
|
17344
|
+
// value.min = 1;
|
|
17345
|
+
// }
|
|
17333
17346
|
setprice_rangevalue(_objectSpread$2f({}, value));
|
|
17334
17347
|
}
|
|
17335
17348
|
})));
|
|
@@ -31392,8 +31405,201 @@ styleInject(css_248z$v);
|
|
|
31392
31405
|
|
|
31393
31406
|
function ownKeys$1W(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
31394
31407
|
function _objectSpread$1W(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1W(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1W(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31408
|
+
var FloatingIcons = function FloatingIcons(props) {
|
|
31409
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
31410
|
+
var _useState = React.useState(''),
|
|
31411
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
31412
|
+
sectionproperties = _useState2[0],
|
|
31413
|
+
setsectionproperties = _useState2[1];
|
|
31414
|
+
var langdetect = props.actions.langdetect;
|
|
31415
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
31416
|
+
var routingcountext = props.actions.routingcountext;
|
|
31417
|
+
React.useEffect(function () {
|
|
31418
|
+
if (props.sectionpropertiesprops != undefined) {
|
|
31419
|
+
setsectionproperties(_objectSpread$1W({}, props.sectionpropertiesprops));
|
|
31420
|
+
}
|
|
31421
|
+
}, [props.sectionpropertiesprops]);
|
|
31422
|
+
var header_cssstyles = {
|
|
31423
|
+
floatingwaicon: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
31424
|
+
position: 'fixed',
|
|
31425
|
+
zIndex: 999999,
|
|
31426
|
+
transition: 'all 0.3s ease-out',
|
|
31427
|
+
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
31428
|
+
right: sectionproperties.floatingwhatsapppositionfromright + 'px',
|
|
31429
|
+
width: sectionproperties.floatingwhatsappiconwidth + 'px',
|
|
31430
|
+
height: sectionproperties.floatingwhatappiconheight + 'px',
|
|
31431
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
31432
|
+
borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
|
|
31433
|
+
fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
|
|
31434
|
+
color: sectionproperties.floatingwhatsappiconcolor
|
|
31435
|
+
}, "bottom", 70), "fontSize", 15), ':hover', {
|
|
31436
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover,
|
|
31437
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
31438
|
+
})),
|
|
31439
|
+
fbfloatingicon: glamor.css({
|
|
31440
|
+
position: 'fixed',
|
|
31441
|
+
zIndex: 999999,
|
|
31442
|
+
transition: 'all 0.3s ease-out',
|
|
31443
|
+
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
31444
|
+
right: sectionproperties.floatingfbfromright + 'px',
|
|
31445
|
+
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
31446
|
+
height: sectionproperties.floatingfbiconheight + 'px',
|
|
31447
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
31448
|
+
borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
|
|
31449
|
+
fontSize: sectionproperties.floatingfbiconfontsize + 'px',
|
|
31450
|
+
color: sectionproperties.floatingfbiconiconcolor,
|
|
31451
|
+
':hover': {
|
|
31452
|
+
color: sectionproperties.floatingfbiconiconcoloronhover,
|
|
31453
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
31454
|
+
}
|
|
31455
|
+
}),
|
|
31456
|
+
instagramfloatingicon: glamor.css({
|
|
31457
|
+
position: 'fixed',
|
|
31458
|
+
zIndex: 999999,
|
|
31459
|
+
transition: 'all 0.3s ease-out',
|
|
31460
|
+
bottom: sectionproperties.floatinginstagramfrombottom + 'px',
|
|
31461
|
+
right: sectionproperties.floatinginstagramfromright + 'px',
|
|
31462
|
+
width: sectionproperties.floatinginstagramiconwidth + 'px',
|
|
31463
|
+
height: sectionproperties.floatinginstagramiconheight + 'px',
|
|
31464
|
+
background: sectionproperties.floatinginstagramiconbgcolor,
|
|
31465
|
+
borderRadius: sectionproperties.floatinginstagramiconborderradius + 'px',
|
|
31466
|
+
color: sectionproperties.floatinginstagramiconiconcolor,
|
|
31467
|
+
':hover': {
|
|
31468
|
+
color: sectionproperties.floatinginstagramiconiconcoloronhover,
|
|
31469
|
+
background: sectionproperties.floatinginstagramiconbgcoloronhover
|
|
31470
|
+
}
|
|
31471
|
+
}),
|
|
31472
|
+
floatingbtn: glamor.css({
|
|
31473
|
+
position: 'fixed',
|
|
31474
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
31475
|
+
right: sectionproperties.floatingbtnfromright + 'px',
|
|
31476
|
+
zIndex: 999999,
|
|
31477
|
+
transition: 'all 0.3s ease-out',
|
|
31478
|
+
width: sectionproperties.floatingbtnwidth + 'px',
|
|
31479
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
31480
|
+
background: sectionproperties.floatingbtnbg,
|
|
31481
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
31482
|
+
color: sectionproperties.floatingbtncolor,
|
|
31483
|
+
borderRadius: sectionproperties.floatingbuttonborderradius + 'px',
|
|
31484
|
+
':hover': {
|
|
31485
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
31486
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
31487
|
+
transitions: '.3s',
|
|
31488
|
+
cursor: 'pointer'
|
|
31489
|
+
}
|
|
31490
|
+
// '@media (max-width: 800px)': {
|
|
31491
|
+
// width: '50%',
|
|
31492
|
+
// },
|
|
31493
|
+
})
|
|
31494
|
+
};
|
|
31495
|
+
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
|
|
31496
|
+
var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
|
|
31497
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31498
|
+
"class": '',
|
|
31499
|
+
style: {
|
|
31500
|
+
position: 'relative'
|
|
31501
|
+
}
|
|
31502
|
+
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
31503
|
+
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
31504
|
+
target: "_blank",
|
|
31505
|
+
rel: "noopener noreferrer",
|
|
31506
|
+
style: {},
|
|
31507
|
+
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
31508
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
31509
|
+
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
31510
|
+
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
31511
|
+
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
31512
|
+
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar)), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31513
|
+
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
31514
|
+
onClick: function onClick() {
|
|
31515
|
+
var _authdetailsContext$i3;
|
|
31516
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
31517
|
+
var _authdetailsContext$i4;
|
|
31518
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
31519
|
+
}
|
|
31520
|
+
}
|
|
31521
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
31522
|
+
size: sectionproperties.floatingfbiconiconsize
|
|
31523
|
+
})), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31524
|
+
"class": "".concat(header_cssstyles.instagramfloatingicon) + ' allcentered cursor-pointer ',
|
|
31525
|
+
onClick: function onClick() {
|
|
31526
|
+
var _authdetailsContext$i5;
|
|
31527
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
31528
|
+
var _authdetailsContext$i6;
|
|
31529
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
31530
|
+
}
|
|
31531
|
+
}
|
|
31532
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
31533
|
+
size: sectionproperties.floatinginstagramiconiconsize
|
|
31534
|
+
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31535
|
+
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
31536
|
+
onClick: function onClick() {
|
|
31537
|
+
var _authdetailsContext$i7;
|
|
31538
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
31539
|
+
var _authdetailsContext$i8;
|
|
31540
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
31541
|
+
}
|
|
31542
|
+
}
|
|
31543
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
31544
|
+
size: 20
|
|
31545
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31546
|
+
"class": header_cssstyles.floatingbtn + ' allcentered cursor-pointer ',
|
|
31547
|
+
style: {},
|
|
31548
|
+
onClick: function onClick() {
|
|
31549
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
31550
|
+
}
|
|
31551
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
31552
|
+
"class": "m-0 p-0"
|
|
31553
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31554
|
+
style: {
|
|
31555
|
+
position: 'fixed',
|
|
31556
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
31557
|
+
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
31558
|
+
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
31559
|
+
zIndex: 2000,
|
|
31560
|
+
transition: 'all 0.3s ease-out',
|
|
31561
|
+
width: '100%'
|
|
31562
|
+
},
|
|
31563
|
+
"class": "text-end"
|
|
31564
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31565
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
31566
|
+
style: {},
|
|
31567
|
+
onClick: function onClick() {
|
|
31568
|
+
if (sectionproperties.btnlinktype == 'Website Link') {
|
|
31569
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
31570
|
+
} else {
|
|
31571
|
+
window.open(sectionproperties.floatingbtnlink, '_blank');
|
|
31572
|
+
|
|
31573
|
+
// routingcountext(sectionproperties.floatingbtnlink, true, '');
|
|
31574
|
+
}
|
|
31575
|
+
}
|
|
31576
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
31577
|
+
"class": "m-0 p-0"
|
|
31578
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
31579
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
31580
|
+
target: '_self',
|
|
31581
|
+
style: {
|
|
31582
|
+
position: 'fixed',
|
|
31583
|
+
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
31584
|
+
right: sectionproperties.callppositionfromright + 'px',
|
|
31585
|
+
zIndex: 999999,
|
|
31586
|
+
transition: 'all 0.3s ease-out'
|
|
31587
|
+
}
|
|
31588
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
31589
|
+
"class": langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
31590
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
31591
|
+
size: 30,
|
|
31592
|
+
color: sectionproperties.uppersection_iconcolor,
|
|
31593
|
+
style: {
|
|
31594
|
+
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
31595
|
+
}
|
|
31596
|
+
}))));
|
|
31597
|
+
};
|
|
31598
|
+
|
|
31599
|
+
function ownKeys$1V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
31600
|
+
function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31395
31601
|
var Simpleheader = function Simpleheader(props) {
|
|
31396
|
-
var _header_cssstyles, _authdetailsContext$i,
|
|
31602
|
+
var _header_cssstyles, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
31397
31603
|
var actions = props.actions;
|
|
31398
31604
|
var _useState = React.useState(''),
|
|
31399
31605
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -31439,7 +31645,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
31439
31645
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31440
31646
|
});
|
|
31441
31647
|
}
|
|
31442
|
-
setsectionproperties(_objectSpread$
|
|
31648
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
31443
31649
|
}, [StatePagePropertiesContext]);
|
|
31444
31650
|
React.useEffect(function () {
|
|
31445
31651
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -31690,98 +31896,14 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
31690
31896
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
31691
31897
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
31692
31898
|
}
|
|
31693
|
-
},
|
|
31899
|
+
}, /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
|
|
31900
|
+
sectionpropertiesprops: sectionproperties,
|
|
31901
|
+
actions: actions
|
|
31902
|
+
}), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
31694
31903
|
sectionpropertiesprops: sectionproperties,
|
|
31695
31904
|
templateproperties_contextprops: templateproperties_context,
|
|
31696
31905
|
actions: actions
|
|
31697
|
-
}),
|
|
31698
|
-
style: {
|
|
31699
|
-
position: 'fixed',
|
|
31700
|
-
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
31701
|
-
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
31702
|
-
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
31703
|
-
zIndex: 2000,
|
|
31704
|
-
transition: 'all 0.3s ease-out',
|
|
31705
|
-
width: '100%',
|
|
31706
|
-
display: sectionproperties.showfloatingbtn == 'Show when logged in' ? 'none' : 'flex'
|
|
31707
|
-
},
|
|
31708
|
-
"class": "text-end"
|
|
31709
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31710
|
-
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
31711
|
-
style: {},
|
|
31712
|
-
onClick: function onClick() {
|
|
31713
|
-
if (sectionproperties.btnlinktype == 'Website Link') {
|
|
31714
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
31715
|
-
} else {
|
|
31716
|
-
window.open(sectionproperties.floatingbtnlink, '_blank');
|
|
31717
|
-
|
|
31718
|
-
// routingcountext(sectionproperties.floatingbtnlink, true, '');
|
|
31719
|
-
}
|
|
31720
|
-
}
|
|
31721
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
31722
|
-
"class": "m-0 p-0"
|
|
31723
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31724
|
-
style: {
|
|
31725
|
-
position: 'fixed',
|
|
31726
|
-
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
31727
|
-
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
31728
|
-
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
31729
|
-
zIndex: 2000,
|
|
31730
|
-
transition: 'all 0.3s ease-out',
|
|
31731
|
-
width: '100%'
|
|
31732
|
-
},
|
|
31733
|
-
"class": "text-end"
|
|
31734
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31735
|
-
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
31736
|
-
style: {},
|
|
31737
|
-
onClick: function onClick() {
|
|
31738
|
-
if (sectionproperties.btnlinktype == 'Website Link') {
|
|
31739
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
31740
|
-
} else {
|
|
31741
|
-
window.open(sectionproperties.floatingbtnlink, '_blank');
|
|
31742
|
-
|
|
31743
|
-
// routingcountext(sectionproperties.floatingbtnlink, true, '');
|
|
31744
|
-
}
|
|
31745
|
-
}
|
|
31746
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
31747
|
-
"class": "m-0 p-0"
|
|
31748
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
31749
|
-
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
|
|
31750
|
-
target: '_blank',
|
|
31751
|
-
style: {
|
|
31752
|
-
position: 'fixed',
|
|
31753
|
-
bottom: sectionproperties.whatsapppositionfrombottom + 'px',
|
|
31754
|
-
right: langdetect == 'en' ? sectionproperties.whatsapppositionfromright + 'px' : '',
|
|
31755
|
-
left: langdetect == 'ar' ? sectionproperties.whatsapppositionfromright + 'px' : '',
|
|
31756
|
-
zIndex: 2000,
|
|
31757
|
-
transition: 'all 0.3s ease-out'
|
|
31758
|
-
}
|
|
31759
|
-
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
31760
|
-
src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
|
|
31761
|
-
style: {
|
|
31762
|
-
width: sectionproperties.wabtnwidth + 'px',
|
|
31763
|
-
height: sectionproperties.wabtnsize + 'px',
|
|
31764
|
-
cursor: 'pointer'
|
|
31765
|
-
}
|
|
31766
|
-
}))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
31767
|
-
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
31768
|
-
target: '_self',
|
|
31769
|
-
style: {
|
|
31770
|
-
position: 'fixed',
|
|
31771
|
-
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
31772
|
-
right: sectionproperties.callppositionfromright + 'px',
|
|
31773
|
-
zIndex: 2000,
|
|
31774
|
-
transition: 'all 0.3s ease-out'
|
|
31775
|
-
}
|
|
31776
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
31777
|
-
"class": langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
31778
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
31779
|
-
size: 30,
|
|
31780
|
-
color: sectionproperties.uppersection_iconcolor,
|
|
31781
|
-
style: {
|
|
31782
|
-
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
31783
|
-
}
|
|
31784
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31906
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31785
31907
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
31786
31908
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31787
31909
|
"class": "row m-0 w-100 "
|
|
@@ -31805,7 +31927,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
31805
31927
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31806
31928
|
"class": " ".concat(headerstyles$9.navbar) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
|
|
31807
31929
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31808
|
-
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31930
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcurrencies) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.length) > 1 ? 'col-lg-4 p-0' : 'col-lg-2 p-0' : 'col-lg-2 p-0'
|
|
31809
31931
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31810
31932
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
31811
31933
|
style: {
|
|
@@ -31823,7 +31945,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
31823
31945
|
maxHeight: '100%'
|
|
31824
31946
|
}
|
|
31825
31947
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31826
|
-
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31948
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 ? "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ',
|
|
31827
31949
|
style: {
|
|
31828
31950
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
31829
31951
|
}
|
|
@@ -31855,7 +31977,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
31855
31977
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
31856
31978
|
}
|
|
31857
31979
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31858
|
-
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31980
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end'
|
|
31859
31981
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
31860
31982
|
className: header_cssstyles.searchicon + ' h-100 allcentered ',
|
|
31861
31983
|
onClick: function onClick() {
|
|
@@ -32180,7 +32302,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
32180
32302
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
32181
32303
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32182
32304
|
"class": "ml-2 mr-2"
|
|
32183
|
-
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32305
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32184
32306
|
"class": ' d-flex align-items-center justify-content-end '
|
|
32185
32307
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
32186
32308
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -32192,8 +32314,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
32192
32314
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
32193
32315
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32194
32316
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
32195
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32196
|
-
var _authdetailsContext$
|
|
32317
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instcurrencies) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.map(function (item, index) {
|
|
32318
|
+
var _authdetailsContext$i6;
|
|
32197
32319
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
32198
32320
|
onClick: function onClick() {
|
|
32199
32321
|
setcurrencyfunccontext(item);
|
|
@@ -32213,7 +32335,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
32213
32335
|
}
|
|
32214
32336
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32215
32337
|
"class": 'ml-2 mr-2'
|
|
32216
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32338
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcurrencies) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32217
32339
|
"class": "col-lg-12 p-0"
|
|
32218
32340
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
32219
32341
|
"class": "m-0"
|
|
@@ -32324,8 +32446,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
32324
32446
|
}))))))));
|
|
32325
32447
|
};
|
|
32326
32448
|
|
|
32327
|
-
function ownKeys$
|
|
32328
|
-
function _objectSpread$
|
|
32449
|
+
function ownKeys$1U(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
32450
|
+
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32329
32451
|
var Header8 = function Header8(props) {
|
|
32330
32452
|
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i9, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i14, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
32331
32453
|
var actions = props.actions;
|
|
@@ -32382,7 +32504,7 @@ var Header8 = function Header8(props) {
|
|
|
32382
32504
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
32383
32505
|
});
|
|
32384
32506
|
}
|
|
32385
|
-
setsectionproperties(_objectSpread$
|
|
32507
|
+
setsectionproperties(_objectSpread$1U({}, secpropobj));
|
|
32386
32508
|
}, [StatePagePropertiesContext]);
|
|
32387
32509
|
var subtotalcart = function subtotalcart() {
|
|
32388
32510
|
var _fetchcustomercartQue;
|
|
@@ -34224,8 +34346,8 @@ var css_248z$u = ".headerresturant-module_header_innercontainer__K3I1g {\n di
|
|
|
34224
34346
|
var headerstyles$8 = {"header_innercontainer":"headerresturant-module_header_innercontainer__K3I1g","navbar_item":"headerresturant-module_navbar_item__Exl8b","navbar_item_text":"headerresturant-module_navbar_item_text__psv09","navbar_item_active":"headerresturant-module_navbar_item_active__8BCbD","searchbarcont":"headerresturant-module_searchbarcont__4VPWj","language_cont":"headerresturant-module_language_cont__LwHIK","badge_counter_header_notifications":"headerresturant-module_badge_counter_header_notifications__mGA2-"};
|
|
34225
34347
|
styleInject(css_248z$u);
|
|
34226
34348
|
|
|
34227
|
-
function ownKeys$
|
|
34228
|
-
function _objectSpread$
|
|
34349
|
+
function ownKeys$1T(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
34350
|
+
function _objectSpread$1T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1T(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
34229
34351
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
34230
34352
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
34231
34353
|
var _useState = React.useState(''),
|
|
@@ -34261,7 +34383,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
34261
34383
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
34262
34384
|
});
|
|
34263
34385
|
}
|
|
34264
|
-
setsectionproperties(_objectSpread$
|
|
34386
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
34265
34387
|
}, [StatePagePropertiesContext]);
|
|
34266
34388
|
var _useState3 = React.useState([]),
|
|
34267
34389
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -34879,8 +35001,8 @@ var css_248z$t = ".header_contactinfo-module_lowerHeaderContainer__toB3m {\n
|
|
|
34879
35001
|
var headerstyles$7 = {"lowerHeaderContainer":"header_contactinfo-module_lowerHeaderContainer__toB3m","navbar_item":"header_contactinfo-module_navbar_item__T6mXT","navbar_item_text":"header_contactinfo-module_navbar_item_text__dSoH9","navbar_item_active":"header_contactinfo-module_navbar_item_active__eiC3f","badge_counter_header_notifications":"header_contactinfo-module_badge_counter_header_notifications__gWKN6"};
|
|
34880
35002
|
styleInject(css_248z$t);
|
|
34881
35003
|
|
|
34882
|
-
function ownKeys$
|
|
34883
|
-
function _objectSpread$
|
|
35004
|
+
function ownKeys$1S(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35005
|
+
function _objectSpread$1S(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1S(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1S(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
34884
35006
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
34885
35007
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
34886
35008
|
var _useState = React.useState(''),
|
|
@@ -34917,7 +35039,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
34917
35039
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
34918
35040
|
});
|
|
34919
35041
|
}
|
|
34920
|
-
setsectionproperties(_objectSpread$
|
|
35042
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
34921
35043
|
}, [StatePagePropertiesContext]);
|
|
34922
35044
|
var _useState3 = React.useState(false),
|
|
34923
35045
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -35695,8 +35817,8 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
35695
35817
|
}))))))));
|
|
35696
35818
|
};
|
|
35697
35819
|
|
|
35698
|
-
function ownKeys$
|
|
35699
|
-
function _objectSpread$
|
|
35820
|
+
function ownKeys$1R(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35821
|
+
function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35700
35822
|
var Modernheader = function Modernheader(props) {
|
|
35701
35823
|
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
35702
35824
|
var _useState = React.useState(''),
|
|
@@ -35743,7 +35865,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
35743
35865
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35744
35866
|
});
|
|
35745
35867
|
}
|
|
35746
|
-
setsectionproperties(_objectSpread$
|
|
35868
|
+
setsectionproperties(_objectSpread$1R({}, secpropobj));
|
|
35747
35869
|
}, [StatePagePropertiesContext]);
|
|
35748
35870
|
React.useEffect(function () {
|
|
35749
35871
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -36561,8 +36683,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
36561
36683
|
}))))))));
|
|
36562
36684
|
};
|
|
36563
36685
|
|
|
36564
|
-
function ownKeys$
|
|
36565
|
-
function _objectSpread$
|
|
36686
|
+
function ownKeys$1Q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
36687
|
+
function _objectSpread$1Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36566
36688
|
var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
36567
36689
|
var _fetchcustomercartQue2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
36568
36690
|
var _useState = React.useState(''),
|
|
@@ -36600,7 +36722,7 @@ var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
|
36600
36722
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
36601
36723
|
});
|
|
36602
36724
|
}
|
|
36603
|
-
setsectionproperties(_objectSpread$
|
|
36725
|
+
setsectionproperties(_objectSpread$1Q({}, secpropobj));
|
|
36604
36726
|
}, [StatePagePropertiesContext]);
|
|
36605
36727
|
var _useState3 = React.useState([]),
|
|
36606
36728
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -37245,8 +37367,8 @@ var css_248z$s = ".stylishheader-module_headercontainer__FUgDo {\n display: fle
|
|
|
37245
37367
|
var headerstyles$6 = {"headercontainer":"stylishheader-module_headercontainer__FUgDo","navbar":"stylishheader-module_navbar__IX59y","badge_counter_header_notifications":"stylishheader-module_badge_counter_header_notifications__9G0T4"};
|
|
37246
37368
|
styleInject(css_248z$s);
|
|
37247
37369
|
|
|
37248
|
-
function ownKeys$
|
|
37249
|
-
function _objectSpread$
|
|
37370
|
+
function ownKeys$1P(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
37371
|
+
function _objectSpread$1P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1P(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37250
37372
|
var StylishHeader = function StylishHeader(props) {
|
|
37251
37373
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
|
|
37252
37374
|
var _useState = React.useState(''),
|
|
@@ -37287,7 +37409,7 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
37287
37409
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
37288
37410
|
});
|
|
37289
37411
|
}
|
|
37290
|
-
setsectionproperties(_objectSpread$
|
|
37412
|
+
setsectionproperties(_objectSpread$1P({}, secpropobj));
|
|
37291
37413
|
}, [StatePagePropertiesContext]);
|
|
37292
37414
|
var _useState5 = React.useState([]),
|
|
37293
37415
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -38050,8 +38172,8 @@ var css_248z$r = ".threetieredheader-module_lowerHeaderContainer__hl0gc {\n d
|
|
|
38050
38172
|
var headerstyles$5 = {"lowerHeaderContainer":"threetieredheader-module_lowerHeaderContainer__hl0gc","navbar":"threetieredheader-module_navbar__Le5Kz","navbar_item":"threetieredheader-module_navbar_item__9VQR-","navbar_item_text":"threetieredheader-module_navbar_item_text__G7M4B","navbar_item_active":"threetieredheader-module_navbar_item_active__qGXP2","badge_counter_header_notifications":"threetieredheader-module_badge_counter_header_notifications__fmXNP","searchbar":"threetieredheader-module_searchbar__CMeCp","searchbaractive":"threetieredheader-module_searchbaractive__jQeUr"};
|
|
38051
38173
|
styleInject(css_248z$r);
|
|
38052
38174
|
|
|
38053
|
-
function ownKeys$
|
|
38054
|
-
function _objectSpread$
|
|
38175
|
+
function ownKeys$1O(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38176
|
+
function _objectSpread$1O(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1O(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1O(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38055
38177
|
var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
38056
38178
|
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
38057
38179
|
var actions = props.actions;
|
|
@@ -38089,7 +38211,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
38089
38211
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38090
38212
|
});
|
|
38091
38213
|
}
|
|
38092
|
-
setsectionproperties(_objectSpread$
|
|
38214
|
+
setsectionproperties(_objectSpread$1O({}, secpropobj));
|
|
38093
38215
|
}, [StatePagePropertiesContext]);
|
|
38094
38216
|
var _useState3 = React.useState([]),
|
|
38095
38217
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -38929,8 +39051,8 @@ var css_248z$q = ".SearchFocusedHeader-module_headerMiddleContainer__P6xTy {\n
|
|
|
38929
39051
|
var headerstyles$4 = {"headerMiddleContainer":"SearchFocusedHeader-module_headerMiddleContainer__P6xTy","navbar":"SearchFocusedHeader-module_navbar__S8cPA","navbar_item":"SearchFocusedHeader-module_navbar_item__0oxbl","badge_counter_header_notifications":"SearchFocusedHeader-module_badge_counter_header_notifications__2qUaH","searchbar":"SearchFocusedHeader-module_searchbar__uJotQ","searchbaractive":"SearchFocusedHeader-module_searchbaractive__eZgrZ"};
|
|
38930
39052
|
styleInject(css_248z$q);
|
|
38931
39053
|
|
|
38932
|
-
function ownKeys$
|
|
38933
|
-
function _objectSpread$
|
|
39054
|
+
function ownKeys$1N(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
39055
|
+
function _objectSpread$1N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1N(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38934
39056
|
var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
38935
39057
|
var _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$i13, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i16;
|
|
38936
39058
|
var lang = props.actions.lang;
|
|
@@ -38997,7 +39119,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
38997
39119
|
});
|
|
38998
39120
|
}
|
|
38999
39121
|
}
|
|
39000
|
-
setsectionproperties(_objectSpread$
|
|
39122
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
39001
39123
|
}, [StatePagePropertiesContext]);
|
|
39002
39124
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
39003
39125
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
|
|
@@ -39931,8 +40053,8 @@ var css_248z$p = ".HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX {\n
|
|
|
39931
40053
|
var headerstyles$3 = {"headerMiddleContainer":"HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX","navbar_item":"HeaderWithUtilityBar-module_navbar_item__VR64E","badge_counter_header_notifications":"HeaderWithUtilityBar-module_badge_counter_header_notifications__-I6Pm","searchbar":"HeaderWithUtilityBar-module_searchbar__3rwMD","searchbaractive":"HeaderWithUtilityBar-module_searchbaractive__3gHHs"};
|
|
39932
40054
|
styleInject(css_248z$p);
|
|
39933
40055
|
|
|
39934
|
-
function ownKeys$
|
|
39935
|
-
function _objectSpread$
|
|
40056
|
+
function ownKeys$1M(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
40057
|
+
function _objectSpread$1M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1M(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39936
40058
|
var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
39937
40059
|
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
39938
40060
|
var lang = props.actions.lang;
|
|
@@ -39976,7 +40098,7 @@ var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
|
39976
40098
|
});
|
|
39977
40099
|
}
|
|
39978
40100
|
}
|
|
39979
|
-
setsectionproperties(_objectSpread$
|
|
40101
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
39980
40102
|
}, [StatePagePropertiesContext]);
|
|
39981
40103
|
var _useState5 = React.useState([]),
|
|
39982
40104
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -40707,8 +40829,8 @@ var css_248z$o = ".HeaderWithAdSlider-module_nav__item__lmbKL {\n width: 100%
|
|
|
40707
40829
|
var headerstyles$2 = {"nav__item":"HeaderWithAdSlider-module_nav__item__lmbKL","link":"HeaderWithAdSlider-module_link__9hhKh","badge_counter_header_notifications":"HeaderWithAdSlider-module_badge_counter_header_notifications__Shv1O","searchbar":"HeaderWithAdSlider-module_searchbar__Dqa-y","searchbaractive":"HeaderWithAdSlider-module_searchbaractive__c7gv6"};
|
|
40708
40830
|
styleInject(css_248z$o);
|
|
40709
40831
|
|
|
40710
|
-
function ownKeys$
|
|
40711
|
-
function _objectSpread$
|
|
40832
|
+
function ownKeys$1L(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
40833
|
+
function _objectSpread$1L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1L(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40712
40834
|
var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
40713
40835
|
var _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
40714
40836
|
var _useState = React.useState(''),
|
|
@@ -40746,7 +40868,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
40746
40868
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40747
40869
|
});
|
|
40748
40870
|
}
|
|
40749
|
-
setsectionproperties(_objectSpread$
|
|
40871
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
40750
40872
|
}, [StatePagePropertiesContext]);
|
|
40751
40873
|
var _useState3 = React.useState([]),
|
|
40752
40874
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -41485,8 +41607,8 @@ var css_248z$n = ".HeaderWithSearchOnCenter-module_headercontainer__hEPeK {\n
|
|
|
41485
41607
|
var headerstyles$1 = {"headercontainer":"HeaderWithSearchOnCenter-module_headercontainer__hEPeK","navbar":"HeaderWithSearchOnCenter-module_navbar__4UEjw","header_cart":"HeaderWithSearchOnCenter-module_header_cart__3m4dH","header_badge":"HeaderWithSearchOnCenter-module_header_badge__TeMF5","nav__item":"HeaderWithSearchOnCenter-module_nav__item__xRxTI","link":"HeaderWithSearchOnCenter-module_link__wYKus","badge_counter_header_notifications":"HeaderWithSearchOnCenter-module_badge_counter_header_notifications__GXHqw","searchbar":"HeaderWithSearchOnCenter-module_searchbar__H6b-F","searchbaractive":"HeaderWithSearchOnCenter-module_searchbaractive__yWggL"};
|
|
41486
41608
|
styleInject(css_248z$n);
|
|
41487
41609
|
|
|
41488
|
-
function ownKeys$
|
|
41489
|
-
function _objectSpread$
|
|
41610
|
+
function ownKeys$1K(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
41611
|
+
function _objectSpread$1K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1K(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41490
41612
|
var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
41491
41613
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
41492
41614
|
var _useState = React.useState(''),
|
|
@@ -41523,7 +41645,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
41523
41645
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41524
41646
|
});
|
|
41525
41647
|
}
|
|
41526
|
-
setsectionproperties(_objectSpread$
|
|
41648
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
41527
41649
|
}, [StatePagePropertiesContext]);
|
|
41528
41650
|
var _useState3 = React.useState([]),
|
|
41529
41651
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -42139,8 +42261,8 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
42139
42261
|
}));
|
|
42140
42262
|
};
|
|
42141
42263
|
|
|
42142
|
-
function ownKeys$
|
|
42143
|
-
function _objectSpread$
|
|
42264
|
+
function ownKeys$1J(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
42265
|
+
function _objectSpread$1J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1J(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42144
42266
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
42145
42267
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
42146
42268
|
var lang = props.actions.lang;
|
|
@@ -42188,7 +42310,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
42188
42310
|
});
|
|
42189
42311
|
}
|
|
42190
42312
|
}
|
|
42191
|
-
setsectionproperties(_objectSpread$
|
|
42313
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
42192
42314
|
}, [StatePagePropertiesContext]);
|
|
42193
42315
|
React.useEffect(function () {
|
|
42194
42316
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -43128,8 +43250,8 @@ var css_248z$m = ".NewHeader-module_headercontainer__qY3Tj {\n position: abso
|
|
|
43128
43250
|
var headerstyles = {"headercontainer":"NewHeader-module_headercontainer__qY3Tj","navbar":"NewHeader-module_navbar__kLzIy","header_cart":"NewHeader-module_header_cart__wRj2v","header_badge":"NewHeader-module_header_badge__Et-AS","nav__item":"NewHeader-module_nav__item__jRv-r","link":"NewHeader-module_link__4ixBg","badge_counter_header_notifications":"NewHeader-module_badge_counter_header_notifications__GpVQI","searchbar":"NewHeader-module_searchbar__1aYXU","searchbaractive":"NewHeader-module_searchbaractive__Uv--y"};
|
|
43129
43251
|
styleInject(css_248z$m);
|
|
43130
43252
|
|
|
43131
|
-
function ownKeys$
|
|
43132
|
-
function _objectSpread$
|
|
43253
|
+
function ownKeys$1I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
43254
|
+
function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43133
43255
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
43134
43256
|
var _textarray$, _textarray$2, _authdetailsContext$i, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
43135
43257
|
var _useState = React.useState(''),
|
|
@@ -43170,7 +43292,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
43170
43292
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
43171
43293
|
});
|
|
43172
43294
|
}
|
|
43173
|
-
setsectionproperties(_objectSpread$
|
|
43295
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
43174
43296
|
}, [StatePagePropertiesContext]);
|
|
43175
43297
|
var _useState5 = React.useState([]),
|
|
43176
43298
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -43999,160 +44121,6 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
43999
44121
|
}));
|
|
44000
44122
|
};
|
|
44001
44123
|
|
|
44002
|
-
function ownKeys$1I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
44003
|
-
function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44004
|
-
var FloatingIcons = function FloatingIcons(props) {
|
|
44005
|
-
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
44006
|
-
var _useState = React.useState(''),
|
|
44007
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
44008
|
-
sectionproperties = _useState2[0],
|
|
44009
|
-
setsectionproperties = _useState2[1];
|
|
44010
|
-
var langdetect = props.actions.langdetect;
|
|
44011
|
-
var authdetailsContext = props.actions.authdetailsContext;
|
|
44012
|
-
React.useEffect(function () {
|
|
44013
|
-
if (props.sectionpropertiesprops != undefined) {
|
|
44014
|
-
setsectionproperties(_objectSpread$1I({}, props.sectionpropertiesprops));
|
|
44015
|
-
}
|
|
44016
|
-
}, [props.sectionpropertiesprops]);
|
|
44017
|
-
var header_cssstyles = {
|
|
44018
|
-
floatingwaicon: glamor.css({
|
|
44019
|
-
position: 'fixed',
|
|
44020
|
-
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
44021
|
-
right: sectionproperties.floatingwhatsapppositionfromright + 'px',
|
|
44022
|
-
zIndex: 999999,
|
|
44023
|
-
transition: 'all 0.3s ease-out',
|
|
44024
|
-
width: sectionproperties.floatingwhatsappiconwidth + 'px',
|
|
44025
|
-
height: sectionproperties.floatingwhatappiconheight + 'px',
|
|
44026
|
-
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
44027
|
-
borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
|
|
44028
|
-
fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
|
|
44029
|
-
color: sectionproperties.floatingwhatsappiconcolor,
|
|
44030
|
-
':hover': {
|
|
44031
|
-
color: sectionproperties.floatingwhatsappiconcoloronhover,
|
|
44032
|
-
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
44033
|
-
}
|
|
44034
|
-
}),
|
|
44035
|
-
fbfloatingicon: glamor.css({
|
|
44036
|
-
position: 'fixed',
|
|
44037
|
-
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
44038
|
-
right: sectionproperties.floatingfbfromright + 'px',
|
|
44039
|
-
zIndex: 999999,
|
|
44040
|
-
transition: 'all 0.3s ease-out',
|
|
44041
|
-
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
44042
|
-
height: sectionproperties.floatingfbiconheight + 'px',
|
|
44043
|
-
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
44044
|
-
borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
|
|
44045
|
-
fontSize: sectionproperties.floatingfbiconfontsize + 'px',
|
|
44046
|
-
color: sectionproperties.floatingfbiconiconcolor,
|
|
44047
|
-
':hover': {
|
|
44048
|
-
// color: 'white',
|
|
44049
|
-
// background: '#1877F2',
|
|
44050
|
-
color: sectionproperties.floatingfbiconiconcoloronhover,
|
|
44051
|
-
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
44052
|
-
}
|
|
44053
|
-
}),
|
|
44054
|
-
floatingbtn: glamor.css({
|
|
44055
|
-
position: 'fixed',
|
|
44056
|
-
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
44057
|
-
right: sectionproperties.floatingbtnfromright + 'px',
|
|
44058
|
-
zIndex: 999999,
|
|
44059
|
-
transition: 'all 0.3s ease-out',
|
|
44060
|
-
width: sectionproperties.floatingbtnwidth + 'px',
|
|
44061
|
-
height: sectionproperties.floatingbtnheight + 'px',
|
|
44062
|
-
background: sectionproperties.floatingbtnbg,
|
|
44063
|
-
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
44064
|
-
color: sectionproperties.floatingbtncolor,
|
|
44065
|
-
borderRadius: sectionproperties.floatingbuttonborderradius + 'px',
|
|
44066
|
-
':hover': {
|
|
44067
|
-
color: sectionproperties.floatingbtncolorhover,
|
|
44068
|
-
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
44069
|
-
transitions: '.3s',
|
|
44070
|
-
cursor: 'pointer'
|
|
44071
|
-
}
|
|
44072
|
-
// '@media (max-width: 800px)': {
|
|
44073
|
-
// width: '50%',
|
|
44074
|
-
// },
|
|
44075
|
-
})
|
|
44076
|
-
};
|
|
44077
|
-
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
|
|
44078
|
-
var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
|
|
44079
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44080
|
-
"class": '',
|
|
44081
|
-
style: {
|
|
44082
|
-
position: 'relative'
|
|
44083
|
-
}
|
|
44084
|
-
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
44085
|
-
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
44086
|
-
target: "_blank",
|
|
44087
|
-
rel: "noopener noreferrer",
|
|
44088
|
-
style: {},
|
|
44089
|
-
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
44090
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
44091
|
-
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
44092
|
-
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
44093
|
-
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
44094
|
-
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar)), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44095
|
-
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
44096
|
-
onClick: function onClick() {
|
|
44097
|
-
var _authdetailsContext$i3;
|
|
44098
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
44099
|
-
var _authdetailsContext$i4;
|
|
44100
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
44101
|
-
}
|
|
44102
|
-
}
|
|
44103
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
44104
|
-
size: 20
|
|
44105
|
-
})), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44106
|
-
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
44107
|
-
onClick: function onClick() {
|
|
44108
|
-
var _authdetailsContext$i5;
|
|
44109
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
44110
|
-
var _authdetailsContext$i6;
|
|
44111
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
44112
|
-
}
|
|
44113
|
-
}
|
|
44114
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
44115
|
-
size: 20
|
|
44116
|
-
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44117
|
-
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
44118
|
-
onClick: function onClick() {
|
|
44119
|
-
var _authdetailsContext$i7;
|
|
44120
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
44121
|
-
var _authdetailsContext$i8;
|
|
44122
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
44123
|
-
}
|
|
44124
|
-
}
|
|
44125
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
44126
|
-
size: 20
|
|
44127
|
-
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44128
|
-
"class": header_cssstyles.floatingbtn + ' allcentered cursor-pointer ',
|
|
44129
|
-
style: {},
|
|
44130
|
-
onClick: function onClick() {
|
|
44131
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
44132
|
-
}
|
|
44133
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44134
|
-
"class": "m-0 p-0"
|
|
44135
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
44136
|
-
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
44137
|
-
target: '_self',
|
|
44138
|
-
style: {
|
|
44139
|
-
position: 'fixed',
|
|
44140
|
-
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
44141
|
-
right: sectionproperties.callppositionfromright + 'px',
|
|
44142
|
-
zIndex: 999999,
|
|
44143
|
-
transition: 'all 0.3s ease-out'
|
|
44144
|
-
}
|
|
44145
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44146
|
-
"class": langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
44147
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
44148
|
-
size: 30,
|
|
44149
|
-
color: sectionproperties.uppersection_iconcolor,
|
|
44150
|
-
style: {
|
|
44151
|
-
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
44152
|
-
}
|
|
44153
|
-
}))));
|
|
44154
|
-
};
|
|
44155
|
-
|
|
44156
44124
|
function ownKeys$1H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
44157
44125
|
function _objectSpread$1H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1H(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44158
44126
|
var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
|