tabexseriescomponents 0.2.1266 → 0.2.1269
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 +449 -422
- package/dist/index.esm.js +449 -422
- package/dist/index.umd.js +449 -422
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1912,7 +1912,7 @@
|
|
|
1912
1912
|
}
|
|
1913
1913
|
}))));
|
|
1914
1914
|
})))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && sectionproperties.sizeguideposition == 'Besides Variants' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1915
|
-
"class": "col-3 text-end"
|
|
1915
|
+
"class": "col-3 text-end p-0"
|
|
1916
1916
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1917
1917
|
"class": formstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
1918
1918
|
onClick: function onClick() {
|
|
@@ -7441,7 +7441,7 @@
|
|
|
7441
7441
|
function ownKeys$2C(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; }
|
|
7442
7442
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7443
7443
|
var Productinfo = function Productinfo(props) {
|
|
7444
|
-
var _css,
|
|
7444
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i35, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i36, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i47, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i48, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51;
|
|
7445
7445
|
var _useState = React.useState({}),
|
|
7446
7446
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7447
7447
|
ProductInfoObj = _useState2[0],
|
|
@@ -7749,32 +7749,33 @@
|
|
|
7749
7749
|
// }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
|
|
7750
7750
|
React.useEffect(function () {
|
|
7751
7751
|
if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
|
|
7752
|
-
var _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19;
|
|
7752
|
+
var _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20;
|
|
7753
7753
|
variantchecker();
|
|
7754
7754
|
Pixel_EventsContext('productview', {
|
|
7755
7755
|
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.name_en,
|
|
7756
7756
|
name_ar: 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.name_ar,
|
|
7757
7757
|
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer0 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.productinfo) === null || _fetchProductInfoQuer0 === void 0 ? void 0 : _fetchProductInfoQuer0.productid,
|
|
7758
|
-
|
|
7758
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer1 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.productinfo) === null || _fetchProductInfoQuer1 === void 0 ? void 0 : _fetchProductInfoQuer1.defaultprice,
|
|
7759
|
+
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,
|
|
7759
7760
|
currency: 'EGP'
|
|
7760
7761
|
});
|
|
7761
7762
|
Pixel_EventsContext('ViewContent', {
|
|
7762
|
-
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7763
|
-
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7764
|
-
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7765
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7763
|
+
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,
|
|
7764
|
+
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,
|
|
7765
|
+
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,
|
|
7766
|
+
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,
|
|
7766
7767
|
currency: 'EGP'
|
|
7767
7768
|
});
|
|
7768
7769
|
Pixel_EventsContext('view_item', {
|
|
7769
7770
|
ecommerce: {
|
|
7770
7771
|
currency: 'EGP',
|
|
7771
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7772
|
+
value: 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.defaultprice,
|
|
7772
7773
|
items: [{
|
|
7773
|
-
item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7774
|
-
item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7775
|
-
item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7776
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7777
|
-
price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7774
|
+
item_id: 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 ? void 0 : _fetchProductInfoQuer16.productid,
|
|
7775
|
+
item_name: 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.name_en,
|
|
7776
|
+
item_name_ar: 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 ? void 0 : _fetchProductInfoQuer18.name_ar,
|
|
7777
|
+
sku: 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.sku,
|
|
7778
|
+
price: 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.defaultprice
|
|
7778
7779
|
}]
|
|
7779
7780
|
}
|
|
7780
7781
|
});
|
|
@@ -7823,18 +7824,18 @@
|
|
|
7823
7824
|
return fullPath;
|
|
7824
7825
|
};
|
|
7825
7826
|
React.useEffect(function () {
|
|
7826
|
-
var
|
|
7827
|
+
var _fetchProductInfoQuer21, _fetchProductInfoQuer22;
|
|
7827
7828
|
// if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
7828
|
-
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7829
|
-
var
|
|
7830
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7831
|
-
var
|
|
7829
|
+
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.productinfo) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.productinfo) != null && ikimagecredcontext != undefined) {
|
|
7830
|
+
var _fetchProductInfoQuer23;
|
|
7831
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.productinfo) != null) {
|
|
7832
|
+
var _fetchProductInfoQuer24, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
|
|
7832
7833
|
var tempproductimagesarray = [];
|
|
7833
7834
|
var sizeguideimagetemp = [];
|
|
7834
7835
|
var tempproductpdfsarray = [];
|
|
7835
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7836
|
-
var
|
|
7837
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7836
|
+
if (Array.isArray(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.productimages)) {
|
|
7837
|
+
var _fetchProductInfoQuer25;
|
|
7838
|
+
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 || _fetchProductInfoQuer25.productimages.forEach(function (arrayItem, arrayindex) {
|
|
7838
7839
|
var imagepath = arrayItem.path;
|
|
7839
7840
|
|
|
7840
7841
|
// var sizeguideimagearrayobj = {
|
|
@@ -7888,14 +7889,14 @@
|
|
|
7888
7889
|
variantchecker();
|
|
7889
7890
|
var quantitystepincrearse = 1;
|
|
7890
7891
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
7891
|
-
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7892
|
+
tempaddtocardpayloadobj.productid = 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.productid;
|
|
7892
7893
|
// setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
|
|
7893
|
-
setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7894
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7895
|
-
var
|
|
7894
|
+
setRelatedProductsTagid(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.maintagid);
|
|
7895
|
+
if ((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.maintagid) != null && (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 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.maintagid) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.length) != 0) {
|
|
7896
|
+
var _fetchProductInfoQuer30;
|
|
7896
7897
|
GeneralAPIMutationContext.mutate({
|
|
7897
7898
|
endpointurl: '/FetchRelatedProducts',
|
|
7898
|
-
tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7899
|
+
tagid: 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.maintagid,
|
|
7899
7900
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
7900
7901
|
if (data.data.status) {
|
|
7901
7902
|
setRelatedproducts(data.data.productsrelated);
|
|
@@ -7903,19 +7904,19 @@
|
|
|
7903
7904
|
}
|
|
7904
7905
|
});
|
|
7905
7906
|
}
|
|
7906
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7907
|
+
if ((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.item_type) == 'package list') {
|
|
7907
7908
|
tempaddtocardpayloadobj.item_type = 'package list';
|
|
7908
7909
|
} else {
|
|
7909
7910
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
7910
7911
|
}
|
|
7911
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7912
|
+
if ((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.quantitystepincrearse) != undefined && (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.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != 1 && (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.quantitystepincrearse) != '') {
|
|
7912
7913
|
var _authdetailsContext$i4;
|
|
7913
7914
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d6de1a1e04a') {
|
|
7914
|
-
var _fetchProductInfoQuer35;
|
|
7915
|
-
quantitystepincrearse = parseFloat(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.quantitystepincrearse);
|
|
7916
|
-
} else {
|
|
7917
7915
|
var _fetchProductInfoQuer36;
|
|
7918
|
-
quantitystepincrearse =
|
|
7916
|
+
quantitystepincrearse = parseFloat(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.quantitystepincrearse);
|
|
7917
|
+
} else {
|
|
7918
|
+
var _fetchProductInfoQuer37;
|
|
7919
|
+
quantitystepincrearse = parseInt(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.quantitystepincrearse);
|
|
7919
7920
|
}
|
|
7920
7921
|
// quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
7921
7922
|
}
|
|
@@ -9360,8 +9361,8 @@
|
|
|
9360
9361
|
});
|
|
9361
9362
|
}
|
|
9362
9363
|
if (variantnotmatch.length == 0 && isvariant == true) {
|
|
9363
|
-
var
|
|
9364
|
-
var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9364
|
+
var _fetchProductInfoQuer38;
|
|
9365
|
+
var variantobj = 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.variants[ProductVariantIndex];
|
|
9365
9366
|
var variantid = '';
|
|
9366
9367
|
if (variantobj == undefined) {
|
|
9367
9368
|
setisoutofstock(false);
|
|
@@ -9406,8 +9407,8 @@
|
|
|
9406
9407
|
var forcetocheckoutvalue = forcetocheckout;
|
|
9407
9408
|
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
9408
9409
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
9409
|
-
var
|
|
9410
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9410
|
+
var _fetchProductInfoQuer39;
|
|
9411
|
+
if ((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 ? void 0 : _fetchProductInfoQuer39.hasvariants) == 1) {
|
|
9411
9412
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9412
9413
|
runfunc = true;
|
|
9413
9414
|
} else {
|
|
@@ -9423,28 +9424,28 @@
|
|
|
9423
9424
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
9424
9425
|
}
|
|
9425
9426
|
if (runfunc == true) {
|
|
9426
|
-
var
|
|
9427
|
+
var _fetchProductInfoQuer40, _fetchProductInfoQuer41;
|
|
9427
9428
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
9428
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9429
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9429
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = 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 ? void 0 : _fetchProductInfoQuer40.isproductforcedtocheckout;
|
|
9430
|
+
tempaddtocardpayloadobj.vendorid = 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 ? void 0 : _fetchProductInfoQuer41.vendorproviderid;
|
|
9430
9431
|
if (forcetocheckoutvalue != undefined) {
|
|
9431
9432
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
9432
9433
|
}
|
|
9433
9434
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
9434
9435
|
if (Extrafieldvalidationresponse.status) {
|
|
9435
|
-
var
|
|
9436
|
+
var _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47;
|
|
9436
9437
|
var finalprice = 0;
|
|
9437
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9438
|
+
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 ? void 0 : _fetchProductInfoQuer42.hassale) == 1) {
|
|
9438
9439
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
9439
9440
|
} else {
|
|
9440
9441
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
9441
9442
|
}
|
|
9442
9443
|
Pixel_EventsContext('AddToCart', {
|
|
9443
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9444
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9445
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9444
|
+
content_ids: [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 ? void 0 : _fetchProductInfoQuer43.productid],
|
|
9445
|
+
content_name: (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 ? void 0 : _fetchProductInfoQuer44.name_en) + ' - ' + (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 ? void 0 : _fetchProductInfoQuer45.name_ar),
|
|
9446
|
+
content_sku: 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 ? void 0 : _fetchProductInfoQuer46.sku,
|
|
9446
9447
|
content_type: 'product',
|
|
9447
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9448
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.currencyname_en,
|
|
9448
9449
|
value: finalprice,
|
|
9449
9450
|
quantity: addtocardpayloadobj.quantity
|
|
9450
9451
|
});
|
|
@@ -9453,12 +9454,12 @@
|
|
|
9453
9454
|
}
|
|
9454
9455
|
};
|
|
9455
9456
|
var validateextrafields = function validateextrafields() {
|
|
9456
|
-
var
|
|
9457
|
+
var _fetchProductInfoQuer48;
|
|
9457
9458
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
9458
9459
|
var status = false;
|
|
9459
9460
|
var reason = '';
|
|
9460
9461
|
var missingitemsfound = [];
|
|
9461
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9462
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.productextrafields;
|
|
9462
9463
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
9463
9464
|
status = true;
|
|
9464
9465
|
} else {
|
|
@@ -9577,9 +9578,9 @@
|
|
|
9577
9578
|
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9578
9579
|
}, Relatedproducts.map(function (item, index) {
|
|
9579
9580
|
if (item.productinfo != null) {
|
|
9580
|
-
var
|
|
9581
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9582
|
-
var
|
|
9581
|
+
var _fetchProductInfoQuer49;
|
|
9582
|
+
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.productid)) {
|
|
9583
|
+
var _fetchProductInfoQuer50, _fetchProductInfoQuer51;
|
|
9583
9584
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9584
9585
|
className: "col-lg-12 mb-3 px-1",
|
|
9585
9586
|
onClick: function onClick() {
|
|
@@ -9629,7 +9630,7 @@
|
|
|
9629
9630
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
9630
9631
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9631
9632
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
9632
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9633
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.currencyname_ar, ' '))))));
|
|
9633
9634
|
}
|
|
9634
9635
|
}
|
|
9635
9636
|
}))))));
|
|
@@ -9656,28 +9657,28 @@
|
|
|
9656
9657
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
9657
9658
|
}
|
|
9658
9659
|
if (runfunc == true) {
|
|
9659
|
-
var
|
|
9660
|
+
var _fetchProductInfoQuer52, _fetchProductInfoQuer53;
|
|
9660
9661
|
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
9661
|
-
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9662
|
-
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9662
|
+
addtocartobjparam.isproductforcedtocheckout = 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 ? void 0 : _fetchProductInfoQuer52.isproductforcedtocheckout;
|
|
9663
|
+
addtocartobjparam.vendorid = 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.vendorproviderid;
|
|
9663
9664
|
if (forcetocheckoutvalue != undefined) {
|
|
9664
9665
|
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
9665
9666
|
}
|
|
9666
9667
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
9667
9668
|
if (Extrafieldvalidationresponse.status) {
|
|
9668
|
-
var
|
|
9669
|
+
var _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59;
|
|
9669
9670
|
var finalprice = 0;
|
|
9670
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9671
|
+
if ((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 ? void 0 : _fetchProductInfoQuer54.hassale) == 1) {
|
|
9671
9672
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
9672
9673
|
} else {
|
|
9673
9674
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
9674
9675
|
}
|
|
9675
9676
|
Pixel_EventsContext('AddToCart', {
|
|
9676
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9677
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9678
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9677
|
+
content_ids: [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 ? void 0 : _fetchProductInfoQuer55.productid],
|
|
9678
|
+
content_name: (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.name_en) + ' - ' + (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 ? void 0 : _fetchProductInfoQuer57.name_ar),
|
|
9679
|
+
content_sku: 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.sku,
|
|
9679
9680
|
content_type: 'product',
|
|
9680
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9681
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.currencyname_en,
|
|
9681
9682
|
value: finalprice,
|
|
9682
9683
|
quantity: addtocardpayloadobj.quantity
|
|
9683
9684
|
});
|
|
@@ -10267,16 +10268,16 @@
|
|
|
10267
10268
|
}
|
|
10268
10269
|
};
|
|
10269
10270
|
var get_product_extras_price = function get_product_extras_price() {
|
|
10270
|
-
var
|
|
10271
|
+
var _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
10271
10272
|
var totalprice_extras_price = 0;
|
|
10272
|
-
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10273
|
+
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.productinfo) != undefined && fetchcustomercartQueryContext != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.cartitems) != undefined) {
|
|
10273
10274
|
var _fetchcustomercartQue4;
|
|
10274
10275
|
var extras_for_product = [];
|
|
10275
10276
|
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.cartitems;
|
|
10276
10277
|
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (cartitem_in, cartindex_in) {
|
|
10277
10278
|
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
10278
|
-
var
|
|
10279
|
-
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10279
|
+
var _fetchProductInfoQuer62;
|
|
10280
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.productid)) {
|
|
10280
10281
|
extras_for_product.push(cartitem_in);
|
|
10281
10282
|
}
|
|
10282
10283
|
}
|
|
@@ -10289,37 +10290,37 @@
|
|
|
10289
10290
|
return parseFloat(totalprice_extras_price);
|
|
10290
10291
|
};
|
|
10291
10292
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
10292
|
-
var
|
|
10293
|
+
var _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66;
|
|
10293
10294
|
var price = 0;
|
|
10294
10295
|
var quantity = 0;
|
|
10295
10296
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
10296
10297
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
10297
10298
|
}
|
|
10298
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10299
|
-
var
|
|
10300
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10299
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productquantityoptions) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.length) != 0) {
|
|
10300
|
+
var _fetchProductInfoQuer67;
|
|
10301
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.productquantityoptions;
|
|
10301
10302
|
}
|
|
10302
10303
|
if (type == 'defaultprice') {
|
|
10303
|
-
var
|
|
10304
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10305
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10304
|
+
var _fetchProductInfoQuer68, _fetchProductInfoQuer69;
|
|
10305
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.defaultprice;
|
|
10306
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.hasvariants) == 1) {
|
|
10306
10307
|
if (variantindexcompleted != undefined) {
|
|
10307
|
-
var
|
|
10308
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10309
|
-
var
|
|
10310
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10308
|
+
var _fetchProductInfoQuer70;
|
|
10309
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.variants[variantindexcompleted]) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.variantprice) != undefined) {
|
|
10310
|
+
var _fetchProductInfoQuer71;
|
|
10311
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.variants[variantindexcompleted]) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.variantprice;
|
|
10311
10312
|
}
|
|
10312
10313
|
}
|
|
10313
10314
|
}
|
|
10314
10315
|
} else if (type == 'defaultsaleprice') {
|
|
10315
|
-
var
|
|
10316
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10317
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10316
|
+
var _fetchProductInfoQuer72, _fetchProductInfoQuer73;
|
|
10317
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.defaultsaleprice;
|
|
10318
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.hasvariants) == 1) {
|
|
10318
10319
|
if (variantindexcompleted != undefined) {
|
|
10319
|
-
var
|
|
10320
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10321
|
-
var
|
|
10322
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10320
|
+
var _fetchProductInfoQuer74;
|
|
10321
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.variants[variantindexcompleted]) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.variantsaleprice) != undefined) {
|
|
10322
|
+
var _fetchProductInfoQuer75;
|
|
10323
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.variants[variantindexcompleted]) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.variantsaleprice;
|
|
10323
10324
|
}
|
|
10324
10325
|
}
|
|
10325
10326
|
}
|
|
@@ -10418,7 +10419,7 @@
|
|
|
10418
10419
|
// }
|
|
10419
10420
|
// };
|
|
10420
10421
|
var getQuantityCondition = function getQuantityCondition() {
|
|
10421
|
-
var
|
|
10422
|
+
var _fetchProductInfoQuer76;
|
|
10422
10423
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10423
10424
|
"class": "col-lg-12 p-0",
|
|
10424
10425
|
style: {
|
|
@@ -10448,12 +10449,12 @@
|
|
|
10448
10449
|
height: 1,
|
|
10449
10450
|
background: sectionproperties.pricelisttitlecolor
|
|
10450
10451
|
}
|
|
10451
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10452
|
-
var
|
|
10452
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productquantityoptions) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.map(function (item, index) {
|
|
10453
|
+
var _fetchProductInfoQuer77;
|
|
10453
10454
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10454
10455
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
10455
10456
|
style: {
|
|
10456
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10457
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productquantityoptions) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.length) - 1 != index ? '1rem' : 0
|
|
10457
10458
|
}
|
|
10458
10459
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10459
10460
|
"class": "d-flex align-items-center",
|
|
@@ -10487,7 +10488,7 @@
|
|
|
10487
10488
|
})));
|
|
10488
10489
|
};
|
|
10489
10490
|
var StoreInfo = function StoreInfo(position) {
|
|
10490
|
-
var
|
|
10491
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i29, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i30, _authdetailsContext$i32;
|
|
10491
10492
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10492
10493
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10493
10494
|
style: {
|
|
@@ -10538,7 +10539,7 @@
|
|
|
10538
10539
|
style: {
|
|
10539
10540
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10540
10541
|
}
|
|
10541
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10542
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productquantityoptions) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10542
10543
|
"class": "col-lg-12 p-0 mb-4"
|
|
10543
10544
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10544
10545
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -10739,7 +10740,7 @@
|
|
|
10739
10740
|
lang: langdetect,
|
|
10740
10741
|
amount: getprice_discountpriceprops('defaultprice', 0, variantindexcompleted),
|
|
10741
10742
|
divid: 'prodinfo'
|
|
10742
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10743
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
10743
10744
|
actions: (_ref = {
|
|
10744
10745
|
product_prod_extras_array: product_prod_extras_array,
|
|
10745
10746
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -10753,7 +10754,7 @@
|
|
|
10753
10754
|
lang: lang,
|
|
10754
10755
|
srcfromprops: props.srcfromprops
|
|
10755
10756
|
}, _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"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _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"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _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"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10756
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10757
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10757
10758
|
actions: (_ref2 = {
|
|
10758
10759
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10759
10760
|
setisoutofstock: setisoutofstock,
|
|
@@ -10763,7 +10764,7 @@
|
|
|
10763
10764
|
lang: lang,
|
|
10764
10765
|
srcfromprops: props.srcfromprops
|
|
10765
10766
|
}, _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"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _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"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _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"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10766
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10767
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10767
10768
|
actions: (_ref3 = {
|
|
10768
10769
|
isOptionInStock: isOptionInStock,
|
|
10769
10770
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10775,7 +10776,7 @@
|
|
|
10775
10776
|
lang: lang,
|
|
10776
10777
|
srcfromprops: props.srcfromprops
|
|
10777
10778
|
}, _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"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _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"](_ref3, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _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"](_ref3, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10778
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10779
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
10779
10780
|
actions: (_ref4 = {
|
|
10780
10781
|
product_prod_extras_array: product_prod_extras_array,
|
|
10781
10782
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -10794,7 +10795,7 @@
|
|
|
10794
10795
|
style: {
|
|
10795
10796
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
10796
10797
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
10797
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10798
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.product_videos) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.product_videos) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.length) == 0 ? 'none' : 'flex'
|
|
10798
10799
|
}
|
|
10799
10800
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10800
10801
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -10856,12 +10857,12 @@
|
|
|
10856
10857
|
onClick: function onClick() {
|
|
10857
10858
|
settabname('refundpolicytab');
|
|
10858
10859
|
}
|
|
10859
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10860
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.product_videos) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
10860
10861
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
10861
10862
|
onClick: function onClick() {
|
|
10862
10863
|
settabname('videostab');
|
|
10863
10864
|
}
|
|
10864
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10865
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
10865
10866
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
10866
10867
|
onClick: function onClick() {
|
|
10867
10868
|
settabname('reviewstab');
|
|
@@ -10915,12 +10916,12 @@
|
|
|
10915
10916
|
onClick: function onClick() {
|
|
10916
10917
|
settabname('refundpolicytab');
|
|
10917
10918
|
}
|
|
10918
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10919
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.product_videos) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
10919
10920
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
10920
10921
|
onClick: function onClick() {
|
|
10921
10922
|
settabname('videostab');
|
|
10922
10923
|
}
|
|
10923
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10924
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
10924
10925
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
10925
10926
|
onClick: function onClick() {
|
|
10926
10927
|
settabname('reviewstab');
|
|
@@ -11054,12 +11055,12 @@
|
|
|
11054
11055
|
onClick: function onClick() {
|
|
11055
11056
|
settabname('refundpolicytab');
|
|
11056
11057
|
}
|
|
11057
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11058
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.product_videos) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11058
11059
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11059
11060
|
onClick: function onClick() {
|
|
11060
11061
|
settabname('videostab');
|
|
11061
11062
|
}
|
|
11062
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11063
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11063
11064
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11064
11065
|
onClick: function onClick() {
|
|
11065
11066
|
settabname('reviewstab');
|
|
@@ -11080,7 +11081,7 @@
|
|
|
11080
11081
|
color: sectionproperties.prodCatColor
|
|
11081
11082
|
},
|
|
11082
11083
|
dangerouslySetInnerHTML: {
|
|
11083
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11084
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.short_description_ar
|
|
11084
11085
|
}
|
|
11085
11086
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11086
11087
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -11222,7 +11223,7 @@
|
|
|
11222
11223
|
color: sectionproperties.prodCatColor
|
|
11223
11224
|
},
|
|
11224
11225
|
dangerouslySetInnerHTML: {
|
|
11225
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11226
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.short_description_ar
|
|
11226
11227
|
}
|
|
11227
11228
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11228
11229
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -11354,7 +11355,7 @@
|
|
|
11354
11355
|
color: '#000000'
|
|
11355
11356
|
},
|
|
11356
11357
|
dangerouslySetInnerHTML: {
|
|
11357
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11358
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.description_ar
|
|
11358
11359
|
}
|
|
11359
11360
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11360
11361
|
"class": "col-lg-12 p-0"
|
|
@@ -11365,7 +11366,7 @@
|
|
|
11365
11366
|
color: sectionproperties.prodCatColor
|
|
11366
11367
|
},
|
|
11367
11368
|
dangerouslySetInnerHTML: {
|
|
11368
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11369
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.short_description_ar
|
|
11369
11370
|
}
|
|
11370
11371
|
}))
|
|
11371
11372
|
// <DescriptionContent
|
|
@@ -26007,7 +26008,10 @@
|
|
|
26007
26008
|
item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' :
|
|
26008
26009
|
// : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons'
|
|
26009
26010
|
// ? 'scrollmenuclassnameitemProductcard_animatedbuttons'
|
|
26010
|
-
item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
|
|
26011
|
+
// item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
|
|
26012
|
+
// ? 'scrollmenuclassnameitemProductcard_with_variants'
|
|
26013
|
+
// :
|
|
26014
|
+
item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' :
|
|
26011
26015
|
// : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
|
|
26012
26016
|
// ? 'scrollmenuclassnameitemSimpleproductcard'
|
|
26013
26017
|
item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? 'scrollmenuclassnameitemProductccard_with_imageontopleft' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover' ? 'scrollmenuclassnameitemProductcard_with_zoominonhover' : item.tabexsectioninfo.sectioncompname == 'Horizontalcard' ? 'scrollmenuclassnameitemProductcard_Horizontalcard' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_fullimage' :
|
|
@@ -36924,11 +36928,9 @@
|
|
|
36924
36928
|
setChoosenindex(index);
|
|
36925
36929
|
}
|
|
36926
36930
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36927
|
-
className: ' row m-0 p-0 mb-4 '
|
|
36931
|
+
className: ' row m-0 p-0 mb-4 px-3 '
|
|
36928
36932
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36929
|
-
className:
|
|
36930
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36931
|
-
className: "col-10 p-0 text-start"
|
|
36933
|
+
className: "col-10 d-flex justify-content-start align-items-center p-0"
|
|
36932
36934
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36933
36935
|
style: {
|
|
36934
36936
|
width: '50px',
|
|
@@ -36946,7 +36948,7 @@
|
|
|
36946
36948
|
border: '1px solid #ccc'
|
|
36947
36949
|
}
|
|
36948
36950
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36949
|
-
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 mx-
|
|
36951
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 mx-3 '
|
|
36950
36952
|
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36951
36953
|
className: "col-lg-2 col-md-2 col-sm-2 p-0 text-end"
|
|
36952
36954
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
@@ -36969,7 +36971,7 @@
|
|
|
36969
36971
|
}
|
|
36970
36972
|
}));
|
|
36971
36973
|
}
|
|
36972
|
-
})))))
|
|
36974
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
36973
36975
|
className: "p-0"
|
|
36974
36976
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36975
36977
|
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex px-4"
|
|
@@ -36981,11 +36983,9 @@
|
|
|
36981
36983
|
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
36982
36984
|
uuid: pindex
|
|
36983
36985
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36984
|
-
className: ' row m-0 p-0 mb-2 mb-3'
|
|
36985
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36986
|
-
className: ' row m-0 w-100 px-4 '
|
|
36986
|
+
className: ' row m-0 p-0 mb-2 mb-3 px-4'
|
|
36987
36987
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36988
|
-
className: "col-10
|
|
36988
|
+
className: "col-10 d-flex justify-content-start align-items-center p-0"
|
|
36989
36989
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36990
36990
|
style: {
|
|
36991
36991
|
width: '50px',
|
|
@@ -37003,7 +37003,7 @@
|
|
|
37003
37003
|
border: '1px solid #ccc'
|
|
37004
37004
|
}
|
|
37005
37005
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37006
|
-
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 mx-
|
|
37006
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 mx-3 '
|
|
37007
37007
|
}, langdetect == 'en' ? pitem.title_en : pitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37008
37008
|
className: "col-lg-2 col-md-2 col-sm-2 p-0 text-end"
|
|
37009
37009
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
@@ -37026,7 +37026,7 @@
|
|
|
37026
37026
|
}
|
|
37027
37027
|
}));
|
|
37028
37028
|
}
|
|
37029
|
-
})))))
|
|
37029
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
37030
37030
|
className: "p-0"
|
|
37031
37031
|
}, pitem.collections.length != 0 && pitem.collections.map(function (collitem, collindex) {
|
|
37032
37032
|
if (collitem.isshowntocustomers == 1) {
|
|
@@ -37035,7 +37035,7 @@
|
|
|
37035
37035
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37036
37036
|
className: ' row m-0 w-100 px-5 '
|
|
37037
37037
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37038
|
-
className: "col-10
|
|
37038
|
+
className: "col-10 d-flex justify-content-start align-items-center p-0",
|
|
37039
37039
|
onClick: function onClick() {
|
|
37040
37040
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37041
37041
|
props.setmenuactive(false);
|
|
@@ -41137,7 +41137,7 @@
|
|
|
41137
41137
|
function ownKeys$1X(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; }
|
|
41138
41138
|
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41139
41139
|
var Modernheader = function Modernheader(props) {
|
|
41140
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$
|
|
41140
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
41141
41141
|
var _useState = React.useState(''),
|
|
41142
41142
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
41143
41143
|
sectionproperties = _useState2[0],
|
|
@@ -41172,6 +41172,10 @@
|
|
|
41172
41172
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
41173
41173
|
inqmenushowabout = _useState8[0],
|
|
41174
41174
|
setinqmenushowabout = _useState8[1];
|
|
41175
|
+
var _useState9 = React.useState(false),
|
|
41176
|
+
_useState0 = _slicedToArray__default["default"](_useState9, 2),
|
|
41177
|
+
menuactive = _useState0[0],
|
|
41178
|
+
setmenuactive = _useState0[1];
|
|
41175
41179
|
React.useEffect(function () {
|
|
41176
41180
|
var secpropobj = {};
|
|
41177
41181
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41275,17 +41279,30 @@
|
|
|
41275
41279
|
borderColor: sectionproperties.userBtnTextcoloronhover
|
|
41276
41280
|
}
|
|
41277
41281
|
}),
|
|
41282
|
+
user_btntext: glamor.css({
|
|
41283
|
+
color: sectionproperties.userBtniconcolor,
|
|
41284
|
+
fontSize: sectionproperties.userbtn_logintextFontSize + 'px',
|
|
41285
|
+
cursor: 'pointer',
|
|
41286
|
+
transition: '.3s',
|
|
41287
|
+
textTransform: sectionproperties.userBtnTexttransform,
|
|
41288
|
+
fontWeight: sectionproperties.userBtnTextfontweight,
|
|
41289
|
+
':hover': {
|
|
41290
|
+
color: sectionproperties.userBtnTextcoloronhover
|
|
41291
|
+
}
|
|
41292
|
+
}),
|
|
41278
41293
|
loggedinusername: glamor.css({
|
|
41279
41294
|
fontWeight: sectionproperties.userBtnTextfontweight,
|
|
41280
|
-
textTransform: sectionproperties.userBtnTexttransform,
|
|
41295
|
+
// textTransform: sectionproperties.userBtnTexttransform,
|
|
41281
41296
|
color: sectionproperties.userBtnTextcolor,
|
|
41282
41297
|
fontSize: sectionproperties.userBtntextfontsize + 'px',
|
|
41283
41298
|
lineHeight: sectionproperties.userBtntextfontsize + 'px',
|
|
41284
41299
|
transition: '.3s'
|
|
41285
41300
|
}),
|
|
41286
41301
|
loggedinuserbtn: glamor.css({
|
|
41287
|
-
width: sectionproperties.
|
|
41288
|
-
height: sectionproperties.
|
|
41302
|
+
width: sectionproperties.userBtnWidth == 0 ? 'auto' : sectionproperties.userBtnWidth + 'px',
|
|
41303
|
+
height: sectionproperties.userBtnHeight + 'px',
|
|
41304
|
+
// width: sectionproperties.loggedinuserbtn_width + 'px',
|
|
41305
|
+
// height: sectionproperties.loggedinuserbtn_height + 'px',
|
|
41289
41306
|
border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
|
|
41290
41307
|
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
41291
41308
|
background: sectionproperties.userBtnbgColor_loggedin,
|
|
@@ -41394,7 +41411,7 @@
|
|
|
41394
41411
|
textAlign: 'center',
|
|
41395
41412
|
width: sectionproperties.searchbaricon_width + 'px',
|
|
41396
41413
|
height: sectionproperties.searchbaricon_height + 'px',
|
|
41397
|
-
borderRadius: sectionproperties.
|
|
41414
|
+
borderRadius: sectionproperties.searchbaricon_borderRadius + 'px',
|
|
41398
41415
|
color: sectionproperties.searchbaricon_color,
|
|
41399
41416
|
backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor
|
|
41400
41417
|
}),
|
|
@@ -41470,6 +41487,21 @@
|
|
|
41470
41487
|
backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? sectionproperties.uppersection_bgcolor : '',
|
|
41471
41488
|
transition: '.3s ease-in-out'
|
|
41472
41489
|
}
|
|
41490
|
+
}),
|
|
41491
|
+
menuiconn: glamor.css({
|
|
41492
|
+
backgroundColor: sectionproperties.menuiconbgcolor,
|
|
41493
|
+
width: sectionproperties.menuiconwidth,
|
|
41494
|
+
height: sectionproperties.menuiconheight,
|
|
41495
|
+
marginRight: langdetect == 'en' ? 30 : 0,
|
|
41496
|
+
marginLeft: langdetect == 'en' ? 0 : 30,
|
|
41497
|
+
borderRadius: 100,
|
|
41498
|
+
color: sectionproperties.menuiconcolor,
|
|
41499
|
+
':hover': {
|
|
41500
|
+
transition: '.3s',
|
|
41501
|
+
cursor: 'pointer',
|
|
41502
|
+
backgroundColor: sectionproperties.menuiconbgcoloronhover,
|
|
41503
|
+
color: sectionproperties.menuiconcoloronhover
|
|
41504
|
+
}
|
|
41473
41505
|
})
|
|
41474
41506
|
};
|
|
41475
41507
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41529,7 +41561,19 @@
|
|
|
41529
41561
|
}, /*#__PURE__*/React__default["default"].createElement(MdArrowBack.MdArrowBack, {
|
|
41530
41562
|
color: sectionproperties.searchbaricon_color,
|
|
41531
41563
|
size: 35
|
|
41532
|
-
}))), sectionproperties.
|
|
41564
|
+
}))), sectionproperties.showmenuicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41565
|
+
style: {},
|
|
41566
|
+
"class": header_cssstyles.menuiconn + ' allcentered ',
|
|
41567
|
+
onClick: function onClick() {
|
|
41568
|
+
if (menuactive == true) {
|
|
41569
|
+
setmenuactive(false);
|
|
41570
|
+
} else {
|
|
41571
|
+
setmenuactive(true);
|
|
41572
|
+
}
|
|
41573
|
+
}
|
|
41574
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMenu.FiMenu, {
|
|
41575
|
+
size: sectionproperties.menuiconfontsize
|
|
41576
|
+
})), sectionproperties.searchbartype == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41533
41577
|
"class": header_cssstyles.searchbarcont
|
|
41534
41578
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
41535
41579
|
type: "text",
|
|
@@ -41572,20 +41616,20 @@
|
|
|
41572
41616
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41573
41617
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
41574
41618
|
style: {
|
|
41575
|
-
color: sectionproperties.
|
|
41619
|
+
color: sectionproperties.cartBtnbgColor,
|
|
41576
41620
|
fontSize: 16
|
|
41577
41621
|
}
|
|
41578
41622
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41579
|
-
color: sectionproperties.
|
|
41623
|
+
color: sectionproperties.searchbaricon_color
|
|
41580
41624
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41581
41625
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
41582
41626
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41583
41627
|
"class": "m-0 p-0 ml-2 mr-2",
|
|
41584
41628
|
style: {
|
|
41585
|
-
color: sectionproperties.
|
|
41629
|
+
color: sectionproperties.searchbaricon_color
|
|
41586
41630
|
}
|
|
41587
41631
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41588
|
-
color: sectionproperties.
|
|
41632
|
+
color: sectionproperties.searchbaricon_color
|
|
41589
41633
|
})))), /*#__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) {
|
|
41590
41634
|
var _authdetailsContext$i5;
|
|
41591
41635
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
@@ -41639,44 +41683,7 @@
|
|
|
41639
41683
|
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
41640
41684
|
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
41641
41685
|
}
|
|
41642
|
-
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null,
|
|
41643
|
-
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
41644
|
-
sytle: {
|
|
41645
|
-
position: 'relative'
|
|
41646
|
-
},
|
|
41647
|
-
onClick: function onClick() {
|
|
41648
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
41649
|
-
}
|
|
41650
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41651
|
-
"class": "allcentered",
|
|
41652
|
-
style: {
|
|
41653
|
-
width: sectionproperties.userBtniconfontsize + 'px',
|
|
41654
|
-
height: sectionproperties.userBtniconfontsize + 'px'
|
|
41655
|
-
}
|
|
41656
|
-
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
41657
|
-
fill: sectionproperties.userBtniconcolor,
|
|
41658
|
-
viewBox: "0 0 32 32",
|
|
41659
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
41660
|
-
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41661
|
-
id: "SVGRepo_bgCarrier",
|
|
41662
|
-
"stroke-width": "0"
|
|
41663
|
-
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41664
|
-
id: "SVGRepo_tracerCarrier",
|
|
41665
|
-
"stroke-linecap": "round",
|
|
41666
|
-
"stroke-linejoin": "round"
|
|
41667
|
-
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41668
|
-
id: "SVGRepo_iconCarrier"
|
|
41669
|
-
}, /*#__PURE__*/React__default["default"].createElement("title", null), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41670
|
-
id: "about"
|
|
41671
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41672
|
-
d: "M16,16A7,7,0,1,0,9,9,7,7,0,0,0,16,16ZM16,4a5,5,0,1,1-5,5A5,5,0,0,1,16,4Z"
|
|
41673
|
-
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41674
|
-
d: "M17,18H15A11,11,0,0,0,4,29a1,1,0,0,0,1,1H27a1,1,0,0,0,1-1A11,11,0,0,0,17,18ZM6.06,28A9,9,0,0,1,15,20h2a9,9,0,0,1,8.94,8Z"
|
|
41675
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41676
|
-
"class": ' h-100 d-flex align-items-center '
|
|
41677
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
41678
|
-
size: sectionproperties.userBtnTextfontsize
|
|
41679
|
-
}))), !authdetailsContext.loggedin && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '694aa4a9e7d8e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41686
|
+
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41680
41687
|
className: "flex-row d-flex allcentered"
|
|
41681
41688
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41682
41689
|
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
@@ -41690,12 +41697,9 @@
|
|
|
41690
41697
|
"class": ' h-100 d-flex align-items-center '
|
|
41691
41698
|
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
41692
41699
|
size: sectionproperties.userBtnTextfontsize
|
|
41693
|
-
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41694
|
-
|
|
41695
|
-
|
|
41696
|
-
},
|
|
41697
|
-
"class": "mx-2"
|
|
41698
|
-
}, langdetect == 'en' ? 'LOGIN' : 'تسجيل الدخول')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41700
|
+
}))), sectionproperties.userbtn_logintextFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41701
|
+
"class": " ".concat(header_cssstyles.user_btntext) + ' mx-2 '
|
|
41702
|
+
}, langdetect == 'en' ? 'LOGIN/register' : 'تسجيل الدخول')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41699
41703
|
"class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
|
|
41700
41704
|
sytle: {
|
|
41701
41705
|
position: 'relative'
|
|
@@ -41720,7 +41724,7 @@
|
|
|
41720
41724
|
fontWeight: 400
|
|
41721
41725
|
}
|
|
41722
41726
|
}, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41723
|
-
"class": header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow ',
|
|
41727
|
+
"class": header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow text-capitalize ',
|
|
41724
41728
|
style: {
|
|
41725
41729
|
maxWidth: '120px'
|
|
41726
41730
|
}
|
|
@@ -41830,7 +41834,10 @@
|
|
|
41830
41834
|
style: {
|
|
41831
41835
|
position: 'relative'
|
|
41832
41836
|
}
|
|
41833
|
-
},
|
|
41837
|
+
}, sectionproperties.carticonstyle != "I'll use my own SVG" &&
|
|
41838
|
+
/*#__PURE__*/
|
|
41839
|
+
// {authdetailsContext?.instinfo?.instid != '69ce49ee861df' && (
|
|
41840
|
+
React__default["default"].createElement("i", {
|
|
41834
41841
|
"class": ' allcentered '
|
|
41835
41842
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
41836
41843
|
"class": "",
|
|
@@ -41851,43 +41858,22 @@
|
|
|
41851
41858
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41852
41859
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
41853
41860
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41854
|
-
})),
|
|
41861
|
+
})), sectionproperties.carticonstyle == "I'll use my own SVG" && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41855
41862
|
"class": "h-100 allcentered ",
|
|
41856
41863
|
style: {
|
|
41857
41864
|
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
41858
41865
|
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
41866
|
+
},
|
|
41867
|
+
dangerouslySetInnerHTML: {
|
|
41868
|
+
__html: sectionproperties.cartsvg
|
|
41859
41869
|
}
|
|
41860
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
41861
|
-
viewBox: "0 0 24 24",
|
|
41862
|
-
fill: "none",
|
|
41863
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
41864
|
-
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41865
|
-
id: "SVGRepo_bgCarrier",
|
|
41866
|
-
"stroke-width": "0"
|
|
41867
|
-
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41868
|
-
id: "SVGRepo_tracerCarrier",
|
|
41869
|
-
"stroke-linecap": "round",
|
|
41870
|
-
"stroke-linejoin": "round"
|
|
41871
|
-
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41872
|
-
id: "SVGRepo_iconCarrier"
|
|
41873
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41874
|
-
d: "M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",
|
|
41875
|
-
stroke: sectionproperties.cart_iconcolor,
|
|
41876
|
-
"stroke-width": "1.5"
|
|
41877
|
-
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41878
|
-
d: "M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",
|
|
41879
|
-
stroke: sectionproperties.cart_iconcolor,
|
|
41880
|
-
"stroke-width": "1.5"
|
|
41881
|
-
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41882
|
-
d: "M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",
|
|
41883
|
-
fill: sectionproperties.cart_iconcolor
|
|
41884
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41870
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41885
41871
|
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
41886
41872
|
style: {
|
|
41887
41873
|
top: sectionproperties.cartbadgetop + 'px',
|
|
41888
41874
|
right: sectionproperties.cartbadgeright + 'px'
|
|
41889
41875
|
}
|
|
41890
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41876
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41891
41877
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41892
41878
|
}, /*#__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", {
|
|
41893
41879
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
@@ -41925,29 +41911,29 @@
|
|
|
41925
41911
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41926
41912
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41927
41913
|
"class": "ml-2 mr-2"
|
|
41928
|
-
}, "English"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41914
|
+
}, "English"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41929
41915
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41930
41916
|
}, /*#__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", {
|
|
41931
41917
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41932
41918
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41933
41919
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
41934
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41920
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41935
41921
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41936
41922
|
style: {
|
|
41937
41923
|
maxWidth: '2.5vh',
|
|
41938
41924
|
maxHeight: '2.5vh'
|
|
41939
41925
|
}
|
|
41940
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41926
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41941
41927
|
"class": "m-0 p-0"
|
|
41942
41928
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41943
41929
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-1s00 d-flex align-items-center '
|
|
41944
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41930
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41945
41931
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41946
41932
|
style: {
|
|
41947
41933
|
maxWidth: '2.5vh',
|
|
41948
41934
|
maxHeight: '2.5vh'
|
|
41949
41935
|
}
|
|
41950
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41936
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41951
41937
|
"class": "m-0 p-0"
|
|
41952
41938
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41953
41939
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -41958,7 +41944,7 @@
|
|
|
41958
41944
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41959
41945
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41960
41946
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41961
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41947
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41962
41948
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41963
41949
|
style: {
|
|
41964
41950
|
maxWidth: '2vh',
|
|
@@ -41975,7 +41961,7 @@
|
|
|
41975
41961
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41976
41962
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41977
41963
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41978
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41964
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41979
41965
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41980
41966
|
style: {
|
|
41981
41967
|
maxWidth: '2vh',
|
|
@@ -42002,8 +41988,8 @@
|
|
|
42002
41988
|
}
|
|
42003
41989
|
}, /*#__PURE__*/React__default["default"].createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
42004
41990
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
42005
|
-
var _authdetailsContext$
|
|
42006
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41991
|
+
var _authdetailsContext$i14;
|
|
41992
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instid) != '68c69dcc53e94') {
|
|
42007
41993
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42008
41994
|
"class": "cursor-pointer",
|
|
42009
41995
|
onClick: function onClick() {
|
|
@@ -42227,7 +42213,71 @@
|
|
|
42227
42213
|
actions: actions,
|
|
42228
42214
|
sectionpropertiesprops: sectionproperties,
|
|
42229
42215
|
srcfromprops: 'StylishHeader'
|
|
42230
|
-
})))))))
|
|
42216
|
+
}))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
42217
|
+
show: menuactive,
|
|
42218
|
+
onHide: function onHide() {
|
|
42219
|
+
setmenuactive(false);
|
|
42220
|
+
},
|
|
42221
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
42222
|
+
scroll: true,
|
|
42223
|
+
style: {
|
|
42224
|
+
width: '30%',
|
|
42225
|
+
background: 'white'
|
|
42226
|
+
},
|
|
42227
|
+
backdrop: true
|
|
42228
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42229
|
+
className: "row m-0 w-100 mb-4",
|
|
42230
|
+
style: {
|
|
42231
|
+
borderBottom: '1px solid #eee'
|
|
42232
|
+
}
|
|
42233
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42234
|
+
className: 'col-12 allcentered py-3'
|
|
42235
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42236
|
+
className: "m-0 p-0",
|
|
42237
|
+
style: {
|
|
42238
|
+
textTransform: 'uppercase',
|
|
42239
|
+
fontWeight: 500,
|
|
42240
|
+
fontSize: '15px',
|
|
42241
|
+
transition: '.3s',
|
|
42242
|
+
color: '#05233D'
|
|
42243
|
+
}
|
|
42244
|
+
}, langdetect == 'en' ? 'PRODUCTS & SERVICES' : 'منتجاتنا و خدماتنا'))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42245
|
+
"class": "allcentered",
|
|
42246
|
+
style: {
|
|
42247
|
+
position: 'absolute',
|
|
42248
|
+
right: -34,
|
|
42249
|
+
top: 5,
|
|
42250
|
+
width: 30,
|
|
42251
|
+
height: 30,
|
|
42252
|
+
background: '#000'
|
|
42253
|
+
},
|
|
42254
|
+
onClick: function onClick() {
|
|
42255
|
+
setopenmenuCanvas(false);
|
|
42256
|
+
}
|
|
42257
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
42258
|
+
color: '#fff',
|
|
42259
|
+
size: 16
|
|
42260
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42261
|
+
"class": "allcentered",
|
|
42262
|
+
style: {
|
|
42263
|
+
position: 'absolute',
|
|
42264
|
+
left: -34,
|
|
42265
|
+
top: 5,
|
|
42266
|
+
width: 30,
|
|
42267
|
+
height: 30,
|
|
42268
|
+
background: '#000'
|
|
42269
|
+
},
|
|
42270
|
+
onClick: function onClick() {
|
|
42271
|
+
setmenuactive(false);
|
|
42272
|
+
}
|
|
42273
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
42274
|
+
color: '#fff',
|
|
42275
|
+
size: 16
|
|
42276
|
+
})))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, /*#__PURE__*/React__default["default"].createElement(SubheaderDropdown, {
|
|
42277
|
+
sectionpropertiesprops: sectionproperties,
|
|
42278
|
+
actions: actions,
|
|
42279
|
+
setmenuactive: setmenuactive
|
|
42280
|
+
}))));
|
|
42231
42281
|
};
|
|
42232
42282
|
|
|
42233
42283
|
function ownKeys$1W(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -56620,7 +56670,7 @@
|
|
|
56620
56670
|
function ownKeys$1D(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; }
|
|
56621
56671
|
function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56622
56672
|
var Footer8 = function Footer8(props) {
|
|
56623
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i32, _authdetailsContext$i35, _authdetailsContext$i38, _authdetailsContext$i41, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i47, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8,
|
|
56673
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i32, _authdetailsContext$i35, _authdetailsContext$i38, _authdetailsContext$i41, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i47, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i48, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _authdetailsContext$i55, _authdetailsContext$i58, _authdetailsContext$i61, _authdetailsContext$i64, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i67, _logoarrayofobjects$5, _logoarrayofobjects$6, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i69, _authdetailsContext$i70, _authdetailsContext$i73, _authdetailsContext$i76, _authdetailsContext$i79, _authdetailsContext$i82, _authdetailsContext$i84, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
56624
56674
|
var _useState = React.useState(''),
|
|
56625
56675
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
56626
56676
|
sectionproperties = _useState2[0],
|
|
@@ -57353,7 +57403,7 @@
|
|
|
57353
57403
|
marginRight: langdetect == 'en' ? '20px' : 0,
|
|
57354
57404
|
marginLeft: langdetect == 'ar' ? '20px' : 0
|
|
57355
57405
|
}
|
|
57356
|
-
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)), sectionproperties.showhidesubpages == 'Show' && sectionproperties.showfavorites
|
|
57406
|
+
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)), sectionproperties.showhidesubpages == 'Show' && sectionproperties.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57357
57407
|
"class": "scrollhorizontalcard d-md-flex justify-content-md-start w-md-100"
|
|
57358
57408
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57359
57409
|
"class": "".concat(footerStyles.subPages) + ' wordbreak ',
|
|
@@ -57453,7 +57503,7 @@
|
|
|
57453
57503
|
"class": "allcentered"
|
|
57454
57504
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
57455
57505
|
size: 18
|
|
57456
|
-
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57506
|
+
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57457
57507
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
57458
57508
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57459
57509
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -57513,7 +57563,7 @@
|
|
|
57513
57563
|
marginBottom: 0,
|
|
57514
57564
|
fontWeight: 500
|
|
57515
57565
|
}
|
|
57516
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57566
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.address_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57517
57567
|
"class": "col-lg-12 p-0 text-start"
|
|
57518
57568
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57519
57569
|
"class": "".concat(footerStyles.iconTextStyle),
|
|
@@ -57661,8 +57711,8 @@
|
|
|
57661
57711
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57662
57712
|
"class": "".concat(footerStyles.iconTextStyle) + ' cursor-pointer ',
|
|
57663
57713
|
onClick: function onClick() {
|
|
57664
|
-
var _authdetailsContext$
|
|
57665
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57714
|
+
var _authdetailsContext$i51;
|
|
57715
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 || (_authdetailsContext$i51 = _authdetailsContext$i51.contactinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.email), '_self');
|
|
57666
57716
|
}
|
|
57667
57717
|
}, "contact@advisor-firm.com")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57668
57718
|
"class": "col-lg-12 p-0 allcentered",
|
|
@@ -57698,61 +57748,61 @@
|
|
|
57698
57748
|
"class": "row m-0 w-100"
|
|
57699
57749
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57700
57750
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
57701
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57751
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57702
57752
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
57703
57753
|
onClick: function onClick() {
|
|
57704
|
-
var _authdetailsContext$
|
|
57705
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57706
|
-
var _authdetailsContext$
|
|
57707
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57754
|
+
var _authdetailsContext$i53;
|
|
57755
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.facebooklink) != null) {
|
|
57756
|
+
var _authdetailsContext$i54;
|
|
57757
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.facebooklink, '_blank');
|
|
57708
57758
|
}
|
|
57709
57759
|
}
|
|
57710
57760
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
57711
57761
|
size: sectionproperties.facebkbtnniconfontsize
|
|
57712
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57762
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57713
57763
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2',
|
|
57714
57764
|
onClick: function onClick() {
|
|
57715
|
-
var _authdetailsContext$
|
|
57716
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57717
|
-
var _authdetailsContext$
|
|
57718
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57765
|
+
var _authdetailsContext$i56;
|
|
57766
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.linkedinlink) != null) {
|
|
57767
|
+
var _authdetailsContext$i57;
|
|
57768
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.linkedinlink, '_blank');
|
|
57719
57769
|
}
|
|
57720
57770
|
}
|
|
57721
57771
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
57722
57772
|
size: sectionproperties.linkedinbtniconfontsize
|
|
57723
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57773
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57724
57774
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
57725
57775
|
onClick: function onClick() {
|
|
57726
|
-
var _authdetailsContext$
|
|
57727
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57728
|
-
var _authdetailsContext$
|
|
57729
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57776
|
+
var _authdetailsContext$i59;
|
|
57777
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.instagramlink) != null) {
|
|
57778
|
+
var _authdetailsContext$i60;
|
|
57779
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.instagramlink, '_blank');
|
|
57730
57780
|
}
|
|
57731
57781
|
}
|
|
57732
57782
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
57733
57783
|
size: sectionproperties.instgrambtniconfontsize
|
|
57734
57784
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57735
57785
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
57736
|
-
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57786
|
+
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57737
57787
|
"class": langdetect == 'en' ? " ".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center ml-2'
|
|
57738
57788
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
57739
57789
|
,
|
|
57740
57790
|
onClick: function onClick() {
|
|
57741
|
-
var _authdetailsContext$
|
|
57742
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57743
|
-
var _authdetailsContext$
|
|
57744
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57791
|
+
var _authdetailsContext$i62;
|
|
57792
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.tiktoklink) != null) {
|
|
57793
|
+
var _authdetailsContext$i63;
|
|
57794
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.tiktoklink, '_blank');
|
|
57745
57795
|
}
|
|
57746
57796
|
}
|
|
57747
57797
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
57748
57798
|
size: sectionproperties.tiktokbtniconfontsize
|
|
57749
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57799
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57750
57800
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
57751
57801
|
onClick: function onClick() {
|
|
57752
|
-
var _authdetailsContext$
|
|
57753
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57754
|
-
var _authdetailsContext$
|
|
57755
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57802
|
+
var _authdetailsContext$i65;
|
|
57803
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.youtubelink) != null) {
|
|
57804
|
+
var _authdetailsContext$i66;
|
|
57805
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.youtubelink, '_blank');
|
|
57756
57806
|
}
|
|
57757
57807
|
}
|
|
57758
57808
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
@@ -57815,7 +57865,7 @@
|
|
|
57815
57865
|
style: {
|
|
57816
57866
|
color: '#818181'
|
|
57817
57867
|
}
|
|
57818
|
-
}, "\u062D\u0642\u0648\u0642 \u0627\u0644\u0646\u0634\u0631 \u0645\u062D\u0641\u0648\u0638\u0629 \xA9 2025 \u0645\u0624\u0633\u0633\u0629 \u0627\u0644\u0645\u0633\u062A\u0634\u0627\u0631"))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57868
|
+
}, "\u062D\u0642\u0648\u0642 \u0627\u0644\u0646\u0634\u0631 \u0645\u062D\u0641\u0648\u0638\u0629 \xA9 2025 \u0645\u0624\u0633\u0633\u0629 \u0627\u0644\u0645\u0633\u062A\u0634\u0627\u0631"))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57819
57869
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
57820
57870
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57821
57871
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -58035,8 +58085,8 @@
|
|
|
58035
58085
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58036
58086
|
"class": "".concat(footerStyles.iconTextStylepagename) + ' col-lg-12 p-0 d-flex flex-row mt-3 align-items-center ',
|
|
58037
58087
|
onClick: function onClick() {
|
|
58038
|
-
var _authdetailsContext$
|
|
58039
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58088
|
+
var _authdetailsContext$i68;
|
|
58089
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 || (_authdetailsContext$i68 = _authdetailsContext$i68.contactinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.email), '_self');
|
|
58040
58090
|
}
|
|
58041
58091
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
58042
58092
|
"class": ' fa fa-at mr-2 ml-2 '
|
|
@@ -58045,7 +58095,7 @@
|
|
|
58045
58095
|
style: {
|
|
58046
58096
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58047
58097
|
}
|
|
58048
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58098
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 || (_authdetailsContext$i69 = _authdetailsContext$i69.contactinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.email)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58049
58099
|
"class": "col-lg-12 p-0 text-start mb-2 mt-1"
|
|
58050
58100
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58051
58101
|
"class": "".concat(footerStyles.textStyles)
|
|
@@ -58055,69 +58105,69 @@
|
|
|
58055
58105
|
"class": "row m-0 w-100"
|
|
58056
58106
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58057
58107
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
58058
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58108
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58059
58109
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
58060
58110
|
onClick: function onClick() {
|
|
58061
|
-
var _authdetailsContext$
|
|
58062
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58063
|
-
var _authdetailsContext$
|
|
58064
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58111
|
+
var _authdetailsContext$i71;
|
|
58112
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.facebooklink) != null) {
|
|
58113
|
+
var _authdetailsContext$i72;
|
|
58114
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.facebooklink, '_blank');
|
|
58065
58115
|
}
|
|
58066
58116
|
}
|
|
58067
58117
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
58068
58118
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58069
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58119
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58070
58120
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
|
|
58071
58121
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58072
58122
|
,
|
|
58073
58123
|
onClick: function onClick() {
|
|
58074
|
-
var _authdetailsContext$
|
|
58075
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58076
|
-
var _authdetailsContext$
|
|
58077
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58124
|
+
var _authdetailsContext$i74;
|
|
58125
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i74 = authdetailsContext.instinfo) === null || _authdetailsContext$i74 === void 0 ? void 0 : _authdetailsContext$i74.linkedinlink) != null) {
|
|
58126
|
+
var _authdetailsContext$i75;
|
|
58127
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i75 = authdetailsContext.instinfo) === null || _authdetailsContext$i75 === void 0 ? void 0 : _authdetailsContext$i75.linkedinlink, '_blank');
|
|
58078
58128
|
}
|
|
58079
58129
|
}
|
|
58080
58130
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
58081
58131
|
size: sectionproperties.instgrambtniconfontsize
|
|
58082
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58132
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i76 = authdetailsContext.instinfo) === null || _authdetailsContext$i76 === void 0 ? void 0 : _authdetailsContext$i76.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58083
58133
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58084
58134
|
onClick: function onClick() {
|
|
58085
|
-
var _authdetailsContext$
|
|
58086
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58087
|
-
var _authdetailsContext$
|
|
58088
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58135
|
+
var _authdetailsContext$i77;
|
|
58136
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i77 = authdetailsContext.instinfo) === null || _authdetailsContext$i77 === void 0 ? void 0 : _authdetailsContext$i77.instagramlink) != null) {
|
|
58137
|
+
var _authdetailsContext$i78;
|
|
58138
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i78 = authdetailsContext.instinfo) === null || _authdetailsContext$i78 === void 0 ? void 0 : _authdetailsContext$i78.instagramlink, '_blank');
|
|
58089
58139
|
}
|
|
58090
58140
|
}
|
|
58091
58141
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
58092
58142
|
size: sectionproperties.instgrambtniconfontsize
|
|
58093
58143
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58094
58144
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
58095
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58145
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i79 = authdetailsContext.instinfo) === null || _authdetailsContext$i79 === void 0 ? void 0 : _authdetailsContext$i79.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58096
58146
|
"class": langdetect == 'en' ? "".concat(footerStyles.youtube_btnnnn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btnnnn) + ' d-flex align-items-center justify-content-center ml-2',
|
|
58097
58147
|
onClick: function onClick() {
|
|
58098
|
-
var _authdetailsContext$
|
|
58099
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58100
|
-
var _authdetailsContext$
|
|
58101
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58148
|
+
var _authdetailsContext$i80;
|
|
58149
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i80 = authdetailsContext.instinfo) === null || _authdetailsContext$i80 === void 0 ? void 0 : _authdetailsContext$i80.youtubelink) != null) {
|
|
58150
|
+
var _authdetailsContext$i81;
|
|
58151
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i81 = authdetailsContext.instinfo) === null || _authdetailsContext$i81 === void 0 ? void 0 : _authdetailsContext$i81.youtubelink, '_blank');
|
|
58102
58152
|
}
|
|
58103
58153
|
}
|
|
58104
58154
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
58105
58155
|
size: sectionproperties.youtubebtniconfontsize
|
|
58106
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58156
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i82 = authdetailsContext.instinfo) === null || _authdetailsContext$i82 === void 0 || (_authdetailsContext$i82 = _authdetailsContext$i82.contactinfo) === null || _authdetailsContext$i82 === void 0 ? void 0 : _authdetailsContext$i82.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58107
58157
|
"class": "".concat(footerStyles.mailbtn) + ' d-flex align-items-center justify-content-center mr-2 ml-2',
|
|
58108
58158
|
onClick: function onClick() {
|
|
58109
|
-
var _authdetailsContext$
|
|
58110
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58159
|
+
var _authdetailsContext$i83;
|
|
58160
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i83 = authdetailsContext.instinfo) === null || _authdetailsContext$i83 === void 0 || (_authdetailsContext$i83 = _authdetailsContext$i83.contactinfo) === null || _authdetailsContext$i83 === void 0 ? void 0 : _authdetailsContext$i83.email), '_self');
|
|
58111
58161
|
}
|
|
58112
58162
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMail.AiOutlineMail, {
|
|
58113
58163
|
size: sectionproperties.youtubebtniconfontsize
|
|
58114
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58164
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i84 = authdetailsContext.instinfo) === null || _authdetailsContext$i84 === void 0 ? void 0 : _authdetailsContext$i84.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58115
58165
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58116
58166
|
onClick: function onClick() {
|
|
58117
|
-
var _authdetailsContext$
|
|
58118
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58119
|
-
var _authdetailsContext$
|
|
58120
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58167
|
+
var _authdetailsContext$i85;
|
|
58168
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i85 = authdetailsContext.instinfo) === null || _authdetailsContext$i85 === void 0 ? void 0 : _authdetailsContext$i85.whatsappnumber) != null) {
|
|
58169
|
+
var _authdetailsContext$i86;
|
|
58170
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i86 = authdetailsContext.instinfo) === null || _authdetailsContext$i86 === void 0 ? void 0 : _authdetailsContext$i86.whatsappnumber), '_blank');
|
|
58121
58171
|
}
|
|
58122
58172
|
}
|
|
58123
58173
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
@@ -82029,7 +82079,7 @@
|
|
|
82029
82079
|
className: "row m-0 w-100"
|
|
82030
82080
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
82031
82081
|
"class": ' col-lg-8 mb-md-3 p-md-0 '
|
|
82032
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.
|
|
82082
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
|
|
82033
82083
|
transitionDuration: 1500,
|
|
82034
82084
|
duration: 1500,
|
|
82035
82085
|
arrow: true,
|
|
@@ -92705,6 +92755,7 @@
|
|
|
92705
92755
|
function ownKeys$e(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; }
|
|
92706
92756
|
function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
92707
92757
|
var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
92758
|
+
var _css, _css2, _css3;
|
|
92708
92759
|
var _useState = React.useState(''),
|
|
92709
92760
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
92710
92761
|
sectionproperties = _useState2[0],
|
|
@@ -92773,16 +92824,6 @@
|
|
|
92773
92824
|
height: sectionproperties.variantcontainer_height + 'vh',
|
|
92774
92825
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
92775
92826
|
}),
|
|
92776
|
-
productcard_imgcontainer: glamor.css({
|
|
92777
|
-
height: sectionproperties.image_height + 'px',
|
|
92778
|
-
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
92779
|
-
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
92780
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
92781
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
92782
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
92783
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
92784
|
-
transition: '.3s'
|
|
92785
|
-
}),
|
|
92786
92827
|
productNameStyles: glamor.css({
|
|
92787
92828
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
92788
92829
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
@@ -92827,11 +92868,11 @@
|
|
|
92827
92868
|
position: 'absolute',
|
|
92828
92869
|
left: 0,
|
|
92829
92870
|
right: 0,
|
|
92830
|
-
bottom: '
|
|
92871
|
+
bottom: '20px',
|
|
92831
92872
|
opacity: 1,
|
|
92832
92873
|
margin: 'auto',
|
|
92833
92874
|
transition: 'all, 0.3s',
|
|
92834
|
-
width: sectionproperties.cartBtnWidth + '
|
|
92875
|
+
width: sectionproperties.cartBtnWidth + '%',
|
|
92835
92876
|
maxWidth: '100%',
|
|
92836
92877
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
92837
92878
|
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
@@ -92846,7 +92887,7 @@
|
|
|
92846
92887
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
92847
92888
|
}
|
|
92848
92889
|
}),
|
|
92849
|
-
cart_btn_bottom: glamor.css({
|
|
92890
|
+
cart_btn_bottom: glamor.css((_css = {
|
|
92850
92891
|
position: 'absolute',
|
|
92851
92892
|
left: 0,
|
|
92852
92893
|
right: 0,
|
|
@@ -92854,21 +92895,12 @@
|
|
|
92854
92895
|
opacity: 0,
|
|
92855
92896
|
margin: 'auto',
|
|
92856
92897
|
transition: 'all, 0.3s',
|
|
92857
|
-
width: sectionproperties.cartBtnWidth + 'px'
|
|
92858
|
-
|
|
92859
|
-
background: sectionproperties.
|
|
92860
|
-
|
|
92861
|
-
|
|
92862
|
-
|
|
92863
|
-
textTransform: sectionproperties.cartBtnTexttransform,
|
|
92864
|
-
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
92865
|
-
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
92866
|
-
':hover': {
|
|
92867
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
92868
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
92869
|
-
}
|
|
92870
|
-
}),
|
|
92871
|
-
cart_btn_center: glamor.css({
|
|
92898
|
+
width: sectionproperties.cartBtnWidth + 'px'
|
|
92899
|
+
}, _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, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cart_iconcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css, ':hover', {
|
|
92900
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
92901
|
+
color: sectionproperties.cartBtnTextcoloronhover
|
|
92902
|
+
}))),
|
|
92903
|
+
cart_btn_center: glamor.css((_css2 = {
|
|
92872
92904
|
position: 'absolute',
|
|
92873
92905
|
left: 0,
|
|
92874
92906
|
right: 0,
|
|
@@ -92876,20 +92908,11 @@
|
|
|
92876
92908
|
opacity: 0,
|
|
92877
92909
|
margin: 'auto',
|
|
92878
92910
|
transition: 'all, 0.3s',
|
|
92879
|
-
width: sectionproperties.cartBtnWidth + 'px'
|
|
92880
|
-
|
|
92881
|
-
background: sectionproperties.
|
|
92882
|
-
|
|
92883
|
-
|
|
92884
|
-
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
92885
|
-
textTransform: sectionproperties.cartBtnTexttransform,
|
|
92886
|
-
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
92887
|
-
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
92888
|
-
':hover': {
|
|
92889
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
92890
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
92891
|
-
}
|
|
92892
|
-
}),
|
|
92911
|
+
width: sectionproperties.cartBtnWidth + 'px'
|
|
92912
|
+
}, _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"](_css2, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cart_iconcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css2, ':hover', {
|
|
92913
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
92914
|
+
color: sectionproperties.cartBtnTextcoloronhover
|
|
92915
|
+
}))),
|
|
92893
92916
|
productcard: glamor.css({
|
|
92894
92917
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
92895
92918
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
@@ -92918,7 +92941,7 @@
|
|
|
92918
92941
|
bottom: '40%'
|
|
92919
92942
|
}
|
|
92920
92943
|
}),
|
|
92921
|
-
cart_btnresponsive: glamor.css({
|
|
92944
|
+
cart_btnresponsive: glamor.css((_css3 = {
|
|
92922
92945
|
position: 'absolute',
|
|
92923
92946
|
opacity: 1,
|
|
92924
92947
|
bottom: '10px',
|
|
@@ -92926,20 +92949,11 @@
|
|
|
92926
92949
|
right: 0,
|
|
92927
92950
|
margin: 'auto',
|
|
92928
92951
|
transition: 'all, 0.3s',
|
|
92929
|
-
width: sectionproperties.cartBtnWidth + 'px'
|
|
92930
|
-
|
|
92931
|
-
background: sectionproperties.
|
|
92932
|
-
|
|
92933
|
-
|
|
92934
|
-
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
92935
|
-
textTransform: sectionproperties.cartBtnTexttransform,
|
|
92936
|
-
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
92937
|
-
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
92938
|
-
':hover': {
|
|
92939
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
92940
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
92941
|
-
}
|
|
92942
|
-
}),
|
|
92952
|
+
width: sectionproperties.cartBtnWidth + 'px'
|
|
92953
|
+
}, _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"](_css3, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cart_iconcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css3, ':hover', {
|
|
92954
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
92955
|
+
color: sectionproperties.cartBtnTextcoloronhover
|
|
92956
|
+
}))),
|
|
92943
92957
|
imageContainer: glamor.css({
|
|
92944
92958
|
backgroundColor: sectionproperties.image_bgcolor,
|
|
92945
92959
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
@@ -92948,16 +92962,24 @@
|
|
|
92948
92962
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
92949
92963
|
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
92950
92964
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
92965
|
+
position: 'relative',
|
|
92966
|
+
overflow: 'hidden',
|
|
92951
92967
|
'@media (max-width: 800px)': {
|
|
92952
92968
|
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
92953
92969
|
}
|
|
92954
92970
|
}),
|
|
92955
92971
|
productoutercard: glamor.css({
|
|
92956
|
-
minWidth: sectionproperties.width + 'px',
|
|
92957
|
-
maxWidth: sectionproperties.width + 'px',
|
|
92972
|
+
// minWidth: sectionproperties.width + 'px',
|
|
92973
|
+
// maxWidth: sectionproperties.width + 'px',
|
|
92974
|
+
// '@media (max-width: 800px)': {
|
|
92975
|
+
// minWidth: sectionproperties.widthresponsive + 'px',
|
|
92976
|
+
// maxWidth: sectionproperties.widthresponsive + 'px',
|
|
92977
|
+
// },
|
|
92978
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
92979
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
92958
92980
|
'@media (max-width: 800px)': {
|
|
92959
|
-
minWidth: sectionproperties.widthresponsive + 'px',
|
|
92960
|
-
maxWidth: sectionproperties.widthresponsive + 'px'
|
|
92981
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
92982
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
92961
92983
|
}
|
|
92962
92984
|
})
|
|
92963
92985
|
};
|
|
@@ -92971,7 +92993,7 @@
|
|
|
92971
92993
|
style: {
|
|
92972
92994
|
position: 'relative'
|
|
92973
92995
|
}
|
|
92974
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
92996
|
+
}, item.image != null && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
92975
92997
|
"class": transition ? generalCardsStyles.intialimage : '',
|
|
92976
92998
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
92977
92999
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -93010,88 +93032,7 @@
|
|
|
93010
93032
|
setShowProductInfoModalContext(true);
|
|
93011
93033
|
setProductIdProdutInfoModalContext(item.productid);
|
|
93012
93034
|
}
|
|
93013
|
-
})
|
|
93014
|
-
"class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
|
|
93015
|
-
onClick: function onClick(e) {
|
|
93016
|
-
e.stopPropagation();
|
|
93017
|
-
addtofavoritescontext(item.productid);
|
|
93018
|
-
}
|
|
93019
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93020
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93021
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93022
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93023
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
93024
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
93025
|
-
style: {
|
|
93026
|
-
color: sectionproperties.activefaviconcolor
|
|
93027
|
-
}
|
|
93028
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
93029
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
93030
|
-
style: {
|
|
93031
|
-
color: sectionproperties.activefaviconcolor
|
|
93032
|
-
}
|
|
93033
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93034
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93035
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
93036
|
-
size: sectionproperties.favBtnIconfontsize
|
|
93037
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
93038
|
-
size: sectionproperties.favBtnIconfontsize
|
|
93039
|
-
})))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93040
|
-
"class": "allcentered",
|
|
93041
|
-
style: {
|
|
93042
|
-
position: 'absolute',
|
|
93043
|
-
top: sectionproperties.badge_top + 'px',
|
|
93044
|
-
left: sectionproperties.badge_right + 'px',
|
|
93045
|
-
width: sectionproperties.badge_width + 'px',
|
|
93046
|
-
height: sectionproperties.badge_height + 'px',
|
|
93047
|
-
background: sectionproperties.badge_bgcolor,
|
|
93048
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
93049
|
-
}
|
|
93050
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93051
|
-
"class": props.fontFamilyprops == 'ASUL' ? ' ASUL m-0 p-0 text-uppercase' : ' m-0 p-0 text-uppercase',
|
|
93052
|
-
style: {
|
|
93053
|
-
color: sectionproperties.badge_color,
|
|
93054
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
93055
|
-
}
|
|
93056
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93057
|
-
"class": "allcentered",
|
|
93058
|
-
style: {
|
|
93059
|
-
position: 'absolute',
|
|
93060
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
93061
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
93062
|
-
width: sectionproperties.pillwidth + 'px',
|
|
93063
|
-
height: sectionproperties.pillheight + 'px',
|
|
93064
|
-
background: sectionproperties.pillbgcolor,
|
|
93065
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
93066
|
-
}
|
|
93067
|
-
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93068
|
-
"class": "m-0 p-0 text-uppercase",
|
|
93069
|
-
style: {
|
|
93070
|
-
color: sectionproperties.pillcolor,
|
|
93071
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
93072
|
-
direction: 'ltr'
|
|
93073
|
-
}
|
|
93074
|
-
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93075
|
-
"class": "m-0 p-0 text-uppercase",
|
|
93076
|
-
style: {
|
|
93077
|
-
color: sectionproperties.pillcolor,
|
|
93078
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
93079
|
-
direction: 'ltr'
|
|
93080
|
-
}
|
|
93081
|
-
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
93082
|
-
"class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
93083
|
-
onClick: function onClick(e) {
|
|
93084
|
-
e.stopPropagation();
|
|
93085
|
-
setShowProductInfoModalContext(true);
|
|
93086
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
93087
|
-
}
|
|
93088
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
93089
|
-
"class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
|
|
93090
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93091
|
-
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
93092
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93093
|
-
"class": "m-0 p-0"
|
|
93094
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)));
|
|
93035
|
+
}));
|
|
93095
93036
|
};
|
|
93096
93037
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93097
93038
|
"class": props.sectiontypeprops2 == 'vertical' ? 'row m-0 w-100' : " ".concat(card_cssstyles.productoutercard),
|
|
@@ -93103,15 +93044,101 @@
|
|
|
93103
93044
|
"class": "".concat(card_cssstyles.productcard) + ' w-100 '
|
|
93104
93045
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93105
93046
|
"class": sectionproperties.showimagetransition == 'Show' ? " ".concat(card_cssstyles.imageContainer, " ").concat(generalCardsStyles.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.imageContainer, " ") + ' allcentered '
|
|
93106
|
-
}, Image('normal')
|
|
93107
|
-
"class": '
|
|
93047
|
+
}, Image('normal'), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93048
|
+
"class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
|
|
93049
|
+
onClick: function onClick(e) {
|
|
93050
|
+
e.stopPropagation();
|
|
93051
|
+
addtofavoritescontext(item.productid);
|
|
93052
|
+
}
|
|
93053
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93054
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93055
|
+
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93056
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93057
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
93058
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
93059
|
+
style: {
|
|
93060
|
+
color: sectionproperties.activefaviconcolor
|
|
93061
|
+
}
|
|
93062
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
93063
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
93064
|
+
style: {
|
|
93065
|
+
color: sectionproperties.activefaviconcolor
|
|
93066
|
+
}
|
|
93067
|
+
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93068
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93069
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
93070
|
+
size: sectionproperties.favBtnIconfontsize
|
|
93071
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
93072
|
+
size: sectionproperties.favBtnIconfontsize
|
|
93073
|
+
})))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93074
|
+
"class": "allcentered",
|
|
93075
|
+
style: {
|
|
93076
|
+
position: 'absolute',
|
|
93077
|
+
top: sectionproperties.badge_top + 'px',
|
|
93078
|
+
left: sectionproperties.badge_right + 'px',
|
|
93079
|
+
width: sectionproperties.badge_width + 'px',
|
|
93080
|
+
height: sectionproperties.badge_height + 'px',
|
|
93081
|
+
background: sectionproperties.badge_bgcolor,
|
|
93082
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
93083
|
+
}
|
|
93084
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93085
|
+
"class": props.fontFamilyprops == 'ASUL' ? ' ASUL m-0 p-0 text-uppercase' : ' m-0 p-0 text-uppercase',
|
|
93086
|
+
style: {
|
|
93087
|
+
color: sectionproperties.badge_color,
|
|
93088
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
93089
|
+
}
|
|
93090
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93091
|
+
"class": "allcentered",
|
|
93092
|
+
style: {
|
|
93093
|
+
position: 'absolute',
|
|
93094
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
93095
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
93096
|
+
width: sectionproperties.pillwidth + 'px',
|
|
93097
|
+
height: sectionproperties.pillheight + 'px',
|
|
93098
|
+
background: sectionproperties.pillbgcolor,
|
|
93099
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
93100
|
+
}
|
|
93101
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93102
|
+
"class": "m-0 p-0 text-uppercase",
|
|
93103
|
+
style: {
|
|
93104
|
+
color: sectionproperties.pillcolor,
|
|
93105
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
93106
|
+
direction: 'ltr'
|
|
93107
|
+
}
|
|
93108
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93109
|
+
"class": "m-0 p-0 text-uppercase",
|
|
93110
|
+
style: {
|
|
93111
|
+
color: sectionproperties.pillcolor,
|
|
93112
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
93113
|
+
direction: 'ltr'
|
|
93114
|
+
}
|
|
93115
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
93116
|
+
"class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
93117
|
+
onClick: function onClick(e) {
|
|
93118
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
93119
|
+
addtocartfunc();
|
|
93120
|
+
} else {
|
|
93121
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
93122
|
+
}
|
|
93123
|
+
// e.stopPropagation();
|
|
93124
|
+
// setShowProductInfoModalContext(true);
|
|
93125
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
93126
|
+
}
|
|
93127
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
93128
|
+
"class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
|
|
93129
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93130
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
93131
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93132
|
+
"class": "m-0 p-0"
|
|
93133
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93134
|
+
"class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
|
|
93108
93135
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93109
93136
|
"class": "col-lg-12 p-0"
|
|
93110
93137
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93111
93138
|
onClick: function onClick() {
|
|
93112
93139
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
93113
93140
|
},
|
|
93114
|
-
"class":
|
|
93141
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center '
|
|
93115
93142
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93116
93143
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
93117
93144
|
style: {
|