tabexseriescomponents 0.2.823 → 0.2.826
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 +361 -209
- package/dist/index.esm.js +361 -209
- package/dist/index.umd.js +364 -212
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -47,7 +47,6 @@ var FiLayers = require('@react-icons/all-files/fi/FiLayers');
|
|
|
47
47
|
var HiOutlinePlusCircle = require('@react-icons/all-files/hi/HiOutlinePlusCircle');
|
|
48
48
|
require('@react-icons/all-files/hi/HiOutlineMinusCircle');
|
|
49
49
|
var TextareaAutosize = require('react-textarea-autosize');
|
|
50
|
-
require('@mui/system');
|
|
51
50
|
var AiOutlineClockCircle = require('@react-icons/all-files/ai/AiOutlineClockCircle');
|
|
52
51
|
var AiOutlinePlus = require('@react-icons/all-files/ai/AiOutlinePlus');
|
|
53
52
|
var AiOutlineCheck = require('@react-icons/all-files/ai/AiOutlineCheck');
|
|
@@ -76,6 +75,7 @@ var FiCheckCircle = require('@react-icons/all-files/fi/FiCheckCircle');
|
|
|
76
75
|
var BiPhone = require('@react-icons/all-files/bi/BiPhone');
|
|
77
76
|
var Select$4 = require('react-select');
|
|
78
77
|
var PhoneInput = require('react-phone-input-2');
|
|
78
|
+
require('@mui/system');
|
|
79
79
|
var BsChevronLeft = require('@react-icons/all-files/bs/BsChevronLeft');
|
|
80
80
|
var BsChevronRight = require('@react-icons/all-files/bs/BsChevronRight');
|
|
81
81
|
require('@react-icons/all-files/ri/RiArrowUpSLine');
|
|
@@ -2321,7 +2321,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2321
2321
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2322
2322
|
"class": "row m-0 w-100"
|
|
2323
2323
|
}, sectionproperties.gallerystyle == 'Style 2' && props.srcfromprops != 'collap' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2324
|
-
"class": "col-lg-12 p-0 mb-3"
|
|
2324
|
+
"class": "col-lg-12 p-0 mb-3 text-start"
|
|
2325
2325
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2326
2326
|
"class": "m-0 p-0",
|
|
2327
2327
|
style: {
|
|
@@ -2725,6 +2725,46 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2725
2725
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
2726
2726
|
}))));
|
|
2727
2727
|
};
|
|
2728
|
+
var DescriptionAccordion = function DescriptionAccordion() {
|
|
2729
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
2730
|
+
uuid: 0
|
|
2731
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2732
|
+
"class": "row m-0 w-100"
|
|
2733
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2734
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
2735
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2736
|
+
"class": "m-0 p-0",
|
|
2737
|
+
style: {
|
|
2738
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2739
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
2740
|
+
color: sectionproperties.prodCatColor,
|
|
2741
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
2742
|
+
}
|
|
2743
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2744
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
2745
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
2746
|
+
if (state.expanded == true) {
|
|
2747
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2748
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
2749
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
2750
|
+
color: sectionproperties.prodCatColor
|
|
2751
|
+
}));
|
|
2752
|
+
} else {
|
|
2753
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2754
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
2755
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
2756
|
+
color: sectionproperties.prodCatColor
|
|
2757
|
+
}));
|
|
2758
|
+
}
|
|
2759
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
2760
|
+
className: "p-0"
|
|
2761
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2762
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
2763
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2764
|
+
actions: props.actions,
|
|
2765
|
+
srcfromprops: 'collap'
|
|
2766
|
+
}))));
|
|
2767
|
+
};
|
|
2728
2768
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2729
2769
|
className: sectionproperties.productInformationType == 'Portfolio' ? ' row m-0 w-100 p-0 ' : sectionproperties.card_marginLeft != 0 ? ' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ' : ' row m-0 w-100 p-sm-0 ',
|
|
2730
2770
|
style: {
|
|
@@ -3608,45 +3648,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3608
3648
|
"class": "m-0"
|
|
3609
3649
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3610
3650
|
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
3611
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
3651
|
+
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
3652
|
+
allowMultipleExpanded: true,
|
|
3653
|
+
allowZeroExpanded: true,
|
|
3654
|
+
preExpanded: [0]
|
|
3655
|
+
}, DescriptionAccordion()), sectionproperties.descriptioncollapseopen != 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
3612
3656
|
allowMultipleExpanded: true,
|
|
3613
3657
|
allowZeroExpanded: true
|
|
3614
|
-
},
|
|
3615
|
-
"class": "row m-0 w-100"
|
|
3616
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3617
|
-
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
3618
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3619
|
-
"class": "m-0 p-0",
|
|
3620
|
-
style: {
|
|
3621
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3622
|
-
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3623
|
-
color: sectionproperties.prodCatColor,
|
|
3624
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3625
|
-
}
|
|
3626
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3627
|
-
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
3628
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
3629
|
-
if (state.expanded == true) {
|
|
3630
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3631
|
-
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3632
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
3633
|
-
color: sectionproperties.prodCatColor
|
|
3634
|
-
}));
|
|
3635
|
-
} else {
|
|
3636
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3637
|
-
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3638
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
3639
|
-
color: sectionproperties.prodCatColor
|
|
3640
|
-
}));
|
|
3641
|
-
}
|
|
3642
|
-
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
3643
|
-
className: "p-0"
|
|
3644
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3645
|
-
"class": "col-lg-12 p-0 mt-3"
|
|
3646
|
-
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
3647
|
-
actions: props.actions,
|
|
3648
|
-
srcfromprops: 'collap'
|
|
3649
|
-
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3658
|
+
}, DescriptionAccordion())), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3650
3659
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
3651
3660
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
3652
3661
|
"class": "m-0"
|
|
@@ -7166,7 +7175,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
7166
7175
|
function ownKeys$2w(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; }
|
|
7167
7176
|
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7168
7177
|
var Productinfo = function Productinfo(props) {
|
|
7169
|
-
var _css, _ref, _ref2, _ref3,
|
|
7178
|
+
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
7170
7179
|
var _useState = React.useState({}),
|
|
7171
7180
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7172
7181
|
ProductInfoObj = _useState2[0],
|
|
@@ -7384,7 +7393,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7384
7393
|
// }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
|
|
7385
7394
|
React.useEffect(function () {
|
|
7386
7395
|
if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
|
|
7387
|
-
var _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10;
|
|
7396
|
+
var _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
|
|
7388
7397
|
variantchecker();
|
|
7389
7398
|
Pixel_EventsContext('productview', {
|
|
7390
7399
|
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.name_en,
|
|
@@ -7392,6 +7401,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7392
7401
|
productid: 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.productid,
|
|
7393
7402
|
sku: 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.sku
|
|
7394
7403
|
});
|
|
7404
|
+
Pixel_EventsContext('ViewContent', {
|
|
7405
|
+
name_en: 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 ? void 0 : _fetchProductInfoQuer11.name_en,
|
|
7406
|
+
name_ar: 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 ? void 0 : _fetchProductInfoQuer12.name_ar,
|
|
7407
|
+
productid: 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.productid,
|
|
7408
|
+
sku: 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.sku
|
|
7409
|
+
});
|
|
7395
7410
|
}
|
|
7396
7411
|
}, [ProductInfoObj, isloaded]);
|
|
7397
7412
|
var productidassigner = function productidassigner(productid) {
|
|
@@ -7405,12 +7420,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7405
7420
|
React.useEffect(function () {
|
|
7406
7421
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
7407
7422
|
if (fetchProductInfoQueryContext.data.data.productinfo != null) {
|
|
7408
|
-
var
|
|
7423
|
+
var _fetchProductInfoQuer15, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23;
|
|
7409
7424
|
var tempproductimagesarray = [];
|
|
7410
7425
|
var sizeguideimagetemp = [];
|
|
7411
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7412
|
-
var
|
|
7413
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7426
|
+
if (Array.isArray(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 ? void 0 : _fetchProductInfoQuer15.productimages)) {
|
|
7427
|
+
var _fetchProductInfoQuer16;
|
|
7428
|
+
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.productimages.forEach(function (arrayItem, arrayindex) {
|
|
7414
7429
|
var imagepath = arrayItem.path;
|
|
7415
7430
|
|
|
7416
7431
|
// var sizeguideimagearrayobj = {
|
|
@@ -7456,7 +7471,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7456
7471
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
7457
7472
|
// setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
|
|
7458
7473
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
7459
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7474
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.maintagid) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.length) != 0) {
|
|
7460
7475
|
GeneralAPIMutationContext.mutate({
|
|
7461
7476
|
endpointurl: '/FetchRelatedProducts',
|
|
7462
7477
|
tagid: fetchProductInfoQueryContext.data.data.productinfo.maintagid,
|
|
@@ -7467,19 +7482,19 @@ var Productinfo = function Productinfo(props) {
|
|
|
7467
7482
|
}
|
|
7468
7483
|
});
|
|
7469
7484
|
}
|
|
7470
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7485
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.item_type) == 'package list') {
|
|
7471
7486
|
tempaddtocardpayloadobj.item_type = 'package list';
|
|
7472
7487
|
} else {
|
|
7473
7488
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
7474
7489
|
}
|
|
7475
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7490
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.quantitystepincrearse) != '') {
|
|
7476
7491
|
var _authdetailsContext$i;
|
|
7477
7492
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '66d6de1a1e04a') {
|
|
7478
|
-
var
|
|
7479
|
-
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7493
|
+
var _fetchProductInfoQuer24;
|
|
7494
|
+
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.quantitystepincrearse);
|
|
7480
7495
|
} else {
|
|
7481
|
-
var
|
|
7482
|
-
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7496
|
+
var _fetchProductInfoQuer25;
|
|
7497
|
+
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.quantitystepincrearse);
|
|
7483
7498
|
}
|
|
7484
7499
|
// quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
7485
7500
|
}
|
|
@@ -7687,8 +7702,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
7687
7702
|
var forcetocheckoutvalue = forcetocheckout;
|
|
7688
7703
|
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
7689
7704
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
7690
|
-
var
|
|
7691
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7705
|
+
var _fetchProductInfoQuer26;
|
|
7706
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.hasvariants) == 1) {
|
|
7692
7707
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
7693
7708
|
runfunc = true;
|
|
7694
7709
|
} else {
|
|
@@ -7704,16 +7719,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
7704
7719
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
7705
7720
|
}
|
|
7706
7721
|
if (runfunc == true) {
|
|
7707
|
-
var
|
|
7722
|
+
var _fetchProductInfoQuer27, _fetchProductInfoQuer28;
|
|
7708
7723
|
var tempaddtocardpayloadobj = _objectSpread$2w({}, addtocardpayloadobj);
|
|
7709
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7710
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7724
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproductforcedtocheckout;
|
|
7725
|
+
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.vendorproviderid;
|
|
7711
7726
|
if (forcetocheckoutvalue != undefined) {
|
|
7712
7727
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
7713
7728
|
}
|
|
7714
7729
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
7715
7730
|
if (Extrafieldvalidationresponse.status) {
|
|
7716
|
-
var
|
|
7731
|
+
var _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
|
|
7717
7732
|
// Pixel_EventsContext('AddToCart', {
|
|
7718
7733
|
// content_ids: [fetchProductInfoQueryContext?.data?.data?.productinfo?.productid],
|
|
7719
7734
|
// content_name: fetchProductInfoQueryContext?.data?.data?.productinfo?.name_en + ' - ' + fetchProductInfoQueryContext?.data?.data?.productinfo?.name_ar,
|
|
@@ -7724,17 +7739,17 @@ var Productinfo = function Productinfo(props) {
|
|
|
7724
7739
|
// quantity: addtocardpayloadobj.quantity,
|
|
7725
7740
|
// });
|
|
7726
7741
|
var finalprice = 0;
|
|
7727
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7742
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.hassale) == 1) {
|
|
7728
7743
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
7729
7744
|
} else {
|
|
7730
7745
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
7731
7746
|
}
|
|
7732
7747
|
Pixel_EventsContext('AddToCart', {
|
|
7733
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7734
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7735
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7748
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.productid],
|
|
7749
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.name_ar),
|
|
7750
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.sku,
|
|
7736
7751
|
content_type: 'product',
|
|
7737
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7752
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.currencyname_en,
|
|
7738
7753
|
value: finalprice,
|
|
7739
7754
|
quantity: addtocardpayloadobj.quantity
|
|
7740
7755
|
});
|
|
@@ -7743,12 +7758,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7743
7758
|
}
|
|
7744
7759
|
};
|
|
7745
7760
|
var validateextrafields = function validateextrafields() {
|
|
7746
|
-
var
|
|
7761
|
+
var _fetchProductInfoQuer35;
|
|
7747
7762
|
var tempaddtocardpayloadobj = _objectSpread$2w({}, addtocardpayloadobj);
|
|
7748
7763
|
var status = false;
|
|
7749
7764
|
var reason = '';
|
|
7750
7765
|
var missingitemsfound = [];
|
|
7751
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7766
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.productextrafields;
|
|
7752
7767
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
7753
7768
|
status = true;
|
|
7754
7769
|
} else {
|
|
@@ -7799,6 +7814,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7799
7814
|
};
|
|
7800
7815
|
var relatedproducts = function relatedproducts() {
|
|
7801
7816
|
if (Relatedproducts.length != 0) {
|
|
7817
|
+
var _authdetailsContext$i4;
|
|
7802
7818
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7803
7819
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
7804
7820
|
style: {
|
|
@@ -7841,17 +7857,17 @@ var Productinfo = function Productinfo(props) {
|
|
|
7841
7857
|
borderRadius: 5
|
|
7842
7858
|
}
|
|
7843
7859
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7844
|
-
className: "col-lg-12"
|
|
7860
|
+
className: "col-lg-12 p-0"
|
|
7845
7861
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
7846
7862
|
transitionBehavior: 'auto',
|
|
7847
7863
|
wrapperClassName: '',
|
|
7848
|
-
itemClassName: 'scrollmenuclassnameitemrelatedproduct',
|
|
7849
|
-
scrollContainerClassName: '
|
|
7864
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
7865
|
+
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
7850
7866
|
}, Relatedproducts.map(function (item, index) {
|
|
7851
7867
|
if (item.productinfo != null) {
|
|
7852
7868
|
if (item.productid != fetchProductInfoQueryContext.data.data.productinfo.productid) {
|
|
7853
7869
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7854
|
-
className: "col-lg-12
|
|
7870
|
+
className: "col-lg-12 mb-3 px-1",
|
|
7855
7871
|
onClick: function onClick() {
|
|
7856
7872
|
if (props.srcfromprops != 'templatdraftrouter') {
|
|
7857
7873
|
productidassigner(item.productid);
|
|
@@ -8408,23 +8424,23 @@ var Productinfo = function Productinfo(props) {
|
|
|
8408
8424
|
}
|
|
8409
8425
|
}));
|
|
8410
8426
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
8411
|
-
var
|
|
8427
|
+
var _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39;
|
|
8412
8428
|
var price = 0;
|
|
8413
8429
|
var quantity = 0;
|
|
8414
8430
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
8415
8431
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
8416
8432
|
}
|
|
8417
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8433
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productquantityoptions) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.length) != 0) {
|
|
8418
8434
|
fetchProductInfoQueryContext.data.data.productinfo.productquantityoptions;
|
|
8419
8435
|
}
|
|
8420
8436
|
if (type == 'defaultprice') {
|
|
8421
8437
|
price = fetchProductInfoQueryContext.data.data.productinfo.defaultprice;
|
|
8422
8438
|
if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
|
|
8423
8439
|
if (variantindexcompleted != undefined) {
|
|
8424
|
-
var
|
|
8425
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8426
|
-
var
|
|
8427
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8440
|
+
var _fetchProductInfoQuer40;
|
|
8441
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.variants[variantindexcompleted]) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.variantprice) != undefined) {
|
|
8442
|
+
var _fetchProductInfoQuer41;
|
|
8443
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.variants[variantindexcompleted]) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.variantprice;
|
|
8428
8444
|
}
|
|
8429
8445
|
}
|
|
8430
8446
|
}
|
|
@@ -8432,10 +8448,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
8432
8448
|
price = fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice;
|
|
8433
8449
|
if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
|
|
8434
8450
|
if (variantindexcompleted != undefined) {
|
|
8435
|
-
var
|
|
8436
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8437
|
-
var
|
|
8438
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8451
|
+
var _fetchProductInfoQuer42;
|
|
8452
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.variants[variantindexcompleted]) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.variantsaleprice) != undefined) {
|
|
8453
|
+
var _fetchProductInfoQuer43;
|
|
8454
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.variants[variantindexcompleted]) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.variantsaleprice;
|
|
8439
8455
|
}
|
|
8440
8456
|
}
|
|
8441
8457
|
}
|
|
@@ -8470,7 +8486,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8470
8486
|
}
|
|
8471
8487
|
};
|
|
8472
8488
|
var getQuantityCondition = function getQuantityCondition() {
|
|
8473
|
-
var
|
|
8489
|
+
var _fetchProductInfoQuer44;
|
|
8474
8490
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8475
8491
|
"class": "col-lg-12 p-0",
|
|
8476
8492
|
style: {
|
|
@@ -8500,12 +8516,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8500
8516
|
height: 1,
|
|
8501
8517
|
background: sectionproperties.pricelisttitlecolor
|
|
8502
8518
|
}
|
|
8503
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8504
|
-
var
|
|
8519
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productquantityoptions) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.map(function (item, index) {
|
|
8520
|
+
var _fetchProductInfoQuer45;
|
|
8505
8521
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8506
8522
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
8507
8523
|
style: {
|
|
8508
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8524
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productquantityoptions) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.length) - 1 != index ? '1rem' : 0
|
|
8509
8525
|
}
|
|
8510
8526
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8511
8527
|
"class": "d-flex align-items-center",
|
|
@@ -8539,7 +8555,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8539
8555
|
})));
|
|
8540
8556
|
};
|
|
8541
8557
|
var StoreInfo = function StoreInfo(position) {
|
|
8542
|
-
var
|
|
8558
|
+
var _fetchProductInfoQuer46, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
8543
8559
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8544
8560
|
"class": "row m-0 w-100"
|
|
8545
8561
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8586,7 +8602,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8586
8602
|
style: {
|
|
8587
8603
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8588
8604
|
}
|
|
8589
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8605
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productquantityoptions) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8590
8606
|
"class": "col-lg-12 p-0 mb-4"
|
|
8591
8607
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8592
8608
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -8614,8 +8630,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8614
8630
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8615
8631
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
8616
8632
|
onClick: function onClick() {
|
|
8617
|
-
var _authdetailsContext$
|
|
8618
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8633
|
+
var _authdetailsContext$i5;
|
|
8634
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.email), '_self');
|
|
8619
8635
|
}
|
|
8620
8636
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8621
8637
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -8635,7 +8651,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8635
8651
|
style: {
|
|
8636
8652
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8637
8653
|
}
|
|
8638
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8654
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8639
8655
|
"class": "row m-0 w-100"
|
|
8640
8656
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8641
8657
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
@@ -8646,25 +8662,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
8646
8662
|
}
|
|
8647
8663
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8648
8664
|
"class": "m-0 p-0"
|
|
8649
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8665
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8650
8666
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8651
8667
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8652
8668
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8653
8669
|
onClick: function onClick() {
|
|
8654
|
-
var _authdetailsContext$
|
|
8655
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8670
|
+
var _authdetailsContext$i8;
|
|
8671
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email), '_self');
|
|
8656
8672
|
}
|
|
8657
8673
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8658
8674
|
"class": "m-0 p-0"
|
|
8659
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8675
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8660
8676
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8661
8677
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8662
8678
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8663
8679
|
onClick: function onClick() {
|
|
8664
|
-
var _authdetailsContext$
|
|
8665
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8666
|
-
var _authdetailsContext$
|
|
8667
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8680
|
+
var _authdetailsContext$i10;
|
|
8681
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber) != null) {
|
|
8682
|
+
var _authdetailsContext$i11;
|
|
8683
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.whatsappnumber), '_blank');
|
|
8668
8684
|
}
|
|
8669
8685
|
}
|
|
8670
8686
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8774,7 +8790,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8774
8790
|
style: {
|
|
8775
8791
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8776
8792
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
8777
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8793
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.product_videos) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.product_videos) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.length) == 0 ? 'none' : 'flex'
|
|
8778
8794
|
}
|
|
8779
8795
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8780
8796
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -8836,12 +8852,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8836
8852
|
onClick: function onClick() {
|
|
8837
8853
|
settabname('refundpolicytab');
|
|
8838
8854
|
}
|
|
8839
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8855
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.product_videos) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8840
8856
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
8841
8857
|
onClick: function onClick() {
|
|
8842
8858
|
settabname('videostab');
|
|
8843
8859
|
}
|
|
8844
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8860
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8845
8861
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8846
8862
|
onClick: function onClick() {
|
|
8847
8863
|
settabname('reviewstab');
|
|
@@ -8895,12 +8911,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8895
8911
|
onClick: function onClick() {
|
|
8896
8912
|
settabname('refundpolicytab');
|
|
8897
8913
|
}
|
|
8898
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8914
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.product_videos) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8899
8915
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
8900
8916
|
onClick: function onClick() {
|
|
8901
8917
|
settabname('videostab');
|
|
8902
8918
|
}
|
|
8903
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8919
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8904
8920
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8905
8921
|
onClick: function onClick() {
|
|
8906
8922
|
settabname('reviewstab');
|
|
@@ -12407,7 +12423,7 @@ var Checkout = function Checkout(props) {
|
|
|
12407
12423
|
style: {
|
|
12408
12424
|
color: 'red'
|
|
12409
12425
|
}
|
|
12410
|
-
},
|
|
12426
|
+
}, langdetect == 'en' ? 'Enter shipping address' : 'ادخل عنوان الشحن')))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12411
12427
|
className: "col-lg-12 p-0"
|
|
12412
12428
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
12413
12429
|
className: "mt-2 mb-2"
|
|
@@ -25208,7 +25224,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
25208
25224
|
function ownKeys$23(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; }
|
|
25209
25225
|
function _objectSpread$23(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$23(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$23(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25210
25226
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
25211
|
-
var _authdetailsContext$i3, _authdetailsContext$i4, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
|
|
25227
|
+
var _authdetailsContext$i3, _authdetailsContext$i4, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
25212
25228
|
var actions = props.actions;
|
|
25213
25229
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
25214
25230
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -26001,13 +26017,16 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26001
26017
|
"class": 'd-flex align-items-center pl-1 pr-1 pt-1',
|
|
26002
26018
|
style: {}
|
|
26003
26019
|
}, /*#__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", {
|
|
26004
|
-
"class": ' d-flex align-items-center justify-content-center '
|
|
26020
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
26021
|
+
style: {
|
|
26022
|
+
color: sectionproperties.cart_BtnTextcolor_resp
|
|
26023
|
+
}
|
|
26005
26024
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26006
|
-
"class":
|
|
26025
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
26007
26026
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26008
26027
|
"class": "m-0 p-0 mr-1 ml-1"
|
|
26009
26028
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26010
|
-
"class":
|
|
26029
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
26011
26030
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26012
26031
|
"class": "m-0 p-0 ml-1 mr-1"
|
|
26013
26032
|
}, 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$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
|
|
@@ -27209,6 +27228,45 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27209
27228
|
style: {
|
|
27210
27229
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
27211
27230
|
}
|
|
27231
|
+
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcurrencies) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) > 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67f69c023cbd4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27232
|
+
"class": "row m-0 w-100 pl-3 pr-3"
|
|
27233
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27234
|
+
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
27235
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27236
|
+
"class": "m-0 p-0",
|
|
27237
|
+
style: {
|
|
27238
|
+
color: sectionproperties.navbar_item_text_responsive,
|
|
27239
|
+
cursor: 'default'
|
|
27240
|
+
}
|
|
27241
|
+
}, langdetect == 'en' ? 'Currency' : 'العملة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27242
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
27243
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27244
|
+
"class": "row m-0 w-100",
|
|
27245
|
+
style: {
|
|
27246
|
+
background: '#f4f4f4',
|
|
27247
|
+
borderRadius: 5
|
|
27248
|
+
}
|
|
27249
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcurrencies) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
|
|
27250
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27251
|
+
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
27252
|
+
onClick: function onClick() {
|
|
27253
|
+
setcurrencyfunccontext(item);
|
|
27254
|
+
}
|
|
27255
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
27256
|
+
"class": langdetect == 'en' ? "".concat(formstyles.radiobtn_label) + ' p-0 ' : "".concat(formstyles.radiobtn_label, " ").concat(formstyles.radiobtn_label_translated) + ' p-0 '
|
|
27257
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
27258
|
+
type: "radio",
|
|
27259
|
+
name: "radio",
|
|
27260
|
+
value: item.currencyname_en,
|
|
27261
|
+
checked: item.currencyname_en == (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en) ? true : false
|
|
27262
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", null, " ", langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)));
|
|
27263
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27264
|
+
className: "col-lg-12 p-0"
|
|
27265
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
27266
|
+
className: "mt-3 mb-3",
|
|
27267
|
+
style: {
|
|
27268
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
27269
|
+
}
|
|
27212
27270
|
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27213
27271
|
className: "row m-0 w-100 pl-3 pr-3"
|
|
27214
27272
|
}, LanguageContainer()), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -32274,7 +32332,7 @@ styleInject(css_248z$w);
|
|
|
32274
32332
|
function ownKeys$1Y(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; }
|
|
32275
32333
|
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32276
32334
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
32277
|
-
var _authdetailsContext$i3, _authdetailsContext$i10, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$
|
|
32335
|
+
var _authdetailsContext$i3, _authdetailsContext$i10, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
32278
32336
|
var _useState = React.useState(''),
|
|
32279
32337
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
32280
32338
|
sectionproperties = _useState2[0],
|
|
@@ -33157,7 +33215,17 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
33157
33215
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
33158
33216
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
33159
33217
|
"class": "ml-2 mr-2"
|
|
33160
|
-
}, lang.orderhistory)))), templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
33218
|
+
}, lang.orderhistory)))), templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '680e54786ead2' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
33219
|
+
onClick: function onClick() {
|
|
33220
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
33221
|
+
}
|
|
33222
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33223
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
33224
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33225
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
33226
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
33227
|
+
"class": "ml-2 mr-2"
|
|
33228
|
+
}, lang.orderhistory)))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '680e54786ead2' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
33161
33229
|
onClick: function onClick() {
|
|
33162
33230
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
33163
33231
|
}
|
|
@@ -33285,7 +33353,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
33285
33353
|
}
|
|
33286
33354
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33287
33355
|
"class": "m-0 p-0 ml-2"
|
|
33288
|
-
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33356
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcurrencies) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.length) > 1 && /*#__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", {
|
|
33289
33357
|
"class": ' d-flex align-items-center justify-content-center '
|
|
33290
33358
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33291
33359
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
@@ -33295,8 +33363,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
33295
33363
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
33296
33364
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33297
33365
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
33298
|
-
}, 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$
|
|
33299
|
-
var _authdetailsContext$
|
|
33366
|
+
}, 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$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instcurrencies) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.map(function (item, index) {
|
|
33367
|
+
var _authdetailsContext$i18;
|
|
33300
33368
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
33301
33369
|
onClick: function onClick() {
|
|
33302
33370
|
setcurrencyfunccontext(item);
|
|
@@ -33314,7 +33382,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
33314
33382
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
33315
33383
|
textTransform: sectionproperties.dropdown_texttransform
|
|
33316
33384
|
}
|
|
33317
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33385
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcurrencies) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33318
33386
|
"class": "col-lg-12 p-0"
|
|
33319
33387
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
33320
33388
|
"class": "m-0"
|
|
@@ -54521,7 +54589,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
|
|
|
54521
54589
|
position: 'relative',
|
|
54522
54590
|
display: 'flex',
|
|
54523
54591
|
alignItems: 'center'
|
|
54524
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "display", 'block'), "width", '100%'), "height", '35px'), "padding", '0 10px 10px'), "transition", '.3s'), "fontWeight", 500), "borderBottom", ' 1px solid ' + sectionproperties.newslettertitlecolor), "height", '40px'), "background", 'transparent'), "color",
|
|
54592
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "display", 'block'), "width", '100%'), "height", '35px'), "padding", '0 10px 10px'), "transition", '.3s'), "fontWeight", 500), "borderBottom", ' 1px solid ' + sectionproperties.newslettertitlecolor), "height", '40px'), "background", 'transparent'), "color", sectionproperties.newslettertitlecolor), _defineProperty__default["default"](_css, ':focus', {
|
|
54525
54593
|
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
54526
54594
|
})))
|
|
54527
54595
|
};
|
|
@@ -65491,7 +65559,9 @@ var CountDownSection = function CountDownSection(props) {
|
|
|
65491
65559
|
marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px',
|
|
65492
65560
|
width: sectionproperties.widthresponsive + '%',
|
|
65493
65561
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddinghorizontalresponsive + 'px' : sectionproperties.paddinghorizontalresponsive + 'px',
|
|
65494
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddinghorizontalresponsive + 'px' : sectionproperties.paddinghorizontalresponsive + 'px'
|
|
65562
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddinghorizontalresponsive + 'px' : sectionproperties.paddinghorizontalresponsive + 'px',
|
|
65563
|
+
paddingTop: 20,
|
|
65564
|
+
paddingBottom: 0
|
|
65495
65565
|
}
|
|
65496
65566
|
}),
|
|
65497
65567
|
sectiontitle: glamor.css({
|
|
@@ -65507,14 +65577,14 @@ var CountDownSection = function CountDownSection(props) {
|
|
|
65507
65577
|
fontSize: sectionproperties.timerfontisze + 'px',
|
|
65508
65578
|
fontWeight: 600,
|
|
65509
65579
|
'@media (max-width: 800px)': {
|
|
65510
|
-
fontSize: '
|
|
65580
|
+
fontSize: '14px'
|
|
65511
65581
|
}
|
|
65512
65582
|
}),
|
|
65513
65583
|
daywrapper: glamor.css({
|
|
65514
65584
|
fontSize: '14px',
|
|
65515
65585
|
fontWeight: 400,
|
|
65516
65586
|
'@media (max-width: 800px)': {
|
|
65517
|
-
fontSize: '
|
|
65587
|
+
fontSize: '10px'
|
|
65518
65588
|
}
|
|
65519
65589
|
})
|
|
65520
65590
|
};
|
|
@@ -65532,7 +65602,7 @@ var CountDownSection = function CountDownSection(props) {
|
|
|
65532
65602
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65533
65603
|
"class": "row m-0 w-100"
|
|
65534
65604
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65535
|
-
"class": "col-7 col-md-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-
|
|
65605
|
+
"class": "col-7 col-md-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0 "
|
|
65536
65606
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
65537
65607
|
"class": section_cssstyles.sectiontitle + ' m-0 p-0 text-start text-md-center '
|
|
65538
65608
|
}, langdetect == 'en' ? sectionproperties.countdowntitleen : sectionproperties.countdowntitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -66727,9 +66797,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
66727
66797
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
66728
66798
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
66729
66799
|
marginLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
66730
|
-
marginRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px'
|
|
66731
|
-
|
|
66732
|
-
|
|
66800
|
+
marginRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
|
|
66801
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
66802
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
66733
66803
|
}
|
|
66734
66804
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66735
66805
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -66950,15 +67020,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
66950
67020
|
style: {
|
|
66951
67021
|
position: 'relative',
|
|
66952
67022
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
66953
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
66954
|
-
|
|
66955
|
-
|
|
66956
|
-
// ? sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
66957
|
-
// : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
66958
|
-
// paddingRight:
|
|
66959
|
-
// langdetect == 'en'
|
|
66960
|
-
// ? sectionproperties.slideshowText2Content_marginRight + 'px'
|
|
66961
|
-
// : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
67023
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
67024
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67025
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
66962
67026
|
}
|
|
66963
67027
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66964
67028
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -67107,15 +67171,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67107
67171
|
style: {
|
|
67108
67172
|
position: 'relative',
|
|
67109
67173
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
67110
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
67111
|
-
|
|
67112
|
-
|
|
67113
|
-
// ? sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67114
|
-
// : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67115
|
-
// paddingRight:
|
|
67116
|
-
// langdetect == 'en'
|
|
67117
|
-
// ? sectionproperties.slideshowText2Content_marginRight + 'px'
|
|
67118
|
-
// : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
67174
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
67175
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67176
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67119
67177
|
}
|
|
67120
67178
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67121
67179
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -67264,15 +67322,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67264
67322
|
style: {
|
|
67265
67323
|
position: 'relative',
|
|
67266
67324
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
67267
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
67268
|
-
|
|
67269
|
-
|
|
67270
|
-
// ? sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67271
|
-
// : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67272
|
-
// paddingRight:
|
|
67273
|
-
// langdetect == 'en'
|
|
67274
|
-
// ? sectionproperties.slideshowText2Content_marginRight + 'px'
|
|
67275
|
-
// : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
67325
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
67326
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67327
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67276
67328
|
}
|
|
67277
67329
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67278
67330
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -67421,15 +67473,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67421
67473
|
style: {
|
|
67422
67474
|
position: 'relative',
|
|
67423
67475
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
67424
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
67425
|
-
|
|
67426
|
-
|
|
67427
|
-
// ? sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67428
|
-
// : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67429
|
-
// paddingRight:
|
|
67430
|
-
// langdetect == 'en'
|
|
67431
|
-
// ? sectionproperties.slideshowText2Content_marginRight + 'px'
|
|
67432
|
-
// : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
67476
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
67477
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67478
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67433
67479
|
}
|
|
67434
67480
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67435
67481
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -67671,15 +67717,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67671
67717
|
style: {
|
|
67672
67718
|
position: 'relative',
|
|
67673
67719
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
67674
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
67675
|
-
|
|
67676
|
-
|
|
67677
|
-
// ? sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67678
|
-
// : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67679
|
-
// paddingRight:
|
|
67680
|
-
// langdetect == 'en'
|
|
67681
|
-
// ? sectionproperties.slideshowText2Content_marginRight + 'px'
|
|
67682
|
-
// : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
67720
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
67721
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67722
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67683
67723
|
}
|
|
67684
67724
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67685
67725
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -67868,15 +67908,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67868
67908
|
style: {
|
|
67869
67909
|
position: 'relative',
|
|
67870
67910
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
67871
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
67872
|
-
|
|
67873
|
-
|
|
67874
|
-
// ? sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67875
|
-
// : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67876
|
-
// paddingRight:
|
|
67877
|
-
// langdetect == 'en'
|
|
67878
|
-
// ? sectionproperties.slideshowText2Content_marginRight + 'px'
|
|
67879
|
-
// : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
67911
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
67912
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
67913
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
67880
67914
|
}
|
|
67881
67915
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67882
67916
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -68065,15 +68099,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
68065
68099
|
style: {
|
|
68066
68100
|
position: 'relative',
|
|
68067
68101
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
68068
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
68069
|
-
|
|
68070
|
-
|
|
68071
|
-
// ? sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
68072
|
-
// : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
68073
|
-
// paddingRight:
|
|
68074
|
-
// langdetect == 'en'
|
|
68075
|
-
// ? sectionproperties.slideshowText2Content_marginRight + 'px'
|
|
68076
|
-
// : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
68102
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
68103
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
68104
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
68077
68105
|
}
|
|
68078
68106
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68079
68107
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -68222,15 +68250,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
68222
68250
|
style: {
|
|
68223
68251
|
position: 'relative',
|
|
68224
68252
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
68225
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
68226
|
-
|
|
68227
|
-
|
|
68228
|
-
// ? sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
68229
|
-
// : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
68230
|
-
// paddingRight:
|
|
68231
|
-
// langdetect == 'en'
|
|
68232
|
-
// ? sectionproperties.slideshowText2Content_marginRight + 'px'
|
|
68233
|
-
// : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
68253
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
68254
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
68255
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
68234
68256
|
}
|
|
68235
68257
|
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68236
68258
|
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
@@ -69081,7 +69103,12 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69081
69103
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69082
69104
|
"class": sectionproperties.descFontFamily == 'Pacifico' ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak' : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak',
|
|
69083
69105
|
style: {}
|
|
69084
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)),
|
|
69106
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), sectionproperties.view_as_slider_vertical == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69107
|
+
"class": "row m-0 w-100 d-flex ",
|
|
69108
|
+
style: {
|
|
69109
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
69110
|
+
}
|
|
69111
|
+
}, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
69085
69112
|
var _authdetailsContext$i;
|
|
69086
69113
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69087
69114
|
// class={
|
|
@@ -69259,7 +69286,130 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69259
69286
|
objectFit: 'contain'
|
|
69260
69287
|
}
|
|
69261
69288
|
})))));
|
|
69262
|
-
})
|
|
69289
|
+
}), sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69290
|
+
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
69291
|
+
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
69292
|
+
// alert(JSON.stringify(cardsarray[7]));
|
|
69293
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69294
|
+
"class": (cardinfoitem === null || cardinfoitem === void 0 ? void 0 : cardinfoitem.cardobj_descripen) == undefined ? sectionproperties.numofcols == '2' ? ' flip-card flip-cardnonhover h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' flip-card flip-cardnonhover h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '6' ? ' flip-card flip-cardnonhover h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : ' flip-card flip-cardnonhover h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '2' ? ' flip-card h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' flip-card h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '6' ? ' flip-card h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : ' flip-card h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
69295
|
+
style: {
|
|
69296
|
+
zIndex: 2,
|
|
69297
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
69298
|
+
paddingRight: sectionproperties.marginhorizontal + 'px',
|
|
69299
|
+
marginBottom: sectionproperties.innersectionmarginbottom + 'px',
|
|
69300
|
+
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : ''
|
|
69301
|
+
},
|
|
69302
|
+
onClick: function onClick() {
|
|
69303
|
+
if (cardinfoitem.iscardclickable == 'Yes') {
|
|
69304
|
+
if (cardinfoitem.btntype == 'Web Product Link') {
|
|
69305
|
+
routingcountext(cardinfoitem.btnlink, false, '');
|
|
69306
|
+
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
69307
|
+
window.open(cardinfoitem.btnlink, '_self');
|
|
69308
|
+
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
69309
|
+
window.open(cardinfoitem.btnlink, '_blank');
|
|
69310
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
69311
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
69312
|
+
routingcountext(cardinfoitem.btnlink, false, '');
|
|
69313
|
+
}
|
|
69314
|
+
}
|
|
69315
|
+
}
|
|
69316
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69317
|
+
"class": "flip-card-inner",
|
|
69318
|
+
style: {
|
|
69319
|
+
background: cardinfoitem.cardbgcolorfromarray,
|
|
69320
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
69321
|
+
border: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : ''
|
|
69322
|
+
}
|
|
69323
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69324
|
+
"class": cardinfoitem.cardobj_descripen != '' ? 'flip-card-front d-flex align-items-center' : 'd-flex align-items-center'
|
|
69325
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69326
|
+
"class": "row m-0 w-100"
|
|
69327
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69328
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
69329
|
+
style: {
|
|
69330
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
69331
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
69332
|
+
}
|
|
69333
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69334
|
+
"class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
|
|
69335
|
+
style: {
|
|
69336
|
+
background: 'transparent'
|
|
69337
|
+
}
|
|
69338
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
69339
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
69340
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
69341
|
+
path: cardsarray.length != 0 ? cardinfoitem.cardobj_img : '',
|
|
69342
|
+
style: {
|
|
69343
|
+
maxHeight: sectionproperties.iconcontainerwidth + '%',
|
|
69344
|
+
maxWidth: sectionproperties.iconcontainerwidth + '%',
|
|
69345
|
+
objectFit: 'contain'
|
|
69346
|
+
}
|
|
69347
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69348
|
+
"class": "col-lg-12 d-flex p-0",
|
|
69349
|
+
style: {
|
|
69350
|
+
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
69351
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
69352
|
+
}
|
|
69353
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69354
|
+
"class": sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles ',
|
|
69355
|
+
style: {
|
|
69356
|
+
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
|
|
69357
|
+
color: cardinfoitem.text1colorfromarray
|
|
69358
|
+
}
|
|
69359
|
+
}, langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear)))), cardinfoitem.cardobj_descripen != '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69360
|
+
"class": "flip-card-back allcentered"
|
|
69361
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69362
|
+
"class": "row m-0 w-100 allcentered"
|
|
69363
|
+
}, sectionproperties.showimagewhenflip == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69364
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
69365
|
+
style: {
|
|
69366
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
69367
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
69368
|
+
}
|
|
69369
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69370
|
+
"class": ' d-flex align-items-center ',
|
|
69371
|
+
style: {
|
|
69372
|
+
width: '30%',
|
|
69373
|
+
height: '30%',
|
|
69374
|
+
justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center'
|
|
69375
|
+
}
|
|
69376
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
69377
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
69378
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
69379
|
+
path: cardsarray.length != 0 ? cardinfoitem.cardobj_img : '',
|
|
69380
|
+
style: {
|
|
69381
|
+
maxHeight: '100%',
|
|
69382
|
+
maxWidth: '100%',
|
|
69383
|
+
objectFit: 'contain'
|
|
69384
|
+
}
|
|
69385
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69386
|
+
"class": "col-lg-12 d-flex p-0",
|
|
69387
|
+
style: {
|
|
69388
|
+
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
69389
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
69390
|
+
}
|
|
69391
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69392
|
+
"class": sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles ',
|
|
69393
|
+
style: {
|
|
69394
|
+
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
|
|
69395
|
+
color: cardinfoitem.text1colorfromarray
|
|
69396
|
+
}
|
|
69397
|
+
}, langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69398
|
+
"class": "col-lg-12 d-flex p-0",
|
|
69399
|
+
style: {
|
|
69400
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
69401
|
+
}
|
|
69402
|
+
}, sectionproperties.slideshowtext2_show && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69403
|
+
"class": "m-0 wordbreak",
|
|
69404
|
+
style: {
|
|
69405
|
+
// color: sectionproperties.slideshowText2ContentColor,
|
|
69406
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
69407
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
69408
|
+
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
69409
|
+
color: cardinfoitem.text2colorfromarray
|
|
69410
|
+
}
|
|
69411
|
+
}, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))))));
|
|
69412
|
+
}))))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69263
69413
|
"class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
|
|
69264
69414
|
style: {}
|
|
69265
69415
|
}, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -71440,8 +71590,8 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71440
71590
|
color: sectionproperties.generalbtn_textColoronhover
|
|
71441
71591
|
},
|
|
71442
71592
|
'@media (max-width: 800px)': {
|
|
71443
|
-
width:
|
|
71444
|
-
height:
|
|
71593
|
+
width: 110,
|
|
71594
|
+
height: 32,
|
|
71445
71595
|
fontSize: 10
|
|
71446
71596
|
}
|
|
71447
71597
|
}),
|
|
@@ -86135,21 +86285,23 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
86135
86285
|
vendorid: item.vendorid
|
|
86136
86286
|
};
|
|
86137
86287
|
var runfunc = false;
|
|
86138
|
-
if (
|
|
86139
|
-
if (
|
|
86140
|
-
|
|
86141
|
-
|
|
86142
|
-
|
|
86143
|
-
|
|
86288
|
+
if (item.productid != '6811f1adebacc' && item.productid != '6811f2c05bd7f') {
|
|
86289
|
+
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
86290
|
+
if (item.hasvariants == 1) {
|
|
86291
|
+
// if (addtocardpayloadobj.variantid.length != 0) {
|
|
86292
|
+
if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0) {
|
|
86293
|
+
addtocardpayloadobj.variantid = variantObj.variantid;
|
|
86294
|
+
runfunc = true;
|
|
86295
|
+
} else {
|
|
86296
|
+
var _authdetailsContext$i;
|
|
86297
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
86298
|
+
}
|
|
86144
86299
|
} else {
|
|
86145
|
-
|
|
86146
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
86300
|
+
runfunc = true;
|
|
86147
86301
|
}
|
|
86148
86302
|
} else {
|
|
86149
|
-
|
|
86303
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
86150
86304
|
}
|
|
86151
|
-
} else {
|
|
86152
|
-
NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
86153
86305
|
}
|
|
86154
86306
|
if (runfunc == true) {
|
|
86155
86307
|
AddtoCartContext(addtocardpayloadobj);
|
|
@@ -86199,7 +86351,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
86199
86351
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86200
86352
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
86201
86353
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86202
|
-
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
|
|
86354
|
+
})), item.productid != '6811f1adebacc' && item.productid != '6811f2c05bd7f' ? langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic : langdetect == 'en' ? 'COMING SOON' : 'قريباً');
|
|
86203
86355
|
}
|
|
86204
86356
|
}
|
|
86205
86357
|
if (!AddtoCartMutationContext.isLoading) {
|
|
@@ -86223,7 +86375,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
86223
86375
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86224
86376
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
86225
86377
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86226
|
-
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
|
|
86378
|
+
})), item.productid != '6811f1adebacc' && item.productid != '6811f2c05bd7f' ? langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic : langdetect == 'en' ? 'COMING SOON' : 'قريباً');
|
|
86227
86379
|
}
|
|
86228
86380
|
};
|
|
86229
86381
|
var Image = function Image(type) {
|