tabexseriescomponents 0.2.936 → 0.2.937
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 +188 -219
- package/dist/index.esm.js +188 -219
- package/dist/index.umd.js +188 -219
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3136,7 +3136,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3136
3136
|
function ownKeys$2B(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; }
|
|
3137
3137
|
function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3138
3138
|
var Product_itemtype = function Product_itemtype(props) {
|
|
3139
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _authdetailsContext$i7, _authdetailsContext$
|
|
3139
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _authdetailsContext$i1, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _authdetailsContext$i10, _authdetailsContext$i11, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _fetchProductInfoQuer116, _fetchProductInfoQuer117, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _authdetailsContext$i12, _fetchProductInfoQuer121, _fetchProductInfoQuer122, _fetchProductInfoQuer123, _fetchProductInfoQuer124, _fetchProductInfoQuer125, _fetchProductInfoQuer128, _fetchProductInfoQuer129, _authdetailsContext$i13, _fetchProductInfoQuer130, _fetchProductInfoQuer131, _fetchProductInfoQuer132, _fetchProductInfoQuer133, _fetchProductInfoQuer134, _fetchProductInfoQuer135, _fetchProductInfoQuer136, _fetchProductInfoQuer139, _fetchProductInfoQuer140, _sizeguideimage$, _authdetailsContext$i14, _fetchProductInfoQuer142, _fetchProductInfoQuer143;
|
|
3140
3140
|
var lang = props.actions.lang;
|
|
3141
3141
|
var actions = props.actions;
|
|
3142
3142
|
var langdetect = props.actions.langdetect;
|
|
@@ -4016,46 +4016,30 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4016
4016
|
"class": "m-0 p-0",
|
|
4017
4017
|
style: {
|
|
4018
4018
|
color: '#000',
|
|
4019
|
-
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' :
|
|
4019
|
+
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : ''
|
|
4020
4020
|
},
|
|
4021
4021
|
onClick: function onClick() {
|
|
4022
|
-
var _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
4023
4022
|
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
4024
4023
|
var _fetchProductInfoQuer32;
|
|
4025
4024
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
4026
4025
|
vendorsarr: [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 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.vendorinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.vendorid]
|
|
4027
4026
|
})));
|
|
4028
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '683c163d7f996') {
|
|
4029
|
-
var _fetchProductInfoQuer33;
|
|
4030
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
4031
|
-
vendorsarr: [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 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.vendorinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.vendorid]
|
|
4032
|
-
})));
|
|
4033
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67f3c23abb18f') {
|
|
4034
|
-
var _fetchProductInfoQuer34;
|
|
4035
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
4036
|
-
vendorsarr: [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 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.vendorinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.vendorid]
|
|
4037
|
-
})));
|
|
4038
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6805437ab0f3b') {
|
|
4039
|
-
var _fetchProductInfoQuer35;
|
|
4040
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
4041
|
-
vendorsarr: [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 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.vendorinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.vendorid]
|
|
4042
|
-
})));
|
|
4043
4027
|
}
|
|
4044
4028
|
}
|
|
4045
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4029
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) != '683c163d7f996' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) != '67f3c23abb18f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '6805437ab0f3b' && /*#__PURE__*/React__default["default"].createElement("span", null, " ", langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ": "), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4046
4030
|
style: {
|
|
4047
4031
|
fontWeight: 600,
|
|
4048
|
-
textDecoration: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4032
|
+
textDecoration: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67f3c23abb18f' ? 'underline' : 'none'
|
|
4049
4033
|
}
|
|
4050
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4051
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4052
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4034
|
+
}, 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 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.vendorinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4035
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
4036
|
+
}, ProductsSKUContainer()), (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.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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.quantavailtype) == 'limit' && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4053
4037
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
4054
4038
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4055
4039
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
4056
4040
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4057
4041
|
"class": "m-0 p-0"
|
|
4058
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4042
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4059
4043
|
"class": "mb-4 col-lg-12 allcentered",
|
|
4060
4044
|
style: {
|
|
4061
4045
|
width: '100%',
|
|
@@ -4076,7 +4060,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4076
4060
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4077
4061
|
color: sectionproperties.deliverytimecontainercolor
|
|
4078
4062
|
}
|
|
4079
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4063
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
4080
4064
|
actions: props.actions
|
|
4081
4065
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4082
4066
|
"class": "col-lg-12 p-0"
|
|
@@ -4104,43 +4088,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4104
4088
|
actions: props.actions
|
|
4105
4089
|
}), sectionproperties.gallerystyle != 'Style 1' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
4106
4090
|
actions: props.actions
|
|
4107
|
-
}), sectionproperties.
|
|
4108
|
-
|
|
4109
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4110
|
-
className: "mb-0 mt-2"
|
|
4111
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4112
|
-
className: "col-lg-12 p-0 mb-3",
|
|
4113
|
-
style: {
|
|
4114
|
-
display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex'
|
|
4115
|
-
}
|
|
4116
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4117
|
-
className: "row mx-0 w-100 d-flex align-items-center",
|
|
4118
|
-
style: {
|
|
4119
|
-
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
4120
|
-
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
4121
|
-
}
|
|
4122
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4123
|
-
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
4124
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4125
|
-
className: "m-0 p-0",
|
|
4126
|
-
style: {
|
|
4127
|
-
color: sectionproperties.generaltext_fontColor,
|
|
4128
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
4129
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
4130
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
4131
|
-
}
|
|
4132
|
-
}, langdetect == 'en' ? sectionproperties.quantitybtnen : sectionproperties.quantitybtnar, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4133
|
-
"class": "col-lg-12 p-0"
|
|
4134
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4135
|
-
"class": "row m-0 w-100 d-flex align-items-center",
|
|
4136
|
-
style: {
|
|
4137
|
-
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
4138
|
-
}
|
|
4139
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4140
|
-
"class": "col-lg-12 text-start p-md-0"
|
|
4091
|
+
}), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4092
|
+
"class": "col-lg-12 text-start p-md-0 mb-3"
|
|
4141
4093
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4142
4094
|
className: "row m-0 w-100"
|
|
4143
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4095
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productfeatures) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.map(function (fitem, findex) {
|
|
4144
4096
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4145
4097
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4146
4098
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4178,12 +4130,40 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4178
4130
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4179
4131
|
}
|
|
4180
4132
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4181
|
-
}))),
|
|
4133
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4134
|
+
className: "col-lg-12 p-0 mb-3",
|
|
4135
|
+
style: {
|
|
4136
|
+
display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex'
|
|
4137
|
+
}
|
|
4138
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4139
|
+
className: "row mx-0 w-100 d-flex align-items-center",
|
|
4140
|
+
style: {
|
|
4141
|
+
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
4142
|
+
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
4143
|
+
}
|
|
4144
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4145
|
+
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
4146
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4147
|
+
className: "m-0 p-0",
|
|
4148
|
+
style: {
|
|
4149
|
+
color: sectionproperties.generaltext_fontColor,
|
|
4150
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
4151
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
4152
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
4153
|
+
}
|
|
4154
|
+
}, langdetect == 'en' ? sectionproperties.quantitybtnen : sectionproperties.quantitybtnar, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4155
|
+
"class": "col-lg-12 p-0"
|
|
4156
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4157
|
+
"class": "row m-0 w-100 d-flex align-items-center",
|
|
4158
|
+
style: {
|
|
4159
|
+
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
4160
|
+
}
|
|
4161
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4182
4162
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4183
4163
|
onClick: function onClick() {
|
|
4184
4164
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4185
|
-
var
|
|
4186
|
-
window.open('tel:' + ((
|
|
4165
|
+
var _fetchProductInfoQuer47;
|
|
4166
|
+
window.open('tel:' + ((_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.product_phonenumber), '_blank');
|
|
4187
4167
|
} else {
|
|
4188
4168
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4189
4169
|
addtocartfunc();
|
|
@@ -4214,7 +4194,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4214
4194
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4215
4195
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4216
4196
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4217
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4197
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4218
4198
|
className: ' d-flex align-items-center justify-content-center '
|
|
4219
4199
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4220
4200
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4259,7 +4239,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4259
4239
|
style: {
|
|
4260
4240
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
4261
4241
|
}
|
|
4262
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4242
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4263
4243
|
"class": "row m-0 w-100 mt-3",
|
|
4264
4244
|
style: {
|
|
4265
4245
|
overflow: 'hidden'
|
|
@@ -4271,8 +4251,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4271
4251
|
},
|
|
4272
4252
|
onClick: function onClick() {
|
|
4273
4253
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4274
|
-
var
|
|
4275
|
-
window.open('tel:' + ((
|
|
4254
|
+
var _fetchProductInfoQuer51;
|
|
4255
|
+
window.open('tel:' + ((_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.product_phonenumber), '_blank');
|
|
4276
4256
|
} else {
|
|
4277
4257
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4278
4258
|
addtocartfunc();
|
|
@@ -4303,7 +4283,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4303
4283
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4304
4284
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4305
4285
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4306
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4286
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4307
4287
|
className: ' d-flex align-items-center justify-content-center '
|
|
4308
4288
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4309
4289
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4368,7 +4348,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4368
4348
|
style: {
|
|
4369
4349
|
width: sectionproperties.cartBtnWidth + '%'
|
|
4370
4350
|
}
|
|
4371
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4351
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4372
4352
|
"class": "row m-0 w-100 mt-3",
|
|
4373
4353
|
style: {
|
|
4374
4354
|
overflow: 'hidden'
|
|
@@ -4404,7 +4384,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4404
4384
|
"class": "col-lg-12 text-start p-md-0"
|
|
4405
4385
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4406
4386
|
className: "row m-0 w-100"
|
|
4407
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4387
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productfeatures) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.map(function (fitem, findex) {
|
|
4408
4388
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4409
4389
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4410
4390
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4442,19 +4422,19 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4442
4422
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4443
4423
|
}
|
|
4444
4424
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4445
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4425
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4446
4426
|
"class": "col-12 text-start mt-3"
|
|
4447
4427
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4448
4428
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
4449
4429
|
onClick: function onClick() {
|
|
4450
4430
|
setopensizeguidemodal(true);
|
|
4451
4431
|
}
|
|
4452
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4432
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4453
4433
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4454
4434
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4455
4435
|
"class": "m-0"
|
|
4456
4436
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4457
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4437
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
4458
4438
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
4459
4439
|
allowMultipleExpanded: true,
|
|
4460
4440
|
allowZeroExpanded: true,
|
|
@@ -4502,7 +4482,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4502
4482
|
color: sectionproperties.prodCatColor
|
|
4503
4483
|
},
|
|
4504
4484
|
dangerouslySetInnerHTML: {
|
|
4505
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4485
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.short_description_ar
|
|
4506
4486
|
}
|
|
4507
4487
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4508
4488
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -4676,9 +4656,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4676
4656
|
})
|
|
4677
4657
|
// actions={props.actions}
|
|
4678
4658
|
// srcfromprops={'collapsepinfo'}
|
|
4679
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4659
|
+
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4680
4660
|
className: "col-lg-12 p-0 mb-3"
|
|
4681
|
-
}, TotalSection()), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4661
|
+
}, TotalSection()), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4682
4662
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
4683
4663
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4684
4664
|
style: {
|
|
@@ -4726,7 +4706,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4726
4706
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
4727
4707
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
4728
4708
|
}
|
|
4729
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4709
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4730
4710
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
4731
4711
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4732
4712
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -4748,7 +4728,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4748
4728
|
"class": "my-3"
|
|
4749
4729
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4750
4730
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
4751
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4731
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4752
4732
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
4753
4733
|
style: {
|
|
4754
4734
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -4910,15 +4890,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4910
4890
|
fontWeight: sectionproperties.quantityfontweight
|
|
4911
4891
|
}
|
|
4912
4892
|
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4913
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4893
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : 'col-lg-12 p-0 mb-1 d-flex align-items-center',
|
|
4914
4894
|
style: {
|
|
4915
4895
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
4916
4896
|
}
|
|
4917
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4897
|
+
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4918
4898
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4919
4899
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
4920
4900
|
count: 5,
|
|
4921
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4901
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.productoverallrate,
|
|
4922
4902
|
edit: false,
|
|
4923
4903
|
size: 18,
|
|
4924
4904
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4939,7 +4919,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4939
4919
|
activeColor: "#ffd700"
|
|
4940
4920
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4941
4921
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4942
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4922
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4943
4923
|
style: {
|
|
4944
4924
|
width: sectionproperties.availability_width + 'px',
|
|
4945
4925
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -4992,7 +4972,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4992
4972
|
"class": "col-lg-12 text-start p-0"
|
|
4993
4973
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4994
4974
|
className: "row m-0 w-100"
|
|
4995
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4975
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productfeatures) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.map(function (fitem, findex) {
|
|
4996
4976
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4997
4977
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4998
4978
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5050,7 +5030,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5050
5030
|
color: sectionproperties.prodCatColor
|
|
5051
5031
|
},
|
|
5052
5032
|
dangerouslySetInnerHTML: {
|
|
5053
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5033
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.short_description_ar
|
|
5054
5034
|
}
|
|
5055
5035
|
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5056
5036
|
"class": "col-lg-12 text-start p-md-0"
|
|
@@ -5069,7 +5049,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5069
5049
|
className: "col-lg-12 m-0 w-100 p-0"
|
|
5070
5050
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
5071
5051
|
className: 'table tablevertical'
|
|
5072
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5052
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productfeatures) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.map(function (fitem, findex) {
|
|
5073
5053
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5074
5054
|
style: {
|
|
5075
5055
|
textTransform: 'capitalize',
|
|
@@ -5101,11 +5081,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5101
5081
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5102
5082
|
}
|
|
5103
5083
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
5104
|
-
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5084
|
+
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5105
5085
|
actions: props.actions
|
|
5106
5086
|
}), sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Above Name' && MeasurementUnitSection(), sectionproperties.featuresposition == 'Under Pricing' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5107
5087
|
"class": "col-lg-12 text-start p-0"
|
|
5108
|
-
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5088
|
+
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5109
5089
|
"class": "col-lg-12 p-0"
|
|
5110
5090
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5111
5091
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -5115,9 +5095,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5115
5095
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5116
5096
|
},
|
|
5117
5097
|
dangerouslySetInnerHTML: {
|
|
5118
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5098
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.short_description_en
|
|
5119
5099
|
}
|
|
5120
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5100
|
+
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5121
5101
|
"class": "col-lg-12 p-0"
|
|
5122
5102
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5123
5103
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -5127,27 +5107,21 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5127
5107
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5128
5108
|
},
|
|
5129
5109
|
dangerouslySetInnerHTML: {
|
|
5130
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5110
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.short_description_ar
|
|
5131
5111
|
}
|
|
5132
|
-
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5112
|
+
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5133
5113
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
5134
5114
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5135
5115
|
"class": "m-0 p-0",
|
|
5136
5116
|
style: {
|
|
5137
5117
|
color: '#000',
|
|
5138
|
-
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' :
|
|
5118
|
+
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : ''
|
|
5139
5119
|
},
|
|
5140
5120
|
onClick: function onClick() {
|
|
5141
|
-
var _authdetailsContext$i15;
|
|
5142
5121
|
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
5143
|
-
var
|
|
5122
|
+
var _fetchProductInfoQuer78;
|
|
5144
5123
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
5145
|
-
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5146
|
-
})));
|
|
5147
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '683c163d7f996') {
|
|
5148
|
-
var _fetchProductInfoQuer82;
|
|
5149
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
5150
|
-
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.vendorinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.vendorid]
|
|
5124
|
+
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.vendorinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.vendorid]
|
|
5151
5125
|
})));
|
|
5152
5126
|
}
|
|
5153
5127
|
}
|
|
@@ -5155,15 +5129,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5155
5129
|
style: {
|
|
5156
5130
|
fontWeight: 600
|
|
5157
5131
|
}
|
|
5158
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5159
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5160
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5132
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.vendorinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5133
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
5134
|
+
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5161
5135
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
5162
5136
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5163
5137
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
5164
5138
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5165
5139
|
"class": "m-0 p-0"
|
|
5166
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5140
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5167
5141
|
"class": "mb-4 col-lg-12 allcentered",
|
|
5168
5142
|
style: {
|
|
5169
5143
|
width: '100%',
|
|
@@ -5184,7 +5158,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5184
5158
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
5185
5159
|
color: sectionproperties.deliverytimecontainercolor
|
|
5186
5160
|
}
|
|
5187
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5161
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5188
5162
|
actions: props.actions
|
|
5189
5163
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5190
5164
|
"class": "col-lg-12 p-0"
|
|
@@ -5227,7 +5201,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5227
5201
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
5228
5202
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
5229
5203
|
}
|
|
5230
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5204
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5231
5205
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
5232
5206
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5233
5207
|
className: "m-0 p-0",
|
|
@@ -5244,11 +5218,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5244
5218
|
style: {
|
|
5245
5219
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
5246
5220
|
}
|
|
5247
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5221
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (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.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5248
5222
|
"class": "col-lg-12 text-start p-md-0"
|
|
5249
5223
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5250
5224
|
className: "row m-0 w-100"
|
|
5251
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5225
|
+
}, 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 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productfeatures) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.map(function (fitem, findex) {
|
|
5252
5226
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5253
5227
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5254
5228
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5286,12 +5260,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5286
5260
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5287
5261
|
}
|
|
5288
5262
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5289
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5263
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5290
5264
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
5291
5265
|
onClick: function onClick() {
|
|
5292
5266
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5293
|
-
var
|
|
5294
|
-
window.open('tel:' + ((
|
|
5267
|
+
var _fetchProductInfoQuer93;
|
|
5268
|
+
window.open('tel:' + ((_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.product_phonenumber), '_blank');
|
|
5295
5269
|
} else {
|
|
5296
5270
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5297
5271
|
addtocartfunc();
|
|
@@ -5322,7 +5296,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5322
5296
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5323
5297
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5324
5298
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5325
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5299
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5326
5300
|
className: ' d-flex align-items-center justify-content-center '
|
|
5327
5301
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5328
5302
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5367,7 +5341,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5367
5341
|
style: {
|
|
5368
5342
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
5369
5343
|
}
|
|
5370
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5344
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5371
5345
|
"class": "row m-0 w-100 mt-3",
|
|
5372
5346
|
style: {
|
|
5373
5347
|
overflow: 'hidden'
|
|
@@ -5379,8 +5353,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5379
5353
|
},
|
|
5380
5354
|
onClick: function onClick() {
|
|
5381
5355
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5382
|
-
var
|
|
5383
|
-
window.open('tel:' + ((
|
|
5356
|
+
var _fetchProductInfoQuer97;
|
|
5357
|
+
window.open('tel:' + ((_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.product_phonenumber), '_blank');
|
|
5384
5358
|
} else {
|
|
5385
5359
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5386
5360
|
addtocartfunc();
|
|
@@ -5411,7 +5385,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5411
5385
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5412
5386
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5413
5387
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5414
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5388
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5415
5389
|
className: ' d-flex align-items-center justify-content-center '
|
|
5416
5390
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5417
5391
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5476,7 +5450,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5476
5450
|
style: {
|
|
5477
5451
|
width: sectionproperties.cartBtnWidth + '%'
|
|
5478
5452
|
}
|
|
5479
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5453
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5480
5454
|
"class": "row m-0 w-100 mt-3",
|
|
5481
5455
|
style: {
|
|
5482
5456
|
overflow: 'hidden'
|
|
@@ -5512,7 +5486,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5512
5486
|
"class": "col-lg-12 text-start p-md-0"
|
|
5513
5487
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5514
5488
|
className: "row m-0 w-100"
|
|
5515
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5489
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productfeatures) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.map(function (fitem, findex) {
|
|
5516
5490
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5517
5491
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5518
5492
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5550,19 +5524,19 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5550
5524
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5551
5525
|
}
|
|
5552
5526
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5553
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5527
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5554
5528
|
"class": "col-12 text-start mt-3"
|
|
5555
5529
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5556
5530
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
5557
5531
|
onClick: function onClick() {
|
|
5558
5532
|
setopensizeguidemodal(true);
|
|
5559
5533
|
}
|
|
5560
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5534
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5561
5535
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
5562
5536
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
5563
5537
|
"class": "m-0"
|
|
5564
5538
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5565
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5539
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
5566
5540
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
5567
5541
|
allowMultipleExpanded: true,
|
|
5568
5542
|
allowZeroExpanded: true,
|
|
@@ -5610,7 +5584,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5610
5584
|
color: sectionproperties.prodCatColor
|
|
5611
5585
|
},
|
|
5612
5586
|
dangerouslySetInnerHTML: {
|
|
5613
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5587
|
+
__html: langdetect == 'en' ? 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 ? void 0 : _fetchProductInfoQuer105.short_description_en : 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.short_description_ar
|
|
5614
5588
|
}
|
|
5615
5589
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5616
5590
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -5784,7 +5758,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5784
5758
|
})
|
|
5785
5759
|
// actions={props.actions}
|
|
5786
5760
|
// srcfromprops={'collapsepinfo'}
|
|
5787
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5761
|
+
})))))), (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.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5788
5762
|
className: "col-lg-12 p-0 mb-3"
|
|
5789
5763
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5790
5764
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -5807,7 +5781,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5807
5781
|
}
|
|
5808
5782
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5809
5783
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
5810
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5784
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (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 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.variants[variantindexcompleted]) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (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 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.variants[variantindexcompleted]) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5811
5785
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
5812
5786
|
style: {
|
|
5813
5787
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -5821,14 +5795,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5821
5795
|
style: {
|
|
5822
5796
|
textDecoration: 'none'
|
|
5823
5797
|
}
|
|
5824
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5798
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (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 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.variants[variantindexcompleted]) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5825
5799
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
5826
5800
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5827
5801
|
className: "ml-2 mr-2",
|
|
5828
5802
|
style: {
|
|
5829
5803
|
textDecoration: 'none'
|
|
5830
5804
|
}
|
|
5831
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5805
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5832
5806
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
5833
5807
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5834
5808
|
style: {
|
|
@@ -5876,7 +5850,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5876
5850
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
5877
5851
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
5878
5852
|
}
|
|
5879
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5853
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5880
5854
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
5881
5855
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5882
5856
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -5898,7 +5872,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5898
5872
|
"class": "my-3"
|
|
5899
5873
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5900
5874
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
5901
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5875
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5902
5876
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
5903
5877
|
style: {
|
|
5904
5878
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5915,7 +5889,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5915
5889
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5916
5890
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5917
5891
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5918
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5892
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (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.productmainimage),
|
|
5919
5893
|
style: {
|
|
5920
5894
|
width: '100%',
|
|
5921
5895
|
height: '100%',
|
|
@@ -5948,13 +5922,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5948
5922
|
color: sectionproperties.prodCatColor
|
|
5949
5923
|
},
|
|
5950
5924
|
dangerouslySetInnerHTML: {
|
|
5951
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5925
|
+
__html: langdetect == '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_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer115 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.productinfo) === null || _fetchProductInfoQuer115 === void 0 ? void 0 : _fetchProductInfoQuer115.short_description_ar
|
|
5952
5926
|
}
|
|
5953
5927
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5954
5928
|
"class": "col-lg-12 text-start p-md-0"
|
|
5955
5929
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5956
5930
|
className: "row m-0 w-100"
|
|
5957
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5931
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer116 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.productinfo) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.productfeatures) === null || _fetchProductInfoQuer116 === void 0 ? void 0 : _fetchProductInfoQuer116.map(function (fitem, findex) {
|
|
5958
5932
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5959
5933
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5960
5934
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5996,7 +5970,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5996
5970
|
"class": "col-lg-12 p-0 my-4"
|
|
5997
5971
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5998
5972
|
"class": "row m-0 w-100"
|
|
5999
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5973
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer117 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.productinfo) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.productimages) === null || _fetchProductInfoQuer117 === void 0 ? void 0 : _fetchProductInfoQuer117.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer118 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.productinfo) === null || _fetchProductInfoQuer118 === void 0 ? void 0 : _fetchProductInfoQuer118.productimages.map(function (item, index) {
|
|
6000
5974
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6001
5975
|
"class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
|
|
6002
5976
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6023,9 +5997,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6023
5997
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
6024
5998
|
},
|
|
6025
5999
|
dangerouslySetInnerHTML: {
|
|
6026
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6000
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer119 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.productinfo) === null || _fetchProductInfoQuer119 === void 0 ? void 0 : _fetchProductInfoQuer119.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer120 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.productinfo) === null || _fetchProductInfoQuer120 === void 0 ? void 0 : _fetchProductInfoQuer120.description_ar
|
|
6027
6001
|
}
|
|
6028
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6002
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6029
6003
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
6030
6004
|
style: {
|
|
6031
6005
|
minHeight: '100vh'
|
|
@@ -6057,7 +6031,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6057
6031
|
duration: 1500,
|
|
6058
6032
|
arrow: true,
|
|
6059
6033
|
easing: "ease"
|
|
6060
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6034
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer121 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.productinfo) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.productimages) === null || _fetchProductInfoQuer121 === void 0 ? void 0 : _fetchProductInfoQuer121.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer122 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer122 === void 0 || (_fetchProductInfoQuer122 = _fetchProductInfoQuer122.data) === null || _fetchProductInfoQuer122 === void 0 || (_fetchProductInfoQuer122 = _fetchProductInfoQuer122.productinfo) === null || _fetchProductInfoQuer122 === void 0 ? void 0 : _fetchProductInfoQuer122.productimages.map(function (item, index) {
|
|
6061
6035
|
if (item.is_size_guide != 1) {
|
|
6062
6036
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6063
6037
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -6112,7 +6086,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6112
6086
|
color: sectionproperties.prodCatColor
|
|
6113
6087
|
},
|
|
6114
6088
|
dangerouslySetInnerHTML: {
|
|
6115
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6089
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer123 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer123 === void 0 || (_fetchProductInfoQuer123 = _fetchProductInfoQuer123.data) === null || _fetchProductInfoQuer123 === void 0 || (_fetchProductInfoQuer123 = _fetchProductInfoQuer123.productinfo) === null || _fetchProductInfoQuer123 === void 0 ? void 0 : _fetchProductInfoQuer123.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer124 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer124 === void 0 || (_fetchProductInfoQuer124 = _fetchProductInfoQuer124.data) === null || _fetchProductInfoQuer124 === void 0 || (_fetchProductInfoQuer124 = _fetchProductInfoQuer124.productinfo) === null || _fetchProductInfoQuer124 === void 0 ? void 0 : _fetchProductInfoQuer124.description_ar
|
|
6116
6090
|
}
|
|
6117
6091
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6118
6092
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -6158,7 +6132,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6158
6132
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
6159
6133
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
6160
6134
|
className: 'table tablevertical'
|
|
6161
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6135
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer125 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.data) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.productinfo) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.productfeatures) === null || _fetchProductInfoQuer125 === void 0 ? void 0 : _fetchProductInfoQuer125.map(function (fitem, findex) {
|
|
6162
6136
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
6163
6137
|
style: {
|
|
6164
6138
|
textTransform: 'capitalize',
|
|
@@ -6201,8 +6175,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6201
6175
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6202
6176
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
6203
6177
|
onClick: function onClick() {
|
|
6204
|
-
var
|
|
6205
|
-
window.open('tel:' + ((
|
|
6178
|
+
var _fetchProductInfoQuer126;
|
|
6179
|
+
window.open('tel:' + ((_fetchProductInfoQuer126 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer126 === void 0 ? void 0 : _fetchProductInfoQuer126.product_phonenumber), '_blank');
|
|
6206
6180
|
},
|
|
6207
6181
|
style: {
|
|
6208
6182
|
width: '40%',
|
|
@@ -6253,8 +6227,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6253
6227
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
6254
6228
|
onClick: function onClick() {
|
|
6255
6229
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6256
|
-
var
|
|
6257
|
-
window.open('tel:' + ((
|
|
6230
|
+
var _fetchProductInfoQuer127;
|
|
6231
|
+
window.open('tel:' + ((_fetchProductInfoQuer127 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer127 === void 0 ? void 0 : _fetchProductInfoQuer127.product_phonenumber), '_blank');
|
|
6258
6232
|
} else {
|
|
6259
6233
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6260
6234
|
addtocartfunc();
|
|
@@ -6285,14 +6259,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6285
6259
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6286
6260
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6287
6261
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6288
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6262
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer128 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.data) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.productinfo) === null || _fetchProductInfoQuer128 === void 0 ? void 0 : _fetchProductInfoQuer128.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer129 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.data) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.productinfo) === null || _fetchProductInfoQuer129 === void 0 ? void 0 : _fetchProductInfoQuer129.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6289
6263
|
className: ' d-flex align-items-center justify-content-center '
|
|
6290
6264
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6291
6265
|
color: sectionproperties.cartBtnTextcolor,
|
|
6292
6266
|
width: "20px",
|
|
6293
6267
|
height: "20px",
|
|
6294
6268
|
duration: "1s"
|
|
6295
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6269
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6296
6270
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
6297
6271
|
style: {
|
|
6298
6272
|
minHeight: '100vh'
|
|
@@ -6324,7 +6298,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6324
6298
|
duration: 1500,
|
|
6325
6299
|
arrow: true,
|
|
6326
6300
|
easing: "ease"
|
|
6327
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6301
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer130 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer130 === void 0 || (_fetchProductInfoQuer130 = _fetchProductInfoQuer130.data) === null || _fetchProductInfoQuer130 === void 0 || (_fetchProductInfoQuer130 = _fetchProductInfoQuer130.productinfo) === null || _fetchProductInfoQuer130 === void 0 || (_fetchProductInfoQuer130 = _fetchProductInfoQuer130.productimages) === null || _fetchProductInfoQuer130 === void 0 ? void 0 : _fetchProductInfoQuer130.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer131 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer131 === void 0 || (_fetchProductInfoQuer131 = _fetchProductInfoQuer131.data) === null || _fetchProductInfoQuer131 === void 0 || (_fetchProductInfoQuer131 = _fetchProductInfoQuer131.productinfo) === null || _fetchProductInfoQuer131 === void 0 ? void 0 : _fetchProductInfoQuer131.productimages.map(function (item, index) {
|
|
6328
6302
|
if (item.is_size_guide != 1) {
|
|
6329
6303
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6330
6304
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -6379,7 +6353,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6379
6353
|
color: sectionproperties.prodCatColor
|
|
6380
6354
|
},
|
|
6381
6355
|
dangerouslySetInnerHTML: {
|
|
6382
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6356
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer132 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer132 === void 0 || (_fetchProductInfoQuer132 = _fetchProductInfoQuer132.data) === null || _fetchProductInfoQuer132 === void 0 || (_fetchProductInfoQuer132 = _fetchProductInfoQuer132.productinfo) === null || _fetchProductInfoQuer132 === void 0 ? void 0 : _fetchProductInfoQuer132.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer133 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer133 === void 0 || (_fetchProductInfoQuer133 = _fetchProductInfoQuer133.data) === null || _fetchProductInfoQuer133 === void 0 || (_fetchProductInfoQuer133 = _fetchProductInfoQuer133.productinfo) === null || _fetchProductInfoQuer133 === void 0 ? void 0 : _fetchProductInfoQuer133.description_ar
|
|
6383
6357
|
}
|
|
6384
6358
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6385
6359
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -6423,7 +6397,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6423
6397
|
className: "p-0"
|
|
6424
6398
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6425
6399
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
6426
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6400
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer134 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productinfo) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productfeatures) === null || _fetchProductInfoQuer134 === void 0 ? void 0 : _fetchProductInfoQuer134.map(function (fitem, findex) {
|
|
6427
6401
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6428
6402
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
|
|
6429
6403
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6519,7 +6493,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6519
6493
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
6520
6494
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
6521
6495
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
6522
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6496
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer135 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.productinfo) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.vendorinfo) === null || _fetchProductInfoQuer135 === void 0 ? void 0 : _fetchProductInfoQuer135.vendorlogourl,
|
|
6523
6497
|
loading: "lazy",
|
|
6524
6498
|
style: {
|
|
6525
6499
|
maxWidth: '100%',
|
|
@@ -6534,7 +6508,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6534
6508
|
fontSize: 17,
|
|
6535
6509
|
color: sectionproperties.featurecolor
|
|
6536
6510
|
}
|
|
6537
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6511
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer136 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.data) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.productinfo) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.vendorinfo) === null || _fetchProductInfoQuer136 === void 0 ? void 0 : _fetchProductInfoQuer136.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6538
6512
|
"class": "col-lg-3"
|
|
6539
6513
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6540
6514
|
"class": "row m-0 w-100"
|
|
@@ -6543,8 +6517,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6543
6517
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6544
6518
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
6545
6519
|
onClick: function onClick() {
|
|
6546
|
-
var
|
|
6547
|
-
window.open('tel:' + ((
|
|
6520
|
+
var _fetchProductInfoQuer137;
|
|
6521
|
+
window.open('tel:' + ((_fetchProductInfoQuer137 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer137 === void 0 ? void 0 : _fetchProductInfoQuer137.product_phonenumber), '_blank');
|
|
6548
6522
|
},
|
|
6549
6523
|
style: {
|
|
6550
6524
|
width: '40%',
|
|
@@ -6595,8 +6569,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6595
6569
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
6596
6570
|
onClick: function onClick() {
|
|
6597
6571
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6598
|
-
var
|
|
6599
|
-
window.open('tel:' + ((
|
|
6572
|
+
var _fetchProductInfoQuer138;
|
|
6573
|
+
window.open('tel:' + ((_fetchProductInfoQuer138 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer138 === void 0 ? void 0 : _fetchProductInfoQuer138.product_phonenumber), '_blank');
|
|
6600
6574
|
} else {
|
|
6601
6575
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6602
6576
|
addtocartfunc();
|
|
@@ -6627,7 +6601,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6627
6601
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6628
6602
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6629
6603
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6630
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6604
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer139 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.data) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.productinfo) === null || _fetchProductInfoQuer139 === void 0 ? void 0 : _fetchProductInfoQuer139.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer140 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.data) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.productinfo) === null || _fetchProductInfoQuer140 === void 0 ? void 0 : _fetchProductInfoQuer140.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6631
6605
|
className: ' d-flex align-items-center justify-content-center '
|
|
6632
6606
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6633
6607
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -6671,7 +6645,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6671
6645
|
objectFit: 'contain'
|
|
6672
6646
|
},
|
|
6673
6647
|
loading: "lazy"
|
|
6674
|
-
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6648
|
+
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6675
6649
|
"class": "col-12 p-0",
|
|
6676
6650
|
style: {
|
|
6677
6651
|
position: 'fixed',
|
|
@@ -6698,8 +6672,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6698
6672
|
},
|
|
6699
6673
|
onClick: function onClick() {
|
|
6700
6674
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6701
|
-
var
|
|
6702
|
-
window.open('tel:' + ((
|
|
6675
|
+
var _fetchProductInfoQuer141;
|
|
6676
|
+
window.open('tel:' + ((_fetchProductInfoQuer141 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer141 === void 0 ? void 0 : _fetchProductInfoQuer141.product_phonenumber), '_blank');
|
|
6703
6677
|
} else {
|
|
6704
6678
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6705
6679
|
addtocartfunc();
|
|
@@ -6730,7 +6704,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6730
6704
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6731
6705
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6732
6706
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6733
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6707
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer142 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer142 === void 0 || (_fetchProductInfoQuer142 = _fetchProductInfoQuer142.data) === null || _fetchProductInfoQuer142 === void 0 || (_fetchProductInfoQuer142 = _fetchProductInfoQuer142.productinfo) === null || _fetchProductInfoQuer142 === void 0 ? void 0 : _fetchProductInfoQuer142.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer143 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer143 === void 0 || (_fetchProductInfoQuer143 = _fetchProductInfoQuer143.data) === null || _fetchProductInfoQuer143 === void 0 || (_fetchProductInfoQuer143 = _fetchProductInfoQuer143.productinfo) === null || _fetchProductInfoQuer143 === void 0 ? void 0 : _fetchProductInfoQuer143.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6734
6708
|
className: ' d-flex align-items-center justify-content-center '
|
|
6735
6709
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6736
6710
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -22705,6 +22679,11 @@ var CardsSection = function CardsSection(props) {
|
|
|
22705
22679
|
color: sectionproperties.paginationColor,
|
|
22706
22680
|
border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
|
|
22707
22681
|
transition: '.3s',
|
|
22682
|
+
// minWidth: '1vh',
|
|
22683
|
+
// height: '1vh',
|
|
22684
|
+
borderRadius: sectionproperties.paginationborderradius + 'px',
|
|
22685
|
+
// borderWidth: 0,
|
|
22686
|
+
// borderRadius:100,
|
|
22708
22687
|
':hover': {
|
|
22709
22688
|
color: sectionproperties.paginationColoronHover,
|
|
22710
22689
|
borderColor: sectionproperties.paginationColoronHover
|
|
@@ -22715,7 +22694,11 @@ var CardsSection = function CardsSection(props) {
|
|
|
22715
22694
|
}),
|
|
22716
22695
|
activeClassName: glamor.css({
|
|
22717
22696
|
color: sectionproperties.paginationActiveColor,
|
|
22718
|
-
borderColor: sectionproperties.paginationActiveColor
|
|
22697
|
+
borderColor: sectionproperties.paginationActiveColor,
|
|
22698
|
+
// backgroundColor: '#8a1517',
|
|
22699
|
+
backgroundColor: sectionproperties.paginationActivebgColor
|
|
22700
|
+
// color: '#fff',
|
|
22701
|
+
// borderRadius: 100,
|
|
22719
22702
|
}),
|
|
22720
22703
|
activeLinkClassName: glamor.css({
|
|
22721
22704
|
color: sectionproperties.paginationActiveColor,
|
|
@@ -22724,7 +22707,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
22724
22707
|
previousClassName: glamor.css({
|
|
22725
22708
|
width: sectionproperties.paginationContainerWidth + 'vh',
|
|
22726
22709
|
height: sectionproperties.paginationContainerHeight + 'vh',
|
|
22727
|
-
padding: '17px',
|
|
22710
|
+
// padding: '17px',
|
|
22728
22711
|
display: 'flex',
|
|
22729
22712
|
alignItems: 'center',
|
|
22730
22713
|
justifyContent: 'center',
|
|
@@ -22742,7 +22725,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
22742
22725
|
nextClassName: glamor.css({
|
|
22743
22726
|
width: sectionproperties.paginationContainerWidth + 'vh',
|
|
22744
22727
|
height: sectionproperties.paginationContainerHeight + 'vh',
|
|
22745
|
-
padding: '17px',
|
|
22728
|
+
// padding: '17px',
|
|
22746
22729
|
display: 'flex',
|
|
22747
22730
|
alignItems: 'center',
|
|
22748
22731
|
justifyContent: 'center',
|
|
@@ -22866,6 +22849,14 @@ var CardsSection = function CardsSection(props) {
|
|
|
22866
22849
|
}
|
|
22867
22850
|
}),
|
|
22868
22851
|
groupbysectionimage: glamor.css({
|
|
22852
|
+
width: sectionproperties.groupbysectionimagewidthheight == 0 ? '100%' : sectionproperties.groupbysectionimagewidthheight + '%',
|
|
22853
|
+
height: sectionproperties.groupbysectionimagewidthheight == 0 ? '100%' : sectionproperties.groupbysectionimagewidthheight + '%',
|
|
22854
|
+
position: 'relative',
|
|
22855
|
+
marginBottom: sectionproperties.groupbysectionimagemarginbottom + 'px',
|
|
22856
|
+
'@media (max-width: 1024px)': {
|
|
22857
|
+
width: sectionproperties.groupbysectionimagewidthheightresponsive == 0 ? '100%' : sectionproperties.groupbysectionimagewidthheight + '%',
|
|
22858
|
+
height: sectionproperties.groupbysectionimagewidthheightresponsive == 0 ? '100%' : sectionproperties.groupbysectionimagewidthheight + '%'
|
|
22859
|
+
},
|
|
22869
22860
|
':after': {
|
|
22870
22861
|
content: 's',
|
|
22871
22862
|
fontSize: 0,
|
|
@@ -22878,7 +22869,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
22878
22869
|
zIndex: 1,
|
|
22879
22870
|
transition: ' 0.3s',
|
|
22880
22871
|
background: '#000',
|
|
22881
|
-
opacity: 0.2,
|
|
22872
|
+
opacity: sectionproperties.groupbysectiontextposition == 'On Image' ? 0.2 : 0,
|
|
22882
22873
|
borderRadius: sectionproperties.groupbysectionimageborderradius + 'px'
|
|
22883
22874
|
}
|
|
22884
22875
|
}),
|
|
@@ -22908,6 +22899,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
22908
22899
|
'@media (max-width: 800px)': {
|
|
22909
22900
|
fontSize: sectionproperties.groupbydescriptionfontsizeresp + 'px'
|
|
22910
22901
|
}
|
|
22902
|
+
}),
|
|
22903
|
+
groupbytitlesectioncontainer: glamor.css({
|
|
22904
|
+
paddingTop: sectionproperties.groupbysectionpaddingtop + 'px',
|
|
22905
|
+
paddingBottom: sectionproperties.groupbysectionpaddingbottom + 'px'
|
|
22911
22906
|
})
|
|
22912
22907
|
};
|
|
22913
22908
|
var SectionTitle = function SectionTitle() {
|
|
@@ -23131,21 +23126,18 @@ var CardsSection = function CardsSection(props) {
|
|
|
23131
23126
|
};
|
|
23132
23127
|
var GroupByTitleSection = function GroupByTitleSection() {
|
|
23133
23128
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23134
|
-
"class": '
|
|
23129
|
+
"class": section_cssstyles.groupbytitlesectioncontainer + ' m-0 w-100',
|
|
23135
23130
|
style: {
|
|
23136
23131
|
position: 'relative'
|
|
23137
23132
|
}
|
|
23138
23133
|
}, sectionproperties.groupbysectionimage == 'Show' && sectionproperties.groupbysectionimageposition == 'Top' && show_product_group_titles()['logo'] != '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23139
23134
|
"class": "col-12 p-0 d-flex align-items-center",
|
|
23140
23135
|
style: {
|
|
23141
|
-
justifyContent: sectionproperties.
|
|
23136
|
+
justifyContent: sectionproperties.groupbytitleimagehorizontalposition == 'Center' ? 'center' : 'start'
|
|
23142
23137
|
}
|
|
23143
23138
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23144
23139
|
"class": section_cssstyles.groupbysectionimage + ' ',
|
|
23145
|
-
style: {
|
|
23146
|
-
width: sectionproperties.groupbysectionimagewidthheight == 0 ? '100%' : sectionproperties.groupbysectionimagewidthheight + '%',
|
|
23147
|
-
height: sectionproperties.groupbysectionimagewidthheight == 0 ? '100%' : sectionproperties.groupbysectionimagewidthheight + '%'
|
|
23148
|
-
}
|
|
23140
|
+
style: {}
|
|
23149
23141
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
23150
23142
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
23151
23143
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -23155,28 +23147,31 @@ var CardsSection = function CardsSection(props) {
|
|
|
23155
23147
|
borderRadius: sectionproperties.groupbysectionimageborderradius + 'px'
|
|
23156
23148
|
}
|
|
23157
23149
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23158
|
-
"class": "
|
|
23150
|
+
"class": " allcentered",
|
|
23159
23151
|
style: {
|
|
23160
23152
|
position: sectionproperties.groupbysectiontextposition == 'On Image' ? 'absolute' : 'relative',
|
|
23161
23153
|
top: 0,
|
|
23162
23154
|
bottom: 0,
|
|
23163
23155
|
left: 0,
|
|
23164
23156
|
right: 0,
|
|
23165
|
-
margin: 'auto'
|
|
23157
|
+
margin: 'auto',
|
|
23158
|
+
width: sectionproperties.groupbysectiontextwidth + '%'
|
|
23166
23159
|
}
|
|
23167
23160
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23168
23161
|
"class": sectionproperties.groupbysectiontextposition == 'On Image' ? 'row m-0 w-100 px-4 px-md-2 px-sm-0' : 'row m-0 w-100'
|
|
23169
23162
|
}, sectionproperties.groupbytitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23170
|
-
"class":
|
|
23163
|
+
"class": 'col-lg-12 d-flex align-items-center',
|
|
23171
23164
|
style: {
|
|
23172
|
-
justifyContent: sectionproperties.groupbytitleposition == 'Center' ? 'center' : 'start'
|
|
23165
|
+
justifyContent: sectionproperties.groupbytitleposition == 'Center' ? 'center' : 'start',
|
|
23166
|
+
marginBottom: sectionproperties.groupbytitlemarginbottom + 'px'
|
|
23173
23167
|
}
|
|
23174
23168
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23175
23169
|
"class": section_cssstyles.groupbytitle + ' m-0 '
|
|
23176
23170
|
}, langdetect == 'en' ? show_product_group_titles()['title_en'] : show_product_group_titles()['title_ar'])), sectionproperties.groupbydescriptionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23177
|
-
"class":
|
|
23171
|
+
"class": 'col-lg-12 d-flex align-items-center',
|
|
23178
23172
|
style: {
|
|
23179
|
-
justifyContent: sectionproperties.groupbydescriptionposition == 'Center' ? 'center' : 'start'
|
|
23173
|
+
justifyContent: sectionproperties.groupbydescriptionposition == 'Center' ? 'center' : 'start',
|
|
23174
|
+
marginBottom: sectionproperties.groupbydescriptionmarginbottom + 'px'
|
|
23180
23175
|
}
|
|
23181
23176
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23182
23177
|
"class": section_cssstyles.groupbydescription + ' m-0 ',
|
|
@@ -23187,6 +23182,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
23187
23182
|
__html: langdetect == 'en' ? show_product_group_titles()['description_en'] : show_product_group_titles()['description_ar']
|
|
23188
23183
|
}
|
|
23189
23184
|
})))))
|
|
23185
|
+
|
|
23190
23186
|
// <div class={ 'row m-0 w-100'}>
|
|
23191
23187
|
// <div class="col-12 p-0 allcentered">
|
|
23192
23188
|
// <div class="w-100 h-100">
|
|
@@ -25518,7 +25514,8 @@ var Subheader = function Subheader(props) {
|
|
|
25518
25514
|
style: {
|
|
25519
25515
|
zIndex: 1000,
|
|
25520
25516
|
justifyContent: ((_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops) == 'center' ? 'center' : 'start',
|
|
25521
|
-
display: (props === null || props === void 0 || (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.srcfromprops) == 'elegantheader' ? 'block' : 'flex'
|
|
25517
|
+
display: (props === null || props === void 0 || (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.srcfromprops) == 'elegantheader' ? 'block' : 'flex',
|
|
25518
|
+
flexWrap: 'wrap'
|
|
25522
25519
|
}
|
|
25523
25520
|
}, (props === null || props === void 0 || (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
25524
25521
|
if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex == 0) {
|
|
@@ -35807,7 +35804,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
35807
35804
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35808
35805
|
"class": "col-lg-12 p-0"
|
|
35809
35806
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35810
|
-
"class": "".concat(header_cssstyles.header_outercontainer) + ' d-flex d-md-none row ml-0 mr-0 '
|
|
35807
|
+
"class": "".concat(header_cssstyles.header_outercontainer) + ' d-flex d-md-none row ml-0 mr-0 mx-auto '
|
|
35811
35808
|
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35812
35809
|
"class": "w-100 d-flex d-md-none"
|
|
35813
35810
|
}, /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
@@ -53029,47 +53026,37 @@ var Footer2 = function Footer2(props) {
|
|
|
53029
53026
|
})), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53030
53027
|
"class": "col-lg-12 d-flex d-md-none flex-row align-items-center justify-content-center mt-3"
|
|
53031
53028
|
}, sectionproperties.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53032
|
-
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
53029
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 mx-2',
|
|
53033
53030
|
onClick: function onClick() {
|
|
53034
53031
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
53035
53032
|
}
|
|
53036
|
-
}, lang.wishlist), sectionproperties.
|
|
53037
|
-
"class": "".concat(footerStyles.
|
|
53038
|
-
}), authdetailsContext.loggedin && sectionproperties.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53039
|
-
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
53033
|
+
}, lang.wishlist), authdetailsContext.loggedin && sectionproperties.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53034
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 mx-2 ',
|
|
53040
53035
|
onClick: function onClick() {
|
|
53041
53036
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
53042
53037
|
}
|
|
53043
|
-
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear),
|
|
53044
|
-
"class": "".concat(footerStyles.
|
|
53045
|
-
}), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53046
|
-
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
53038
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53039
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 mx-2 ',
|
|
53047
53040
|
onClick: function onClick() {
|
|
53048
53041
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
53049
53042
|
}
|
|
53050
53043
|
}, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53051
|
-
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
53044
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 mx-2 ',
|
|
53052
53045
|
onClick: function onClick() {
|
|
53053
53046
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
53054
53047
|
}
|
|
53055
|
-
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("
|
|
53056
|
-
"class": "".concat(footerStyles.
|
|
53057
|
-
}), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53058
|
-
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
53048
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53049
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 mx-2 ',
|
|
53059
53050
|
onClick: function onClick() {
|
|
53060
53051
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
53061
53052
|
}
|
|
53062
|
-
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("
|
|
53063
|
-
"class": "".concat(footerStyles.
|
|
53064
|
-
}), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53065
|
-
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
53053
|
+
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53054
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 mx-2 ',
|
|
53066
53055
|
onClick: function onClick() {
|
|
53067
53056
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
53068
53057
|
}
|
|
53069
|
-
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("
|
|
53070
|
-
"class": "".concat(footerStyles.
|
|
53071
|
-
}), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53072
|
-
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
53058
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53059
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 mx-2 ',
|
|
53073
53060
|
onClick: function onClick() {
|
|
53074
53061
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
53075
53062
|
}
|
|
@@ -74851,24 +74838,6 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
74851
74838
|
objectFit: 'contain'
|
|
74852
74839
|
}
|
|
74853
74840
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74854
|
-
"class": "col-12 p-0 allcentered",
|
|
74855
|
-
style: {
|
|
74856
|
-
position: 'absolute',
|
|
74857
|
-
// top: 0,
|
|
74858
|
-
bottom: 100,
|
|
74859
|
-
cursor: 'pointer',
|
|
74860
|
-
color: '#fff',
|
|
74861
|
-
fontWeight: 500,
|
|
74862
|
-
fontSize: 20,
|
|
74863
|
-
left: 0,
|
|
74864
|
-
right: 0
|
|
74865
|
-
}
|
|
74866
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
74867
|
-
"class": "m-0 p-0 cursor-pointer moredetailsbtnhover",
|
|
74868
|
-
style: {
|
|
74869
|
-
textDecoration: 'underline'
|
|
74870
|
-
}
|
|
74871
|
-
}, 'More Details')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74872
74841
|
"class": ' row m-0 w-100 work-content h-100 d-flex align-items-center text-start ',
|
|
74873
74842
|
style: {
|
|
74874
74843
|
background: '#f6f2ef'
|
|
@@ -74880,13 +74849,13 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
74880
74849
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
74881
74850
|
"class": ' wordbreak wordbreak2 packagefeature wordbreak-md-4 m-0 text-left m-0 p-0 ',
|
|
74882
74851
|
style: {}
|
|
74883
|
-
}, cardinfoindex == 0 ? 'Comprehensive care for your everyday dental needs, all in one smart plan.' : cardinfoindex == 1 ? 'Enhanced protection with added savings on advanced and cosmetic treatments.' : cardinfoindex == 2 ? 'Ultimate coverage with zero limits,
|
|
74852
|
+
}, cardinfoindex == 0 ? 'Comprehensive care for your everyday dental needs, all in one smart plan.' : cardinfoindex == 1 ? 'Enhanced protection with added savings on advanced and cosmetic treatments.' : cardinfoindex == 2 ? 'Ultimate coverage with zero limits, free implants, trauma care, and big cosmetic savings.' : 'Early, full coverage for kids, with 100% trauma and orthodonic support.')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74884
74853
|
"class": ' col-lg-12 pl-0 pr-0 ',
|
|
74885
74854
|
style: {}
|
|
74886
74855
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
74887
74856
|
"class": ' wordbreak wordbreak2 packagefeature wordbreak-md-4 m-0 text-left m-0 p-0 ',
|
|
74888
74857
|
style: {}
|
|
74889
|
-
}, cardinfoindex == 0 ? ' Stay covered, save more, and enjoy worry-free checkups year-round.' : cardinfoindex == 1 ? 'A complete solution for lasting dental health and a confident smile.' : cardinfoindex == 2 ? '' : 'Perfect for parents who want the best dental start for their children
|
|
74858
|
+
}, cardinfoindex == 0 ? ' Stay covered, save more, and enjoy worry-free checkups year-round.' : cardinfoindex == 1 ? 'A complete solution for lasting dental health and a confident smile.' : cardinfoindex == 2 ? '' : 'Perfect for parents who want the best dental start for their children.')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74890
74859
|
"class": ' col-lg-12 pl-0 pr-0 mt-3',
|
|
74891
74860
|
style: {}
|
|
74892
74861
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -83161,7 +83130,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
83161
83130
|
}, [StatePagePropertiesContext]);
|
|
83162
83131
|
React.useEffect(function () {
|
|
83163
83132
|
setitem(props.cardinfoitemprops);
|
|
83164
|
-
}, [props.cardinfoitemprops]);
|
|
83133
|
+
}, [props.cardinfoitemprops, props]);
|
|
83165
83134
|
var updatequantity = function updatequantity(type) {
|
|
83166
83135
|
var tempitem = _objectSpread$w({}, item);
|
|
83167
83136
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -83230,7 +83199,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
83230
83199
|
}
|
|
83231
83200
|
}
|
|
83232
83201
|
}
|
|
83233
|
-
}, [props.cardinfoitemprops]);
|
|
83202
|
+
}, [props.cardinfoitemprops, props]);
|
|
83234
83203
|
var Image = function Image(type) {
|
|
83235
83204
|
var transition = false;
|
|
83236
83205
|
if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
|