tabexseriescomponents 0.2.1409 → 0.2.1411
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 +338 -120
- package/dist/index.esm.js +338 -120
- package/dist/index.umd.js +338 -120
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8274,7 +8274,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8274
8274
|
function ownKeys$2D(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; }
|
|
8275
8275
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8276
8276
|
var Productinfo = function Productinfo(props) {
|
|
8277
|
-
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$
|
|
8277
|
+
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i45, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i47, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i48, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i63, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i64, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _authdetailsContext$i65, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i66, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _fetchProductInfoQuer116, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i67, _authdetailsContext$i68, _returnpolicyobj51, _returnpolicyobj52, _returnpolicyobj53, _returnpolicyobj54, _authdetailsContext$i69, _authdetailsContext$i70;
|
|
8278
8278
|
var _useState = React.useState({}),
|
|
8279
8279
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8280
8280
|
ProductInfoObj = _useState2[0],
|
|
@@ -8498,49 +8498,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
8498
8498
|
};
|
|
8499
8499
|
React.useEffect(function () {
|
|
8500
8500
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
8501
|
-
var
|
|
8501
|
+
var _authdetailsContext$i;
|
|
8502
8502
|
var secpropobj = {};
|
|
8503
8503
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
8504
8504
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8505
8505
|
});
|
|
8506
8506
|
setsectionproperties(_objectSpread$2D({}, secpropobj));
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
setTabIndex(3);
|
|
8510
|
-
} else {
|
|
8511
|
-
setTabIndex(0);
|
|
8512
|
-
settabname('descriptiontab');
|
|
8513
|
-
}
|
|
8514
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8515
|
-
settabname('descriptiontab');
|
|
8516
|
-
// alert('sd');
|
|
8517
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '690894722ad12') {
|
|
8518
|
-
settabname('reviewstab');
|
|
8519
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69df5f6e19eb2') {
|
|
8520
|
-
settabname('videostab');
|
|
8521
|
-
// alert('sd');
|
|
8522
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '693fdc5a14f45') {
|
|
8523
|
-
settabname('descriptiontab');
|
|
8524
|
-
// alert('sd');
|
|
8525
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68a6e2f865af8') {
|
|
8507
|
+
// move to spo
|
|
8508
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '6a5e2f3d879f1') {
|
|
8526
8509
|
settabname('descriptiontab');
|
|
8510
|
+
setTabIndex(0);
|
|
8511
|
+
|
|
8527
8512
|
// alert('sd');
|
|
8528
8513
|
} else {
|
|
8529
|
-
var
|
|
8530
|
-
if (sectionproperties.
|
|
8531
|
-
settabname('
|
|
8532
|
-
|
|
8533
|
-
|
|
8514
|
+
var _fetchProductInfoQuer3, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
8515
|
+
if (sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (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) {
|
|
8516
|
+
settabname('videostab');
|
|
8517
|
+
setTabIndex(3);
|
|
8518
|
+
} else {
|
|
8519
|
+
setTabIndex(0);
|
|
8520
|
+
settabname('descriptiontab');
|
|
8521
|
+
}
|
|
8522
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8523
|
+
settabname('descriptiontab');
|
|
8524
|
+
// alert('sd');
|
|
8525
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '690894722ad12') {
|
|
8534
8526
|
settabname('reviewstab');
|
|
8527
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '69df5f6e19eb2') {
|
|
8528
|
+
settabname('videostab');
|
|
8529
|
+
// alert('sd');
|
|
8530
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '693fdc5a14f45') {
|
|
8531
|
+
settabname('descriptiontab');
|
|
8532
|
+
// alert('sd');
|
|
8533
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68a6e2f865af8') {
|
|
8534
|
+
settabname('descriptiontab');
|
|
8535
|
+
// alert('sd');
|
|
8536
|
+
} else {
|
|
8537
|
+
var _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
8538
|
+
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.product_videos) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.length) == 0) {
|
|
8539
|
+
settabname('shippingpolicytab');
|
|
8540
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.product_videos) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) == 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
8541
|
+
// settabname('videostab');
|
|
8542
|
+
settabname('reviewstab');
|
|
8543
|
+
}
|
|
8544
|
+
// else if (
|
|
8545
|
+
// fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos?.length != 0 &&
|
|
8546
|
+
// sectionproperties.showfirstpolicy == 'Hide' &&
|
|
8547
|
+
// sectionproperties.showsecondpolicy == 'Hide'
|
|
8548
|
+
// ) {
|
|
8549
|
+
// // settabname('videostab');
|
|
8550
|
+
// settabname('videostab');
|
|
8551
|
+
// }
|
|
8535
8552
|
}
|
|
8536
|
-
// else if (
|
|
8537
|
-
// fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos?.length != 0 &&
|
|
8538
|
-
// sectionproperties.showfirstpolicy == 'Hide' &&
|
|
8539
|
-
// sectionproperties.showsecondpolicy == 'Hide'
|
|
8540
|
-
// ) {
|
|
8541
|
-
// // settabname('videostab');
|
|
8542
|
-
// settabname('videostab');
|
|
8543
|
-
// }
|
|
8544
8553
|
}
|
|
8545
8554
|
}
|
|
8546
8555
|
}, [StatePagePropertiesContext]);
|
|
@@ -8755,8 +8764,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8755
8764
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8756
8765
|
}
|
|
8757
8766
|
if ((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) != undefined && (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) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.quantitystepincrearse) != '') {
|
|
8758
|
-
var _authdetailsContext$
|
|
8759
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8767
|
+
var _authdetailsContext$i7;
|
|
8768
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8760
8769
|
var _fetchProductInfoQuer39;
|
|
8761
8770
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.quantitystepincrearse);
|
|
8762
8771
|
} else {
|
|
@@ -8789,9 +8798,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8789
8798
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8790
8799
|
// };
|
|
8791
8800
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8792
|
-
var _authdetailsContext$
|
|
8801
|
+
var _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
8793
8802
|
// lord
|
|
8794
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8803
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '68d28fc494276') {
|
|
8795
8804
|
var _ProductInfoObj$data;
|
|
8796
8805
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
8797
8806
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8879,7 +8888,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8879
8888
|
return inStock ? 1 : 0;
|
|
8880
8889
|
}
|
|
8881
8890
|
// alma
|
|
8882
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8891
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67d349e5ee6a1') {
|
|
8883
8892
|
var _ProductInfoObj$data2;
|
|
8884
8893
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8885
8894
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8967,7 +8976,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8967
8976
|
return _inStock ? 1 : 0;
|
|
8968
8977
|
}
|
|
8969
8978
|
// mn design
|
|
8970
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8979
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '682dfdcdb9720') {
|
|
8971
8980
|
var _ProductInfoObj$data3;
|
|
8972
8981
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8973
8982
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -9053,7 +9062,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9053
9062
|
}) && variantValueIds.includes(Currvalueid);
|
|
9054
9063
|
});
|
|
9055
9064
|
return _inStock2 ? 1 : 0;
|
|
9056
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9065
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '67c050d72cbe7') {
|
|
9057
9066
|
var _ProductInfoObj$data4;
|
|
9058
9067
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
9059
9068
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -9141,7 +9150,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9141
9150
|
return _inStock3 ? 1 : 0;
|
|
9142
9151
|
}
|
|
9143
9152
|
// amiga
|
|
9144
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9153
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '670fc18477599') {
|
|
9145
9154
|
var _ProductInfoObj$data5;
|
|
9146
9155
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
9147
9156
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -9229,7 +9238,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9229
9238
|
return _inStock4 ? 1 : 0;
|
|
9230
9239
|
}
|
|
9231
9240
|
// vout
|
|
9232
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9241
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68f918a4ccb85') {
|
|
9233
9242
|
var _ProductInfoObj$data6;
|
|
9234
9243
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
9235
9244
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9317,7 +9326,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9317
9326
|
return _inStock5 ? 1 : 0;
|
|
9318
9327
|
}
|
|
9319
9328
|
// puff n stuff
|
|
9320
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9329
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '6899e604db87f') {
|
|
9321
9330
|
var _ProductInfoObj$data7;
|
|
9322
9331
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9323
9332
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9405,7 +9414,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9405
9414
|
return _inStock6 ? 1 : 0;
|
|
9406
9415
|
}
|
|
9407
9416
|
// dija
|
|
9408
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9417
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9409
9418
|
var _ProductInfoObj$data8;
|
|
9410
9419
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9411
9420
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9493,7 +9502,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9493
9502
|
return _inStock7 ? 1 : 0;
|
|
9494
9503
|
}
|
|
9495
9504
|
// angel secrets
|
|
9496
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9505
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67bda57bca71d') {
|
|
9497
9506
|
var _ProductInfoObj$data9;
|
|
9498
9507
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9499
9508
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9579,7 +9588,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9579
9588
|
}) && variantValueIds.includes(Currvalueid);
|
|
9580
9589
|
});
|
|
9581
9590
|
return _inStock8 ? 1 : 0;
|
|
9582
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9591
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '69244cc88aa0a') {
|
|
9583
9592
|
var _ProductInfoObj$data0;
|
|
9584
9593
|
var _productinfo9 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data0 = ProductInfoObj.data) === null || _ProductInfoObj$data0 === void 0 ? void 0 : _ProductInfoObj$data0.productinfo;
|
|
9585
9594
|
var _options9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.productoptions) || [];
|
|
@@ -9665,7 +9674,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9665
9674
|
}) && variantValueIds.includes(Currvalueid);
|
|
9666
9675
|
});
|
|
9667
9676
|
return _inStock9 ? 1 : 0;
|
|
9668
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9677
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '687ca57cc78e8') {
|
|
9669
9678
|
var _ProductInfoObj$data1;
|
|
9670
9679
|
var _productinfo0 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data1 = ProductInfoObj.data) === null || _ProductInfoObj$data1 === void 0 ? void 0 : _ProductInfoObj$data1.productinfo;
|
|
9671
9680
|
var _options0 = (_productinfo0 === null || _productinfo0 === void 0 ? void 0 : _productinfo0.productoptions) || [];
|
|
@@ -9756,8 +9765,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9756
9765
|
}
|
|
9757
9766
|
};
|
|
9758
9767
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9759
|
-
var _authdetailsContext$
|
|
9760
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9768
|
+
var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26;
|
|
9769
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '68d28fc494276') {
|
|
9761
9770
|
var _productarr$data, _productarr$data$prod;
|
|
9762
9771
|
var _productarr = ProductInfoObj;
|
|
9763
9772
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -9811,7 +9820,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9811
9820
|
}
|
|
9812
9821
|
}
|
|
9813
9822
|
// mn design
|
|
9814
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9823
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '682dfdcdb9720') {
|
|
9815
9824
|
var _productarr2$data, _productarr2$data$pro;
|
|
9816
9825
|
var _productarr2 = ProductInfoObj;
|
|
9817
9826
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -9866,7 +9875,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9866
9875
|
}
|
|
9867
9876
|
|
|
9868
9877
|
// alma
|
|
9869
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9878
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9870
9879
|
var _productarr3$data, _productarr3$data$pro;
|
|
9871
9880
|
var _productarr3 = ProductInfoObj;
|
|
9872
9881
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -9918,7 +9927,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9918
9927
|
// optional: show user message or disable click
|
|
9919
9928
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9920
9929
|
}
|
|
9921
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9930
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67c050d72cbe7') {
|
|
9922
9931
|
var _productarr4$data, _productarr4$data$pro;
|
|
9923
9932
|
var _productarr4 = ProductInfoObj;
|
|
9924
9933
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9972,7 +9981,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9972
9981
|
}
|
|
9973
9982
|
}
|
|
9974
9983
|
// vout
|
|
9975
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9984
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68f918a4ccb85') {
|
|
9976
9985
|
var _productarr5$data, _productarr5$data$pro;
|
|
9977
9986
|
var _productarr5 = ProductInfoObj;
|
|
9978
9987
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -10026,7 +10035,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10026
10035
|
}
|
|
10027
10036
|
}
|
|
10028
10037
|
// puff n stuff
|
|
10029
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10038
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f') {
|
|
10030
10039
|
var _productarr6$data, _productarr6$data$pro;
|
|
10031
10040
|
var _productarr6 = ProductInfoObj;
|
|
10032
10041
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -10080,7 +10089,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10080
10089
|
}
|
|
10081
10090
|
}
|
|
10082
10091
|
// dija
|
|
10083
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10092
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '682cbb9bdcd57') {
|
|
10084
10093
|
var _productarr7$data, _productarr7$data$pro;
|
|
10085
10094
|
var _productarr7 = ProductInfoObj;
|
|
10086
10095
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -10134,7 +10143,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10134
10143
|
}
|
|
10135
10144
|
}
|
|
10136
10145
|
// angel
|
|
10137
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10146
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67bda57bca71d') {
|
|
10138
10147
|
var _productarr8$data, _productarr8$data$pro;
|
|
10139
10148
|
var _productarr8 = ProductInfoObj;
|
|
10140
10149
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -10186,7 +10195,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10186
10195
|
// optional: show user message or disable click
|
|
10187
10196
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10188
10197
|
}
|
|
10189
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10198
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '69244cc88aa0a') {
|
|
10190
10199
|
var _productarr9$data, _productarr9$data$pro;
|
|
10191
10200
|
var _productarr9 = ProductInfoObj;
|
|
10192
10201
|
if (!(_productarr9 !== null && _productarr9 !== void 0 && (_productarr9$data = _productarr9.data) !== null && _productarr9$data !== void 0 && _productarr9$data.productinfo)) return;
|
|
@@ -10238,7 +10247,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10238
10247
|
// optional: show user message or disable click
|
|
10239
10248
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10240
10249
|
}
|
|
10241
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10250
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '687ca57cc78e8') {
|
|
10242
10251
|
var _productarr0$data, _productarr0$data$pro;
|
|
10243
10252
|
var _productarr0 = ProductInfoObj;
|
|
10244
10253
|
if (!(_productarr0 !== null && _productarr0 !== void 0 && (_productarr0$data = _productarr0.data) !== null && _productarr0$data !== void 0 && _productarr0$data.productinfo)) return;
|
|
@@ -10771,10 +10780,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10771
10780
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10772
10781
|
runfunc = true;
|
|
10773
10782
|
} else {
|
|
10774
|
-
var _authdetailsContext$
|
|
10783
|
+
var _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29;
|
|
10775
10784
|
// here
|
|
10776
10785
|
setvariantnotchosendisclaimer('This field is required');
|
|
10777
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10786
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
10778
10787
|
}
|
|
10779
10788
|
} else {
|
|
10780
10789
|
runfunc = true;
|
|
@@ -10858,9 +10867,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10858
10867
|
};
|
|
10859
10868
|
};
|
|
10860
10869
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10861
|
-
var _authdetailsContext$
|
|
10870
|
+
var _authdetailsContext$i30;
|
|
10862
10871
|
var policyobj = {};
|
|
10863
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10872
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.instpolicies) === null || _authdetailsContext$i30 === void 0 || _authdetailsContext$i30.forEach(function (item, index) {
|
|
10864
10873
|
if (item.policytype == policytype) {
|
|
10865
10874
|
policyobj = item;
|
|
10866
10875
|
}
|
|
@@ -10869,7 +10878,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10869
10878
|
};
|
|
10870
10879
|
var relatedproducts = function relatedproducts() {
|
|
10871
10880
|
if (Relatedproducts.length != 0) {
|
|
10872
|
-
var _authdetailsContext$
|
|
10881
|
+
var _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35;
|
|
10873
10882
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10874
10883
|
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",
|
|
10875
10884
|
style: {
|
|
@@ -10891,9 +10900,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10891
10900
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10892
10901
|
className: "row m-0 w-100",
|
|
10893
10902
|
style: {
|
|
10894
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10903
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
10895
10904
|
}
|
|
10896
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10905
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10897
10906
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
10898
10907
|
style: {
|
|
10899
10908
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10912,7 +10921,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10912
10921
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
10913
10922
|
borderRadius: 5
|
|
10914
10923
|
}
|
|
10915
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10924
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10916
10925
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
10917
10926
|
style: {
|
|
10918
10927
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10936,8 +10945,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10936
10945
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
10937
10946
|
transitionBehavior: 'auto',
|
|
10938
10947
|
wrapperClassName: '',
|
|
10939
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10940
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10948
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10949
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10941
10950
|
}, Relatedproducts.map(function (item, index) {
|
|
10942
10951
|
if (item.productinfo != null) {
|
|
10943
10952
|
var _fetchProductInfoQuer52;
|
|
@@ -11061,10 +11070,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
11061
11070
|
if (addtocartobjparam.variantid.length != 0) {
|
|
11062
11071
|
runfunc = true;
|
|
11063
11072
|
} else {
|
|
11064
|
-
var _authdetailsContext$
|
|
11073
|
+
var _authdetailsContext$i36;
|
|
11065
11074
|
// here
|
|
11066
11075
|
setvariantnotchosendisclaimer('This field is required');
|
|
11067
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11076
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
11068
11077
|
}
|
|
11069
11078
|
} else {
|
|
11070
11079
|
runfunc = true;
|
|
@@ -11107,8 +11116,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11107
11116
|
isVarianturlLoaded = _useState58[0],
|
|
11108
11117
|
setisVarianturlLoaded = _useState58[1];
|
|
11109
11118
|
React.useEffect(function () {
|
|
11110
|
-
var _authdetailsContext$
|
|
11111
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11119
|
+
var _authdetailsContext$i37;
|
|
11120
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68f918a4ccb85') {
|
|
11112
11121
|
var params = new URLSearchParams(window.location.search);
|
|
11113
11122
|
var variantId = params.get('variant');
|
|
11114
11123
|
if (isVarianturlLoaded == false) {
|
|
@@ -11980,7 +11989,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11980
11989
|
})));
|
|
11981
11990
|
};
|
|
11982
11991
|
var StoreInfo = function StoreInfo(position) {
|
|
11983
|
-
var _fetchProductInfoQuer84, _authdetailsContext$
|
|
11992
|
+
var _fetchProductInfoQuer84, _authdetailsContext$i39, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i40, _authdetailsContext$i42;
|
|
11984
11993
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11985
11994
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11986
11995
|
style: {
|
|
@@ -12059,8 +12068,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
12059
12068
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12060
12069
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
12061
12070
|
onClick: function onClick() {
|
|
12062
|
-
var _authdetailsContext$
|
|
12063
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12071
|
+
var _authdetailsContext$i38;
|
|
12072
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 || (_authdetailsContext$i38 = _authdetailsContext$i38.contactinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.email), '_self');
|
|
12064
12073
|
}
|
|
12065
12074
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12066
12075
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -12080,7 +12089,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12080
12089
|
style: {
|
|
12081
12090
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12082
12091
|
}
|
|
12083
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12092
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 || (_authdetailsContext$i39 = _authdetailsContext$i39.contactinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12084
12093
|
"class": "col-lg-12 my-2",
|
|
12085
12094
|
style: {
|
|
12086
12095
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -12132,25 +12141,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
12132
12141
|
}
|
|
12133
12142
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12134
12143
|
"class": "m-0 p-0"
|
|
12135
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12144
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 || (_authdetailsContext$i40 = _authdetailsContext$i40.contactinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12136
12145
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
12137
12146
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12138
12147
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12139
12148
|
onClick: function onClick() {
|
|
12140
|
-
var _authdetailsContext$
|
|
12141
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12149
|
+
var _authdetailsContext$i41;
|
|
12150
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 || (_authdetailsContext$i41 = _authdetailsContext$i41.contactinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.email), '_self');
|
|
12142
12151
|
}
|
|
12143
12152
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12144
12153
|
"class": "m-0 p-0"
|
|
12145
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12154
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12146
12155
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : position == 'belowinfogoldlift' ? 'col-lg-6 allcentered mb-2 p-sm-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
12147
12156
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12148
12157
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12149
12158
|
onClick: function onClick() {
|
|
12150
|
-
var _authdetailsContext$
|
|
12151
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12152
|
-
var _authdetailsContext$
|
|
12153
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12159
|
+
var _authdetailsContext$i43;
|
|
12160
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.whatsappnumber) != null) {
|
|
12161
|
+
var _authdetailsContext$i44;
|
|
12162
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.whatsappnumber), '_blank');
|
|
12154
12163
|
}
|
|
12155
12164
|
}
|
|
12156
12165
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -12246,7 +12255,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12246
12255
|
lang: lang,
|
|
12247
12256
|
srcfromprops: props.srcfromprops
|
|
12248
12257
|
}, _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))
|
|
12249
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12258
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
12250
12259
|
actions: (_ref2 = {
|
|
12251
12260
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
12252
12261
|
setisoutofstock: setisoutofstock,
|
|
@@ -12256,7 +12265,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12256
12265
|
lang: lang,
|
|
12257
12266
|
srcfromprops: props.srcfromprops
|
|
12258
12267
|
}, _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))
|
|
12259
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12268
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
12260
12269
|
actions: (_ref3 = {
|
|
12261
12270
|
isOptionInStock: isOptionInStock,
|
|
12262
12271
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -12282,7 +12291,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12282
12291
|
lang: lang,
|
|
12283
12292
|
srcfromprops: props.srcfromprops
|
|
12284
12293
|
}, _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))
|
|
12285
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12294
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '69a34ef02cc96' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12286
12295
|
"class": 'row m-0 w-100 px-md-2 pb-5',
|
|
12287
12296
|
style: {
|
|
12288
12297
|
paddingLeft: 100,
|
|
@@ -12361,7 +12370,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12361
12370
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12362
12371
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12363
12372
|
style: {}
|
|
12364
|
-
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12373
|
+
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12365
12374
|
"class": 'row m-0 w-100 px-md-0 pb-5',
|
|
12366
12375
|
style: {
|
|
12367
12376
|
paddingLeft: 100,
|
|
@@ -12440,7 +12449,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12440
12449
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12441
12450
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12442
12451
|
style: {}
|
|
12443
|
-
}, langdetect == 'en' ? (_returnpolicyobj1 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj1 === void 0 ? void 0 : _returnpolicyobj1.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12452
|
+
}, langdetect == 'en' ? (_returnpolicyobj1 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj1 === void 0 ? void 0 : _returnpolicyobj1.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12444
12453
|
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
12445
12454
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12446
12455
|
"class": sectionproperties.marqueemovementdirection == 'Right to Left' ? 'd-flex flex-row align-items-center rotating-text2' : 'd-flex flex-row align-items-center rotating-text-reverse2',
|
|
@@ -12468,7 +12477,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12468
12477
|
height: '100%'
|
|
12469
12478
|
}
|
|
12470
12479
|
}));
|
|
12471
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12480
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12472
12481
|
"class": "row m-0 w-100"
|
|
12473
12482
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12474
12483
|
"class": "col-12 p-0 text-center mb-3 mt-3"
|
|
@@ -12484,7 +12493,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
12484
12493
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12485
12494
|
sectionproperties: sectionproperties
|
|
12486
12495
|
})
|
|
12487
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12496
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) != '69fcb0672e838' &&
|
|
12497
|
+
// move to spo
|
|
12498
|
+
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.contactinfo.instid) != '6a5e2f3d879f1' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12488
12499
|
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 ',
|
|
12489
12500
|
style: {
|
|
12490
12501
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12675,7 +12686,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12675
12686
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12676
12687
|
sectionproperties: sectionproperties
|
|
12677
12688
|
})
|
|
12678
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12689
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12679
12690
|
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 ',
|
|
12680
12691
|
style: {
|
|
12681
12692
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12825,7 +12836,190 @@ var Productinfo = function Productinfo(props) {
|
|
|
12825
12836
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12826
12837
|
sectionproperties: sectionproperties
|
|
12827
12838
|
})
|
|
12828
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12839
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) == '6a5e2f3d879f1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12840
|
+
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 ',
|
|
12841
|
+
style: {
|
|
12842
|
+
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
12843
|
+
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
12844
|
+
display: 'flex'
|
|
12845
|
+
}
|
|
12846
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12847
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
12848
|
+
style: {
|
|
12849
|
+
paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
|
|
12850
|
+
paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
|
|
12851
|
+
marginBottom: sectionproperties.tabsmb + 'px',
|
|
12852
|
+
paddingTop: sectionproperties.tabsPt + 'px',
|
|
12853
|
+
paddingBottom: sectionproperties.tabsPb + 'px'
|
|
12854
|
+
}
|
|
12855
|
+
}, sectionproperties.tabsfullwidth == 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
12856
|
+
value: tabIndex,
|
|
12857
|
+
onChange: handleTabChange,
|
|
12858
|
+
scrollButtons: "auto",
|
|
12859
|
+
TabIndicatorProps: {
|
|
12860
|
+
style: {
|
|
12861
|
+
background: sectionproperties.activetabbordercolor
|
|
12862
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
12863
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
12864
|
+
}
|
|
12865
|
+
},
|
|
12866
|
+
sx: {
|
|
12867
|
+
'& button': {
|
|
12868
|
+
color: sectionproperties.tabtextcolor,
|
|
12869
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
12870
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
12871
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
12872
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
12873
|
+
fontFamily: 'Poppins',
|
|
12874
|
+
transition: '.3s',
|
|
12875
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
12876
|
+
},
|
|
12877
|
+
'& button:hover': {
|
|
12878
|
+
color: sectionproperties.tabscoloronhover,
|
|
12879
|
+
fontFamily: 'Poppins',
|
|
12880
|
+
transition: '.3s'
|
|
12881
|
+
},
|
|
12882
|
+
'& button.Mui-selected': {
|
|
12883
|
+
color: sectionproperties.tabtextactivecolor,
|
|
12884
|
+
background: sectionproperties.activetabbgcolor,
|
|
12885
|
+
fontFamily: 'Poppins',
|
|
12886
|
+
transition: '.3s'
|
|
12887
|
+
}
|
|
12888
|
+
},
|
|
12889
|
+
variant: 'fullWidth'
|
|
12890
|
+
// tabsfullwidth
|
|
12891
|
+
}, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12892
|
+
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12893
|
+
onClick: function onClick() {
|
|
12894
|
+
settabname('descriptiontab');
|
|
12895
|
+
}
|
|
12896
|
+
}), sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12897
|
+
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
12898
|
+
onClick: function onClick() {
|
|
12899
|
+
settabname('shortdescriptiontab');
|
|
12900
|
+
}
|
|
12901
|
+
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12902
|
+
label: langdetect == 'en' ? (_returnpolicyobj31 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj31 === void 0 ? void 0 : _returnpolicyobj31.policypagename_en : (_returnpolicyobj32 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj32 === void 0 ? void 0 : _returnpolicyobj32.policypagename_ar,
|
|
12903
|
+
onClick: function onClick() {
|
|
12904
|
+
settabname('shippingpolicytab');
|
|
12905
|
+
}
|
|
12906
|
+
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12907
|
+
label: langdetect == 'en' ? (_returnpolicyobj33 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj33 === void 0 ? void 0 : _returnpolicyobj33.policypagename_en : (_returnpolicyobj34 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj34 === void 0 ? void 0 : _returnpolicyobj34.policypagename_ar,
|
|
12908
|
+
onClick: function onClick() {
|
|
12909
|
+
settabname('refundpolicytab');
|
|
12910
|
+
}
|
|
12911
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.product_videos) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12912
|
+
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
12913
|
+
onClick: function onClick() {
|
|
12914
|
+
settabname('videostab');
|
|
12915
|
+
}
|
|
12916
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12917
|
+
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12918
|
+
onClick: function onClick() {
|
|
12919
|
+
settabname('reviewstab');
|
|
12920
|
+
}
|
|
12921
|
+
}))), sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
12922
|
+
value: tabIndex,
|
|
12923
|
+
onChange: handleTabChange,
|
|
12924
|
+
scrollButtons: "auto",
|
|
12925
|
+
TabIndicatorProps: {
|
|
12926
|
+
style: {
|
|
12927
|
+
background: sectionproperties.activetabbordercolor
|
|
12928
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
12929
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
12930
|
+
}
|
|
12931
|
+
},
|
|
12932
|
+
sx: {
|
|
12933
|
+
'& button': {
|
|
12934
|
+
color: sectionproperties.tabtextcolor,
|
|
12935
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
12936
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
12937
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
12938
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
12939
|
+
fontFamily: 'Poppins',
|
|
12940
|
+
transition: '.3s',
|
|
12941
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
12942
|
+
},
|
|
12943
|
+
'& button:hover': {
|
|
12944
|
+
color: sectionproperties.tabscoloronhover,
|
|
12945
|
+
fontFamily: 'Poppins',
|
|
12946
|
+
transition: '.3s'
|
|
12947
|
+
},
|
|
12948
|
+
'& button.Mui-selected': {
|
|
12949
|
+
color: sectionproperties.tabtextactivecolor,
|
|
12950
|
+
background: sectionproperties.activetabbgcolor,
|
|
12951
|
+
fontFamily: 'Poppins',
|
|
12952
|
+
transition: '.3s'
|
|
12953
|
+
}
|
|
12954
|
+
}
|
|
12955
|
+
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12956
|
+
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12957
|
+
onClick: function onClick() {
|
|
12958
|
+
settabname('descriptiontab');
|
|
12959
|
+
}
|
|
12960
|
+
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12961
|
+
label: langdetect == 'en' ? (_returnpolicyobj35 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj35 === void 0 ? void 0 : _returnpolicyobj35.policypagename_en : (_returnpolicyobj36 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj36 === void 0 ? void 0 : _returnpolicyobj36.policypagename_ar,
|
|
12962
|
+
onClick: function onClick() {
|
|
12963
|
+
settabname('shippingpolicytab');
|
|
12964
|
+
}
|
|
12965
|
+
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12966
|
+
label: langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar,
|
|
12967
|
+
onClick: function onClick() {
|
|
12968
|
+
settabname('refundpolicytab');
|
|
12969
|
+
}
|
|
12970
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.product_videos) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12971
|
+
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
12972
|
+
onClick: function onClick() {
|
|
12973
|
+
settabname('videostab');
|
|
12974
|
+
}
|
|
12975
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12976
|
+
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12977
|
+
onClick: function onClick() {
|
|
12978
|
+
settabname('reviewstab');
|
|
12979
|
+
}
|
|
12980
|
+
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
12981
|
+
"class": "w-100 mt-5 mb-4"
|
|
12982
|
+
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
12983
|
+
actions: _objectSpread$2D(_objectSpread$2D({}, actions), {}, {
|
|
12984
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
12985
|
+
sectionproperties: sectionproperties
|
|
12986
|
+
})
|
|
12987
|
+
}), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12988
|
+
"class": "col-lg-12 px-5 px-md-0"
|
|
12989
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12990
|
+
className: 'm-0 p-0 wordbreak',
|
|
12991
|
+
style: {
|
|
12992
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
12993
|
+
color: sectionproperties.prodCatColor
|
|
12994
|
+
},
|
|
12995
|
+
dangerouslySetInnerHTML: {
|
|
12996
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.short_description_ar
|
|
12997
|
+
}
|
|
12998
|
+
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12999
|
+
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
13000
|
+
}, productVideos.map(function (item, index) {
|
|
13001
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13002
|
+
className: "col-lg-4 col-md-6 col-sm-12 mb-4",
|
|
13003
|
+
style: {
|
|
13004
|
+
height: 400
|
|
13005
|
+
}
|
|
13006
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
13007
|
+
url: item.videourl,
|
|
13008
|
+
height: '100%',
|
|
13009
|
+
width: '100%',
|
|
13010
|
+
playing: false,
|
|
13011
|
+
controls: true,
|
|
13012
|
+
loop: true,
|
|
13013
|
+
muted: true
|
|
13014
|
+
}));
|
|
13015
|
+
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13016
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
13017
|
+
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
13018
|
+
actions: _objectSpread$2D(_objectSpread$2D({}, actions), {}, {
|
|
13019
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
13020
|
+
sectionproperties: sectionproperties
|
|
13021
|
+
})
|
|
13022
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12829
13023
|
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 ',
|
|
12830
13024
|
style: {
|
|
12831
13025
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12892,12 +13086,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12892
13086
|
settabname('shortdescriptiontab');
|
|
12893
13087
|
}
|
|
12894
13088
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12895
|
-
label: langdetect == 'en' ? (
|
|
13089
|
+
label: langdetect == 'en' ? (_returnpolicyobj39 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj39 === void 0 ? void 0 : _returnpolicyobj39.policypagename_en : (_returnpolicyobj40 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj40 === void 0 ? void 0 : _returnpolicyobj40.policypagename_ar,
|
|
12896
13090
|
onClick: function onClick() {
|
|
12897
13091
|
settabname('shippingpolicytab');
|
|
12898
13092
|
}
|
|
12899
13093
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12900
|
-
label: langdetect == 'en' ? (
|
|
13094
|
+
label: langdetect == 'en' ? (_returnpolicyobj41 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj41 === void 0 ? void 0 : _returnpolicyobj41.policypagename_en : (_returnpolicyobj42 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj42 === void 0 ? void 0 : _returnpolicyobj42.policypagename_ar,
|
|
12901
13095
|
onClick: function onClick() {
|
|
12902
13096
|
settabname('refundpolicytab');
|
|
12903
13097
|
}
|
|
@@ -12917,7 +13111,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12917
13111
|
color: sectionproperties.prodCatColor
|
|
12918
13112
|
},
|
|
12919
13113
|
dangerouslySetInnerHTML: {
|
|
12920
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13114
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.productinfo) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.short_description_ar
|
|
12921
13115
|
}
|
|
12922
13116
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12923
13117
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -12929,7 +13123,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12929
13123
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12930
13124
|
},
|
|
12931
13125
|
dangerouslySetInnerHTML: {
|
|
12932
|
-
__html: langdetect == 'en' ? (
|
|
13126
|
+
__html: langdetect == 'en' ? (_returnpolicyobj43 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj43 === void 0 ? void 0 : _returnpolicyobj43.policycontent_en : (_returnpolicyobj44 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj44 === void 0 ? void 0 : _returnpolicyobj44.policycontent_ar
|
|
12933
13127
|
}
|
|
12934
13128
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12935
13129
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -12941,7 +13135,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12941
13135
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12942
13136
|
},
|
|
12943
13137
|
dangerouslySetInnerHTML: {
|
|
12944
|
-
__html: langdetect == 'en' ? (
|
|
13138
|
+
__html: langdetect == 'en' ? (_returnpolicyobj45 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj45 === void 0 ? void 0 : _returnpolicyobj45.policycontent_en : (_returnpolicyobj46 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj46 === void 0 ? void 0 : _returnpolicyobj46.policycontent_ar
|
|
12945
13139
|
}
|
|
12946
13140
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12947
13141
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -12967,7 +13161,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12967
13161
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12968
13162
|
sectionproperties: sectionproperties
|
|
12969
13163
|
})
|
|
12970
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13164
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12971
13165
|
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 ',
|
|
12972
13166
|
style: {
|
|
12973
13167
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13049,7 +13243,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13049
13243
|
color: '#000000'
|
|
13050
13244
|
},
|
|
13051
13245
|
dangerouslySetInnerHTML: {
|
|
13052
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13246
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.description_ar
|
|
13053
13247
|
}
|
|
13054
13248
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13055
13249
|
"class": "col-lg-12 p-0"
|
|
@@ -13060,7 +13254,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13060
13254
|
color: sectionproperties.prodCatColor
|
|
13061
13255
|
},
|
|
13062
13256
|
dangerouslySetInnerHTML: {
|
|
13063
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13257
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer115 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.productinfo) === null || _fetchProductInfoQuer115 === void 0 ? void 0 : _fetchProductInfoQuer115.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer116 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.productinfo) === null || _fetchProductInfoQuer116 === void 0 ? void 0 : _fetchProductInfoQuer116.short_description_ar
|
|
13064
13258
|
}
|
|
13065
13259
|
}))
|
|
13066
13260
|
// <DescriptionContent
|
|
@@ -13080,7 +13274,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13080
13274
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13081
13275
|
},
|
|
13082
13276
|
dangerouslySetInnerHTML: {
|
|
13083
|
-
__html: langdetect == 'en' ? (
|
|
13277
|
+
__html: langdetect == 'en' ? (_returnpolicyobj47 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj47 === void 0 ? void 0 : _returnpolicyobj47.policycontent_en : (_returnpolicyobj48 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj48 === void 0 ? void 0 : _returnpolicyobj48.policycontent_ar
|
|
13084
13278
|
}
|
|
13085
13279
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13086
13280
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13092,7 +13286,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13092
13286
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13093
13287
|
},
|
|
13094
13288
|
dangerouslySetInnerHTML: {
|
|
13095
|
-
__html: langdetect == 'en' ? (
|
|
13289
|
+
__html: langdetect == 'en' ? (_returnpolicyobj49 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj49 === void 0 ? void 0 : _returnpolicyobj49.policycontent_en : (_returnpolicyobj50 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj50 === void 0 ? void 0 : _returnpolicyobj50.policycontent_ar
|
|
13096
13290
|
}
|
|
13097
13291
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13098
13292
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13118,7 +13312,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13118
13312
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13119
13313
|
sectionproperties: sectionproperties
|
|
13120
13314
|
})
|
|
13121
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13315
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13122
13316
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
13123
13317
|
}, productVideos.map(function (item, index) {
|
|
13124
13318
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -13135,7 +13329,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13135
13329
|
loop: true,
|
|
13136
13330
|
muted: true
|
|
13137
13331
|
}));
|
|
13138
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13332
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13139
13333
|
"class": 'row m-0 w-100 px-md-2 mb-5',
|
|
13140
13334
|
style: {
|
|
13141
13335
|
paddingLeft: 100,
|
|
@@ -13195,7 +13389,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13195
13389
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column"
|
|
13196
13390
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13197
13391
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center '
|
|
13198
|
-
}, langdetect == 'en' ? (
|
|
13392
|
+
}, langdetect == 'en' ? (_returnpolicyobj51 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj51 === void 0 ? void 0 : _returnpolicyobj51.policypagename_en : (_returnpolicyobj52 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj52 === void 0 ? void 0 : _returnpolicyobj52.policypagename_ar)))), sectionproperties.showsecondpolicy_storeinfo == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13199
13393
|
"class": "col-3 col-md-12 cursor-pointer textdecorationhover",
|
|
13200
13394
|
onClick: function onClick() {
|
|
13201
13395
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
@@ -13213,12 +13407,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13213
13407
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13214
13408
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
13215
13409
|
style: {}
|
|
13216
|
-
}, langdetect == 'en' ? (
|
|
13410
|
+
}, langdetect == 'en' ? (_returnpolicyobj53 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj53 === void 0 ? void 0 : _returnpolicyobj53.policypagename_en : (_returnpolicyobj54 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj54 === void 0 ? void 0 : _returnpolicyobj54.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13217
13411
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
13218
13412
|
style: {
|
|
13219
13413
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
13220
13414
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
13221
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13415
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
13222
13416
|
}
|
|
13223
13417
|
}, relatedproducts()))));
|
|
13224
13418
|
};
|
|
@@ -78334,7 +78528,7 @@ var TableSection = function TableSection(props) {
|
|
|
78334
78528
|
function ownKeys$13(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; }
|
|
78335
78529
|
function _objectSpread$13(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$13(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$13(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78336
78530
|
var MarqueeSection = function MarqueeSection(props) {
|
|
78337
|
-
var _authdetailsContext$i, _authdetailsContext$
|
|
78531
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8;
|
|
78338
78532
|
var _useState = React.useState(''),
|
|
78339
78533
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
78340
78534
|
sectionproperties = _useState2[0],
|
|
@@ -78460,13 +78654,13 @@ var MarqueeSection = function MarqueeSection(props) {
|
|
|
78460
78654
|
borderLeft: sectionproperties.borderverticalwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
78461
78655
|
borderRight: sectionproperties.borderverticalwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
78462
78656
|
}
|
|
78463
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6a0e0bcb82d2d' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78657
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6a0e0bcb82d2d' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '690cdc59eb986' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78464
78658
|
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
78465
78659
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78466
78660
|
"class": sectionproperties.marqueemovementdirection == 'Right to Left' ? 'd-flex flex-row align-items-center rotating-text2' : 'd-flex flex-row align-items-center rotating-text-reverse2',
|
|
78467
78661
|
style: {}
|
|
78468
78662
|
}, [].concat(_toConsumableArray__default["default"](cardsarray), _toConsumableArray__default["default"](cardsarray)).map(function (cardinfoitem, cardinfoindex) {
|
|
78469
|
-
var _authdetailsContext$
|
|
78663
|
+
var _authdetailsContext$i3;
|
|
78470
78664
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78471
78665
|
"class": section_styles.marqueeimagecontainer + ' ',
|
|
78472
78666
|
style: {
|
|
@@ -78488,22 +78682,22 @@ var MarqueeSection = function MarqueeSection(props) {
|
|
|
78488
78682
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78489
78683
|
"class": section_styles.textstyle + ' mb-0 p-0 ',
|
|
78490
78684
|
style: {
|
|
78491
|
-
cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78685
|
+
cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '691dcd6e974bb' ? 'pointer' : ''
|
|
78492
78686
|
},
|
|
78493
78687
|
onClick: function onClick() {
|
|
78494
|
-
var _authdetailsContext$
|
|
78495
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78688
|
+
var _authdetailsContext$i4;
|
|
78689
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '691dcd6e974bb') {
|
|
78496
78690
|
window.open('https://www.instagram.com', '_blank');
|
|
78497
78691
|
}
|
|
78498
78692
|
}
|
|
78499
78693
|
}, langdetect == 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
|
|
78500
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78694
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6a0e0bcb82d2d' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78501
78695
|
className: "rotating-text-containersd rotating-text-containermarqueesection"
|
|
78502
78696
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78503
78697
|
ref: marqueeRef,
|
|
78504
78698
|
className: sectionproperties.marqueemovementdirection === 'Right to Left' ? 'rotating-text2sd' : 'rotating-text-reverse2sd'
|
|
78505
78699
|
}, [].concat(_toConsumableArray__default["default"](cardsarray), _toConsumableArray__default["default"](cardsarray)).map(function (cardinfoitem, cardinfoindex) {
|
|
78506
|
-
var _authdetailsContext$
|
|
78700
|
+
var _authdetailsContext$i6;
|
|
78507
78701
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78508
78702
|
key: cardinfoindex,
|
|
78509
78703
|
className: section_styles.marqueeimagecontainer,
|
|
@@ -78524,15 +78718,39 @@ var MarqueeSection = function MarqueeSection(props) {
|
|
|
78524
78718
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78525
78719
|
className: section_styles.textstyle + ' mb-0 p-0',
|
|
78526
78720
|
style: {
|
|
78527
|
-
cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78721
|
+
cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) === '691dcd6e974bb' ? 'pointer' : ''
|
|
78528
78722
|
},
|
|
78529
78723
|
onClick: function onClick() {
|
|
78530
|
-
var _authdetailsContext$
|
|
78531
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78724
|
+
var _authdetailsContext$i7;
|
|
78725
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) === '691dcd6e974bb') {
|
|
78532
78726
|
window.open('https://www.instagram.com', '_blank');
|
|
78533
78727
|
}
|
|
78534
78728
|
}
|
|
78535
78729
|
}, langdetect === 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
|
|
78730
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '690cdc59eb986' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78731
|
+
className: "rotating-text-containersd rotating-text-containermarqueesection"
|
|
78732
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78733
|
+
ref: marqueeRef,
|
|
78734
|
+
className: sectionproperties.marqueemovementdirection === 'Right to Left' ? 'rotating-text2sd' : 'rotating-text-reverse2sd'
|
|
78735
|
+
}, [].concat(_toConsumableArray__default["default"](cardsarray), _toConsumableArray__default["default"](cardsarray)).map(function (cardinfoitem, cardinfoindex) {
|
|
78736
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78737
|
+
key: cardinfoindex,
|
|
78738
|
+
className: section_styles.marqueeimagecontainer,
|
|
78739
|
+
style: {
|
|
78740
|
+
textAlign: 'center',
|
|
78741
|
+
alignItems: 'center',
|
|
78742
|
+
alignContent: 'center'
|
|
78743
|
+
}
|
|
78744
|
+
}, cardinfoitem.marqueeimage != null && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
78745
|
+
"class": section_styles.marqueeimage,
|
|
78746
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
78747
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
78748
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.marqueeimage,
|
|
78749
|
+
style: {
|
|
78750
|
+
objectFit: sectionproperties.bgcovercontain === 'Contain' ? 'contain' : 'cover',
|
|
78751
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
78752
|
+
}
|
|
78753
|
+
}));
|
|
78536
78754
|
}))));
|
|
78537
78755
|
};
|
|
78538
78756
|
|