tabexseriescomponents 0.0.395 → 0.0.397
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 +800 -157
- package/dist/index.esm.js +800 -157
- package/dist/index.umd.js +800 -157
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3117,7 +3117,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3117
3117
|
function ownKeys$2p(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; }
|
|
3118
3118
|
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3119
3119
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
3120
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6,
|
|
3120
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
|
|
3121
3121
|
var langdetect = props.actions.langdetect;
|
|
3122
3122
|
var lang = props.actions.lang;
|
|
3123
3123
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -3480,19 +3480,40 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3480
3480
|
} else {
|
|
3481
3481
|
slot = slotsubstr + slotsubstr2 + ' AM';
|
|
3482
3482
|
}
|
|
3483
|
-
|
|
3484
|
-
"
|
|
3485
|
-
|
|
3486
|
-
"
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
"
|
|
3495
|
-
|
|
3483
|
+
if (item.available) {
|
|
3484
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3485
|
+
"class": "col-lg-2 col-md-2 col-sm-4 pl-1 pr-1 mb-2"
|
|
3486
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3487
|
+
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
3488
|
+
style: {},
|
|
3489
|
+
onClick: function onClick() {
|
|
3490
|
+
setaddtocardpayloadobj(_objectSpread$2p(_objectSpread$2p({}, addtocardpayloadobj), {}, {
|
|
3491
|
+
time: item.slot
|
|
3492
|
+
}));
|
|
3493
|
+
}
|
|
3494
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3495
|
+
"class": ' p-0 m-0 '
|
|
3496
|
+
}, sectionproperties.timeformat == '24 HOUR CLOCK' ? item.slot : slot)));
|
|
3497
|
+
} else {
|
|
3498
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3499
|
+
"class": "col-lg-2 col-md-2 col-sm-4 pl-1 pr-1 mb-2"
|
|
3500
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3501
|
+
"class": ' allcentered px-1 showcrossicon ',
|
|
3502
|
+
style: {
|
|
3503
|
+
cursor: 'not-allowed',
|
|
3504
|
+
minWidth: '6vh',
|
|
3505
|
+
height: '5vh',
|
|
3506
|
+
borderRadius: sectionproperties.time_borderRadius + 'px',
|
|
3507
|
+
backgroundColor: sectionproperties.time_bgcolor,
|
|
3508
|
+
border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_borderColor,
|
|
3509
|
+
color: sectionproperties.time_timeColor,
|
|
3510
|
+
fontWeight: sectionproperties.time_timeFontweight,
|
|
3511
|
+
fontSize: sectionproperties.time_timeFontsize + 'px'
|
|
3512
|
+
}
|
|
3513
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3514
|
+
"class": ' p-0 m-0 '
|
|
3515
|
+
}, sectionproperties.timeformat == '24 HOUR CLOCK' ? item.slot : slot)));
|
|
3516
|
+
}
|
|
3496
3517
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3497
3518
|
className: "col-lg-12 p-0 mb-3"
|
|
3498
3519
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3602,7 +3623,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3602
3623
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3603
3624
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3604
3625
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3605
|
-
})), langdetect == 'en' ?
|
|
3626
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3606
3627
|
className: ' d-flex align-items-center justify-content-center '
|
|
3607
3628
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3608
3629
|
color: "white",
|
|
@@ -3644,15 +3665,15 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3644
3665
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3645
3666
|
className: "".concat(productinfo_cssstyles.cart_btn) + ' w-100 d-flex align-items-center justify-content-center ',
|
|
3646
3667
|
onClick: function onClick() {
|
|
3647
|
-
var
|
|
3648
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3668
|
+
var _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
3669
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.scheduletype) == 'days') {
|
|
3649
3670
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
3650
3671
|
addtocartfunc();
|
|
3651
3672
|
if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
3652
3673
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
3653
3674
|
}
|
|
3654
3675
|
}
|
|
3655
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3676
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.scheduletype) == 'minutes') {
|
|
3656
3677
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
3657
3678
|
addtocartfunc();
|
|
3658
3679
|
if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
@@ -3685,7 +3706,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3685
3706
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3686
3707
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3687
3708
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3688
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3709
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3689
3710
|
className: ' d-flex align-items-center justify-content-center '
|
|
3690
3711
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3691
3712
|
color: "white",
|
|
@@ -3729,13 +3750,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3729
3750
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3730
3751
|
className: "".concat(productinfo_cssstyles.checkoutbtn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
3731
3752
|
onClick: function onClick() {
|
|
3732
|
-
var
|
|
3733
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3753
|
+
var _fetchProductInfoQuer15, _fetchProductInfoQuer16;
|
|
3754
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.scheduletype) == 'days') {
|
|
3734
3755
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
3735
3756
|
addtocartfunc();
|
|
3736
3757
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
3737
3758
|
}
|
|
3738
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3759
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.scheduletype) == 'minutes') {
|
|
3739
3760
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
3740
3761
|
addtocartfunc();
|
|
3741
3762
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
@@ -6362,6 +6383,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6362
6383
|
color: sectionproperties.navigationtextactivecolor
|
|
6363
6384
|
})
|
|
6364
6385
|
};
|
|
6386
|
+
props.actions.templateproperties_context;
|
|
6365
6387
|
var _useState7 = React.useState([{
|
|
6366
6388
|
tabname: lang.accountinformation,
|
|
6367
6389
|
route: StaticPagesLinksContext.accountinfo,
|
|
@@ -19331,7 +19353,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19331
19353
|
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; }
|
|
19332
19354
|
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; }
|
|
19333
19355
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
19334
|
-
var _css,
|
|
19356
|
+
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2;
|
|
19335
19357
|
var actions = props.actions;
|
|
19336
19358
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
19337
19359
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -19348,16 +19370,16 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19348
19370
|
var routingcountext = props.actions.routingcountext;
|
|
19349
19371
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
19350
19372
|
props.actions.setcurrencyfunccontext;
|
|
19351
|
-
props.actions.fetchCategoriesQueryContext;
|
|
19373
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
19352
19374
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
19353
19375
|
var _useState = React.useState(''),
|
|
19354
19376
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
19355
19377
|
sectionproperties = _useState2[0],
|
|
19356
19378
|
setsectionproperties = _useState2[1];
|
|
19357
19379
|
var _useState3 = React.useState(''),
|
|
19358
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2)
|
|
19359
|
-
_useState4[0]
|
|
19360
|
-
_useState4[1];
|
|
19380
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
19381
|
+
Choosenindex = _useState4[0],
|
|
19382
|
+
setChoosenindex = _useState4[1];
|
|
19361
19383
|
var _useState5 = React.useState(false),
|
|
19362
19384
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
19363
19385
|
menuactive = _useState6[0],
|
|
@@ -19378,7 +19400,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19378
19400
|
var _useState11 = React.useState(false),
|
|
19379
19401
|
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
19380
19402
|
_useState12[0];
|
|
19381
|
-
_useState12[1];
|
|
19403
|
+
var setopenCnvas = _useState12[1];
|
|
19382
19404
|
var _useState13 = React.useState(''),
|
|
19383
19405
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
19384
19406
|
activeTab = _useState14[0],
|
|
@@ -19607,6 +19629,51 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19607
19629
|
}
|
|
19608
19630
|
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0));
|
|
19609
19631
|
};
|
|
19632
|
+
var _useState15 = React.useState(false),
|
|
19633
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
19634
|
+
openmenuCanvas = _useState16[0],
|
|
19635
|
+
setopenmenuCanvas = _useState16[1];
|
|
19636
|
+
var _useState17 = React.useState([]),
|
|
19637
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
19638
|
+
pcollarray = _useState18[0],
|
|
19639
|
+
setpcollarray = _useState18[1];
|
|
19640
|
+
React.useEffect(function () {
|
|
19641
|
+
if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
|
|
19642
|
+
var _fetchCategoriesQuery;
|
|
19643
|
+
var temppcollarray = _toConsumableArray__default["default"](pcollarray);
|
|
19644
|
+
fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 || _fetchCategoriesQuery.categories.forEach(function (arrayItem) {
|
|
19645
|
+
if (arrayItem.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
|
|
19646
|
+
arrayItem === null || arrayItem === void 0 || arrayItem.parentcolletions.forEach(function (item) {
|
|
19647
|
+
if (item.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
|
|
19648
|
+
temppcollarray.push(item);
|
|
19649
|
+
}
|
|
19650
|
+
});
|
|
19651
|
+
}
|
|
19652
|
+
});
|
|
19653
|
+
setpcollarray(_toConsumableArray__default["default"](temppcollarray));
|
|
19654
|
+
}
|
|
19655
|
+
// alert(JSON.stringify(pcollarray));
|
|
19656
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
19657
|
+
var InstLogoContainer = function InstLogoContainer() {
|
|
19658
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2;
|
|
19659
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19660
|
+
className: header_cssstyles.header_logo + ' d-flex align-items-center justify-content-start ',
|
|
19661
|
+
style: {
|
|
19662
|
+
cursor: 'pointer'
|
|
19663
|
+
},
|
|
19664
|
+
onClick: function onClick() {
|
|
19665
|
+
routingcountext('home');
|
|
19666
|
+
}
|
|
19667
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
19668
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
19669
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
19670
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
19671
|
+
style: {
|
|
19672
|
+
maxWidth: '100%',
|
|
19673
|
+
maxHeight: '100%'
|
|
19674
|
+
}
|
|
19675
|
+
}));
|
|
19676
|
+
};
|
|
19610
19677
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19611
19678
|
className: "row m-0 w-100"
|
|
19612
19679
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -19626,27 +19693,28 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19626
19693
|
style: {
|
|
19627
19694
|
position: 'relative'
|
|
19628
19695
|
}
|
|
19629
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19630
|
-
className: "col-md-
|
|
19631
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19632
|
-
className: header_cssstyles.header_logo + ' d-flex align-items-center justify-content-start ',
|
|
19696
|
+
}, sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19697
|
+
className: "col-md-4 col-sm-4 text-start p-0"
|
|
19698
|
+
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19633
19699
|
style: {
|
|
19634
|
-
|
|
19635
|
-
|
|
19636
|
-
onClick: function onClick() {
|
|
19637
|
-
routingcountext('home');
|
|
19700
|
+
width: '30px',
|
|
19701
|
+
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
19638
19702
|
}
|
|
19639
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
19640
|
-
|
|
19641
|
-
|
|
19642
|
-
|
|
19643
|
-
style: {
|
|
19644
|
-
maxWidth: '100%',
|
|
19645
|
-
maxHeight: '100%'
|
|
19703
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19704
|
+
"class": "h-100 allcentered",
|
|
19705
|
+
onClick: function onClick() {
|
|
19706
|
+
setopenSearch(true);
|
|
19646
19707
|
}
|
|
19647
|
-
}
|
|
19648
|
-
|
|
19649
|
-
|
|
19708
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, {
|
|
19709
|
+
size: 22,
|
|
19710
|
+
color: sectionproperties.cart_BtnTextcolor_resp
|
|
19711
|
+
})))), sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19712
|
+
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
19713
|
+
}, InstLogoContainer()), sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19714
|
+
className: "col-md-4 col-sm-4 allcentered p-0"
|
|
19715
|
+
}, InstLogoContainer()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19716
|
+
className: sectionproperties.logocentered != 'Centered' ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0' : 'col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0'
|
|
19717
|
+
}, sectionproperties.searchbar_show == 'Show' && sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19650
19718
|
style: {
|
|
19651
19719
|
width: '30px',
|
|
19652
19720
|
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
@@ -19670,10 +19738,15 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19670
19738
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
19671
19739
|
},
|
|
19672
19740
|
onClick: function onClick() {
|
|
19673
|
-
if (
|
|
19674
|
-
|
|
19741
|
+
if (sectionproperties.responsiveheaderstyle == 'Style 2') {
|
|
19742
|
+
if (menuactive == true) {
|
|
19743
|
+
setmenuactive(false);
|
|
19744
|
+
} else {
|
|
19745
|
+
setmenuactive(true);
|
|
19746
|
+
}
|
|
19675
19747
|
} else {
|
|
19676
|
-
|
|
19748
|
+
setopenmenuCanvas(true);
|
|
19749
|
+
setactiveTab('menu');
|
|
19677
19750
|
}
|
|
19678
19751
|
}
|
|
19679
19752
|
}, menuactive == false && /*#__PURE__*/React__default["default"].createElement(FiMenu.FiMenu, {
|
|
@@ -19695,46 +19768,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19695
19768
|
zIndex: 10000,
|
|
19696
19769
|
overflow: 'scroll'
|
|
19697
19770
|
}
|
|
19698
|
-
}, sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19699
|
-
className: "row m-0 w-100 mb-5",
|
|
19700
|
-
style: {
|
|
19701
|
-
borderBottom: '1px solid #eee'
|
|
19702
|
-
}
|
|
19703
19771
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19704
|
-
className: 'col-6 allcentered py-3',
|
|
19705
|
-
onClick: function onClick() {
|
|
19706
|
-
setactiveTab('menu');
|
|
19707
|
-
},
|
|
19708
|
-
style: {
|
|
19709
|
-
background: activeTab == 'menu' ? 'white' : '#eee'
|
|
19710
|
-
}
|
|
19711
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19712
|
-
className: "m-0 p-0",
|
|
19713
|
-
style: {
|
|
19714
|
-
textTransform: 'uppercase',
|
|
19715
|
-
fontWeight: 500,
|
|
19716
|
-
fontSize: '15px',
|
|
19717
|
-
transition: '.3s',
|
|
19718
|
-
color: '#000'
|
|
19719
|
-
}
|
|
19720
|
-
}, langdetect == 'en' ? 'MENU' : 'القائمة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19721
|
-
className: 'col-6 allcentered py-3',
|
|
19722
|
-
onClick: function onClick() {
|
|
19723
|
-
setactiveTab('categories');
|
|
19724
|
-
},
|
|
19725
|
-
style: {
|
|
19726
|
-
background: activeTab == 'categories' ? 'white' : '#eee'
|
|
19727
|
-
}
|
|
19728
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19729
|
-
className: "m-0 p-0",
|
|
19730
|
-
style: {
|
|
19731
|
-
textTransform: 'uppercase',
|
|
19732
|
-
fontWeight: 500,
|
|
19733
|
-
fontSize: '15px',
|
|
19734
|
-
transition: '.3s',
|
|
19735
|
-
color: '#000'
|
|
19736
|
-
}
|
|
19737
|
-
}, langdetect == 'en' ? 'SHOP' : 'تسوق'))), sectionproperties.responsiveheaderstyle != 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19738
19772
|
"class": "col-lg-12 text-end anim"
|
|
19739
19773
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19740
19774
|
"class": ' h-100 allcentered ',
|
|
@@ -19971,7 +20005,379 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19971
20005
|
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, null)), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19972
20006
|
"class": header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '
|
|
19973
20007
|
}, authdetailsContext.customerinfo.name))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19974
|
-
"class": "row m-0 w-100 mt-5 allcentered anim"
|
|
20008
|
+
"class": "row m-0 w-100 mt-5 allcentered anim"
|
|
20009
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
20010
|
+
"class": ' d-flex align-items-center justify-content-center p-0 m-0 ',
|
|
20011
|
+
onClick: function onClick() {
|
|
20012
|
+
LogoutMutationContext.mutate();
|
|
20013
|
+
setmenuactive(false);
|
|
20014
|
+
},
|
|
20015
|
+
style: {
|
|
20016
|
+
width: '90%',
|
|
20017
|
+
height: 40,
|
|
20018
|
+
background: 'white',
|
|
20019
|
+
color: '#000',
|
|
20020
|
+
fontSize: 16
|
|
20021
|
+
}
|
|
20022
|
+
}, lang.logout)))))), openSearch == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20023
|
+
"class": "col-12 d-flex align-items-center"
|
|
20024
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
20025
|
+
style: {
|
|
20026
|
+
width: 40,
|
|
20027
|
+
height: 40,
|
|
20028
|
+
position: 'absolute',
|
|
20029
|
+
top: 10,
|
|
20030
|
+
right: 10,
|
|
20031
|
+
zIndex: 10000
|
|
20032
|
+
},
|
|
20033
|
+
"class": "allcentered",
|
|
20034
|
+
onClick: function onClick() {
|
|
20035
|
+
setopenSearch(false);
|
|
20036
|
+
setSearchHeaderInputContext('');
|
|
20037
|
+
}
|
|
20038
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoClose.IoClose, {
|
|
20039
|
+
style: {
|
|
20040
|
+
fontSize: 20,
|
|
20041
|
+
color: '#000'
|
|
20042
|
+
}
|
|
20043
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20044
|
+
"class": header_cssstyles.searchbarcont
|
|
20045
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
20046
|
+
type: "text",
|
|
20047
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
20048
|
+
"class": "".concat(header_cssstyles.searchbarcont_input) + ' pb-1 ',
|
|
20049
|
+
onChange: function onChange(event) {
|
|
20050
|
+
setSearchHeaderInputContext(event.target.value);
|
|
20051
|
+
}
|
|
20052
|
+
}), /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
|
|
20053
|
+
sectionpropertiesprops: sectionproperties,
|
|
20054
|
+
srcfromprops: 'fullheader',
|
|
20055
|
+
actions: actions
|
|
20056
|
+
}))), sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
20057
|
+
show: openmenuCanvas,
|
|
20058
|
+
onHide: function onHide() {
|
|
20059
|
+
setopenmenuCanvas(false);
|
|
20060
|
+
},
|
|
20061
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
20062
|
+
scroll: true,
|
|
20063
|
+
style: {
|
|
20064
|
+
width: '90%',
|
|
20065
|
+
backgroundColor: 'white'
|
|
20066
|
+
},
|
|
20067
|
+
backdrop: true
|
|
20068
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20069
|
+
"class": "allcentered",
|
|
20070
|
+
style: {
|
|
20071
|
+
position: 'absolute',
|
|
20072
|
+
right: -34,
|
|
20073
|
+
top: 5,
|
|
20074
|
+
width: 30,
|
|
20075
|
+
height: 30,
|
|
20076
|
+
background: '#000'
|
|
20077
|
+
},
|
|
20078
|
+
onClick: function onClick() {
|
|
20079
|
+
setopenmenuCanvas(false);
|
|
20080
|
+
}
|
|
20081
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
20082
|
+
color: '#fff',
|
|
20083
|
+
size: 16
|
|
20084
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20085
|
+
"class": "allcentered",
|
|
20086
|
+
style: {
|
|
20087
|
+
position: 'absolute',
|
|
20088
|
+
left: -34,
|
|
20089
|
+
top: 5,
|
|
20090
|
+
width: 30,
|
|
20091
|
+
height: 30,
|
|
20092
|
+
background: '#000'
|
|
20093
|
+
},
|
|
20094
|
+
onClick: function onClick() {
|
|
20095
|
+
setopenCnvas(false);
|
|
20096
|
+
}
|
|
20097
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
20098
|
+
color: '#fff',
|
|
20099
|
+
size: 16
|
|
20100
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20101
|
+
className: "row m-0 w-100 mb-5",
|
|
20102
|
+
style: {
|
|
20103
|
+
borderBottom: '1px solid #eee'
|
|
20104
|
+
}
|
|
20105
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20106
|
+
className: 'col-6 allcentered py-3',
|
|
20107
|
+
onClick: function onClick() {
|
|
20108
|
+
setactiveTab('menu');
|
|
20109
|
+
},
|
|
20110
|
+
style: {
|
|
20111
|
+
background: activeTab == 'menu' ? 'white' : '#eee'
|
|
20112
|
+
}
|
|
20113
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20114
|
+
className: "m-0 p-0",
|
|
20115
|
+
style: {
|
|
20116
|
+
textTransform: 'uppercase',
|
|
20117
|
+
fontWeight: 500,
|
|
20118
|
+
fontSize: '15px',
|
|
20119
|
+
transition: '.3s',
|
|
20120
|
+
color: '#000'
|
|
20121
|
+
}
|
|
20122
|
+
}, langdetect == 'en' ? 'MENU' : 'القائمة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20123
|
+
className: 'col-6 allcentered py-3',
|
|
20124
|
+
onClick: function onClick() {
|
|
20125
|
+
setactiveTab('categories');
|
|
20126
|
+
},
|
|
20127
|
+
style: {
|
|
20128
|
+
background: activeTab == 'categories' ? 'white' : '#eee'
|
|
20129
|
+
}
|
|
20130
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20131
|
+
className: "m-0 p-0",
|
|
20132
|
+
style: {
|
|
20133
|
+
textTransform: 'uppercase',
|
|
20134
|
+
fontWeight: 500,
|
|
20135
|
+
fontSize: '15px',
|
|
20136
|
+
transition: '.3s',
|
|
20137
|
+
color: '#000'
|
|
20138
|
+
}
|
|
20139
|
+
}, langdetect == 'en' ? 'SHOP' : 'تسوق'))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, activeTab == 'menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20140
|
+
className: ' row m-0 w-100 anim '
|
|
20141
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20142
|
+
className: "col-lg-12 p-0"
|
|
20143
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
20144
|
+
className: ' d-flex justify-content-center flex-column p-0 '
|
|
20145
|
+
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
20146
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
20147
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20148
|
+
className: "row m-0 w-100"
|
|
20149
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20150
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
20151
|
+
style: {
|
|
20152
|
+
paddingTop: index == 0 ? 5 : 0
|
|
20153
|
+
}
|
|
20154
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20155
|
+
onClick: function onClick() {
|
|
20156
|
+
routingcountext(item.navigationroute, false, '');
|
|
20157
|
+
setopenCnvas(false);
|
|
20158
|
+
}
|
|
20159
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20160
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20161
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20162
|
+
className: "col-lg-12 p-0"
|
|
20163
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20164
|
+
className: "mt-4 mb-4",
|
|
20165
|
+
style: {
|
|
20166
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20167
|
+
}
|
|
20168
|
+
})));
|
|
20169
|
+
}
|
|
20170
|
+
}), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20171
|
+
className: "row m-0 w-100"
|
|
20172
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20173
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
20174
|
+
onClick: function onClick() {
|
|
20175
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
20176
|
+
setopenCnvas(false);
|
|
20177
|
+
}
|
|
20178
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20179
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
20180
|
+
}, lang.orderhistory)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20181
|
+
className: "col-lg-12 p-0"
|
|
20182
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20183
|
+
className: "mt-4 mb-4",
|
|
20184
|
+
style: {
|
|
20185
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20186
|
+
}
|
|
20187
|
+
}))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20188
|
+
className: "row m-0 w-100"
|
|
20189
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20190
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
20191
|
+
onClick: function onClick() {
|
|
20192
|
+
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
20193
|
+
setopenCnvas(false);
|
|
20194
|
+
}
|
|
20195
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20196
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
20197
|
+
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20198
|
+
className: "col-lg-12 p-0"
|
|
20199
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20200
|
+
className: "mt-4 mb-4",
|
|
20201
|
+
style: {
|
|
20202
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20203
|
+
}
|
|
20204
|
+
}))), templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20205
|
+
className: "row m-0 w-100"
|
|
20206
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20207
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
20208
|
+
onClick: function onClick() {
|
|
20209
|
+
routingcountext(StaticPagesLinksContext.Policies);
|
|
20210
|
+
setmenuactive(false);
|
|
20211
|
+
}
|
|
20212
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20213
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
20214
|
+
}, lang.policies)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20215
|
+
className: "col-lg-12 p-0"
|
|
20216
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20217
|
+
className: "mt-4 mb-4",
|
|
20218
|
+
style: {
|
|
20219
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20220
|
+
}
|
|
20221
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20222
|
+
className: "row m-0 w-100"
|
|
20223
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20224
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
20225
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20226
|
+
onClick: function onClick() {
|
|
20227
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
20228
|
+
setmenuactive(false);
|
|
20229
|
+
}
|
|
20230
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20231
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20232
|
+
}, langdetect == 'en' ? (_returnpolicyobj9 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj9 === void 0 ? void 0 : _returnpolicyobj9.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20233
|
+
className: "col-lg-12 p-0"
|
|
20234
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20235
|
+
className: "mt-3 mb-3",
|
|
20236
|
+
style: {
|
|
20237
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20238
|
+
}
|
|
20239
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20240
|
+
className: "row m-0 w-100"
|
|
20241
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20242
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
20243
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20244
|
+
onClick: function onClick() {
|
|
20245
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
20246
|
+
setmenuactive(false);
|
|
20247
|
+
}
|
|
20248
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20249
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20250
|
+
}, langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policypagename_en : (_returnpolicyobj12 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20251
|
+
className: "col-lg-12 p-0"
|
|
20252
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20253
|
+
className: "mt-3 mb-3",
|
|
20254
|
+
style: {
|
|
20255
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20256
|
+
}
|
|
20257
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20258
|
+
className: "row m-0 w-100"
|
|
20259
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20260
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
20261
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20262
|
+
onClick: function onClick() {
|
|
20263
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
20264
|
+
setmenuactive(false);
|
|
20265
|
+
}
|
|
20266
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20267
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20268
|
+
}, langdetect == 'en' ? (_returnpolicyobj13 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj13 === void 0 ? void 0 : _returnpolicyobj13.policypagename_en : (_returnpolicyobj14 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj14 === void 0 ? void 0 : _returnpolicyobj14.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20269
|
+
className: "col-lg-12 p-0"
|
|
20270
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20271
|
+
className: "mt-3 mb-3",
|
|
20272
|
+
style: {
|
|
20273
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20274
|
+
}
|
|
20275
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20276
|
+
className: "row m-0 w-100"
|
|
20277
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20278
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
20279
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20280
|
+
onClick: function onClick() {
|
|
20281
|
+
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
20282
|
+
setmenuactive(false);
|
|
20283
|
+
}
|
|
20284
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20285
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20286
|
+
}, langdetect == 'en' ? (_returnpolicyobj15 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj15 === void 0 ? void 0 : _returnpolicyobj15.policypagename_en : (_returnpolicyobj16 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj16 === void 0 ? void 0 : _returnpolicyobj16.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20287
|
+
className: "col-lg-12 p-0"
|
|
20288
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20289
|
+
className: "mt-3 mb-3",
|
|
20290
|
+
style: {
|
|
20291
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20292
|
+
}
|
|
20293
|
+
}))), authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20294
|
+
className: "row m-0 w-100"
|
|
20295
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20296
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
20297
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20298
|
+
onClick: function onClick() {
|
|
20299
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
20300
|
+
setmenuactive(false);
|
|
20301
|
+
}
|
|
20302
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20303
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20304
|
+
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20305
|
+
className: "col-lg-12 p-0"
|
|
20306
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20307
|
+
className: "mt-3 mb-3",
|
|
20308
|
+
style: {
|
|
20309
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20310
|
+
}
|
|
20311
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20312
|
+
className: "row m-0 w-100 pl-3 pr-3"
|
|
20313
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20314
|
+
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
20315
|
+
style: {}
|
|
20316
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20317
|
+
"class": "".concat(header_cssstyles.navbar_item_text_responsive) + ' m-0 p-0 ',
|
|
20318
|
+
style: {
|
|
20319
|
+
cursor: 'default'
|
|
20320
|
+
}
|
|
20321
|
+
}, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20322
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"
|
|
20323
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20324
|
+
"class": "row m-0 w-100",
|
|
20325
|
+
style: {
|
|
20326
|
+
background: sectionproperties.langcontainerbgresp,
|
|
20327
|
+
borderRadius: 5
|
|
20328
|
+
}
|
|
20329
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20330
|
+
"class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
20331
|
+
onClick: function onClick() {
|
|
20332
|
+
setlang('en');
|
|
20333
|
+
setmenuactive(false);
|
|
20334
|
+
}
|
|
20335
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20336
|
+
"class": "m-0 p-0 w-100 allcentered py-3",
|
|
20337
|
+
style: {
|
|
20338
|
+
background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
|
|
20339
|
+
borderRadius: 5,
|
|
20340
|
+
fontSize: 15,
|
|
20341
|
+
color: sectionproperties.language_container_color_resp
|
|
20342
|
+
}
|
|
20343
|
+
}, "English")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20344
|
+
"class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
20345
|
+
onClick: function onClick() {
|
|
20346
|
+
setlang('ar');
|
|
20347
|
+
setmenuactive(false);
|
|
20348
|
+
}
|
|
20349
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20350
|
+
"class": "m-0 p-0 w-100 allcentered py-3",
|
|
20351
|
+
style: {
|
|
20352
|
+
borderRadius: 5,
|
|
20353
|
+
background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
|
|
20354
|
+
fontSize: 15,
|
|
20355
|
+
color: sectionproperties.language_container_color_resp
|
|
20356
|
+
}
|
|
20357
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20358
|
+
className: "row m-0 w-100 pl-3 pr-3 mt-5"
|
|
20359
|
+
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
20360
|
+
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
20361
|
+
onClick: function onClick() {
|
|
20362
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
20363
|
+
setmenuactive(false);
|
|
20364
|
+
}
|
|
20365
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
20366
|
+
"class": "".concat(header_cssstyles.userbtnLoggedin_icon) + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '
|
|
20367
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, null)), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
20368
|
+
"class": "userbtn_resp mx-2"
|
|
20369
|
+
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
20370
|
+
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
20371
|
+
onClick: function onClick() {
|
|
20372
|
+
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
20373
|
+
setmenuactive(false);
|
|
20374
|
+
}
|
|
20375
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
20376
|
+
"class": "".concat(header_cssstyles.userbtnLoggedin_icon) + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '
|
|
20377
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, null)), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
20378
|
+
"class": header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '
|
|
20379
|
+
}, authdetailsContext.customerinfo.name))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20380
|
+
className: "row m-0 w-100"
|
|
19975
20381
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
19976
20382
|
"class": ' d-flex align-items-center justify-content-center p-0 m-0 ',
|
|
19977
20383
|
onClick: function onClick() {
|
|
@@ -19985,41 +20391,249 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19985
20391
|
color: '#000',
|
|
19986
20392
|
fontSize: 16
|
|
19987
20393
|
}
|
|
19988
|
-
}, lang.logout)))))
|
|
19989
|
-
|
|
19990
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
19991
|
-
|
|
19992
|
-
|
|
19993
|
-
|
|
19994
|
-
|
|
19995
|
-
|
|
19996
|
-
|
|
19997
|
-
|
|
19998
|
-
|
|
19999
|
-
|
|
20000
|
-
|
|
20001
|
-
|
|
20002
|
-
|
|
20394
|
+
}, lang.logout))))), activeTab == 'categories' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20395
|
+
className: ' row m-0 w-100 accordionContainer anim'
|
|
20396
|
+
}, sectionproperties.subheaderParentType == 'Categories' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
20397
|
+
allowMultipleExpanded: true,
|
|
20398
|
+
allowZeroExpanded: true
|
|
20399
|
+
}, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery2 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery2 === void 0 || (_fetchCategoriesQuery2 = _fetchCategoriesQuery2.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.map(function (item, index) {
|
|
20400
|
+
if (item.isshowntocustomers == 1) {
|
|
20401
|
+
var _fetchCategoriesQuery3, _fetchCategoriesQuery4;
|
|
20402
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
20403
|
+
uuid: index
|
|
20404
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, {
|
|
20405
|
+
onClick: function onClick() {
|
|
20406
|
+
setChoosenindex(index);
|
|
20407
|
+
}
|
|
20408
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20409
|
+
className: ' row m-0 p-0 mb-2 '
|
|
20410
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20411
|
+
className: ' row m-0 w-100 px-3 '
|
|
20412
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20413
|
+
className: "col-10 p-0 text-start"
|
|
20414
|
+
// onClick={() => {
|
|
20415
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
20416
|
+
// }}
|
|
20417
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20418
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20419
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20420
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0 text-end"
|
|
20421
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
20422
|
+
if (state.expanded == true) {
|
|
20423
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
20424
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
20425
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
20426
|
+
style: {
|
|
20427
|
+
color: '#000',
|
|
20428
|
+
fontSize: 15
|
|
20429
|
+
}
|
|
20430
|
+
}));
|
|
20431
|
+
} else {
|
|
20432
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
20433
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
20434
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
20435
|
+
style: {
|
|
20436
|
+
color: '#000',
|
|
20437
|
+
fontSize: 15
|
|
20438
|
+
}
|
|
20439
|
+
}));
|
|
20440
|
+
}
|
|
20441
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20442
|
+
className: "col-lg-12 p-0"
|
|
20443
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20444
|
+
className: "mt-4 mb-4",
|
|
20445
|
+
style: {
|
|
20446
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20447
|
+
}
|
|
20448
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
20449
|
+
className: "p-0"
|
|
20450
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20451
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
|
|
20452
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
20453
|
+
allowMultipleExpanded: true,
|
|
20454
|
+
allowZeroExpanded: true
|
|
20455
|
+
}, Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.categories[Choosenindex]) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.parentcolletions) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : _fetchCategoriesQuery3.length) != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery4 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.categories[Choosenindex]) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.parentcolletions.map(function (pitem, pindex) {
|
|
20456
|
+
if (pitem.isshowntocustomers == 1) {
|
|
20457
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
20458
|
+
uuid: pindex
|
|
20459
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20460
|
+
className: ' row m-0 p-0 mb-2 '
|
|
20461
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20462
|
+
className: ' row m-0 w-100 px-4 '
|
|
20463
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20464
|
+
className: "col-10 p-0 text-start",
|
|
20465
|
+
onClick: function onClick() {
|
|
20466
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
20467
|
+
}
|
|
20468
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20469
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20470
|
+
}, langdetect == 'en' ? pitem.title_en : pitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20471
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0 text-end"
|
|
20472
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
20473
|
+
if (state.expanded == true) {
|
|
20474
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
20475
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
20476
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
20477
|
+
style: {
|
|
20478
|
+
color: '#000',
|
|
20479
|
+
fontSize: 15
|
|
20480
|
+
}
|
|
20481
|
+
}));
|
|
20482
|
+
} else {
|
|
20483
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
20484
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
20485
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
20486
|
+
style: {
|
|
20487
|
+
color: '#000',
|
|
20488
|
+
fontSize: 15
|
|
20489
|
+
}
|
|
20490
|
+
}));
|
|
20491
|
+
}
|
|
20492
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20493
|
+
className: "col-lg-12 p-0"
|
|
20494
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20495
|
+
className: "mt-4 mb-4",
|
|
20496
|
+
style: {
|
|
20497
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20498
|
+
}
|
|
20499
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
20500
|
+
className: "p-0"
|
|
20501
|
+
}, pitem.collections.length != 0 && pitem.collections.map(function (collitem, collindex) {
|
|
20502
|
+
if (collitem.isshowntocustomers == 1) {
|
|
20503
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20504
|
+
className: ' row m-0 p-0 mb-2 '
|
|
20505
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20506
|
+
className: ' row m-0 w-100 px-5 '
|
|
20507
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20508
|
+
className: "col-10 p-0 text-start",
|
|
20509
|
+
onClick: function onClick() {
|
|
20510
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
20511
|
+
setopenCnvas(false);
|
|
20512
|
+
}
|
|
20513
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20514
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20515
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20516
|
+
className: "col-lg-12 p-0"
|
|
20517
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20518
|
+
className: "mt-4 mb-4",
|
|
20519
|
+
style: {
|
|
20520
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20521
|
+
}
|
|
20522
|
+
})));
|
|
20523
|
+
}
|
|
20524
|
+
})));
|
|
20525
|
+
}
|
|
20526
|
+
}))))));
|
|
20003
20527
|
}
|
|
20004
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
20005
|
-
|
|
20006
|
-
|
|
20007
|
-
|
|
20528
|
+
})), sectionproperties.subheaderParentType == 'Parent Collections' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
20529
|
+
allowMultipleExpanded: true,
|
|
20530
|
+
allowZeroExpanded: true
|
|
20531
|
+
}, pcollarray.map(function (item, index) {
|
|
20532
|
+
if (item.isshowntocustomers == 1) {
|
|
20533
|
+
var _item$collections;
|
|
20534
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
20535
|
+
uuid: index
|
|
20536
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, {
|
|
20537
|
+
onClick: function onClick() {
|
|
20538
|
+
setChoosenindex(index);
|
|
20539
|
+
}
|
|
20540
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20541
|
+
className: ' row m-0 p-0 mb-2 '
|
|
20542
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20543
|
+
className: ' row m-0 w-100 px-3 '
|
|
20544
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20545
|
+
className: "col-10 p-0 text-start"
|
|
20546
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20547
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20548
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20549
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0 text-end"
|
|
20550
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
20551
|
+
if (state.expanded == true) {
|
|
20552
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
20553
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
20554
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
20555
|
+
style: {
|
|
20556
|
+
color: '#000',
|
|
20557
|
+
fontSize: 15
|
|
20558
|
+
}
|
|
20559
|
+
}));
|
|
20560
|
+
} else {
|
|
20561
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
20562
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
20563
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
20564
|
+
style: {
|
|
20565
|
+
color: '#000',
|
|
20566
|
+
fontSize: 15
|
|
20567
|
+
}
|
|
20568
|
+
}));
|
|
20569
|
+
}
|
|
20570
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20571
|
+
className: "col-lg-12 p-0"
|
|
20572
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20573
|
+
className: "mt-4 mb-4",
|
|
20574
|
+
style: {
|
|
20575
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20576
|
+
}
|
|
20577
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
20578
|
+
className: "p-0"
|
|
20579
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20580
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
|
|
20581
|
+
}, Choosenindex.length != 0 && (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && (item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (collitem, collindex) {
|
|
20582
|
+
if (collitem.isshowntocustomers == 1) {
|
|
20583
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20584
|
+
"class": "col-lg-12 p-0"
|
|
20585
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20586
|
+
className: ' row m-0 p-0 mb-2 '
|
|
20587
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20588
|
+
className: ' row m-0 w-100 px-5 '
|
|
20589
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20590
|
+
className: "col-10 p-0 text-start",
|
|
20591
|
+
onClick: function onClick() {
|
|
20592
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
20593
|
+
setopenCnvas(false);
|
|
20594
|
+
}
|
|
20595
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20596
|
+
className: ' mb-0 p-0 ',
|
|
20597
|
+
style: {
|
|
20598
|
+
color: sectionproperties.collectionsectiontextcolor,
|
|
20599
|
+
fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
|
|
20600
|
+
textTransform: sectionproperties.collectionsectiontexttransform,
|
|
20601
|
+
fontWeight: sectionproperties.collectionsectiontextfontweight,
|
|
20602
|
+
transition: '.3s'
|
|
20603
|
+
}
|
|
20604
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20605
|
+
className: "col-lg-12 p-0"
|
|
20606
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20607
|
+
className: "mt-4 mb-4",
|
|
20608
|
+
style: {
|
|
20609
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20610
|
+
}
|
|
20611
|
+
}))));
|
|
20612
|
+
}
|
|
20613
|
+
})))));
|
|
20008
20614
|
}
|
|
20009
|
-
})),
|
|
20010
|
-
|
|
20011
|
-
|
|
20012
|
-
|
|
20013
|
-
|
|
20014
|
-
|
|
20015
|
-
|
|
20016
|
-
|
|
20615
|
+
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcollections) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (collitem, collindex) {
|
|
20616
|
+
if (collitem.isshowntocustomers == 1) {
|
|
20617
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20618
|
+
className: ' row m-0 p-0 mb-2 w-100 '
|
|
20619
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20620
|
+
className: "col-12 p-0 text-start px-3",
|
|
20621
|
+
onClick: function onClick() {
|
|
20622
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
20623
|
+
setopenCnvas(false);
|
|
20624
|
+
}
|
|
20625
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20626
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
20627
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20628
|
+
className: "col-lg-12 p-0"
|
|
20629
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
20630
|
+
className: "mt-4 mb-4",
|
|
20631
|
+
style: {
|
|
20632
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
20633
|
+
}
|
|
20634
|
+
})));
|
|
20017
20635
|
}
|
|
20018
|
-
})
|
|
20019
|
-
sectionpropertiesprops: sectionproperties,
|
|
20020
|
-
srcfromprops: 'fullheader',
|
|
20021
|
-
actions: actions
|
|
20022
|
-
})))));
|
|
20636
|
+
})))))));
|
|
20023
20637
|
};
|
|
20024
20638
|
|
|
20025
20639
|
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; }
|
|
@@ -20438,7 +21052,15 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20438
21052
|
style: {
|
|
20439
21053
|
minWidth: '200px'
|
|
20440
21054
|
}
|
|
20441
|
-
},
|
|
21055
|
+
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
21056
|
+
onClick: function onClick() {
|
|
21057
|
+
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
21058
|
+
}
|
|
21059
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21060
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
21061
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21062
|
+
"class": ' allcenetered m-0 p-0 '
|
|
21063
|
+
}, langdetect == 'en' ? 'My Account' : 'حسابى'))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
20442
21064
|
onClick: function onClick() {
|
|
20443
21065
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
20444
21066
|
}
|
|
@@ -20608,6 +21230,9 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20608
21230
|
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
20609
21231
|
sectionpropertiesprops: sectionproperties,
|
|
20610
21232
|
actions: actions
|
|
21233
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
21234
|
+
sectionpropertiesprops: sectionproperties,
|
|
21235
|
+
actions: actions
|
|
20611
21236
|
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
20612
21237
|
show: openSideNav,
|
|
20613
21238
|
onHide: function onHide() {
|
|
@@ -26524,7 +27149,13 @@ var Header8 = function Header8(props) {
|
|
|
26524
27149
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26525
27150
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26526
27151
|
}
|
|
26527
|
-
},
|
|
27152
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27153
|
+
"class": "col-lg-12 p-0"
|
|
27154
|
+
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
27155
|
+
sectionpropertiesprops: sectionproperties,
|
|
27156
|
+
templateproperties_contextprops: templateproperties_context,
|
|
27157
|
+
actions: actions
|
|
27158
|
+
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
26528
27159
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
26529
27160
|
target: '_self',
|
|
26530
27161
|
style: {
|
|
@@ -42853,7 +43484,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42853
43484
|
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; }
|
|
42854
43485
|
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; }
|
|
42855
43486
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
42856
|
-
var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$
|
|
43487
|
+
var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i18;
|
|
42857
43488
|
var _useState = React.useState(''),
|
|
42858
43489
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
42859
43490
|
sectionproperties = _useState2[0],
|
|
@@ -42894,6 +43525,11 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
42894
43525
|
return policyobj;
|
|
42895
43526
|
};
|
|
42896
43527
|
var footerStyles = (_footerStyles = {
|
|
43528
|
+
divider: glamor.css({
|
|
43529
|
+
height: '1px',
|
|
43530
|
+
width: '100%',
|
|
43531
|
+
backgroundColor: sectionproperties.vl_bg
|
|
43532
|
+
}),
|
|
42897
43533
|
payimgcont: glamor.css({
|
|
42898
43534
|
marginLeft: '10px',
|
|
42899
43535
|
marginRight: '10px'
|
|
@@ -42927,7 +43563,6 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
42927
43563
|
textStyles: glamor.css({
|
|
42928
43564
|
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
42929
43565
|
color: sectionproperties.footerinfotext_color,
|
|
42930
|
-
textTransform: sectionproperties.footerinfotext_textTransform,
|
|
42931
43566
|
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
42932
43567
|
}),
|
|
42933
43568
|
logoStyles: glamor.css({
|
|
@@ -43165,6 +43800,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
43165
43800
|
"class": "row m-0 w-100"
|
|
43166
43801
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43167
43802
|
"class": "col-lg-3 col-md-12 d-flex justify-content-start justify-content-md-start"
|
|
43803
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43804
|
+
"class": "row m-0 w-100 d-flex justify-content-start justify-content-md-start"
|
|
43805
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43806
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start justify-content-md-start"
|
|
43168
43807
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43169
43808
|
"class": "".concat(footerStyles.logoStyles) + ' cursor-pointer ',
|
|
43170
43809
|
onClick: function onClick() {
|
|
@@ -43181,6 +43820,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
43181
43820
|
},
|
|
43182
43821
|
loading: "lazy"
|
|
43183
43822
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43823
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start justify-content-md-start"
|
|
43824
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43825
|
+
className: "".concat(footerStyles.textStyles) + ' wordbreak wordbreak3 text-center p-0 mb-4 '
|
|
43826
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.description_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43184
43827
|
"class": "col-lg-12 p-0 d-none d-md-block my-3"
|
|
43185
43828
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
43186
43829
|
"class": "m-0 p-0"
|
|
@@ -43257,65 +43900,65 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
43257
43900
|
style: {
|
|
43258
43901
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43259
43902
|
}
|
|
43260
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent3 : sectionproperties.sectionTitleContent_ar3)), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43903
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent3 : sectionproperties.sectionTitleContent_ar3)), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43261
43904
|
"class": footerStyles.facebook_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
43262
43905
|
onClick: function onClick() {
|
|
43263
|
-
var _authdetailsContext$
|
|
43264
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43265
|
-
var _authdetailsContext$
|
|
43266
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43906
|
+
var _authdetailsContext$i5;
|
|
43907
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink) != null) {
|
|
43908
|
+
var _authdetailsContext$i6;
|
|
43909
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.facebooklink, '_blank');
|
|
43267
43910
|
}
|
|
43268
43911
|
}
|
|
43269
43912
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
43270
43913
|
size: sectionproperties.facebkbtnniconfontsize
|
|
43271
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43914
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43272
43915
|
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
43273
43916
|
onClick: function onClick() {
|
|
43274
|
-
var _authdetailsContext$
|
|
43275
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43276
|
-
var _authdetailsContext$
|
|
43277
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43917
|
+
var _authdetailsContext$i8;
|
|
43918
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink) != null) {
|
|
43919
|
+
var _authdetailsContext$i9;
|
|
43920
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instagramlink, '_blank');
|
|
43278
43921
|
}
|
|
43279
43922
|
}
|
|
43280
43923
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
43281
43924
|
size: sectionproperties.instgrambtniconfontsize
|
|
43282
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43925
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43283
43926
|
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
43284
43927
|
onClick: function onClick() {
|
|
43285
|
-
var _authdetailsContext$
|
|
43286
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43287
|
-
var _authdetailsContext$
|
|
43288
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43928
|
+
var _authdetailsContext$i11;
|
|
43929
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.youtubelink) != null) {
|
|
43930
|
+
var _authdetailsContext$i12;
|
|
43931
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.youtubelink, '_blank');
|
|
43289
43932
|
}
|
|
43290
43933
|
}
|
|
43291
43934
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
|
|
43292
43935
|
size: sectionproperties.instgrambtniconfontsize
|
|
43293
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43936
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43294
43937
|
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
43295
43938
|
onClick: function onClick() {
|
|
43296
|
-
var _authdetailsContext$
|
|
43297
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43298
|
-
var _authdetailsContext$
|
|
43299
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43939
|
+
var _authdetailsContext$i14;
|
|
43940
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.tiktoklink) != null) {
|
|
43941
|
+
var _authdetailsContext$i15;
|
|
43942
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink, '_blank');
|
|
43300
43943
|
}
|
|
43301
43944
|
}
|
|
43302
43945
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
43303
43946
|
size: sectionproperties.instgrambtniconfontsize
|
|
43304
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43947
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43305
43948
|
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
43306
43949
|
onClick: function onClick() {
|
|
43307
|
-
var _authdetailsContext$
|
|
43308
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43950
|
+
var _authdetailsContext$i17;
|
|
43951
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.linkedinlink, '_blank');
|
|
43309
43952
|
}
|
|
43310
43953
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
43311
43954
|
size: sectionproperties.instgrambtniconfontsize
|
|
43312
|
-
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43955
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43313
43956
|
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
43314
43957
|
onClick: function onClick() {
|
|
43315
|
-
var _authdetailsContext$
|
|
43316
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43317
|
-
var _authdetailsContext$
|
|
43318
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43958
|
+
var _authdetailsContext$i19;
|
|
43959
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber) != null) {
|
|
43960
|
+
var _authdetailsContext$i20;
|
|
43961
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.whatsappnumber), '_blank');
|
|
43319
43962
|
}
|
|
43320
43963
|
}
|
|
43321
43964
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
@@ -43335,15 +43978,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
43335
43978
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
43336
43979
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
43337
43980
|
onClick: function onClick() {
|
|
43338
|
-
var _authdetailsContext$
|
|
43339
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43981
|
+
var _authdetailsContext$i21;
|
|
43982
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_appstore, '_blank');
|
|
43340
43983
|
}
|
|
43341
43984
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
43342
43985
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
43343
43986
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
43344
43987
|
onClick: function onClick() {
|
|
43345
|
-
var _authdetailsContext$
|
|
43346
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43988
|
+
var _authdetailsContext$i22;
|
|
43989
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.mobileapplink_playstore, '_blank');
|
|
43347
43990
|
}
|
|
43348
43991
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43349
43992
|
"class": "col-lg-12 p-0 d-block my-3"
|