tabexseriescomponents 0.2.1263 → 0.2.1265
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.esm.js
CHANGED
|
@@ -7584,7 +7584,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7584
7584
|
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; }
|
|
7585
7585
|
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(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; }
|
|
7586
7586
|
var Productinfo = function Productinfo(props) {
|
|
7587
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7587
|
+
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;
|
|
7588
7588
|
var _useState = useState({}),
|
|
7589
7589
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7590
7590
|
ProductInfoObj = _useState2[0],
|
|
@@ -7808,7 +7808,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7808
7808
|
};
|
|
7809
7809
|
useEffect(function () {
|
|
7810
7810
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7811
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3
|
|
7811
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
7812
7812
|
var secpropobj = {};
|
|
7813
7813
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7814
7814
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -7825,9 +7825,6 @@ var Productinfo = function Productinfo(props) {
|
|
|
7825
7825
|
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a6e2f865af8') {
|
|
7826
7826
|
settabname('descriptiontab');
|
|
7827
7827
|
// alert('sd');
|
|
7828
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '693ae1f70d9a4') {
|
|
7829
|
-
settabname('reviewstab');
|
|
7830
|
-
// alert('sd');
|
|
7831
7828
|
} else {
|
|
7832
7829
|
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
7833
7830
|
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) {
|
|
@@ -8050,8 +8047,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8050
8047
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8051
8048
|
}
|
|
8052
8049
|
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) != '') {
|
|
8053
|
-
var _authdetailsContext$
|
|
8054
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8050
|
+
var _authdetailsContext$i4;
|
|
8051
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8055
8052
|
var _fetchProductInfoQuer36;
|
|
8056
8053
|
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);
|
|
8057
8054
|
} else {
|
|
@@ -8077,9 +8074,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8077
8074
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8078
8075
|
// };
|
|
8079
8076
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8080
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1
|
|
8077
|
+
var _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
8081
8078
|
// lord
|
|
8082
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8079
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68d28fc494276') {
|
|
8083
8080
|
var _ProductInfoObj$data;
|
|
8084
8081
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
8085
8082
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8167,7 +8164,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8167
8164
|
return inStock ? 1 : 0;
|
|
8168
8165
|
}
|
|
8169
8166
|
// vout
|
|
8170
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8167
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f918a4ccb85') {
|
|
8171
8168
|
var _ProductInfoObj$data2;
|
|
8172
8169
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8173
8170
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8255,7 +8252,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8255
8252
|
return _inStock ? 1 : 0;
|
|
8256
8253
|
}
|
|
8257
8254
|
// puff n stuff
|
|
8258
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8255
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6899e604db87f') {
|
|
8259
8256
|
var _ProductInfoObj$data3;
|
|
8260
8257
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8261
8258
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8343,7 +8340,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8343
8340
|
return _inStock2 ? 1 : 0;
|
|
8344
8341
|
}
|
|
8345
8342
|
// dija
|
|
8346
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8343
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8347
8344
|
var _ProductInfoObj$data4;
|
|
8348
8345
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8349
8346
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8431,7 +8428,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8431
8428
|
return _inStock3 ? 1 : 0;
|
|
8432
8429
|
}
|
|
8433
8430
|
// angel secrets
|
|
8434
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8431
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67bda57bca71d') {
|
|
8435
8432
|
var _ProductInfoObj$data5;
|
|
8436
8433
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8437
8434
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8517,7 +8514,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8517
8514
|
}) && variantValueIds.includes(Currvalueid);
|
|
8518
8515
|
});
|
|
8519
8516
|
return _inStock4 ? 1 : 0;
|
|
8520
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8517
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '69244cc88aa0a') {
|
|
8521
8518
|
var _ProductInfoObj$data6;
|
|
8522
8519
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8523
8520
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8603,7 +8600,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8603
8600
|
}) && variantValueIds.includes(Currvalueid);
|
|
8604
8601
|
});
|
|
8605
8602
|
return _inStock5 ? 1 : 0;
|
|
8606
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8603
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '687ca57cc78e8') {
|
|
8607
8604
|
var _ProductInfoObj$data7;
|
|
8608
8605
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8609
8606
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -8694,8 +8691,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8694
8691
|
}
|
|
8695
8692
|
};
|
|
8696
8693
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8697
|
-
var _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16
|
|
8698
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8694
|
+
var _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
8695
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276') {
|
|
8699
8696
|
var _productarr$data, _productarr$data$prod;
|
|
8700
8697
|
var _productarr = ProductInfoObj;
|
|
8701
8698
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8749,7 +8746,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8749
8746
|
}
|
|
8750
8747
|
}
|
|
8751
8748
|
// vout
|
|
8752
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8749
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68f918a4ccb85') {
|
|
8753
8750
|
var _productarr2$data, _productarr2$data$pro;
|
|
8754
8751
|
var _productarr2 = ProductInfoObj;
|
|
8755
8752
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8803,7 +8800,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8803
8800
|
}
|
|
8804
8801
|
}
|
|
8805
8802
|
// puff n stuff
|
|
8806
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8803
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '6899e604db87f') {
|
|
8807
8804
|
var _productarr3$data, _productarr3$data$pro;
|
|
8808
8805
|
var _productarr3 = ProductInfoObj;
|
|
8809
8806
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8857,7 +8854,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8857
8854
|
}
|
|
8858
8855
|
}
|
|
8859
8856
|
// dija
|
|
8860
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8857
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8861
8858
|
var _productarr4$data, _productarr4$data$pro;
|
|
8862
8859
|
var _productarr4 = ProductInfoObj;
|
|
8863
8860
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8911,7 +8908,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8911
8908
|
}
|
|
8912
8909
|
}
|
|
8913
8910
|
// angel
|
|
8914
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8911
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67bda57bca71d') {
|
|
8915
8912
|
var _productarr5$data, _productarr5$data$pro;
|
|
8916
8913
|
var _productarr5 = ProductInfoObj;
|
|
8917
8914
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -8963,7 +8960,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8963
8960
|
// optional: show user message or disable click
|
|
8964
8961
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8965
8962
|
}
|
|
8966
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8963
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '69244cc88aa0a') {
|
|
8967
8964
|
var _productarr6$data, _productarr6$data$pro;
|
|
8968
8965
|
var _productarr6 = ProductInfoObj;
|
|
8969
8966
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -9015,7 +9012,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9015
9012
|
// optional: show user message or disable click
|
|
9016
9013
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9017
9014
|
}
|
|
9018
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9015
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '687ca57cc78e8') {
|
|
9019
9016
|
var _productarr7$data, _productarr7$data$pro;
|
|
9020
9017
|
var _productarr7 = ProductInfoObj;
|
|
9021
9018
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9548,10 +9545,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9548
9545
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9549
9546
|
runfunc = true;
|
|
9550
9547
|
} else {
|
|
9551
|
-
var _authdetailsContext$
|
|
9548
|
+
var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
9552
9549
|
// here
|
|
9553
9550
|
setvariantnotchosendisclaimer('This field is required');
|
|
9554
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9551
|
+
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' : 'من فضلك اختر من المتغيرات');
|
|
9555
9552
|
}
|
|
9556
9553
|
} else {
|
|
9557
9554
|
runfunc = true;
|
|
@@ -9635,9 +9632,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9635
9632
|
};
|
|
9636
9633
|
};
|
|
9637
9634
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9638
|
-
var _authdetailsContext$
|
|
9635
|
+
var _authdetailsContext$i20;
|
|
9639
9636
|
var policyobj = {};
|
|
9640
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9637
|
+
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) {
|
|
9641
9638
|
if (item.policytype == policytype) {
|
|
9642
9639
|
policyobj = item;
|
|
9643
9640
|
}
|
|
@@ -9646,7 +9643,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9646
9643
|
};
|
|
9647
9644
|
var relatedproducts = function relatedproducts() {
|
|
9648
9645
|
if (Relatedproducts.length != 0) {
|
|
9649
|
-
var _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25
|
|
9646
|
+
var _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
9650
9647
|
return /*#__PURE__*/React.createElement("div", {
|
|
9651
9648
|
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",
|
|
9652
9649
|
style: {
|
|
@@ -9668,9 +9665,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9668
9665
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9669
9666
|
className: "row m-0 w-100",
|
|
9670
9667
|
style: {
|
|
9671
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9668
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9672
9669
|
}
|
|
9673
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9670
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9674
9671
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9675
9672
|
style: {
|
|
9676
9673
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9689,7 +9686,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9689
9686
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9690
9687
|
borderRadius: 5
|
|
9691
9688
|
}
|
|
9692
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9689
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9693
9690
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9694
9691
|
style: {
|
|
9695
9692
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9710,8 +9707,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9710
9707
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
9711
9708
|
transitionBehavior: 'auto',
|
|
9712
9709
|
wrapperClassName: '',
|
|
9713
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9714
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9710
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9711
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9715
9712
|
}, Relatedproducts.map(function (item, index) {
|
|
9716
9713
|
if (item.productinfo != null) {
|
|
9717
9714
|
var _fetchProductInfoQuer49;
|
|
@@ -9781,10 +9778,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9781
9778
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9782
9779
|
runfunc = true;
|
|
9783
9780
|
} else {
|
|
9784
|
-
var _authdetailsContext$
|
|
9781
|
+
var _authdetailsContext$i26;
|
|
9785
9782
|
// here
|
|
9786
9783
|
setvariantnotchosendisclaimer('This field is required');
|
|
9787
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9784
|
+
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');
|
|
9788
9785
|
}
|
|
9789
9786
|
} else {
|
|
9790
9787
|
runfunc = true;
|
|
@@ -9827,8 +9824,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9827
9824
|
isVarianturlLoaded = _useState58[0],
|
|
9828
9825
|
setisVarianturlLoaded = _useState58[1];
|
|
9829
9826
|
useEffect(function () {
|
|
9830
|
-
var _authdetailsContext$
|
|
9831
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9827
|
+
var _authdetailsContext$i27;
|
|
9828
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68f918a4ccb85') {
|
|
9832
9829
|
var params = new URLSearchParams(window.location.search);
|
|
9833
9830
|
var variantId = params.get('variant');
|
|
9834
9831
|
if (isVarianturlLoaded == false) {
|
|
@@ -10624,7 +10621,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10624
10621
|
})));
|
|
10625
10622
|
};
|
|
10626
10623
|
var StoreInfo = function StoreInfo(position) {
|
|
10627
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10624
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i29, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i30, _authdetailsContext$i32;
|
|
10628
10625
|
return /*#__PURE__*/React.createElement("div", {
|
|
10629
10626
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10630
10627
|
style: {
|
|
@@ -10703,8 +10700,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10703
10700
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
10704
10701
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10705
10702
|
onClick: function onClick() {
|
|
10706
|
-
var _authdetailsContext$
|
|
10707
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10703
|
+
var _authdetailsContext$i28;
|
|
10704
|
+
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');
|
|
10708
10705
|
}
|
|
10709
10706
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10710
10707
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10724,7 +10721,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10724
10721
|
style: {
|
|
10725
10722
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10726
10723
|
}
|
|
10727
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10724
|
+
}, 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.createElement("div", {
|
|
10728
10725
|
"class": "col-lg-12 my-2",
|
|
10729
10726
|
style: {
|
|
10730
10727
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10776,25 +10773,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10776
10773
|
}
|
|
10777
10774
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10778
10775
|
"class": "m-0 p-0"
|
|
10779
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10776
|
+
}, 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.createElement("div", {
|
|
10780
10777
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10781
10778
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10782
10779
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10783
10780
|
onClick: function onClick() {
|
|
10784
|
-
var _authdetailsContext$
|
|
10785
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10781
|
+
var _authdetailsContext$i31;
|
|
10782
|
+
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');
|
|
10786
10783
|
}
|
|
10787
10784
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10788
10785
|
"class": "m-0 p-0"
|
|
10789
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10786
|
+
}, 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.createElement("div", {
|
|
10790
10787
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10791
10788
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10792
10789
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10793
10790
|
onClick: function onClick() {
|
|
10794
|
-
var _authdetailsContext$
|
|
10795
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10796
|
-
var _authdetailsContext$
|
|
10797
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10791
|
+
var _authdetailsContext$i33;
|
|
10792
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.whatsappnumber) != null) {
|
|
10793
|
+
var _authdetailsContext$i34;
|
|
10794
|
+
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');
|
|
10798
10795
|
}
|
|
10799
10796
|
}
|
|
10800
10797
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -10890,7 +10887,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10890
10887
|
lang: lang,
|
|
10891
10888
|
srcfromprops: props.srcfromprops
|
|
10892
10889
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10893
|
-
}), (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$
|
|
10890
|
+
}), (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.createElement(Article_itemtype, {
|
|
10894
10891
|
actions: (_ref2 = {
|
|
10895
10892
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10896
10893
|
setisoutofstock: setisoutofstock,
|
|
@@ -10900,7 +10897,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10900
10897
|
lang: lang,
|
|
10901
10898
|
srcfromprops: props.srcfromprops
|
|
10902
10899
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_defineProperty(_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10903
|
-
}), (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$
|
|
10900
|
+
}), (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.createElement(Product_itemtype_Article, {
|
|
10904
10901
|
actions: (_ref3 = {
|
|
10905
10902
|
isOptionInStock: isOptionInStock,
|
|
10906
10903
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10926,7 +10923,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10926
10923
|
lang: lang,
|
|
10927
10924
|
srcfromprops: props.srcfromprops
|
|
10928
10925
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_defineProperty(_defineProperty(_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10929
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10926
|
+
}), 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.createElement("div", {
|
|
10930
10927
|
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 ',
|
|
10931
10928
|
style: {
|
|
10932
10929
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11117,6 +11114,156 @@ var Productinfo = function Productinfo(props) {
|
|
|
11117
11114
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11118
11115
|
sectionproperties: sectionproperties
|
|
11119
11116
|
})
|
|
11117
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
11118
|
+
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 ',
|
|
11119
|
+
style: {
|
|
11120
|
+
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11121
|
+
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11122
|
+
display: 'flex'
|
|
11123
|
+
}
|
|
11124
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
11125
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
11126
|
+
style: {
|
|
11127
|
+
paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
|
|
11128
|
+
paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
|
|
11129
|
+
marginBottom: sectionproperties.tabsmb + 'px',
|
|
11130
|
+
paddingTop: sectionproperties.tabsPt + 'px',
|
|
11131
|
+
paddingBottom: sectionproperties.tabsPb + 'px'
|
|
11132
|
+
}
|
|
11133
|
+
}, sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React.createElement(Box, {
|
|
11134
|
+
style: {
|
|
11135
|
+
borderBottom: '1px solid #ccc'
|
|
11136
|
+
}
|
|
11137
|
+
}, /*#__PURE__*/React.createElement(Tabs, {
|
|
11138
|
+
value: tabIndex,
|
|
11139
|
+
onChange: handleTabChange,
|
|
11140
|
+
scrollButtons: "auto",
|
|
11141
|
+
TabIndicatorProps: {
|
|
11142
|
+
style: {
|
|
11143
|
+
background: sectionproperties.activetabbordercolor
|
|
11144
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
11145
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
11146
|
+
}
|
|
11147
|
+
},
|
|
11148
|
+
sx: {
|
|
11149
|
+
'& button': {
|
|
11150
|
+
color: sectionproperties.tabtextcolor,
|
|
11151
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
11152
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
11153
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
11154
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
11155
|
+
fontFamily: 'Poppins',
|
|
11156
|
+
transition: '.3s',
|
|
11157
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
11158
|
+
},
|
|
11159
|
+
'& button:hover': {
|
|
11160
|
+
color: sectionproperties.tabscoloronhover,
|
|
11161
|
+
fontFamily: 'Poppins',
|
|
11162
|
+
transition: '.3s'
|
|
11163
|
+
},
|
|
11164
|
+
'& button.Mui-selected': {
|
|
11165
|
+
color: sectionproperties.tabtextactivecolor,
|
|
11166
|
+
background: sectionproperties.activetabbgcolor,
|
|
11167
|
+
fontFamily: 'Poppins',
|
|
11168
|
+
transition: '.3s'
|
|
11169
|
+
}
|
|
11170
|
+
}
|
|
11171
|
+
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React.createElement(Tab, {
|
|
11172
|
+
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
11173
|
+
onClick: function onClick() {
|
|
11174
|
+
settabname('descriptiontab');
|
|
11175
|
+
}
|
|
11176
|
+
}), sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
11177
|
+
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
11178
|
+
onClick: function onClick() {
|
|
11179
|
+
settabname('shortdescriptiontab');
|
|
11180
|
+
}
|
|
11181
|
+
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
11182
|
+
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,
|
|
11183
|
+
onClick: function onClick() {
|
|
11184
|
+
settabname('shippingpolicytab');
|
|
11185
|
+
}
|
|
11186
|
+
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
11187
|
+
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,
|
|
11188
|
+
onClick: function onClick() {
|
|
11189
|
+
settabname('refundpolicytab');
|
|
11190
|
+
}
|
|
11191
|
+
}), (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.createElement(Tab, {
|
|
11192
|
+
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11193
|
+
onClick: function onClick() {
|
|
11194
|
+
settabname('videostab');
|
|
11195
|
+
}
|
|
11196
|
+
}), (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.createElement(Tab, {
|
|
11197
|
+
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11198
|
+
onClick: function onClick() {
|
|
11199
|
+
settabname('reviewstab');
|
|
11200
|
+
}
|
|
11201
|
+
}))), /*#__PURE__*/React.createElement(Box, {
|
|
11202
|
+
"class": "w-100 mt-5 mb-4"
|
|
11203
|
+
}, tabname != 'shortdescriptiontab' && tabname != 'shippingpolicytab' && tabname != 'refundpolicytab' && tabname != 'videostab' && tabname != 'reviewstab' && /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
11204
|
+
actions: _objectSpread$2C(_objectSpread$2C({}, actions), {}, {
|
|
11205
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
11206
|
+
sectionproperties: sectionproperties
|
|
11207
|
+
})
|
|
11208
|
+
}), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
11209
|
+
"class": "col-lg-12 p-0"
|
|
11210
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
11211
|
+
className: 'm-0 p-0 wordbreak',
|
|
11212
|
+
style: {
|
|
11213
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
11214
|
+
color: sectionproperties.prodCatColor
|
|
11215
|
+
},
|
|
11216
|
+
dangerouslySetInnerHTML: {
|
|
11217
|
+
__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
|
|
11218
|
+
}
|
|
11219
|
+
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
11220
|
+
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
11221
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
11222
|
+
className: ' m-0 p-0 wordbreak ',
|
|
11223
|
+
style: {
|
|
11224
|
+
// lineClamp: 10,
|
|
11225
|
+
// WebkitLineClamp: 10,
|
|
11226
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11227
|
+
},
|
|
11228
|
+
dangerouslySetInnerHTML: {
|
|
11229
|
+
__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
|
|
11230
|
+
}
|
|
11231
|
+
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
11232
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
11233
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
11234
|
+
className: ' m-0 p-0 wordbreak ',
|
|
11235
|
+
style: {
|
|
11236
|
+
// lineClamp: 10,
|
|
11237
|
+
// WebkitLineClamp: 10,
|
|
11238
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11239
|
+
},
|
|
11240
|
+
dangerouslySetInnerHTML: {
|
|
11241
|
+
__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
|
|
11242
|
+
}
|
|
11243
|
+
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
11244
|
+
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
11245
|
+
}, productVideos.map(function (item, index) {
|
|
11246
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11247
|
+
className: "col-lg-4 col-md-6 col-sm-12 mb-4",
|
|
11248
|
+
style: {
|
|
11249
|
+
height: 400
|
|
11250
|
+
}
|
|
11251
|
+
}, /*#__PURE__*/React.createElement(ReactPlayer, {
|
|
11252
|
+
url: item.videourl,
|
|
11253
|
+
height: '100%',
|
|
11254
|
+
width: '100%',
|
|
11255
|
+
playing: false,
|
|
11256
|
+
controls: true,
|
|
11257
|
+
loop: true,
|
|
11258
|
+
muted: true
|
|
11259
|
+
}));
|
|
11260
|
+
})), tabname == 'reviewstab' && /*#__PURE__*/React.createElement("div", {
|
|
11261
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
11262
|
+
}, /*#__PURE__*/React.createElement(ProductReviews, {
|
|
11263
|
+
actions: _objectSpread$2C(_objectSpread$2C({}, actions), {}, {
|
|
11264
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
11265
|
+
sectionproperties: sectionproperties
|
|
11266
|
+
})
|
|
11120
11267
|
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
11121
11268
|
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 ',
|
|
11122
11269
|
style: {
|
|
@@ -11184,12 +11331,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11184
11331
|
settabname('shortdescriptiontab');
|
|
11185
11332
|
}
|
|
11186
11333
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
11187
|
-
label: langdetect == 'en' ? (
|
|
11334
|
+
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,
|
|
11188
11335
|
onClick: function onClick() {
|
|
11189
11336
|
settabname('shippingpolicytab');
|
|
11190
11337
|
}
|
|
11191
11338
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
11192
|
-
label: langdetect == 'en' ? (
|
|
11339
|
+
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,
|
|
11193
11340
|
onClick: function onClick() {
|
|
11194
11341
|
settabname('refundpolicytab');
|
|
11195
11342
|
}
|
|
@@ -11209,7 +11356,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
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 || (_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
|
|
11213
11360
|
}
|
|
11214
11361
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
11215
11362
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -11221,7 +11368,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11221
11368
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11222
11369
|
},
|
|
11223
11370
|
dangerouslySetInnerHTML: {
|
|
11224
|
-
__html: langdetect == 'en' ? (
|
|
11371
|
+
__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
|
|
11225
11372
|
}
|
|
11226
11373
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
11227
11374
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11233,7 +11380,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11233
11380
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11234
11381
|
},
|
|
11235
11382
|
dangerouslySetInnerHTML: {
|
|
11236
|
-
__html: langdetect == 'en' ? (
|
|
11383
|
+
__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
|
|
11237
11384
|
}
|
|
11238
11385
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
11239
11386
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11341,7 +11488,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11341
11488
|
color: '#000000'
|
|
11342
11489
|
},
|
|
11343
11490
|
dangerouslySetInnerHTML: {
|
|
11344
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11491
|
+
__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
|
|
11345
11492
|
}
|
|
11346
11493
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
11347
11494
|
"class": "col-lg-12 p-0"
|
|
@@ -11352,7 +11499,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11352
11499
|
color: sectionproperties.prodCatColor
|
|
11353
11500
|
},
|
|
11354
11501
|
dangerouslySetInnerHTML: {
|
|
11355
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11502
|
+
__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
|
|
11356
11503
|
}
|
|
11357
11504
|
}))
|
|
11358
11505
|
// <DescriptionContent
|
|
@@ -11372,7 +11519,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11372
11519
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11373
11520
|
},
|
|
11374
11521
|
dangerouslySetInnerHTML: {
|
|
11375
|
-
__html: langdetect == 'en' ? (
|
|
11522
|
+
__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
|
|
11376
11523
|
}
|
|
11377
11524
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
11378
11525
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11384,7 +11531,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11384
11531
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11385
11532
|
},
|
|
11386
11533
|
dangerouslySetInnerHTML: {
|
|
11387
|
-
__html: langdetect == 'en' ? (
|
|
11534
|
+
__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
|
|
11388
11535
|
}
|
|
11389
11536
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
11390
11537
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -36192,7 +36339,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
36192
36339
|
}, /*#__PURE__*/React.createElement("div", {
|
|
36193
36340
|
"class": ' scrollhorizontal w-100 align-items-center h-100 ',
|
|
36194
36341
|
style: {
|
|
36195
|
-
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
|
|
36342
|
+
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
36343
|
+
flexWrap: 'wrap'
|
|
36196
36344
|
}
|
|
36197
36345
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
36198
36346
|
var activeclass = '';
|
|
@@ -36201,7 +36349,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
36201
36349
|
}
|
|
36202
36350
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
36203
36351
|
return /*#__PURE__*/React.createElement("div", {
|
|
36204
|
-
"class": "
|
|
36352
|
+
"class": "",
|
|
36205
36353
|
style: {
|
|
36206
36354
|
marginLeft: langdetect == 'en' ? 0 : '20px',
|
|
36207
36355
|
marginRight: langdetect == 'en' ? '20px' : 0,
|
|
@@ -41558,20 +41706,20 @@ var Modernheader = function Modernheader(props) {
|
|
|
41558
41706
|
}, /*#__PURE__*/React.createElement("p", {
|
|
41559
41707
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
41560
41708
|
style: {
|
|
41561
|
-
color: sectionproperties.
|
|
41709
|
+
color: sectionproperties.cart_iconcolor,
|
|
41562
41710
|
fontSize: 16
|
|
41563
41711
|
}
|
|
41564
41712
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, {
|
|
41565
|
-
color: sectionproperties.
|
|
41713
|
+
color: sectionproperties.cart_iconcolor
|
|
41566
41714
|
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
41567
41715
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
41568
41716
|
}, /*#__PURE__*/React.createElement("p", {
|
|
41569
41717
|
"class": "m-0 p-0 ml-2 mr-2",
|
|
41570
41718
|
style: {
|
|
41571
|
-
color: sectionproperties.
|
|
41719
|
+
color: sectionproperties.cart_iconcolor
|
|
41572
41720
|
}
|
|
41573
41721
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, {
|
|
41574
|
-
color: sectionproperties.
|
|
41722
|
+
color: sectionproperties.cart_iconcolor
|
|
41575
41723
|
})))), /*#__PURE__*/React.createElement(Dropdown.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) {
|
|
41576
41724
|
var _authdetailsContext$i5;
|
|
41577
41725
|
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|