tabexseriescomponents 0.2.1263 → 0.2.1264
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 +215 -67
- package/dist/index.esm.js +215 -67
- package/dist/index.umd.js +215 -67
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -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, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
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],
|
|
@@ -7665,7 +7665,7 @@
|
|
|
7665
7665
|
};
|
|
7666
7666
|
React.useEffect(function () {
|
|
7667
7667
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7668
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3
|
|
7668
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
7669
7669
|
var secpropobj = {};
|
|
7670
7670
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7671
7671
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -7682,9 +7682,6 @@
|
|
|
7682
7682
|
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a6e2f865af8') {
|
|
7683
7683
|
settabname('descriptiontab');
|
|
7684
7684
|
// alert('sd');
|
|
7685
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '693ae1f70d9a4') {
|
|
7686
|
-
settabname('reviewstab');
|
|
7687
|
-
// alert('sd');
|
|
7688
7685
|
} else {
|
|
7689
7686
|
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
7690
7687
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.product_videos) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) == 0) {
|
|
@@ -7907,8 +7904,8 @@
|
|
|
7907
7904
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
7908
7905
|
}
|
|
7909
7906
|
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) != '') {
|
|
7910
|
-
var _authdetailsContext$
|
|
7911
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7907
|
+
var _authdetailsContext$i4;
|
|
7908
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d6de1a1e04a') {
|
|
7912
7909
|
var _fetchProductInfoQuer36;
|
|
7913
7910
|
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);
|
|
7914
7911
|
} else {
|
|
@@ -7934,9 +7931,9 @@
|
|
|
7934
7931
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
7935
7932
|
// };
|
|
7936
7933
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
7937
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1
|
|
7934
|
+
var _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
7938
7935
|
// lord
|
|
7939
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7936
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68d28fc494276') {
|
|
7940
7937
|
var _ProductInfoObj$data;
|
|
7941
7938
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
7942
7939
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8024,7 +8021,7 @@
|
|
|
8024
8021
|
return inStock ? 1 : 0;
|
|
8025
8022
|
}
|
|
8026
8023
|
// vout
|
|
8027
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8024
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f918a4ccb85') {
|
|
8028
8025
|
var _ProductInfoObj$data2;
|
|
8029
8026
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8030
8027
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8112,7 +8109,7 @@
|
|
|
8112
8109
|
return _inStock ? 1 : 0;
|
|
8113
8110
|
}
|
|
8114
8111
|
// puff n stuff
|
|
8115
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8112
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6899e604db87f') {
|
|
8116
8113
|
var _ProductInfoObj$data3;
|
|
8117
8114
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8118
8115
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8200,7 +8197,7 @@
|
|
|
8200
8197
|
return _inStock2 ? 1 : 0;
|
|
8201
8198
|
}
|
|
8202
8199
|
// dija
|
|
8203
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8200
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8204
8201
|
var _ProductInfoObj$data4;
|
|
8205
8202
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8206
8203
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8288,7 +8285,7 @@
|
|
|
8288
8285
|
return _inStock3 ? 1 : 0;
|
|
8289
8286
|
}
|
|
8290
8287
|
// angel secrets
|
|
8291
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8288
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67bda57bca71d') {
|
|
8292
8289
|
var _ProductInfoObj$data5;
|
|
8293
8290
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8294
8291
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8374,7 +8371,7 @@
|
|
|
8374
8371
|
}) && variantValueIds.includes(Currvalueid);
|
|
8375
8372
|
});
|
|
8376
8373
|
return _inStock4 ? 1 : 0;
|
|
8377
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8374
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '69244cc88aa0a') {
|
|
8378
8375
|
var _ProductInfoObj$data6;
|
|
8379
8376
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8380
8377
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8460,7 +8457,7 @@
|
|
|
8460
8457
|
}) && variantValueIds.includes(Currvalueid);
|
|
8461
8458
|
});
|
|
8462
8459
|
return _inStock5 ? 1 : 0;
|
|
8463
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8460
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '687ca57cc78e8') {
|
|
8464
8461
|
var _ProductInfoObj$data7;
|
|
8465
8462
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8466
8463
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -8551,8 +8548,8 @@
|
|
|
8551
8548
|
}
|
|
8552
8549
|
};
|
|
8553
8550
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8554
|
-
var _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16
|
|
8555
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8551
|
+
var _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
8552
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276') {
|
|
8556
8553
|
var _productarr$data, _productarr$data$prod;
|
|
8557
8554
|
var _productarr = ProductInfoObj;
|
|
8558
8555
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8606,7 +8603,7 @@
|
|
|
8606
8603
|
}
|
|
8607
8604
|
}
|
|
8608
8605
|
// vout
|
|
8609
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8606
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68f918a4ccb85') {
|
|
8610
8607
|
var _productarr2$data, _productarr2$data$pro;
|
|
8611
8608
|
var _productarr2 = ProductInfoObj;
|
|
8612
8609
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8660,7 +8657,7 @@
|
|
|
8660
8657
|
}
|
|
8661
8658
|
}
|
|
8662
8659
|
// puff n stuff
|
|
8663
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8660
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '6899e604db87f') {
|
|
8664
8661
|
var _productarr3$data, _productarr3$data$pro;
|
|
8665
8662
|
var _productarr3 = ProductInfoObj;
|
|
8666
8663
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8714,7 +8711,7 @@
|
|
|
8714
8711
|
}
|
|
8715
8712
|
}
|
|
8716
8713
|
// dija
|
|
8717
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8714
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8718
8715
|
var _productarr4$data, _productarr4$data$pro;
|
|
8719
8716
|
var _productarr4 = ProductInfoObj;
|
|
8720
8717
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8768,7 +8765,7 @@
|
|
|
8768
8765
|
}
|
|
8769
8766
|
}
|
|
8770
8767
|
// angel
|
|
8771
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8768
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67bda57bca71d') {
|
|
8772
8769
|
var _productarr5$data, _productarr5$data$pro;
|
|
8773
8770
|
var _productarr5 = ProductInfoObj;
|
|
8774
8771
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -8820,7 +8817,7 @@
|
|
|
8820
8817
|
// optional: show user message or disable click
|
|
8821
8818
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8822
8819
|
}
|
|
8823
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8820
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '69244cc88aa0a') {
|
|
8824
8821
|
var _productarr6$data, _productarr6$data$pro;
|
|
8825
8822
|
var _productarr6 = ProductInfoObj;
|
|
8826
8823
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -8872,7 +8869,7 @@
|
|
|
8872
8869
|
// optional: show user message or disable click
|
|
8873
8870
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8874
8871
|
}
|
|
8875
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8872
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '687ca57cc78e8') {
|
|
8876
8873
|
var _productarr7$data, _productarr7$data$pro;
|
|
8877
8874
|
var _productarr7 = ProductInfoObj;
|
|
8878
8875
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9405,10 +9402,10 @@
|
|
|
9405
9402
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9406
9403
|
runfunc = true;
|
|
9407
9404
|
} else {
|
|
9408
|
-
var _authdetailsContext$
|
|
9405
|
+
var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
9409
9406
|
// here
|
|
9410
9407
|
setvariantnotchosendisclaimer('This field is required');
|
|
9411
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9408
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9412
9409
|
}
|
|
9413
9410
|
} else {
|
|
9414
9411
|
runfunc = true;
|
|
@@ -9492,9 +9489,9 @@
|
|
|
9492
9489
|
};
|
|
9493
9490
|
};
|
|
9494
9491
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9495
|
-
var _authdetailsContext$
|
|
9492
|
+
var _authdetailsContext$i20;
|
|
9496
9493
|
var policyobj = {};
|
|
9497
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9494
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instpolicies) === null || _authdetailsContext$i20 === void 0 || _authdetailsContext$i20.forEach(function (item, index) {
|
|
9498
9495
|
if (item.policytype == policytype) {
|
|
9499
9496
|
policyobj = item;
|
|
9500
9497
|
}
|
|
@@ -9503,7 +9500,7 @@
|
|
|
9503
9500
|
};
|
|
9504
9501
|
var relatedproducts = function relatedproducts() {
|
|
9505
9502
|
if (Relatedproducts.length != 0) {
|
|
9506
|
-
var _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25
|
|
9503
|
+
var _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
9507
9504
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9508
9505
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
9509
9506
|
style: {
|
|
@@ -9525,9 +9522,9 @@
|
|
|
9525
9522
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9526
9523
|
className: "row m-0 w-100",
|
|
9527
9524
|
style: {
|
|
9528
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9525
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9529
9526
|
}
|
|
9530
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9527
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9531
9528
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9532
9529
|
style: {
|
|
9533
9530
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9546,7 +9543,7 @@
|
|
|
9546
9543
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9547
9544
|
borderRadius: 5
|
|
9548
9545
|
}
|
|
9549
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9546
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9550
9547
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9551
9548
|
style: {
|
|
9552
9549
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9567,8 +9564,8 @@
|
|
|
9567
9564
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
9568
9565
|
transitionBehavior: 'auto',
|
|
9569
9566
|
wrapperClassName: '',
|
|
9570
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9571
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9567
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9568
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9572
9569
|
}, Relatedproducts.map(function (item, index) {
|
|
9573
9570
|
if (item.productinfo != null) {
|
|
9574
9571
|
var _fetchProductInfoQuer49;
|
|
@@ -9638,10 +9635,10 @@
|
|
|
9638
9635
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9639
9636
|
runfunc = true;
|
|
9640
9637
|
} else {
|
|
9641
|
-
var _authdetailsContext$
|
|
9638
|
+
var _authdetailsContext$i26;
|
|
9642
9639
|
// here
|
|
9643
9640
|
setvariantnotchosendisclaimer('This field is required');
|
|
9644
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9641
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9645
9642
|
}
|
|
9646
9643
|
} else {
|
|
9647
9644
|
runfunc = true;
|
|
@@ -9684,8 +9681,8 @@
|
|
|
9684
9681
|
isVarianturlLoaded = _useState58[0],
|
|
9685
9682
|
setisVarianturlLoaded = _useState58[1];
|
|
9686
9683
|
React.useEffect(function () {
|
|
9687
|
-
var _authdetailsContext$
|
|
9688
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9684
|
+
var _authdetailsContext$i27;
|
|
9685
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68f918a4ccb85') {
|
|
9689
9686
|
var params = new URLSearchParams(window.location.search);
|
|
9690
9687
|
var variantId = params.get('variant');
|
|
9691
9688
|
if (isVarianturlLoaded == false) {
|
|
@@ -10481,7 +10478,7 @@
|
|
|
10481
10478
|
})));
|
|
10482
10479
|
};
|
|
10483
10480
|
var StoreInfo = function StoreInfo(position) {
|
|
10484
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10481
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i29, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i30, _authdetailsContext$i32;
|
|
10485
10482
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10486
10483
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10487
10484
|
style: {
|
|
@@ -10560,8 +10557,8 @@
|
|
|
10560
10557
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10561
10558
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10562
10559
|
onClick: function onClick() {
|
|
10563
|
-
var _authdetailsContext$
|
|
10564
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10560
|
+
var _authdetailsContext$i28;
|
|
10561
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.email), '_self');
|
|
10565
10562
|
}
|
|
10566
10563
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10567
10564
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10581,7 +10578,7 @@
|
|
|
10581
10578
|
style: {
|
|
10582
10579
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10583
10580
|
}
|
|
10584
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10581
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10585
10582
|
"class": "col-lg-12 my-2",
|
|
10586
10583
|
style: {
|
|
10587
10584
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10633,25 +10630,25 @@
|
|
|
10633
10630
|
}
|
|
10634
10631
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10635
10632
|
"class": "m-0 p-0"
|
|
10636
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10633
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.contactinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10637
10634
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10638
10635
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10639
10636
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10640
10637
|
onClick: function onClick() {
|
|
10641
|
-
var _authdetailsContext$
|
|
10642
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10638
|
+
var _authdetailsContext$i31;
|
|
10639
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.contactinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.email), '_self');
|
|
10643
10640
|
}
|
|
10644
10641
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10645
10642
|
"class": "m-0 p-0"
|
|
10646
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10643
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10647
10644
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10648
10645
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10649
10646
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10650
10647
|
onClick: function onClick() {
|
|
10651
|
-
var _authdetailsContext$
|
|
10652
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10653
|
-
var _authdetailsContext$
|
|
10654
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10648
|
+
var _authdetailsContext$i33;
|
|
10649
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.whatsappnumber) != null) {
|
|
10650
|
+
var _authdetailsContext$i34;
|
|
10651
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber), '_blank');
|
|
10655
10652
|
}
|
|
10656
10653
|
}
|
|
10657
10654
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -10747,7 +10744,7 @@
|
|
|
10747
10744
|
lang: lang,
|
|
10748
10745
|
srcfromprops: props.srcfromprops
|
|
10749
10746
|
}, _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))
|
|
10750
|
-
}), (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$
|
|
10747
|
+
}), (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, {
|
|
10751
10748
|
actions: (_ref2 = {
|
|
10752
10749
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10753
10750
|
setisoutofstock: setisoutofstock,
|
|
@@ -10757,7 +10754,7 @@
|
|
|
10757
10754
|
lang: lang,
|
|
10758
10755
|
srcfromprops: props.srcfromprops
|
|
10759
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"](_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))
|
|
10760
|
-
}), (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$
|
|
10757
|
+
}), (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, {
|
|
10761
10758
|
actions: (_ref3 = {
|
|
10762
10759
|
isOptionInStock: isOptionInStock,
|
|
10763
10760
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10783,7 +10780,7 @@
|
|
|
10783
10780
|
lang: lang,
|
|
10784
10781
|
srcfromprops: props.srcfromprops
|
|
10785
10782
|
}, _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"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _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"](_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _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"](_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10786
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10783
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10787
10784
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
10788
10785
|
style: {
|
|
10789
10786
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10974,6 +10971,156 @@
|
|
|
10974
10971
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10975
10972
|
sectionproperties: sectionproperties
|
|
10976
10973
|
})
|
|
10974
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10975
|
+
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
10976
|
+
style: {
|
|
10977
|
+
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
10978
|
+
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
10979
|
+
display: 'flex'
|
|
10980
|
+
}
|
|
10981
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10982
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
10983
|
+
style: {
|
|
10984
|
+
paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
|
|
10985
|
+
paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
|
|
10986
|
+
marginBottom: sectionproperties.tabsmb + 'px',
|
|
10987
|
+
paddingTop: sectionproperties.tabsPt + 'px',
|
|
10988
|
+
paddingBottom: sectionproperties.tabsPb + 'px'
|
|
10989
|
+
}
|
|
10990
|
+
}, sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
10991
|
+
style: {
|
|
10992
|
+
borderBottom: '1px solid #ccc'
|
|
10993
|
+
}
|
|
10994
|
+
}, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
10995
|
+
value: tabIndex,
|
|
10996
|
+
onChange: handleTabChange,
|
|
10997
|
+
scrollButtons: "auto",
|
|
10998
|
+
TabIndicatorProps: {
|
|
10999
|
+
style: {
|
|
11000
|
+
background: sectionproperties.activetabbordercolor
|
|
11001
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
11002
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
11003
|
+
}
|
|
11004
|
+
},
|
|
11005
|
+
sx: {
|
|
11006
|
+
'& button': {
|
|
11007
|
+
color: sectionproperties.tabtextcolor,
|
|
11008
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
11009
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
11010
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
11011
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
11012
|
+
fontFamily: 'Poppins',
|
|
11013
|
+
transition: '.3s',
|
|
11014
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
11015
|
+
},
|
|
11016
|
+
'& button:hover': {
|
|
11017
|
+
color: sectionproperties.tabscoloronhover,
|
|
11018
|
+
fontFamily: 'Poppins',
|
|
11019
|
+
transition: '.3s'
|
|
11020
|
+
},
|
|
11021
|
+
'& button.Mui-selected': {
|
|
11022
|
+
color: sectionproperties.tabtextactivecolor,
|
|
11023
|
+
background: sectionproperties.activetabbgcolor,
|
|
11024
|
+
fontFamily: 'Poppins',
|
|
11025
|
+
transition: '.3s'
|
|
11026
|
+
}
|
|
11027
|
+
}
|
|
11028
|
+
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11029
|
+
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
11030
|
+
onClick: function onClick() {
|
|
11031
|
+
settabname('descriptiontab');
|
|
11032
|
+
}
|
|
11033
|
+
}), sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11034
|
+
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
11035
|
+
onClick: function onClick() {
|
|
11036
|
+
settabname('shortdescriptiontab');
|
|
11037
|
+
}
|
|
11038
|
+
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11039
|
+
label: langdetect == 'en' ? (_returnpolicyobj15 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj15 === void 0 ? void 0 : _returnpolicyobj15.policypagename_en : (_returnpolicyobj16 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj16 === void 0 ? void 0 : _returnpolicyobj16.policypagename_ar,
|
|
11040
|
+
onClick: function onClick() {
|
|
11041
|
+
settabname('shippingpolicytab');
|
|
11042
|
+
}
|
|
11043
|
+
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11044
|
+
label: langdetect == 'en' ? (_returnpolicyobj17 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj17 === void 0 ? void 0 : _returnpolicyobj17.policypagename_en : (_returnpolicyobj18 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj18 === void 0 ? void 0 : _returnpolicyobj18.policypagename_ar,
|
|
11045
|
+
onClick: function onClick() {
|
|
11046
|
+
settabname('refundpolicytab');
|
|
11047
|
+
}
|
|
11048
|
+
}), (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, {
|
|
11049
|
+
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11050
|
+
onClick: function onClick() {
|
|
11051
|
+
settabname('videostab');
|
|
11052
|
+
}
|
|
11053
|
+
}), (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, {
|
|
11054
|
+
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11055
|
+
onClick: function onClick() {
|
|
11056
|
+
settabname('reviewstab');
|
|
11057
|
+
}
|
|
11058
|
+
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
11059
|
+
"class": "w-100 mt-5 mb-4"
|
|
11060
|
+
}, tabname != 'shortdescriptiontab' && tabname != 'shippingpolicytab' && tabname != 'refundpolicytab' && tabname != 'videostab' && tabname != 'reviewstab' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
11061
|
+
actions: _objectSpread$2C(_objectSpread$2C({}, actions), {}, {
|
|
11062
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
11063
|
+
sectionproperties: sectionproperties
|
|
11064
|
+
})
|
|
11065
|
+
}), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11066
|
+
"class": "col-lg-12 p-0"
|
|
11067
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11068
|
+
className: 'm-0 p-0 wordbreak',
|
|
11069
|
+
style: {
|
|
11070
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
11071
|
+
color: sectionproperties.prodCatColor
|
|
11072
|
+
},
|
|
11073
|
+
dangerouslySetInnerHTML: {
|
|
11074
|
+
__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
|
|
11075
|
+
}
|
|
11076
|
+
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11077
|
+
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
11078
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11079
|
+
className: ' m-0 p-0 wordbreak ',
|
|
11080
|
+
style: {
|
|
11081
|
+
// lineClamp: 10,
|
|
11082
|
+
// WebkitLineClamp: 10,
|
|
11083
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11084
|
+
},
|
|
11085
|
+
dangerouslySetInnerHTML: {
|
|
11086
|
+
__html: langdetect == 'en' ? (_returnpolicyobj19 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj19 === void 0 ? void 0 : _returnpolicyobj19.policycontent_en : (_returnpolicyobj20 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj20 === void 0 ? void 0 : _returnpolicyobj20.policycontent_ar
|
|
11087
|
+
}
|
|
11088
|
+
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11089
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
11090
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11091
|
+
className: ' m-0 p-0 wordbreak ',
|
|
11092
|
+
style: {
|
|
11093
|
+
// lineClamp: 10,
|
|
11094
|
+
// WebkitLineClamp: 10,
|
|
11095
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11096
|
+
},
|
|
11097
|
+
dangerouslySetInnerHTML: {
|
|
11098
|
+
__html: langdetect == 'en' ? (_returnpolicyobj21 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj21 === void 0 ? void 0 : _returnpolicyobj21.policycontent_en : (_returnpolicyobj22 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj22 === void 0 ? void 0 : _returnpolicyobj22.policycontent_ar
|
|
11099
|
+
}
|
|
11100
|
+
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11101
|
+
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
11102
|
+
}, productVideos.map(function (item, index) {
|
|
11103
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11104
|
+
className: "col-lg-4 col-md-6 col-sm-12 mb-4",
|
|
11105
|
+
style: {
|
|
11106
|
+
height: 400
|
|
11107
|
+
}
|
|
11108
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
11109
|
+
url: item.videourl,
|
|
11110
|
+
height: '100%',
|
|
11111
|
+
width: '100%',
|
|
11112
|
+
playing: false,
|
|
11113
|
+
controls: true,
|
|
11114
|
+
loop: true,
|
|
11115
|
+
muted: true
|
|
11116
|
+
}));
|
|
11117
|
+
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11118
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
11119
|
+
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
11120
|
+
actions: _objectSpread$2C(_objectSpread$2C({}, actions), {}, {
|
|
11121
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
11122
|
+
sectionproperties: sectionproperties
|
|
11123
|
+
})
|
|
10977
11124
|
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10978
11125
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
10979
11126
|
style: {
|
|
@@ -11041,12 +11188,12 @@
|
|
|
11041
11188
|
settabname('shortdescriptiontab');
|
|
11042
11189
|
}
|
|
11043
11190
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11044
|
-
label: langdetect == 'en' ? (
|
|
11191
|
+
label: langdetect == 'en' ? (_returnpolicyobj23 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj23 === void 0 ? void 0 : _returnpolicyobj23.policypagename_en : (_returnpolicyobj24 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj24 === void 0 ? void 0 : _returnpolicyobj24.policypagename_ar,
|
|
11045
11192
|
onClick: function onClick() {
|
|
11046
11193
|
settabname('shippingpolicytab');
|
|
11047
11194
|
}
|
|
11048
11195
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11049
|
-
label: langdetect == 'en' ? (
|
|
11196
|
+
label: langdetect == 'en' ? (_returnpolicyobj25 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj25 === void 0 ? void 0 : _returnpolicyobj25.policypagename_en : (_returnpolicyobj26 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj26 === void 0 ? void 0 : _returnpolicyobj26.policypagename_ar,
|
|
11050
11197
|
onClick: function onClick() {
|
|
11051
11198
|
settabname('refundpolicytab');
|
|
11052
11199
|
}
|
|
@@ -11066,7 +11213,7 @@
|
|
|
11066
11213
|
color: sectionproperties.prodCatColor
|
|
11067
11214
|
},
|
|
11068
11215
|
dangerouslySetInnerHTML: {
|
|
11069
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11216
|
+
__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
|
|
11070
11217
|
}
|
|
11071
11218
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11072
11219
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -11078,7 +11225,7 @@
|
|
|
11078
11225
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11079
11226
|
},
|
|
11080
11227
|
dangerouslySetInnerHTML: {
|
|
11081
|
-
__html: langdetect == 'en' ? (
|
|
11228
|
+
__html: langdetect == 'en' ? (_returnpolicyobj27 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj27 === void 0 ? void 0 : _returnpolicyobj27.policycontent_en : (_returnpolicyobj28 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj28 === void 0 ? void 0 : _returnpolicyobj28.policycontent_ar
|
|
11082
11229
|
}
|
|
11083
11230
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11084
11231
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11090,7 +11237,7 @@
|
|
|
11090
11237
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11091
11238
|
},
|
|
11092
11239
|
dangerouslySetInnerHTML: {
|
|
11093
|
-
__html: langdetect == 'en' ? (
|
|
11240
|
+
__html: langdetect == 'en' ? (_returnpolicyobj29 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj29 === void 0 ? void 0 : _returnpolicyobj29.policycontent_en : (_returnpolicyobj30 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj30 === void 0 ? void 0 : _returnpolicyobj30.policycontent_ar
|
|
11094
11241
|
}
|
|
11095
11242
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11096
11243
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11198,7 +11345,7 @@
|
|
|
11198
11345
|
color: '#000000'
|
|
11199
11346
|
},
|
|
11200
11347
|
dangerouslySetInnerHTML: {
|
|
11201
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11348
|
+
__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
|
|
11202
11349
|
}
|
|
11203
11350
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11204
11351
|
"class": "col-lg-12 p-0"
|
|
@@ -11209,7 +11356,7 @@
|
|
|
11209
11356
|
color: sectionproperties.prodCatColor
|
|
11210
11357
|
},
|
|
11211
11358
|
dangerouslySetInnerHTML: {
|
|
11212
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11359
|
+
__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
|
|
11213
11360
|
}
|
|
11214
11361
|
}))
|
|
11215
11362
|
// <DescriptionContent
|
|
@@ -11229,7 +11376,7 @@
|
|
|
11229
11376
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11230
11377
|
},
|
|
11231
11378
|
dangerouslySetInnerHTML: {
|
|
11232
|
-
__html: langdetect == 'en' ? (
|
|
11379
|
+
__html: langdetect == 'en' ? (_returnpolicyobj31 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj31 === void 0 ? void 0 : _returnpolicyobj31.policycontent_en : (_returnpolicyobj32 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj32 === void 0 ? void 0 : _returnpolicyobj32.policycontent_ar
|
|
11233
11380
|
}
|
|
11234
11381
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11235
11382
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11241,7 +11388,7 @@
|
|
|
11241
11388
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11242
11389
|
},
|
|
11243
11390
|
dangerouslySetInnerHTML: {
|
|
11244
|
-
__html: langdetect == 'en' ? (
|
|
11391
|
+
__html: langdetect == 'en' ? (_returnpolicyobj33 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj33 === void 0 ? void 0 : _returnpolicyobj33.policycontent_en : (_returnpolicyobj34 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj34 === void 0 ? void 0 : _returnpolicyobj34.policycontent_ar
|
|
11245
11392
|
}
|
|
11246
11393
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11247
11394
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -36049,7 +36196,8 @@
|
|
|
36049
36196
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36050
36197
|
"class": ' scrollhorizontal w-100 align-items-center h-100 ',
|
|
36051
36198
|
style: {
|
|
36052
|
-
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
|
|
36199
|
+
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
36200
|
+
flexWrap: 'wrap'
|
|
36053
36201
|
}
|
|
36054
36202
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
36055
36203
|
var activeclass = '';
|
|
@@ -36058,7 +36206,7 @@
|
|
|
36058
36206
|
}
|
|
36059
36207
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
36060
36208
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36061
|
-
"class": "
|
|
36209
|
+
"class": "",
|
|
36062
36210
|
style: {
|
|
36063
36211
|
marginLeft: langdetect == 'en' ? 0 : '20px',
|
|
36064
36212
|
marginRight: langdetect == 'en' ? '20px' : 0,
|
|
@@ -41415,20 +41563,20 @@
|
|
|
41415
41563
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41416
41564
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
41417
41565
|
style: {
|
|
41418
|
-
color: sectionproperties.
|
|
41566
|
+
color: sectionproperties.cart_iconcolor,
|
|
41419
41567
|
fontSize: 16
|
|
41420
41568
|
}
|
|
41421
41569
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41422
|
-
color: sectionproperties.
|
|
41570
|
+
color: sectionproperties.cart_iconcolor
|
|
41423
41571
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41424
41572
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
41425
41573
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41426
41574
|
"class": "m-0 p-0 ml-2 mr-2",
|
|
41427
41575
|
style: {
|
|
41428
|
-
color: sectionproperties.
|
|
41576
|
+
color: sectionproperties.cart_iconcolor
|
|
41429
41577
|
}
|
|
41430
41578
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41431
|
-
color: sectionproperties.
|
|
41579
|
+
color: sectionproperties.cart_iconcolor
|
|
41432
41580
|
})))), /*#__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) {
|
|
41433
41581
|
var _authdetailsContext$i5;
|
|
41434
41582
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|