tabexseriescomponents 0.2.1341 → 0.2.1343
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 +86 -78
- package/dist/index.esm.js +86 -78
- package/dist/index.umd.js +86 -78
- package/package.json +1 -1
- package/src.zip +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -1716,7 +1716,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1716
1716
|
color: '#62554a'
|
|
1717
1717
|
}
|
|
1718
1718
|
}, variantvalueidentifier))), /*#__PURE__*/React.createElement("div", {
|
|
1719
|
-
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1719
|
+
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1 p-0",
|
|
1720
1720
|
style: {
|
|
1721
1721
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
1722
1722
|
}
|
|
@@ -2788,14 +2788,14 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2788
2788
|
fontSize: 13
|
|
2789
2789
|
}),
|
|
2790
2790
|
variantButtonActive: css({
|
|
2791
|
-
backgroundColor: '#4faa47',
|
|
2792
|
-
border: '
|
|
2793
|
-
color: '#fff'
|
|
2791
|
+
// backgroundColor: '#4faa47',
|
|
2792
|
+
border: '2px solid #4faa47'
|
|
2793
|
+
// color: '#fff',
|
|
2794
2794
|
}),
|
|
2795
2795
|
variantThumbnail: css({
|
|
2796
|
-
width:
|
|
2797
|
-
height:
|
|
2798
|
-
objectFit: 'cover',
|
|
2796
|
+
width: 40,
|
|
2797
|
+
height: 40,
|
|
2798
|
+
// objectFit: 'cover',
|
|
2799
2799
|
borderRadius: 12,
|
|
2800
2800
|
marginBottom: 6
|
|
2801
2801
|
}),
|
|
@@ -2806,9 +2806,10 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2806
2806
|
variantPrice: css({
|
|
2807
2807
|
lineHeight: 1.2,
|
|
2808
2808
|
textAlign: 'center',
|
|
2809
|
-
fontSize:
|
|
2809
|
+
fontSize: 12,
|
|
2810
2810
|
marginTop: 4,
|
|
2811
|
-
opacity: 0.8
|
|
2811
|
+
opacity: 0.8,
|
|
2812
|
+
fontWeight: 500
|
|
2812
2813
|
})
|
|
2813
2814
|
};
|
|
2814
2815
|
var getSelectedChoiceId = function getSelectedChoiceId(extraitem) {
|
|
@@ -2940,7 +2941,7 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2940
2941
|
var extraChoices = getExtraChoices(item);
|
|
2941
2942
|
var hasVariants = (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.hasvariants) == 1 && (extraChoices === null || extraChoices === void 0 ? void 0 : extraChoices.length) != 0;
|
|
2942
2943
|
return /*#__PURE__*/React.createElement("div", {
|
|
2943
|
-
"class": "col-12 p-0"
|
|
2944
|
+
"class": "col-12 p-0 mb-3"
|
|
2944
2945
|
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
2945
2946
|
allowMultipleExpanded: true,
|
|
2946
2947
|
allowZeroExpanded: true,
|
|
@@ -2948,7 +2949,7 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2948
2949
|
}, /*#__PURE__*/React.createElement(AccordionItem, {
|
|
2949
2950
|
uuid: 0
|
|
2950
2951
|
}, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
2951
|
-
className: ' row m-0 p-0 mb-2
|
|
2952
|
+
className: ' row m-0 p-0 mb-2 '
|
|
2952
2953
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2953
2954
|
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
2954
2955
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -2974,11 +2975,15 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2974
2975
|
if (state.expanded == true) {
|
|
2975
2976
|
return /*#__PURE__*/React.createElement("i", {
|
|
2976
2977
|
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
2977
|
-
}, /*#__PURE__*/React.createElement(FiChevronUp,
|
|
2978
|
+
}, /*#__PURE__*/React.createElement(FiChevronUp, {
|
|
2979
|
+
color: '#000'
|
|
2980
|
+
}));
|
|
2978
2981
|
} else {
|
|
2979
2982
|
return /*#__PURE__*/React.createElement("i", {
|
|
2980
2983
|
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
2981
|
-
}, /*#__PURE__*/React.createElement(FiChevronDown,
|
|
2984
|
+
}, /*#__PURE__*/React.createElement(FiChevronDown, {
|
|
2985
|
+
color: '#000'
|
|
2986
|
+
}));
|
|
2982
2987
|
}
|
|
2983
2988
|
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
2984
2989
|
className: "p-0"
|
|
@@ -3004,8 +3009,6 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
3004
3009
|
"class": formstyles.variantThumbnail,
|
|
3005
3010
|
className: formstyles.variantThumbnail
|
|
3006
3011
|
}), /*#__PURE__*/React.createElement("span", {
|
|
3007
|
-
className: formstyles.variantLabel
|
|
3008
|
-
}, choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.label), /*#__PURE__*/React.createElement("span", {
|
|
3009
3012
|
className: formstyles.variantPrice
|
|
3010
3013
|
}, sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor((choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.price) || 0).toLocaleString() : choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.price, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
3011
3014
|
className: formstyles.variantLabel
|
|
@@ -7967,7 +7970,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7967
7970
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7968
7971
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7969
7972
|
var Productinfo = function Productinfo(props) {
|
|
7970
|
-
var _css, _fetchProductInfoQuer87, _ref, _fetchProductInfoQuer88, _authdetailsContext$
|
|
7973
|
+
var _css, _fetchProductInfoQuer87, _ref, _fetchProductInfoQuer88, _authdetailsContext$i40, _ref2, _fetchProductInfoQuer89, _authdetailsContext$i41, _ref3, _fetchProductInfoQuer90, _ref4, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i52, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i53, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i54, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57;
|
|
7971
7974
|
var _useState = useState({}),
|
|
7972
7975
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7973
7976
|
ProductInfoObj = _useState2[0],
|
|
@@ -8191,7 +8194,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8191
8194
|
};
|
|
8192
8195
|
useEffect(function () {
|
|
8193
8196
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
8194
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
8197
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
8195
8198
|
var secpropobj = {};
|
|
8196
8199
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
8197
8200
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -8202,13 +8205,15 @@ var Productinfo = function Productinfo(props) {
|
|
|
8202
8205
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8203
8206
|
settabname('descriptiontab');
|
|
8204
8207
|
// alert('sd');
|
|
8205
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '
|
|
8208
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '690894722ad12') {
|
|
8209
|
+
settabname('reviewstab');
|
|
8210
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69df5f6e19eb2') {
|
|
8206
8211
|
settabname('videostab');
|
|
8207
8212
|
// alert('sd');
|
|
8208
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8213
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '693fdc5a14f45') {
|
|
8209
8214
|
settabname('descriptiontab');
|
|
8210
8215
|
// alert('sd');
|
|
8211
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8216
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68a6e2f865af8') {
|
|
8212
8217
|
settabname('descriptiontab');
|
|
8213
8218
|
// alert('sd');
|
|
8214
8219
|
} else {
|
|
@@ -8439,8 +8444,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8439
8444
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8440
8445
|
}
|
|
8441
8446
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != '') {
|
|
8442
|
-
var _authdetailsContext$
|
|
8443
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8447
|
+
var _authdetailsContext$i6;
|
|
8448
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8444
8449
|
var _fetchProductInfoQuer36;
|
|
8445
8450
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse);
|
|
8446
8451
|
} else {
|
|
@@ -8473,9 +8478,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8473
8478
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8474
8479
|
// };
|
|
8475
8480
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8476
|
-
var _authdetailsContext$
|
|
8481
|
+
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
8477
8482
|
// lord
|
|
8478
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8483
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68d28fc494276') {
|
|
8479
8484
|
var _ProductInfoObj$data;
|
|
8480
8485
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
8481
8486
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8561,7 +8566,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8561
8566
|
}) && variantValueIds.includes(Currvalueid);
|
|
8562
8567
|
});
|
|
8563
8568
|
return inStock ? 1 : 0;
|
|
8564
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8569
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67c050d72cbe7') {
|
|
8565
8570
|
var _ProductInfoObj$data2;
|
|
8566
8571
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8567
8572
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8649,7 +8654,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8649
8654
|
return _inStock ? 1 : 0;
|
|
8650
8655
|
}
|
|
8651
8656
|
// amiga
|
|
8652
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8657
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '670fc18477599') {
|
|
8653
8658
|
var _ProductInfoObj$data3;
|
|
8654
8659
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8655
8660
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8737,7 +8742,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8737
8742
|
return _inStock2 ? 1 : 0;
|
|
8738
8743
|
}
|
|
8739
8744
|
// vout
|
|
8740
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8745
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68f918a4ccb85') {
|
|
8741
8746
|
var _ProductInfoObj$data4;
|
|
8742
8747
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8743
8748
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8825,7 +8830,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8825
8830
|
return _inStock3 ? 1 : 0;
|
|
8826
8831
|
}
|
|
8827
8832
|
// puff n stuff
|
|
8828
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8833
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
8829
8834
|
var _ProductInfoObj$data5;
|
|
8830
8835
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8831
8836
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8913,7 +8918,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8913
8918
|
return _inStock4 ? 1 : 0;
|
|
8914
8919
|
}
|
|
8915
8920
|
// dija
|
|
8916
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8921
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8917
8922
|
var _ProductInfoObj$data6;
|
|
8918
8923
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8919
8924
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9001,7 +9006,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9001
9006
|
return _inStock5 ? 1 : 0;
|
|
9002
9007
|
}
|
|
9003
9008
|
// angel secrets
|
|
9004
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9009
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67bda57bca71d') {
|
|
9005
9010
|
var _ProductInfoObj$data7;
|
|
9006
9011
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9007
9012
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9087,7 +9092,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9087
9092
|
}) && variantValueIds.includes(Currvalueid);
|
|
9088
9093
|
});
|
|
9089
9094
|
return _inStock6 ? 1 : 0;
|
|
9090
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9095
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69244cc88aa0a') {
|
|
9091
9096
|
var _ProductInfoObj$data8;
|
|
9092
9097
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9093
9098
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9173,7 +9178,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9173
9178
|
}) && variantValueIds.includes(Currvalueid);
|
|
9174
9179
|
});
|
|
9175
9180
|
return _inStock7 ? 1 : 0;
|
|
9176
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9181
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '687ca57cc78e8') {
|
|
9177
9182
|
var _ProductInfoObj$data9;
|
|
9178
9183
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9179
9184
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9264,8 +9269,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9264
9269
|
}
|
|
9265
9270
|
};
|
|
9266
9271
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9267
|
-
var _authdetailsContext$
|
|
9268
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9272
|
+
var _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
|
|
9273
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68d28fc494276') {
|
|
9269
9274
|
var _productarr$data, _productarr$data$prod;
|
|
9270
9275
|
var _productarr = ProductInfoObj;
|
|
9271
9276
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -9317,7 +9322,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9317
9322
|
// optional: show user message or disable click
|
|
9318
9323
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9319
9324
|
}
|
|
9320
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9325
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '67c050d72cbe7') {
|
|
9321
9326
|
var _productarr2$data, _productarr2$data$pro;
|
|
9322
9327
|
var _productarr2 = ProductInfoObj;
|
|
9323
9328
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -9371,7 +9376,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9371
9376
|
}
|
|
9372
9377
|
}
|
|
9373
9378
|
// vout
|
|
9374
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9379
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68f918a4ccb85') {
|
|
9375
9380
|
var _productarr3$data, _productarr3$data$pro;
|
|
9376
9381
|
var _productarr3 = ProductInfoObj;
|
|
9377
9382
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -9425,7 +9430,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9425
9430
|
}
|
|
9426
9431
|
}
|
|
9427
9432
|
// puff n stuff
|
|
9428
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9433
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f') {
|
|
9429
9434
|
var _productarr4$data, _productarr4$data$pro;
|
|
9430
9435
|
var _productarr4 = ProductInfoObj;
|
|
9431
9436
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9479,7 +9484,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9479
9484
|
}
|
|
9480
9485
|
}
|
|
9481
9486
|
// dija
|
|
9482
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9487
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9483
9488
|
var _productarr5$data, _productarr5$data$pro;
|
|
9484
9489
|
var _productarr5 = ProductInfoObj;
|
|
9485
9490
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9533,7 +9538,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9533
9538
|
}
|
|
9534
9539
|
}
|
|
9535
9540
|
// angel
|
|
9536
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9541
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67bda57bca71d') {
|
|
9537
9542
|
var _productarr6$data, _productarr6$data$pro;
|
|
9538
9543
|
var _productarr6 = ProductInfoObj;
|
|
9539
9544
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -9585,7 +9590,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9585
9590
|
// optional: show user message or disable click
|
|
9586
9591
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9587
9592
|
}
|
|
9588
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9593
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '69244cc88aa0a') {
|
|
9589
9594
|
var _productarr7$data, _productarr7$data$pro;
|
|
9590
9595
|
var _productarr7 = ProductInfoObj;
|
|
9591
9596
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9637,7 +9642,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9637
9642
|
// optional: show user message or disable click
|
|
9638
9643
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9639
9644
|
}
|
|
9640
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9645
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '687ca57cc78e8') {
|
|
9641
9646
|
var _productarr8$data, _productarr8$data$pro;
|
|
9642
9647
|
var _productarr8 = ProductInfoObj;
|
|
9643
9648
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -10170,10 +10175,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10170
10175
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10171
10176
|
runfunc = true;
|
|
10172
10177
|
} else {
|
|
10173
|
-
var _authdetailsContext$
|
|
10178
|
+
var _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
10174
10179
|
// here
|
|
10175
10180
|
setvariantnotchosendisclaimer('This field is required');
|
|
10176
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10181
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
10177
10182
|
}
|
|
10178
10183
|
} else {
|
|
10179
10184
|
runfunc = true;
|
|
@@ -10257,9 +10262,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10257
10262
|
};
|
|
10258
10263
|
};
|
|
10259
10264
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10260
|
-
var _authdetailsContext$
|
|
10265
|
+
var _authdetailsContext$i25;
|
|
10261
10266
|
var policyobj = {};
|
|
10262
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10267
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.instpolicies) === null || _authdetailsContext$i25 === void 0 || _authdetailsContext$i25.forEach(function (item, index) {
|
|
10263
10268
|
if (item.policytype == policytype) {
|
|
10264
10269
|
policyobj = item;
|
|
10265
10270
|
}
|
|
@@ -10268,7 +10273,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10268
10273
|
};
|
|
10269
10274
|
var relatedproducts = function relatedproducts() {
|
|
10270
10275
|
if (Relatedproducts.length != 0) {
|
|
10271
|
-
var _authdetailsContext$
|
|
10276
|
+
var _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
|
|
10272
10277
|
return /*#__PURE__*/React.createElement("div", {
|
|
10273
10278
|
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",
|
|
10274
10279
|
style: {
|
|
@@ -10290,9 +10295,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10290
10295
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10291
10296
|
className: "row m-0 w-100",
|
|
10292
10297
|
style: {
|
|
10293
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10298
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
10294
10299
|
}
|
|
10295
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10300
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
10296
10301
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
10297
10302
|
style: {
|
|
10298
10303
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10311,7 +10316,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10311
10316
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
10312
10317
|
borderRadius: 5
|
|
10313
10318
|
}
|
|
10314
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10319
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
10315
10320
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
10316
10321
|
style: {
|
|
10317
10322
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10335,8 +10340,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10335
10340
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
10336
10341
|
transitionBehavior: 'auto',
|
|
10337
10342
|
wrapperClassName: '',
|
|
10338
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10339
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10343
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10344
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10340
10345
|
}, Relatedproducts.map(function (item, index) {
|
|
10341
10346
|
if (item.productinfo != null) {
|
|
10342
10347
|
var _fetchProductInfoQuer49;
|
|
@@ -10458,10 +10463,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10458
10463
|
if (addtocartobjparam.variantid.length != 0) {
|
|
10459
10464
|
runfunc = true;
|
|
10460
10465
|
} else {
|
|
10461
|
-
var _authdetailsContext$
|
|
10466
|
+
var _authdetailsContext$i31;
|
|
10462
10467
|
// here
|
|
10463
10468
|
setvariantnotchosendisclaimer('This field is required');
|
|
10464
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10469
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
10465
10470
|
}
|
|
10466
10471
|
} else {
|
|
10467
10472
|
runfunc = true;
|
|
@@ -10504,8 +10509,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10504
10509
|
isVarianturlLoaded = _useState58[0],
|
|
10505
10510
|
setisVarianturlLoaded = _useState58[1];
|
|
10506
10511
|
useEffect(function () {
|
|
10507
|
-
var _authdetailsContext$
|
|
10508
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10512
|
+
var _authdetailsContext$i32;
|
|
10513
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68f918a4ccb85') {
|
|
10509
10514
|
var params = new URLSearchParams(window.location.search);
|
|
10510
10515
|
var variantId = params.get('variant');
|
|
10511
10516
|
if (isVarianturlLoaded == false) {
|
|
@@ -11319,7 +11324,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11319
11324
|
})));
|
|
11320
11325
|
};
|
|
11321
11326
|
var StoreInfo = function StoreInfo(position) {
|
|
11322
|
-
var _fetchProductInfoQuer81, _authdetailsContext$
|
|
11327
|
+
var _fetchProductInfoQuer81, _authdetailsContext$i34, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i35, _authdetailsContext$i37;
|
|
11323
11328
|
return /*#__PURE__*/React.createElement("div", {
|
|
11324
11329
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11325
11330
|
style: {
|
|
@@ -11398,8 +11403,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11398
11403
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
11399
11404
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
11400
11405
|
onClick: function onClick() {
|
|
11401
|
-
var _authdetailsContext$
|
|
11402
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11406
|
+
var _authdetailsContext$i33;
|
|
11407
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 || (_authdetailsContext$i33 = _authdetailsContext$i33.contactinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.email), '_self');
|
|
11403
11408
|
}
|
|
11404
11409
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11405
11410
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -11419,7 +11424,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11419
11424
|
style: {
|
|
11420
11425
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11421
11426
|
}
|
|
11422
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11427
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 || (_authdetailsContext$i34 = _authdetailsContext$i34.contactinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.email))), /*#__PURE__*/React.createElement("div", {
|
|
11423
11428
|
"class": "col-lg-12 my-2",
|
|
11424
11429
|
style: {
|
|
11425
11430
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -11471,25 +11476,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
11471
11476
|
}
|
|
11472
11477
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11473
11478
|
"class": "m-0 p-0"
|
|
11474
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11479
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 || (_authdetailsContext$i35 = _authdetailsContext$i35.contactinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
11475
11480
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11476
11481
|
}, /*#__PURE__*/React.createElement("button", {
|
|
11477
11482
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11478
11483
|
onClick: function onClick() {
|
|
11479
|
-
var _authdetailsContext$
|
|
11480
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11484
|
+
var _authdetailsContext$i36;
|
|
11485
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 || (_authdetailsContext$i36 = _authdetailsContext$i36.contactinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.email), '_self');
|
|
11481
11486
|
}
|
|
11482
11487
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11483
11488
|
"class": "m-0 p-0"
|
|
11484
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11489
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
11485
11490
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11486
11491
|
}, /*#__PURE__*/React.createElement("button", {
|
|
11487
11492
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11488
11493
|
onClick: function onClick() {
|
|
11489
|
-
var _authdetailsContext$
|
|
11490
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11491
|
-
var _authdetailsContext$
|
|
11492
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11494
|
+
var _authdetailsContext$i38;
|
|
11495
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.whatsappnumber) != null) {
|
|
11496
|
+
var _authdetailsContext$i39;
|
|
11497
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.whatsappnumber), '_blank');
|
|
11493
11498
|
}
|
|
11494
11499
|
}
|
|
11495
11500
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -11585,7 +11590,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11585
11590
|
lang: lang,
|
|
11586
11591
|
srcfromprops: props.srcfromprops
|
|
11587
11592
|
}, _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))
|
|
11588
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11593
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
11589
11594
|
actions: (_ref2 = {
|
|
11590
11595
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
11591
11596
|
setisoutofstock: setisoutofstock,
|
|
@@ -11595,7 +11600,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11595
11600
|
lang: lang,
|
|
11596
11601
|
srcfromprops: props.srcfromprops
|
|
11597
11602
|
}, _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))
|
|
11598
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11603
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
11599
11604
|
actions: (_ref3 = {
|
|
11600
11605
|
isOptionInStock: isOptionInStock,
|
|
11601
11606
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11621,7 +11626,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11621
11626
|
lang: lang,
|
|
11622
11627
|
srcfromprops: props.srcfromprops
|
|
11623
11628
|
}, _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))
|
|
11624
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11629
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
11625
11630
|
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 ',
|
|
11626
11631
|
style: {
|
|
11627
11632
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11812,7 +11817,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11812
11817
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11813
11818
|
sectionproperties: sectionproperties
|
|
11814
11819
|
})
|
|
11815
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11820
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
11816
11821
|
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 ',
|
|
11817
11822
|
style: {
|
|
11818
11823
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11962,7 +11967,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11962
11967
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11963
11968
|
sectionproperties: sectionproperties
|
|
11964
11969
|
})
|
|
11965
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11970
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
11966
11971
|
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 ',
|
|
11967
11972
|
style: {
|
|
11968
11973
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12104,7 +12109,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12104
12109
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12105
12110
|
sectionproperties: sectionproperties
|
|
12106
12111
|
})
|
|
12107
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12112
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
12108
12113
|
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 ',
|
|
12109
12114
|
style: {
|
|
12110
12115
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12255,7 +12260,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12255
12260
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12256
12261
|
sectionproperties: sectionproperties
|
|
12257
12262
|
})
|
|
12258
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12263
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React.createElement("div", {
|
|
12259
12264
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
12260
12265
|
}, productVideos.map(function (item, index) {
|
|
12261
12266
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -12272,12 +12277,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12272
12277
|
loop: true,
|
|
12273
12278
|
muted: true
|
|
12274
12279
|
}));
|
|
12275
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12280
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
12276
12281
|
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 ',
|
|
12277
12282
|
style: {
|
|
12278
12283
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
12279
12284
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
12280
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12285
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
12281
12286
|
}
|
|
12282
12287
|
}, relatedproducts()))));
|
|
12283
12288
|
};
|
|
@@ -25955,7 +25960,11 @@ var CardsSection = function CardsSection(props) {
|
|
|
25955
25960
|
cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
|
|
25956
25961
|
cardobj.productcanrate = arrayItem.productinfo.productcanrate;
|
|
25957
25962
|
cardobj.sku = arrayItem.productinfo.sku;
|
|
25958
|
-
|
|
25963
|
+
if (arrayItem.extra_fields != undefined && arrayItem.extra_fields != null) {
|
|
25964
|
+
cardobj.extrafieldsarray = arrayItem.extra_fields;
|
|
25965
|
+
} else {
|
|
25966
|
+
cardobj.extrafieldsarray = [];
|
|
25967
|
+
}
|
|
25959
25968
|
if (langdetect == 'en') {
|
|
25960
25969
|
var _fetchAuthorizationQu;
|
|
25961
25970
|
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.currencyname_en;
|
|
@@ -97615,7 +97624,6 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
97615
97624
|
onClick: function onClick() {
|
|
97616
97625
|
var _authdetailsContext$i12;
|
|
97617
97626
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68527dfef348b') {
|
|
97618
|
-
// alert(item.path);
|
|
97619
97627
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
97620
97628
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
97621
97629
|
addtocartfunc();
|