tabexseriescomponents 0.2.1409 → 0.2.1412
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 +279 -120
- package/dist/index.esm.js +279 -120
- package/dist/index.umd.js +279 -120
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -8223,7 +8223,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8223
8223
|
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; }
|
|
8224
8224
|
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(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; }
|
|
8225
8225
|
var Productinfo = function Productinfo(props) {
|
|
8226
|
-
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$
|
|
8226
|
+
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, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _authdetailsContext$i65, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _authdetailsContext$i66, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i67, _authdetailsContext$i68, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i69, _authdetailsContext$i70;
|
|
8227
8227
|
var _useState = useState({}),
|
|
8228
8228
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8229
8229
|
ProductInfoObj = _useState2[0],
|
|
@@ -8447,49 +8447,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
8447
8447
|
};
|
|
8448
8448
|
useEffect(function () {
|
|
8449
8449
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
8450
|
-
var
|
|
8450
|
+
var _authdetailsContext$i;
|
|
8451
8451
|
var secpropobj = {};
|
|
8452
8452
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
8453
8453
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8454
8454
|
});
|
|
8455
8455
|
setsectionproperties(_objectSpread$2D({}, secpropobj));
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
setTabIndex(3);
|
|
8459
|
-
} else {
|
|
8460
|
-
setTabIndex(0);
|
|
8461
|
-
settabname('descriptiontab');
|
|
8462
|
-
}
|
|
8463
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8464
|
-
settabname('descriptiontab');
|
|
8465
|
-
// alert('sd');
|
|
8466
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '690894722ad12') {
|
|
8467
|
-
settabname('reviewstab');
|
|
8468
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69df5f6e19eb2') {
|
|
8469
|
-
settabname('videostab');
|
|
8470
|
-
// alert('sd');
|
|
8471
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '693fdc5a14f45') {
|
|
8472
|
-
settabname('descriptiontab');
|
|
8473
|
-
// alert('sd');
|
|
8474
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68a6e2f865af8') {
|
|
8456
|
+
// move to spo
|
|
8457
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '6a5e2f3d879f1') {
|
|
8475
8458
|
settabname('descriptiontab');
|
|
8459
|
+
setTabIndex(0);
|
|
8460
|
+
|
|
8476
8461
|
// alert('sd');
|
|
8477
8462
|
} else {
|
|
8478
|
-
var
|
|
8479
|
-
if (sectionproperties.
|
|
8480
|
-
settabname('
|
|
8481
|
-
|
|
8482
|
-
|
|
8463
|
+
var _fetchProductInfoQuer3, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
8464
|
+
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) {
|
|
8465
|
+
settabname('videostab');
|
|
8466
|
+
setTabIndex(3);
|
|
8467
|
+
} else {
|
|
8468
|
+
setTabIndex(0);
|
|
8469
|
+
settabname('descriptiontab');
|
|
8470
|
+
}
|
|
8471
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8472
|
+
settabname('descriptiontab');
|
|
8473
|
+
// alert('sd');
|
|
8474
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '690894722ad12') {
|
|
8483
8475
|
settabname('reviewstab');
|
|
8476
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '69df5f6e19eb2') {
|
|
8477
|
+
settabname('videostab');
|
|
8478
|
+
// alert('sd');
|
|
8479
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '693fdc5a14f45') {
|
|
8480
|
+
settabname('descriptiontab');
|
|
8481
|
+
// alert('sd');
|
|
8482
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68a6e2f865af8') {
|
|
8483
|
+
settabname('descriptiontab');
|
|
8484
|
+
// alert('sd');
|
|
8485
|
+
} else {
|
|
8486
|
+
var _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
8487
|
+
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) {
|
|
8488
|
+
settabname('shippingpolicytab');
|
|
8489
|
+
} 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') {
|
|
8490
|
+
// settabname('videostab');
|
|
8491
|
+
settabname('reviewstab');
|
|
8492
|
+
}
|
|
8493
|
+
// else if (
|
|
8494
|
+
// fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos?.length != 0 &&
|
|
8495
|
+
// sectionproperties.showfirstpolicy == 'Hide' &&
|
|
8496
|
+
// sectionproperties.showsecondpolicy == 'Hide'
|
|
8497
|
+
// ) {
|
|
8498
|
+
// // settabname('videostab');
|
|
8499
|
+
// settabname('videostab');
|
|
8500
|
+
// }
|
|
8484
8501
|
}
|
|
8485
|
-
// else if (
|
|
8486
|
-
// fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos?.length != 0 &&
|
|
8487
|
-
// sectionproperties.showfirstpolicy == 'Hide' &&
|
|
8488
|
-
// sectionproperties.showsecondpolicy == 'Hide'
|
|
8489
|
-
// ) {
|
|
8490
|
-
// // settabname('videostab');
|
|
8491
|
-
// settabname('videostab');
|
|
8492
|
-
// }
|
|
8493
8502
|
}
|
|
8494
8503
|
}
|
|
8495
8504
|
}, [StatePagePropertiesContext]);
|
|
@@ -8704,8 +8713,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8704
8713
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8705
8714
|
}
|
|
8706
8715
|
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) != '') {
|
|
8707
|
-
var _authdetailsContext$
|
|
8708
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8716
|
+
var _authdetailsContext$i7;
|
|
8717
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8709
8718
|
var _fetchProductInfoQuer39;
|
|
8710
8719
|
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);
|
|
8711
8720
|
} else {
|
|
@@ -8738,9 +8747,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8738
8747
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8739
8748
|
// };
|
|
8740
8749
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8741
|
-
var _authdetailsContext$
|
|
8750
|
+
var _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
8742
8751
|
// lord
|
|
8743
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8752
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '68d28fc494276') {
|
|
8744
8753
|
var _ProductInfoObj$data;
|
|
8745
8754
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
8746
8755
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8828,7 +8837,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8828
8837
|
return inStock ? 1 : 0;
|
|
8829
8838
|
}
|
|
8830
8839
|
// alma
|
|
8831
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8840
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67d349e5ee6a1') {
|
|
8832
8841
|
var _ProductInfoObj$data2;
|
|
8833
8842
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8834
8843
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8916,7 +8925,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8916
8925
|
return _inStock ? 1 : 0;
|
|
8917
8926
|
}
|
|
8918
8927
|
// mn design
|
|
8919
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8928
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '682dfdcdb9720') {
|
|
8920
8929
|
var _ProductInfoObj$data3;
|
|
8921
8930
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8922
8931
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -9002,7 +9011,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9002
9011
|
}) && variantValueIds.includes(Currvalueid);
|
|
9003
9012
|
});
|
|
9004
9013
|
return _inStock2 ? 1 : 0;
|
|
9005
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9014
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '67c050d72cbe7') {
|
|
9006
9015
|
var _ProductInfoObj$data4;
|
|
9007
9016
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
9008
9017
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -9090,7 +9099,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9090
9099
|
return _inStock3 ? 1 : 0;
|
|
9091
9100
|
}
|
|
9092
9101
|
// amiga
|
|
9093
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9102
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '670fc18477599') {
|
|
9094
9103
|
var _ProductInfoObj$data5;
|
|
9095
9104
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
9096
9105
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -9178,7 +9187,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9178
9187
|
return _inStock4 ? 1 : 0;
|
|
9179
9188
|
}
|
|
9180
9189
|
// vout
|
|
9181
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9190
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68f918a4ccb85') {
|
|
9182
9191
|
var _ProductInfoObj$data6;
|
|
9183
9192
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
9184
9193
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9266,7 +9275,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9266
9275
|
return _inStock5 ? 1 : 0;
|
|
9267
9276
|
}
|
|
9268
9277
|
// puff n stuff
|
|
9269
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9278
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '6899e604db87f') {
|
|
9270
9279
|
var _ProductInfoObj$data7;
|
|
9271
9280
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9272
9281
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9354,7 +9363,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9354
9363
|
return _inStock6 ? 1 : 0;
|
|
9355
9364
|
}
|
|
9356
9365
|
// dija
|
|
9357
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9366
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9358
9367
|
var _ProductInfoObj$data8;
|
|
9359
9368
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9360
9369
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9442,7 +9451,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9442
9451
|
return _inStock7 ? 1 : 0;
|
|
9443
9452
|
}
|
|
9444
9453
|
// angel secrets
|
|
9445
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9454
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67bda57bca71d') {
|
|
9446
9455
|
var _ProductInfoObj$data9;
|
|
9447
9456
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9448
9457
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9528,7 +9537,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9528
9537
|
}) && variantValueIds.includes(Currvalueid);
|
|
9529
9538
|
});
|
|
9530
9539
|
return _inStock8 ? 1 : 0;
|
|
9531
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9540
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '69244cc88aa0a') {
|
|
9532
9541
|
var _ProductInfoObj$data0;
|
|
9533
9542
|
var _productinfo9 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data0 = ProductInfoObj.data) === null || _ProductInfoObj$data0 === void 0 ? void 0 : _ProductInfoObj$data0.productinfo;
|
|
9534
9543
|
var _options9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.productoptions) || [];
|
|
@@ -9614,7 +9623,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9614
9623
|
}) && variantValueIds.includes(Currvalueid);
|
|
9615
9624
|
});
|
|
9616
9625
|
return _inStock9 ? 1 : 0;
|
|
9617
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9626
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '687ca57cc78e8') {
|
|
9618
9627
|
var _ProductInfoObj$data1;
|
|
9619
9628
|
var _productinfo0 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data1 = ProductInfoObj.data) === null || _ProductInfoObj$data1 === void 0 ? void 0 : _ProductInfoObj$data1.productinfo;
|
|
9620
9629
|
var _options0 = (_productinfo0 === null || _productinfo0 === void 0 ? void 0 : _productinfo0.productoptions) || [];
|
|
@@ -9705,8 +9714,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9705
9714
|
}
|
|
9706
9715
|
};
|
|
9707
9716
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9708
|
-
var _authdetailsContext$
|
|
9709
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9717
|
+
var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26;
|
|
9718
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '68d28fc494276') {
|
|
9710
9719
|
var _productarr$data, _productarr$data$prod;
|
|
9711
9720
|
var _productarr = ProductInfoObj;
|
|
9712
9721
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -9760,7 +9769,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9760
9769
|
}
|
|
9761
9770
|
}
|
|
9762
9771
|
// mn design
|
|
9763
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9772
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '682dfdcdb9720') {
|
|
9764
9773
|
var _productarr2$data, _productarr2$data$pro;
|
|
9765
9774
|
var _productarr2 = ProductInfoObj;
|
|
9766
9775
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -9815,7 +9824,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9815
9824
|
}
|
|
9816
9825
|
|
|
9817
9826
|
// alma
|
|
9818
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9827
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9819
9828
|
var _productarr3$data, _productarr3$data$pro;
|
|
9820
9829
|
var _productarr3 = ProductInfoObj;
|
|
9821
9830
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -9867,7 +9876,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9867
9876
|
// optional: show user message or disable click
|
|
9868
9877
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9869
9878
|
}
|
|
9870
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9879
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67c050d72cbe7') {
|
|
9871
9880
|
var _productarr4$data, _productarr4$data$pro;
|
|
9872
9881
|
var _productarr4 = ProductInfoObj;
|
|
9873
9882
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9921,7 +9930,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9921
9930
|
}
|
|
9922
9931
|
}
|
|
9923
9932
|
// vout
|
|
9924
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9933
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68f918a4ccb85') {
|
|
9925
9934
|
var _productarr5$data, _productarr5$data$pro;
|
|
9926
9935
|
var _productarr5 = ProductInfoObj;
|
|
9927
9936
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9975,7 +9984,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9975
9984
|
}
|
|
9976
9985
|
}
|
|
9977
9986
|
// puff n stuff
|
|
9978
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9987
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f') {
|
|
9979
9988
|
var _productarr6$data, _productarr6$data$pro;
|
|
9980
9989
|
var _productarr6 = ProductInfoObj;
|
|
9981
9990
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -10029,7 +10038,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10029
10038
|
}
|
|
10030
10039
|
}
|
|
10031
10040
|
// dija
|
|
10032
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10041
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '682cbb9bdcd57') {
|
|
10033
10042
|
var _productarr7$data, _productarr7$data$pro;
|
|
10034
10043
|
var _productarr7 = ProductInfoObj;
|
|
10035
10044
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -10083,7 +10092,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10083
10092
|
}
|
|
10084
10093
|
}
|
|
10085
10094
|
// angel
|
|
10086
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10095
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67bda57bca71d') {
|
|
10087
10096
|
var _productarr8$data, _productarr8$data$pro;
|
|
10088
10097
|
var _productarr8 = ProductInfoObj;
|
|
10089
10098
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -10135,7 +10144,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10135
10144
|
// optional: show user message or disable click
|
|
10136
10145
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10137
10146
|
}
|
|
10138
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10147
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '69244cc88aa0a') {
|
|
10139
10148
|
var _productarr9$data, _productarr9$data$pro;
|
|
10140
10149
|
var _productarr9 = ProductInfoObj;
|
|
10141
10150
|
if (!(_productarr9 !== null && _productarr9 !== void 0 && (_productarr9$data = _productarr9.data) !== null && _productarr9$data !== void 0 && _productarr9$data.productinfo)) return;
|
|
@@ -10187,7 +10196,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10187
10196
|
// optional: show user message or disable click
|
|
10188
10197
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10189
10198
|
}
|
|
10190
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10199
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '687ca57cc78e8') {
|
|
10191
10200
|
var _productarr0$data, _productarr0$data$pro;
|
|
10192
10201
|
var _productarr0 = ProductInfoObj;
|
|
10193
10202
|
if (!(_productarr0 !== null && _productarr0 !== void 0 && (_productarr0$data = _productarr0.data) !== null && _productarr0$data !== void 0 && _productarr0$data.productinfo)) return;
|
|
@@ -10720,10 +10729,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10720
10729
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10721
10730
|
runfunc = true;
|
|
10722
10731
|
} else {
|
|
10723
|
-
var _authdetailsContext$
|
|
10732
|
+
var _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29;
|
|
10724
10733
|
// here
|
|
10725
10734
|
setvariantnotchosendisclaimer('This field is required');
|
|
10726
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10735
|
+
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' : 'من فضلك اختر من المتغيرات');
|
|
10727
10736
|
}
|
|
10728
10737
|
} else {
|
|
10729
10738
|
runfunc = true;
|
|
@@ -10807,9 +10816,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10807
10816
|
};
|
|
10808
10817
|
};
|
|
10809
10818
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10810
|
-
var _authdetailsContext$
|
|
10819
|
+
var _authdetailsContext$i30;
|
|
10811
10820
|
var policyobj = {};
|
|
10812
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10821
|
+
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) {
|
|
10813
10822
|
if (item.policytype == policytype) {
|
|
10814
10823
|
policyobj = item;
|
|
10815
10824
|
}
|
|
@@ -10818,7 +10827,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10818
10827
|
};
|
|
10819
10828
|
var relatedproducts = function relatedproducts() {
|
|
10820
10829
|
if (Relatedproducts.length != 0) {
|
|
10821
|
-
var _authdetailsContext$
|
|
10830
|
+
var _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35;
|
|
10822
10831
|
return /*#__PURE__*/React.createElement("div", {
|
|
10823
10832
|
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",
|
|
10824
10833
|
style: {
|
|
@@ -10840,9 +10849,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10840
10849
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10841
10850
|
className: "row m-0 w-100",
|
|
10842
10851
|
style: {
|
|
10843
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10852
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
10844
10853
|
}
|
|
10845
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10854
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
10846
10855
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
10847
10856
|
style: {
|
|
10848
10857
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10861,7 +10870,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10861
10870
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
10862
10871
|
borderRadius: 5
|
|
10863
10872
|
}
|
|
10864
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10873
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
10865
10874
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
10866
10875
|
style: {
|
|
10867
10876
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10885,8 +10894,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10885
10894
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
10886
10895
|
transitionBehavior: 'auto',
|
|
10887
10896
|
wrapperClassName: '',
|
|
10888
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10889
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10897
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10898
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10890
10899
|
}, Relatedproducts.map(function (item, index) {
|
|
10891
10900
|
if (item.productinfo != null) {
|
|
10892
10901
|
var _fetchProductInfoQuer52;
|
|
@@ -11010,10 +11019,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
11010
11019
|
if (addtocartobjparam.variantid.length != 0) {
|
|
11011
11020
|
runfunc = true;
|
|
11012
11021
|
} else {
|
|
11013
|
-
var _authdetailsContext$
|
|
11022
|
+
var _authdetailsContext$i36;
|
|
11014
11023
|
// here
|
|
11015
11024
|
setvariantnotchosendisclaimer('This field is required');
|
|
11016
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11025
|
+
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');
|
|
11017
11026
|
}
|
|
11018
11027
|
} else {
|
|
11019
11028
|
runfunc = true;
|
|
@@ -11056,8 +11065,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11056
11065
|
isVarianturlLoaded = _useState58[0],
|
|
11057
11066
|
setisVarianturlLoaded = _useState58[1];
|
|
11058
11067
|
useEffect(function () {
|
|
11059
|
-
var _authdetailsContext$
|
|
11060
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11068
|
+
var _authdetailsContext$i37;
|
|
11069
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68f918a4ccb85') {
|
|
11061
11070
|
var params = new URLSearchParams(window.location.search);
|
|
11062
11071
|
var variantId = params.get('variant');
|
|
11063
11072
|
if (isVarianturlLoaded == false) {
|
|
@@ -11929,7 +11938,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11929
11938
|
})));
|
|
11930
11939
|
};
|
|
11931
11940
|
var StoreInfo = function StoreInfo(position) {
|
|
11932
|
-
var _fetchProductInfoQuer84, _authdetailsContext$
|
|
11941
|
+
var _fetchProductInfoQuer84, _authdetailsContext$i39, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i40, _authdetailsContext$i42;
|
|
11933
11942
|
return /*#__PURE__*/React.createElement("div", {
|
|
11934
11943
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11935
11944
|
style: {
|
|
@@ -12008,8 +12017,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
12008
12017
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
12009
12018
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
12010
12019
|
onClick: function onClick() {
|
|
12011
|
-
var _authdetailsContext$
|
|
12012
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12020
|
+
var _authdetailsContext$i38;
|
|
12021
|
+
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');
|
|
12013
12022
|
}
|
|
12014
12023
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12015
12024
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -12029,7 +12038,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12029
12038
|
style: {
|
|
12030
12039
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12031
12040
|
}
|
|
12032
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12041
|
+
}, 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.createElement("div", {
|
|
12033
12042
|
"class": "col-lg-12 my-2",
|
|
12034
12043
|
style: {
|
|
12035
12044
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -12081,25 +12090,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
12081
12090
|
}
|
|
12082
12091
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12083
12092
|
"class": "m-0 p-0"
|
|
12084
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12093
|
+
}, 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.createElement("div", {
|
|
12085
12094
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
12086
12095
|
}, /*#__PURE__*/React.createElement("button", {
|
|
12087
12096
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12088
12097
|
onClick: function onClick() {
|
|
12089
|
-
var _authdetailsContext$
|
|
12090
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12098
|
+
var _authdetailsContext$i41;
|
|
12099
|
+
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');
|
|
12091
12100
|
}
|
|
12092
12101
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12093
12102
|
"class": "m-0 p-0"
|
|
12094
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12103
|
+
}, 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.createElement("div", {
|
|
12095
12104
|
"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'
|
|
12096
12105
|
}, /*#__PURE__*/React.createElement("button", {
|
|
12097
12106
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12098
12107
|
onClick: function onClick() {
|
|
12099
|
-
var _authdetailsContext$
|
|
12100
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12101
|
-
var _authdetailsContext$
|
|
12102
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12108
|
+
var _authdetailsContext$i43;
|
|
12109
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.whatsappnumber) != null) {
|
|
12110
|
+
var _authdetailsContext$i44;
|
|
12111
|
+
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');
|
|
12103
12112
|
}
|
|
12104
12113
|
}
|
|
12105
12114
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -12195,7 +12204,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12195
12204
|
lang: lang,
|
|
12196
12205
|
srcfromprops: props.srcfromprops
|
|
12197
12206
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12198
|
-
}), (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$
|
|
12207
|
+
}), (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.createElement(Article_itemtype, {
|
|
12199
12208
|
actions: (_ref2 = {
|
|
12200
12209
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
12201
12210
|
setisoutofstock: setisoutofstock,
|
|
@@ -12205,7 +12214,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12205
12214
|
lang: lang,
|
|
12206
12215
|
srcfromprops: props.srcfromprops
|
|
12207
12216
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_defineProperty(_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
12208
|
-
}), (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$
|
|
12217
|
+
}), (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.createElement(Product_itemtype_Article, {
|
|
12209
12218
|
actions: (_ref3 = {
|
|
12210
12219
|
isOptionInStock: isOptionInStock,
|
|
12211
12220
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -12231,7 +12240,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12231
12240
|
lang: lang,
|
|
12232
12241
|
srcfromprops: props.srcfromprops
|
|
12233
12242
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_defineProperty(_defineProperty(_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12234
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12243
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '69a34ef02cc96' && /*#__PURE__*/React.createElement("div", {
|
|
12235
12244
|
"class": 'row m-0 w-100 px-md-2 pb-5',
|
|
12236
12245
|
style: {
|
|
12237
12246
|
paddingLeft: 100,
|
|
@@ -12310,7 +12319,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12310
12319
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12311
12320
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12312
12321
|
style: {}
|
|
12313
|
-
}, 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$
|
|
12322
|
+
}, 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.createElement("div", {
|
|
12314
12323
|
"class": 'row m-0 w-100 px-md-0 pb-5',
|
|
12315
12324
|
style: {
|
|
12316
12325
|
paddingLeft: 100,
|
|
@@ -12389,7 +12398,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12389
12398
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12390
12399
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12391
12400
|
style: {}
|
|
12392
|
-
}, 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$
|
|
12401
|
+
}, 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.createElement("div", {
|
|
12393
12402
|
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
12394
12403
|
}, /*#__PURE__*/React.createElement("span", {
|
|
12395
12404
|
"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',
|
|
@@ -12417,7 +12426,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12417
12426
|
height: '100%'
|
|
12418
12427
|
}
|
|
12419
12428
|
}));
|
|
12420
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12429
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React.createElement("div", {
|
|
12421
12430
|
"class": "row m-0 w-100"
|
|
12422
12431
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12423
12432
|
"class": "col-12 p-0 text-center mb-3 mt-3"
|
|
@@ -12433,7 +12442,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
12433
12442
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12434
12443
|
sectionproperties: sectionproperties
|
|
12435
12444
|
})
|
|
12436
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12445
|
+
})), 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' &&
|
|
12446
|
+
// move to spo
|
|
12447
|
+
(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.createElement("div", {
|
|
12437
12448
|
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 ',
|
|
12438
12449
|
style: {
|
|
12439
12450
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12624,7 +12635,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12624
12635
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12625
12636
|
sectionproperties: sectionproperties
|
|
12626
12637
|
})
|
|
12627
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12638
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
12628
12639
|
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 ',
|
|
12629
12640
|
style: {
|
|
12630
12641
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12774,7 +12785,131 @@ var Productinfo = function Productinfo(props) {
|
|
|
12774
12785
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12775
12786
|
sectionproperties: sectionproperties
|
|
12776
12787
|
})
|
|
12777
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12788
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) == '6a5e2f3d879f1' && /*#__PURE__*/React.createElement("div", {
|
|
12789
|
+
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 ',
|
|
12790
|
+
style: {
|
|
12791
|
+
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
12792
|
+
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
12793
|
+
display: 'flex'
|
|
12794
|
+
}
|
|
12795
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12796
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
12797
|
+
style: {
|
|
12798
|
+
paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
|
|
12799
|
+
paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
|
|
12800
|
+
marginBottom: sectionproperties.tabsmb + 'px',
|
|
12801
|
+
paddingTop: sectionproperties.tabsPt + 'px',
|
|
12802
|
+
paddingBottom: sectionproperties.tabsPb + 'px'
|
|
12803
|
+
}
|
|
12804
|
+
}, sectionproperties.tabsfullwidth == 'Full Width' && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Tabs, {
|
|
12805
|
+
value: tabIndex,
|
|
12806
|
+
onChange: handleTabChange,
|
|
12807
|
+
scrollButtons: "auto",
|
|
12808
|
+
TabIndicatorProps: {
|
|
12809
|
+
style: {
|
|
12810
|
+
background: sectionproperties.activetabbordercolor
|
|
12811
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
12812
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
12813
|
+
}
|
|
12814
|
+
},
|
|
12815
|
+
sx: {
|
|
12816
|
+
'& button': {
|
|
12817
|
+
color: sectionproperties.tabtextcolor,
|
|
12818
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
12819
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
12820
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
12821
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
12822
|
+
fontFamily: 'Poppins',
|
|
12823
|
+
transition: '.3s',
|
|
12824
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
12825
|
+
},
|
|
12826
|
+
'& button:hover': {
|
|
12827
|
+
color: sectionproperties.tabscoloronhover,
|
|
12828
|
+
fontFamily: 'Poppins',
|
|
12829
|
+
transition: '.3s'
|
|
12830
|
+
},
|
|
12831
|
+
'& button.Mui-selected': {
|
|
12832
|
+
color: sectionproperties.tabtextactivecolor,
|
|
12833
|
+
background: sectionproperties.activetabbgcolor,
|
|
12834
|
+
fontFamily: 'Poppins',
|
|
12835
|
+
transition: '.3s'
|
|
12836
|
+
}
|
|
12837
|
+
},
|
|
12838
|
+
variant: 'fullWidth'
|
|
12839
|
+
// tabsfullwidth
|
|
12840
|
+
}, /*#__PURE__*/React.createElement(Tab, {
|
|
12841
|
+
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12842
|
+
onClick: function onClick() {
|
|
12843
|
+
settabname('descriptiontab');
|
|
12844
|
+
}
|
|
12845
|
+
}), /*#__PURE__*/React.createElement(Tab, {
|
|
12846
|
+
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
12847
|
+
onClick: function onClick() {
|
|
12848
|
+
settabname('shortdescriptiontab');
|
|
12849
|
+
}
|
|
12850
|
+
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12851
|
+
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,
|
|
12852
|
+
onClick: function onClick() {
|
|
12853
|
+
settabname('shippingpolicytab');
|
|
12854
|
+
}
|
|
12855
|
+
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12856
|
+
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,
|
|
12857
|
+
onClick: function onClick() {
|
|
12858
|
+
settabname('refundpolicytab');
|
|
12859
|
+
}
|
|
12860
|
+
}), (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.createElement(Tab, {
|
|
12861
|
+
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
12862
|
+
onClick: function onClick() {
|
|
12863
|
+
settabname('videostab');
|
|
12864
|
+
}
|
|
12865
|
+
}), (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.createElement(Tab, {
|
|
12866
|
+
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12867
|
+
onClick: function onClick() {
|
|
12868
|
+
settabname('reviewstab');
|
|
12869
|
+
}
|
|
12870
|
+
}))), /*#__PURE__*/React.createElement(Box, {
|
|
12871
|
+
"class": "w-100 mt-5 mb-4"
|
|
12872
|
+
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
12873
|
+
actions: _objectSpread$2D(_objectSpread$2D({}, actions), {}, {
|
|
12874
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
12875
|
+
sectionproperties: sectionproperties
|
|
12876
|
+
})
|
|
12877
|
+
}), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
12878
|
+
"class": "col-lg-12 px-5 px-md-0"
|
|
12879
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12880
|
+
className: 'm-0 p-0 wordbreak',
|
|
12881
|
+
style: {
|
|
12882
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
12883
|
+
color: sectionproperties.prodCatColor
|
|
12884
|
+
},
|
|
12885
|
+
dangerouslySetInnerHTML: {
|
|
12886
|
+
__html: langdetect == 'en' ? 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 ? void 0 : _fetchProductInfoQuer107.short_description_en : 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.short_description_ar
|
|
12887
|
+
}
|
|
12888
|
+
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
12889
|
+
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
12890
|
+
}, productVideos.map(function (item, index) {
|
|
12891
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
12892
|
+
className: "col-lg-4 col-md-6 col-sm-12 mb-4",
|
|
12893
|
+
style: {
|
|
12894
|
+
height: 400
|
|
12895
|
+
}
|
|
12896
|
+
}, /*#__PURE__*/React.createElement(ReactPlayer, {
|
|
12897
|
+
url: item.videourl,
|
|
12898
|
+
height: '100%',
|
|
12899
|
+
width: '100%',
|
|
12900
|
+
playing: false,
|
|
12901
|
+
controls: true,
|
|
12902
|
+
loop: true,
|
|
12903
|
+
muted: true
|
|
12904
|
+
}));
|
|
12905
|
+
})), tabname == 'reviewstab' && /*#__PURE__*/React.createElement("div", {
|
|
12906
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
12907
|
+
}, /*#__PURE__*/React.createElement(ProductReviews, {
|
|
12908
|
+
actions: _objectSpread$2D(_objectSpread$2D({}, actions), {}, {
|
|
12909
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
12910
|
+
sectionproperties: sectionproperties
|
|
12911
|
+
})
|
|
12912
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
12778
12913
|
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 ',
|
|
12779
12914
|
style: {
|
|
12780
12915
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12841,12 +12976,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12841
12976
|
settabname('shortdescriptiontab');
|
|
12842
12977
|
}
|
|
12843
12978
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12844
|
-
label: langdetect == 'en' ? (
|
|
12979
|
+
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,
|
|
12845
12980
|
onClick: function onClick() {
|
|
12846
12981
|
settabname('shippingpolicytab');
|
|
12847
12982
|
}
|
|
12848
12983
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12849
|
-
label: langdetect == 'en' ? (
|
|
12984
|
+
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,
|
|
12850
12985
|
onClick: function onClick() {
|
|
12851
12986
|
settabname('refundpolicytab');
|
|
12852
12987
|
}
|
|
@@ -12866,7 +13001,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12866
13001
|
color: sectionproperties.prodCatColor
|
|
12867
13002
|
},
|
|
12868
13003
|
dangerouslySetInnerHTML: {
|
|
12869
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13004
|
+
__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
|
|
12870
13005
|
}
|
|
12871
13006
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
12872
13007
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -12878,7 +13013,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12878
13013
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12879
13014
|
},
|
|
12880
13015
|
dangerouslySetInnerHTML: {
|
|
12881
|
-
__html: langdetect == 'en' ? (
|
|
13016
|
+
__html: langdetect == 'en' ? (_returnpolicyobj39 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj39 === void 0 ? void 0 : _returnpolicyobj39.policycontent_en : (_returnpolicyobj40 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj40 === void 0 ? void 0 : _returnpolicyobj40.policycontent_ar
|
|
12882
13017
|
}
|
|
12883
13018
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
12884
13019
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -12890,7 +13025,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12890
13025
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12891
13026
|
},
|
|
12892
13027
|
dangerouslySetInnerHTML: {
|
|
12893
|
-
__html: langdetect == 'en' ? (
|
|
13028
|
+
__html: langdetect == 'en' ? (_returnpolicyobj41 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj41 === void 0 ? void 0 : _returnpolicyobj41.policycontent_en : (_returnpolicyobj42 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj42 === void 0 ? void 0 : _returnpolicyobj42.policycontent_ar
|
|
12894
13029
|
}
|
|
12895
13030
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
12896
13031
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -12916,7 +13051,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12916
13051
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12917
13052
|
sectionproperties: sectionproperties
|
|
12918
13053
|
})
|
|
12919
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13054
|
+
}))))), 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.createElement("div", {
|
|
12920
13055
|
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 ',
|
|
12921
13056
|
style: {
|
|
12922
13057
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12998,7 +13133,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12998
13133
|
color: '#000000'
|
|
12999
13134
|
},
|
|
13000
13135
|
dangerouslySetInnerHTML: {
|
|
13001
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13136
|
+
__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.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.description_ar
|
|
13002
13137
|
}
|
|
13003
13138
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
13004
13139
|
"class": "col-lg-12 p-0"
|
|
@@ -13009,7 +13144,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13009
13144
|
color: sectionproperties.prodCatColor
|
|
13010
13145
|
},
|
|
13011
13146
|
dangerouslySetInnerHTML: {
|
|
13012
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13147
|
+
__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.short_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.short_description_ar
|
|
13013
13148
|
}
|
|
13014
13149
|
}))
|
|
13015
13150
|
// <DescriptionContent
|
|
@@ -13029,7 +13164,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13029
13164
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13030
13165
|
},
|
|
13031
13166
|
dangerouslySetInnerHTML: {
|
|
13032
|
-
__html: langdetect == 'en' ? (
|
|
13167
|
+
__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
|
|
13033
13168
|
}
|
|
13034
13169
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
13035
13170
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13041,7 +13176,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13041
13176
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13042
13177
|
},
|
|
13043
13178
|
dangerouslySetInnerHTML: {
|
|
13044
|
-
__html: langdetect == 'en' ? (
|
|
13179
|
+
__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
|
|
13045
13180
|
}
|
|
13046
13181
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
13047
13182
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13067,7 +13202,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13067
13202
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13068
13203
|
sectionproperties: sectionproperties
|
|
13069
13204
|
})
|
|
13070
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13205
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React.createElement("div", {
|
|
13071
13206
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
13072
13207
|
}, productVideos.map(function (item, index) {
|
|
13073
13208
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -13084,7 +13219,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13084
13219
|
loop: true,
|
|
13085
13220
|
muted: true
|
|
13086
13221
|
}));
|
|
13087
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13222
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React.createElement("div", {
|
|
13088
13223
|
"class": 'row m-0 w-100 px-md-2 mb-5',
|
|
13089
13224
|
style: {
|
|
13090
13225
|
paddingLeft: 100,
|
|
@@ -13144,7 +13279,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13144
13279
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column"
|
|
13145
13280
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13146
13281
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center '
|
|
13147
|
-
}, langdetect == 'en' ? (
|
|
13282
|
+
}, langdetect == 'en' ? (_returnpolicyobj47 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj47 === void 0 ? void 0 : _returnpolicyobj47.policypagename_en : (_returnpolicyobj48 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj48 === void 0 ? void 0 : _returnpolicyobj48.policypagename_ar)))), sectionproperties.showsecondpolicy_storeinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
13148
13283
|
"class": "col-3 col-md-12 cursor-pointer textdecorationhover",
|
|
13149
13284
|
onClick: function onClick() {
|
|
13150
13285
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
@@ -13162,12 +13297,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13162
13297
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13163
13298
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
13164
13299
|
style: {}
|
|
13165
|
-
}, langdetect == 'en' ? (
|
|
13300
|
+
}, langdetect == 'en' ? (_returnpolicyobj49 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj49 === void 0 ? void 0 : _returnpolicyobj49.policypagename_en : (_returnpolicyobj50 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj50 === void 0 ? void 0 : _returnpolicyobj50.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.createElement("div", {
|
|
13166
13301
|
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 ',
|
|
13167
13302
|
style: {
|
|
13168
13303
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
13169
13304
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
13170
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13305
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
13171
13306
|
}
|
|
13172
13307
|
}, relatedproducts()))));
|
|
13173
13308
|
};
|
|
@@ -78283,7 +78418,7 @@ var TableSection = function TableSection(props) {
|
|
|
78283
78418
|
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; }
|
|
78284
78419
|
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(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; }
|
|
78285
78420
|
var MarqueeSection = function MarqueeSection(props) {
|
|
78286
|
-
var _authdetailsContext$i, _authdetailsContext$
|
|
78421
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8;
|
|
78287
78422
|
var _useState = useState(''),
|
|
78288
78423
|
_useState2 = _slicedToArray(_useState, 2),
|
|
78289
78424
|
sectionproperties = _useState2[0],
|
|
@@ -78409,13 +78544,13 @@ var MarqueeSection = function MarqueeSection(props) {
|
|
|
78409
78544
|
borderLeft: sectionproperties.borderverticalwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
78410
78545
|
borderRight: sectionproperties.borderverticalwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
78411
78546
|
}
|
|
78412
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6a0e0bcb82d2d' && /*#__PURE__*/React.createElement("div", {
|
|
78547
|
+
}, (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.createElement("div", {
|
|
78413
78548
|
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
78414
78549
|
}, /*#__PURE__*/React.createElement("span", {
|
|
78415
78550
|
"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',
|
|
78416
78551
|
style: {}
|
|
78417
78552
|
}, [].concat(_toConsumableArray(cardsarray), _toConsumableArray(cardsarray)).map(function (cardinfoitem, cardinfoindex) {
|
|
78418
|
-
var _authdetailsContext$
|
|
78553
|
+
var _authdetailsContext$i3;
|
|
78419
78554
|
return /*#__PURE__*/React.createElement("div", {
|
|
78420
78555
|
"class": section_styles.marqueeimagecontainer + ' ',
|
|
78421
78556
|
style: {
|
|
@@ -78437,22 +78572,22 @@ var MarqueeSection = function MarqueeSection(props) {
|
|
|
78437
78572
|
}), /*#__PURE__*/React.createElement("p", {
|
|
78438
78573
|
"class": section_styles.textstyle + ' mb-0 p-0 ',
|
|
78439
78574
|
style: {
|
|
78440
|
-
cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78575
|
+
cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '691dcd6e974bb' ? 'pointer' : ''
|
|
78441
78576
|
},
|
|
78442
78577
|
onClick: function onClick() {
|
|
78443
|
-
var _authdetailsContext$
|
|
78444
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78578
|
+
var _authdetailsContext$i4;
|
|
78579
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '691dcd6e974bb') {
|
|
78445
78580
|
window.open('https://www.instagram.com', '_blank');
|
|
78446
78581
|
}
|
|
78447
78582
|
}
|
|
78448
78583
|
}, langdetect == 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
|
|
78449
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78584
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6a0e0bcb82d2d' && /*#__PURE__*/React.createElement("div", {
|
|
78450
78585
|
className: "rotating-text-containersd rotating-text-containermarqueesection"
|
|
78451
78586
|
}, /*#__PURE__*/React.createElement("div", {
|
|
78452
78587
|
ref: marqueeRef,
|
|
78453
78588
|
className: sectionproperties.marqueemovementdirection === 'Right to Left' ? 'rotating-text2sd' : 'rotating-text-reverse2sd'
|
|
78454
78589
|
}, [].concat(_toConsumableArray(cardsarray), _toConsumableArray(cardsarray)).map(function (cardinfoitem, cardinfoindex) {
|
|
78455
|
-
var _authdetailsContext$
|
|
78590
|
+
var _authdetailsContext$i6;
|
|
78456
78591
|
return /*#__PURE__*/React.createElement("div", {
|
|
78457
78592
|
key: cardinfoindex,
|
|
78458
78593
|
className: section_styles.marqueeimagecontainer,
|
|
@@ -78473,15 +78608,39 @@ var MarqueeSection = function MarqueeSection(props) {
|
|
|
78473
78608
|
}), /*#__PURE__*/React.createElement("p", {
|
|
78474
78609
|
className: section_styles.textstyle + ' mb-0 p-0',
|
|
78475
78610
|
style: {
|
|
78476
|
-
cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78611
|
+
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' : ''
|
|
78477
78612
|
},
|
|
78478
78613
|
onClick: function onClick() {
|
|
78479
|
-
var _authdetailsContext$
|
|
78480
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
78614
|
+
var _authdetailsContext$i7;
|
|
78615
|
+
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') {
|
|
78481
78616
|
window.open('https://www.instagram.com', '_blank');
|
|
78482
78617
|
}
|
|
78483
78618
|
}
|
|
78484
78619
|
}, langdetect === 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
|
|
78620
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '690cdc59eb986' && /*#__PURE__*/React.createElement("div", {
|
|
78621
|
+
className: "rotating-text-containersd rotating-text-containermarqueesection"
|
|
78622
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
78623
|
+
ref: marqueeRef,
|
|
78624
|
+
className: sectionproperties.marqueemovementdirection === 'Right to Left' ? 'rotating-text2sd' : 'rotating-text-reverse2sd'
|
|
78625
|
+
}, [].concat(_toConsumableArray(cardsarray), _toConsumableArray(cardsarray)).map(function (cardinfoitem, cardinfoindex) {
|
|
78626
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
78627
|
+
key: cardinfoindex,
|
|
78628
|
+
className: section_styles.marqueeimagecontainer,
|
|
78629
|
+
style: {
|
|
78630
|
+
textAlign: 'center',
|
|
78631
|
+
alignItems: 'center',
|
|
78632
|
+
alignContent: 'center'
|
|
78633
|
+
}
|
|
78634
|
+
}, cardinfoitem.marqueeimage != null && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
78635
|
+
"class": section_styles.marqueeimage,
|
|
78636
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
78637
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
78638
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.marqueeimage,
|
|
78639
|
+
style: {
|
|
78640
|
+
objectFit: sectionproperties.bgcovercontain === 'Contain' ? 'contain' : 'cover',
|
|
78641
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
78642
|
+
}
|
|
78643
|
+
}));
|
|
78485
78644
|
}))));
|
|
78486
78645
|
};
|
|
78487
78646
|
|