tabexseriescomponents 0.0.296 → 0.0.298

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 CHANGED
@@ -43,7 +43,7 @@ var AiOutlineClockCircle = require('@react-icons/all-files/ai/AiOutlineClockCirc
43
43
  var AiOutlinePlus = require('@react-icons/all-files/ai/AiOutlinePlus');
44
44
  var AiOutlineCheck = require('@react-icons/all-files/ai/AiOutlineCheck');
45
45
  var reactHorizontalScrollingMenu = require('react-horizontal-scrolling-menu');
46
- var material = require('@mui/material');
46
+ require('@mui/material');
47
47
  var HiOutlinePhone = require('@react-icons/all-files/hi/HiOutlinePhone');
48
48
  var AiOutlineMail = require('@react-icons/all-files/ai/AiOutlineMail');
49
49
  var FaShippingFast = require('@react-icons/all-files/fa/FaShippingFast');
@@ -605,8 +605,8 @@ var FacebookLoginButton = function FacebookLoginButton(props) {
605
605
  }));
606
606
  };
607
607
 
608
- function ownKeys$2b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
609
- function _objectSpread$2b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2b(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
608
+ function ownKeys$2a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
609
+ function _objectSpread$2a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
610
610
  var Login = function Login(props) {
611
611
  var _css;
612
612
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -679,7 +679,7 @@ var Login = function Login(props) {
679
679
  StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
680
680
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
681
681
  });
682
- setsectionproperties(_objectSpread$2b({}, secpropobj));
682
+ setsectionproperties(_objectSpread$2a({}, secpropobj));
683
683
  }
684
684
  }, [StatePagePropertiesContext]);
685
685
  React.useEffect(function () {
@@ -838,9 +838,9 @@ var Login = function Login(props) {
838
838
  className: "".concat(loginstyles2.form_control),
839
839
  value: payloadobj.email,
840
840
  onChange: function onChange(event) {
841
- var temppayloadobj = _objectSpread$2b({}, payloadobj);
841
+ var temppayloadobj = _objectSpread$2a({}, payloadobj);
842
842
  temppayloadobj.email = event.target.value;
843
- setpayloadobj(_objectSpread$2b({}, temppayloadobj));
843
+ setpayloadobj(_objectSpread$2a({}, temppayloadobj));
844
844
  },
845
845
  style: {
846
846
  background: 'transparent'
@@ -862,9 +862,9 @@ var Login = function Login(props) {
862
862
  textplaceholder: "",
863
863
  value: payloadobj.password,
864
864
  onChange: function onChange(event) {
865
- var temppayloadobj = _objectSpread$2b({}, payloadobj);
865
+ var temppayloadobj = _objectSpread$2a({}, payloadobj);
866
866
  temppayloadobj.password = event.target.value;
867
- setpayloadobj(_objectSpread$2b({}, temppayloadobj));
867
+ setpayloadobj(_objectSpread$2a({}, temppayloadobj));
868
868
  },
869
869
  style: {
870
870
  background: 'transparent'
@@ -996,9 +996,9 @@ var Login = function Login(props) {
996
996
  className: "".concat(loginstyles2.form_control),
997
997
  value: forgotpasswordpayload.email,
998
998
  onChange: function onChange(event) {
999
- var temppayloadobj = _objectSpread$2b({}, forgotpasswordpayload);
999
+ var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
1000
1000
  temppayloadobj.email = event.target.value;
1001
- setforgotpasswordpayload(_objectSpread$2b({}, temppayloadobj));
1001
+ setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
1002
1002
  },
1003
1003
  disabled: forgetpasswordstage == 'verify' ? true : false,
1004
1004
  style: {
@@ -1013,9 +1013,9 @@ var Login = function Login(props) {
1013
1013
  className: "".concat(loginstyles2.form_control),
1014
1014
  value: forgotpasswordpayload.code,
1015
1015
  onChange: function onChange(event) {
1016
- var temppayloadobj = _objectSpread$2b({}, forgotpasswordpayload);
1016
+ var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
1017
1017
  temppayloadobj.code = event.target.value;
1018
- setforgotpasswordpayload(_objectSpread$2b({}, temppayloadobj));
1018
+ setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
1019
1019
  },
1020
1020
  style: {
1021
1021
  background: 'transparent'
@@ -1029,9 +1029,9 @@ var Login = function Login(props) {
1029
1029
  className: "".concat(loginstyles2.form_control),
1030
1030
  value: forgotpasswordpayload.newpassword,
1031
1031
  onChange: function onChange(event) {
1032
- var temppayloadobj = _objectSpread$2b({}, forgotpasswordpayload);
1032
+ var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
1033
1033
  temppayloadobj.newpassword = event.target.value;
1034
- setforgotpasswordpayload(_objectSpread$2b({}, temppayloadobj));
1034
+ setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
1035
1035
  },
1036
1036
  style: {
1037
1037
  background: 'transparent'
@@ -1045,9 +1045,9 @@ var Login = function Login(props) {
1045
1045
  className: "".concat(loginstyles2.form_control),
1046
1046
  value: forgotpasswordpayload.confirmnewpassword,
1047
1047
  onChange: function onChange(event) {
1048
- var temppayloadobj = _objectSpread$2b({}, forgotpasswordpayload);
1048
+ var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
1049
1049
  temppayloadobj.confirmnewpassword = event.target.value;
1050
- setforgotpasswordpayload(_objectSpread$2b({}, temppayloadobj));
1050
+ setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
1051
1051
  },
1052
1052
  style: {
1053
1053
  background: 'transparent'
@@ -1059,7 +1059,7 @@ var Login = function Login(props) {
1059
1059
  onClick: function onClick() {
1060
1060
  if (forgotpasswordpayload.email.length != 0) {
1061
1061
  var runfunc = false;
1062
- var tempforgotpasswordpayload = _objectSpread$2b({}, forgotpasswordpayload);
1062
+ var tempforgotpasswordpayload = _objectSpread$2a({}, forgotpasswordpayload);
1063
1063
  tempforgotpasswordpayload.functype = forgetpasswordstage;
1064
1064
  if (forgetpasswordstage == 'verify') {
1065
1065
  if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
@@ -1126,11 +1126,11 @@ var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rig
1126
1126
  var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-"};
1127
1127
  styleInject(css_248z$J);
1128
1128
 
1129
- function ownKeys$2a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1130
- function _objectSpread$2a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1129
+ function ownKeys$29(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1130
+ function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1131
1131
  var defaultstyles = {
1132
1132
  option: function option(provided, state) {
1133
- return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1133
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1134
1134
  borderBottom: '1px solid #e6e6e6',
1135
1135
  backgroundColor: state.isSelected ? '' : '',
1136
1136
  padding: 5,
@@ -1158,7 +1158,7 @@ var defaultstyles = {
1158
1158
  };
1159
1159
  },
1160
1160
  dropdownIndicator: function dropdownIndicator(provided) {
1161
- return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1161
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1162
1162
  '&:hover': {
1163
1163
  // color: '#eac435',
1164
1164
  }
@@ -1167,7 +1167,7 @@ var defaultstyles = {
1167
1167
  };
1168
1168
  var defaultstylestranslated = {
1169
1169
  option: function option(provided, state) {
1170
- return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1170
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1171
1171
  borderBottom: '1px solid #e6e6e6',
1172
1172
  backgroundColor: state.isSelected ? '' : '',
1173
1173
  padding: 5,
@@ -1198,21 +1198,21 @@ var defaultstylestranslated = {
1198
1198
  };
1199
1199
  },
1200
1200
  dropdownIndicator: function dropdownIndicator(provided) {
1201
- return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1201
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1202
1202
  '&:hover': {
1203
1203
  // color: '#eac435',
1204
1204
  }
1205
1205
  });
1206
1206
  },
1207
1207
  placeholder: function placeholder(provided, state) {
1208
- return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1208
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1209
1209
  textAlign: 'right'
1210
1210
  });
1211
1211
  }
1212
1212
  };
1213
1213
  var defaultstylesnone = {
1214
1214
  option: function option(provided, state) {
1215
- return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1215
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1216
1216
  borderBottom: '1px solid #e6e6e6',
1217
1217
  backgroundColor: state.isSelected ? '' : '',
1218
1218
  padding: 5,
@@ -1240,7 +1240,7 @@ var defaultstylesnone = {
1240
1240
  };
1241
1241
  },
1242
1242
  dropdownIndicator: function dropdownIndicator(provided) {
1243
- return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1243
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1244
1244
  '&:hover': {
1245
1245
  // color: '#eac435',
1246
1246
  }
@@ -1600,8 +1600,8 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1600
1600
  }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
1601
1601
  };
1602
1602
 
1603
- function ownKeys$29(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1604
- function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1603
+ function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1604
+ function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1605
1605
  var ProductExtraFields = function ProductExtraFields(props) {
1606
1606
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _css, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7;
1607
1607
  props.actions.lang;
@@ -1656,9 +1656,9 @@ var ProductExtraFields = function ProductExtraFields(props) {
1656
1656
  });
1657
1657
  }
1658
1658
  setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
1659
- var tempaddtocardpayloadobj = _objectSpread$29({}, addtocardpayloadobj);
1659
+ var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
1660
1660
  tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
1661
- setaddtocardpayloadobj(_objectSpread$29({}, tempaddtocardpayloadobj));
1661
+ setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
1662
1662
  };
1663
1663
  var formstyles = {
1664
1664
  input_label_name: glamor.css({
@@ -1763,8 +1763,8 @@ var ProductExtraFields = function ProductExtraFields(props) {
1763
1763
  }))));
1764
1764
  };
1765
1765
 
1766
- function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1767
- function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1766
+ function ownKeys$27(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1767
+ function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1768
1768
  var Product_itemtype = function Product_itemtype(props) {
1769
1769
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
1770
1770
  var lang = props.actions.lang;
@@ -2126,11 +2126,11 @@ var Product_itemtype = function Product_itemtype(props) {
2126
2126
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2127
2127
  className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2128
2128
  onClick: function onClick() {
2129
- var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
2129
+ var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
2130
2130
  if (tempaddtocardpayloadobj.quantity > 0) {
2131
2131
  tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
2132
2132
  }
2133
- setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
2133
+ setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
2134
2134
  }
2135
2135
  }, /*#__PURE__*/React__default["default"].createElement("i", {
2136
2136
  className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
@@ -2144,9 +2144,9 @@ var Product_itemtype = function Product_itemtype(props) {
2144
2144
  }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
2145
2145
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2146
2146
  onClick: function onClick() {
2147
- var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
2147
+ var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
2148
2148
  tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
2149
- setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
2149
+ setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
2150
2150
  }
2151
2151
  }, /*#__PURE__*/React__default["default"].createElement("i", {
2152
2152
  className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
@@ -2426,8 +2426,8 @@ var Product_itemtype = function Product_itemtype(props) {
2426
2426
  }, StoreInfoprops())))));
2427
2427
  };
2428
2428
 
2429
- function ownKeys$27(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2430
- function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2429
+ function ownKeys$26(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2430
+ function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2431
2431
  var Serviceinfotabs = function Serviceinfotabs(props) {
2432
2432
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
2433
2433
  var langdetect = props.actions.langdetect;
@@ -2468,7 +2468,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2468
2468
  slots = _useState6[0],
2469
2469
  setslots = _useState6[1];
2470
2470
  React.useEffect(function () {
2471
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2471
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2472
2472
  item_type: 'service'
2473
2473
  }));
2474
2474
  }, [tabsarray]);
@@ -2480,16 +2480,16 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2480
2480
  if (diffDays.toString() != 'NaN') {
2481
2481
  if (date2 <= date1) {
2482
2482
  NotificationManager.warning('', 'Please choose another date.');
2483
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2483
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2484
2484
  quantity: 0
2485
2485
  }));
2486
2486
  } else {
2487
2487
  if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
2488
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2488
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2489
2489
  quantity: diffDays
2490
2490
  }));
2491
2491
  } else {
2492
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2492
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2493
2493
  quantity: 0
2494
2494
  }));
2495
2495
  NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
@@ -2625,7 +2625,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2625
2625
  min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.reservationstarts,
2626
2626
  max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.reservationends,
2627
2627
  onChange: function onChange(event) {
2628
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2628
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2629
2629
  from: event.target.value
2630
2630
  }));
2631
2631
  }
@@ -2645,11 +2645,11 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2645
2645
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
2646
2646
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
2647
2647
  onChange: function onChange(event) {
2648
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2648
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2649
2649
  to: event.target.value
2650
2650
  }));
2651
2651
  }
2652
- }))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : (_fetchProductInfoQuer19 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.serviceinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.scheduletype) == 'minutes' && slots.length != 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
2652
+ }))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : (_fetchProductInfoQuer19 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.serviceinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.scheduletype) == 'minutes' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
2653
2653
  "class": "col-lg-12 col-md-12 col-sm-12 mb-2"
2654
2654
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2655
2655
  "class": "row m-0 w-100"
@@ -2665,7 +2665,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2665
2665
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
2666
2666
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
2667
2667
  onChange: function onChange(event) {
2668
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2668
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2669
2669
  date: event.target.value
2670
2670
  }));
2671
2671
  setcurrentmutatestate('/fetchserviceslots');
@@ -2678,7 +2678,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2678
2678
  }
2679
2679
  });
2680
2680
  }
2681
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
2681
+ })))), slots.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2682
2682
  "class": "col-lg-12 col-md-12 col-sm-12"
2683
2683
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2684
2684
  "class": TabsStyles.inputfield_label + ' p-0 d-flex justify-content-start m-0 '
@@ -2716,7 +2716,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2716
2716
  color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
2717
2717
  },
2718
2718
  onClick: function onClick() {
2719
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2719
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2720
2720
  time: item.slot
2721
2721
  }));
2722
2722
  }
@@ -2725,7 +2725,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2725
2725
  }, /*#__PURE__*/React__default["default"].createElement("button", {
2726
2726
  "class": TabsStyles.booknow_btn_resp + ' allcentered ',
2727
2727
  onClick: function onClick() {
2728
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2728
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2729
2729
  time: item.slot
2730
2730
  }));
2731
2731
  }
@@ -2767,7 +2767,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2767
2767
  "class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
2768
2768
  style: {},
2769
2769
  onClick: function onClick() {
2770
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2770
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2771
2771
  time: item.slot
2772
2772
  }));
2773
2773
  }
@@ -3030,7 +3030,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
3030
3030
  };
3031
3031
 
3032
3032
  var Service_itemtype = function Service_itemtype(props) {
3033
- var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18;
3033
+ var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27;
3034
3034
  var lang = props.actions.lang;
3035
3035
  var langdetect = props.actions.langdetect;
3036
3036
  var srcfromprops = props.actions.srcfromprops;
@@ -3112,7 +3112,8 @@ var Service_itemtype = function Service_itemtype(props) {
3112
3112
  minHeight: '70vh'
3113
3113
  }
3114
3114
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3115
- className: langdetect == 'en' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0'
3115
+ className: sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' && sectionproperties.showstoreinfo2 == 'Hide' && sectionproperties.showstoreinfo1 == 'Hide' ? 'col-lg-12 p-0' : langdetect == 'en' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0'
3116
+ // className={langdetect == 'en' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0'}
3116
3117
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3117
3118
  className: 'row m-0 w-100'
3118
3119
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3130,7 +3131,7 @@ var Service_itemtype = function Service_itemtype(props) {
3130
3131
  showPlayButton: false,
3131
3132
  showFullscreenButton: true
3132
3133
  })), sectionproperties.showShareButton == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
3133
- "class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0 mt-2"
3134
+ "class": sectionproperties.thumbnailposition == 'Bottom' ? 'col-lg-12 d-flex justify-content-center flex-column align-items-center p-0 mt-5' : 'col-lg-12 d-flex justify-content-center flex-column align-items-center p-0 mt-2'
3134
3135
  }, /*#__PURE__*/React__default["default"].createElement("p", {
3135
3136
  "class": "m-0 p-0",
3136
3137
  style: {
@@ -3173,7 +3174,7 @@ var Service_itemtype = function Service_itemtype(props) {
3173
3174
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3174
3175
  "class": "row m-0 w-100"
3175
3176
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3176
- className: "col-lg-8 col-md-8 col-sm-12 p-0 mb-1 d-flex d-sm-none justify-content-start align-items-center"
3177
+ className: "col-xl-8 col-lg-7 col-md-8 col-sm-12 p-0 mb-1 d-flex d-md-none justify-content-start align-items-center"
3177
3178
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3178
3179
  "class": "row m-0 w-100"
3179
3180
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3202,9 +3203,9 @@ var Service_itemtype = function Service_itemtype(props) {
3202
3203
  }),
3203
3204
  activeColor: "#ffd700"
3204
3205
  })))), /*#__PURE__*/React__default["default"].createElement("div", {
3205
- className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
3206
- }, sectionproperties.show_availability == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
3207
- "class": "d-flex justify-content-center align-items-center ml-2 mr-2",
3206
+ className: "col-xl-4 col-lg-5 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end justify-content-md-start align-items-center"
3207
+ }, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
3208
+ "class": "d-flex justify-content-center align-items-center ml-2 mr-2 m-md-0",
3208
3209
  style: {
3209
3210
  minWidth: sectionproperties.availability_width + 'px',
3210
3211
  height: sectionproperties.availability_height + 'px',
@@ -3219,7 +3220,7 @@ var Service_itemtype = function Service_itemtype(props) {
3219
3220
  fontSize: sectionproperties.availability_fontsize + 'px'
3220
3221
  }
3221
3222
  }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)), sectionproperties.btnposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
3222
- className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center ml-2 mr-2 ',
3223
+ className: productinfo_cssstyles.wishlist_btn + ' d-flex d-md-none justify-content-center align-items-center ml-2 mr-2 ',
3223
3224
  onClick: function onClick() {
3224
3225
  addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
3225
3226
  },
@@ -3248,15 +3249,49 @@ var Service_itemtype = function Service_itemtype(props) {
3248
3249
  size: sectionproperties.favBtnIconfontsize
3249
3250
  }))))), /*#__PURE__*/React__default["default"].createElement("div", {
3250
3251
  className: "col-lg-8 col-md-8 col-sm-12 p-0 mb-1 d-none d-sm-flex justify-content-start align-items-center"
3251
- }, ' ', /*#__PURE__*/React__default["default"].createElement("div", {
3252
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3252
3253
  "class": "row m-0 w-100"
3253
3254
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3254
3255
  "class": "col-lg-12 p-0 d-flex justify-content-start"
3256
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3257
+ "class": "row m-0 w-100"
3258
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3259
+ className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start 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 justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
3255
3260
  }, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
3261
+ className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
3262
+ }, sectionproperties.btnposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
3263
+ className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center ml-2 mr-2 ',
3264
+ onClick: function onClick() {
3265
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
3266
+ },
3267
+ style: {
3268
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
3269
+ }
3270
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
3271
+ className: "h-100 d-flex align-items-center justify-content-center"
3272
+ }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
3273
+ className: "h-100 d-flex align-items-center justify-content-center"
3274
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar, {
3275
+ size: sectionproperties.favBtnIconfontsize,
3276
+ style: {
3277
+ color: sectionproperties.activefaviconcolor
3278
+ }
3279
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart, {
3280
+ size: sectionproperties.favBtnIconfontsize,
3281
+ style: {
3282
+ color: sectionproperties.activefaviconcolor
3283
+ }
3284
+ })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
3285
+ className: "h-100 d-flex align-items-center justify-content-center"
3286
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
3287
+ size: sectionproperties.favBtnIconfontsize
3288
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
3289
+ size: sectionproperties.favBtnIconfontsize
3290
+ }))))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
3256
3291
  "class": "col-lg-12 p-0 d-flex justify-content-start"
3257
3292
  }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
3258
3293
  count: 5,
3259
- value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productoverallrate,
3294
+ value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : (_fetchProductInfoQuer17 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productoverallrate,
3260
3295
  edit: false,
3261
3296
  size: 18,
3262
3297
  emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
@@ -3276,7 +3311,7 @@ var Service_itemtype = function Service_itemtype(props) {
3276
3311
  }),
3277
3312
  activeColor: "#ffd700"
3278
3313
  })))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
3279
- "class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.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'
3314
+ "class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : (_fetchProductInfoQuer21 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.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'
3280
3315
  }, /*#__PURE__*/React__default["default"].createElement("p", {
3281
3316
  "class": "m-0 p-0 d-flex justify-content-start"
3282
3317
  }, /*#__PURE__*/React__default["default"].createElement("span", {
@@ -3294,7 +3329,7 @@ var Service_itemtype = function Service_itemtype(props) {
3294
3329
  fontSize: sectionproperties.skuFontSize + 'px',
3295
3330
  textAlign: langdetect == 'en' ? 'left' : 'right'
3296
3331
  }
3297
- }, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
3332
+ }, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
3298
3333
  "class": "mb-4 col-lg-12 d-flex flex-row flex-sm-column allcentered",
3299
3334
  style: {
3300
3335
  width: '100%',
@@ -3319,7 +3354,7 @@ var Service_itemtype = function Service_itemtype(props) {
3319
3354
  style: {
3320
3355
  textAlign: langdetect == 'en' ? 'left' : 'right'
3321
3356
  }
3322
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : (_fetchProductInfoQuer17 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.deliverydatetext)), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
3357
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.deliverydatetext)), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
3323
3358
  actions: props.actions
3324
3359
  }), /*#__PURE__*/React__default["default"].createElement("div", {
3325
3360
  "class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
@@ -3385,8 +3420,8 @@ var Service_itemtype = function Service_itemtype(props) {
3385
3420
  }, StoreInfoprops()))));
3386
3421
  };
3387
3422
 
3388
- function ownKeys$26(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3389
- function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3423
+ function ownKeys$25(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3424
+ function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3390
3425
  var AddReview = function AddReview(props) {
3391
3426
  var _css;
3392
3427
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -3440,7 +3475,7 @@ var AddReview = function AddReview(props) {
3440
3475
  StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
3441
3476
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
3442
3477
  });
3443
- setsectionproperties(_objectSpread$26({}, secpropobj));
3478
+ setsectionproperties(_objectSpread$25({}, secpropobj));
3444
3479
  }
3445
3480
  }, [StatePagePropertiesContext]);
3446
3481
  React.useEffect(function () {
@@ -3449,7 +3484,7 @@ var AddReview = function AddReview(props) {
3449
3484
  templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
3450
3485
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
3451
3486
  });
3452
- setsectionproperties(_objectSpread$26({}, secpropobj));
3487
+ setsectionproperties(_objectSpread$25({}, secpropobj));
3453
3488
  }, [pageindexcontext]);
3454
3489
  var reviewstyles = {
3455
3490
  submitreviewbtn: glamor.css({
@@ -3575,9 +3610,9 @@ var AddReview = function AddReview(props) {
3575
3610
  }),
3576
3611
  activeColor: "#ffd700",
3577
3612
  onChange: function onChange(event) {
3578
- var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3613
+ var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3579
3614
  tempreviewpayloadobj.reviewrate = event;
3580
- setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3615
+ setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3581
3616
  }
3582
3617
  })))))), /*#__PURE__*/React__default["default"].createElement("div", {
3583
3618
  "class": "col-lg-12"
@@ -3591,9 +3626,9 @@ var AddReview = function AddReview(props) {
3591
3626
  "class": reviewstyles.form_control,
3592
3627
  value: reviewpayloadobj.reviewname,
3593
3628
  onChange: function onChange(event) {
3594
- var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3629
+ var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3595
3630
  tempreviewpayloadobj.reviewname = event.target.value;
3596
- setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3631
+ setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3597
3632
  }
3598
3633
  })), /*#__PURE__*/React__default["default"].createElement("div", {
3599
3634
  "class": "col-lg-12 mb-4"
@@ -3603,9 +3638,9 @@ var AddReview = function AddReview(props) {
3603
3638
  "class": reviewstyles.form_control,
3604
3639
  value: reviewpayloadobj.reviewtitle,
3605
3640
  onChange: function onChange(event) {
3606
- var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3641
+ var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3607
3642
  tempreviewpayloadobj.reviewtitle = event.target.value;
3608
- setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3643
+ setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3609
3644
  }
3610
3645
  })), /*#__PURE__*/React__default["default"].createElement("div", {
3611
3646
  "class": "col-lg-12 mb-4"
@@ -3616,9 +3651,9 @@ var AddReview = function AddReview(props) {
3616
3651
  "class": reviewstyles.form_control + ' form_control ',
3617
3652
  value: reviewpayloadobj.reviewbody,
3618
3653
  onChange: function onChange(event) {
3619
- var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3654
+ var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3620
3655
  tempreviewpayloadobj.reviewbody = event.target.value;
3621
- setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3656
+ setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3622
3657
  },
3623
3658
  style: {
3624
3659
  resize: 'none',
@@ -3653,253 +3688,10 @@ var AddReview = function AddReview(props) {
3653
3688
  }, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
3654
3689
  };
3655
3690
 
3656
- function ownKeys$25(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3657
- function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3658
- var ProductReviews = function ProductReviews(props) {
3659
- var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
3660
- props.actions.lang;
3661
- var langdetect = props.actions.langdetect;
3662
- var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
3663
- var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
3664
- props.actions.NotificationManager;
3665
- var sectionproperties = props.actions.sectionproperties;
3666
- var actions = props.actions;
3667
- var productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productid;
3668
- var productinfo_cssstyles = props.actions.productinfo_cssstyles;
3669
- var _useState = React.useState(false),
3670
- _useState2 = _slicedToArray__default["default"](_useState, 2),
3671
- canuserreview = _useState2[0],
3672
- setcanuserreview = _useState2[1];
3673
- var _useState3 = React.useState(false),
3674
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
3675
- openreviewmodal = _useState4[0],
3676
- setopenreviewmodal = _useState4[1];
3677
- var _useState5 = React.useState('all'),
3678
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
3679
- filterproductreviews = _useState6[0],
3680
- setfilterproductreviews = _useState6[1];
3681
- var _useState7 = React.useState([]),
3682
- _useState8 = _slicedToArray__default["default"](_useState7, 2),
3683
- productreviews = _useState8[0],
3684
- setproductreviews = _useState8[1];
3685
- React.useEffect(function () {
3686
- if (fetchProductInfoQueryContext.isSuccess) {
3687
- getreviewsassignermutationfunc();
3688
- }
3689
- }, [filterproductreviews]);
3690
- var getreviewsassignermutationfunc = function getreviewsassignermutationfunc() {
3691
- var _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6;
3692
- GeneralAPIMutationContext.mutate({
3693
- endpointurl: '/fetchproductreviews',
3694
- productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.productid,
3695
- filterproductreviews: filterproductreviews,
3696
- mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
3697
- if (data.data.status) {
3698
- setproductreviews(data.data.productreviews);
3699
- setcanuserreview(data.data.canuserAddReview);
3700
- }
3701
- }
3702
- });
3703
- };
3704
- var addreviewcallback = function addreviewcallback() {
3705
- setopenreviewmodal(false);
3706
- getreviewsassignermutationfunc();
3707
- fetchProductInfoQueryContext.refetch();
3708
- };
3709
- return /*#__PURE__*/React__default["default"].createElement("div", {
3710
- className: 'row w-100 ml-0 mr-0',
3711
- style: {
3712
- marginTop: sectionproperties.marginTop + 'px'
3713
- }
3714
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3715
- "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0 plr-1025-0"
3716
- }, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
3717
- "class": "col-lg-12 allcentered",
3718
- style: {
3719
- height: '20vh'
3720
- }
3721
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
3722
- color: "#ccc",
3723
- width: "10px",
3724
- height: "10px",
3725
- duration: "1s"
3726
- })), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
3727
- "class": "row m-0 w-100"
3728
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3729
- "class": "col-lg-3"
3730
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3731
- "class": "row m-0 w-100 allcentered"
3732
- }, canuserreview && /*#__PURE__*/React__default["default"].createElement("div", {
3733
- "class": "col-lg-12 allcentered mb-3 p-0"
3734
- }, /*#__PURE__*/React__default["default"].createElement("button", {
3735
- "class": "".concat(productinfo_cssstyles.reviewbutton) + ' ',
3736
- onClick: function onClick() {
3737
- setopenreviewmodal(true);
3738
- }
3739
- }, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)), /*#__PURE__*/React__default["default"].createElement("div", {
3740
- "class": "col-lg-12 p-0 mb-3"
3741
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3742
- "class": "row m-0 w-100 py-3 px-2",
3743
- style: {
3744
- borderRadius: 10,
3745
- background: '#eee'
3746
- }
3747
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3748
- "class": "col-lg-12 p-0 allcentered"
3749
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3750
- "class": "m-0 font-weight-600 text-uppercase",
3751
- style: {
3752
- fontSize: '17px'
3753
- }
3754
- }, langdetect == 'en' ? 'Overall Ratings' : 'جميع التقييمات')), /*#__PURE__*/React__default["default"].createElement("div", {
3755
- "class": "col-lg-12 pl-3 pr-3"
3756
- }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
3757
- "class": "col-lg-12 p-0 allcentered"
3758
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3759
- "class": "m-0 p-0 font-weight-600",
3760
- style: {
3761
- fontSize: '20px'
3762
- }
3763
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productoverallrate, "/5")), /*#__PURE__*/React__default["default"].createElement("div", {
3764
- "class": "col-lg-12 p-0 allcentered"
3765
- }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
3766
- count: 5,
3767
- value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productoverallrate,
3768
- edit: false,
3769
- size: 18,
3770
- emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3771
- className: "far fa-star",
3772
- style: {
3773
- color: '#bfbfbf'
3774
- }
3775
- }),
3776
- halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3777
- className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
3778
- }),
3779
- filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3780
- className: "fa fa-star",
3781
- style: {
3782
- color: '#FAB400'
3783
- }
3784
- }),
3785
- activeColor: "#ffd700"
3786
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
3787
- "class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
3788
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3789
- "class": "row m-0 w-100 py-3 px-2",
3790
- style: {
3791
- borderRadius: 10,
3792
- background: '#eee'
3793
- }
3794
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3795
- "class": "col-lg-12 p-0 allcentered"
3796
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3797
- "class": "m-0 font-weight-600 text-uppercase",
3798
- style: {
3799
- fontSize: '17px'
3800
- }
3801
- }, langdetect == 'en' ? 'Filter' : 'فلترة')), /*#__PURE__*/React__default["default"].createElement("div", {
3802
- "class": "col-lg-12 pl-3 pr-3"
3803
- }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
3804
- "class": "col-lg-12 d-flex justify-content-center"
3805
- }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
3806
- count: 5,
3807
- value: filterproductreviews
3808
- // edit={false}
3809
- ,
3810
- size: 18,
3811
- emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3812
- className: "far fa-star",
3813
- style: {
3814
- color: '#bfbfbf'
3815
- }
3816
- }),
3817
- halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3818
- className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
3819
- }),
3820
- filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3821
- className: "fa fa-star",
3822
- style: {
3823
- color: '#FAB400'
3824
- }
3825
- }),
3826
- activeColor: "#ffd700",
3827
- onChange: function onChange(event) {
3828
- setfilterproductreviews(event);
3829
- }
3830
- })))))), /*#__PURE__*/React__default["default"].createElement("div", {
3831
- "class": "col-lg-9"
3832
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3833
- "class": "row m-0 w-100"
3834
- }, productreviews === null || productreviews === void 0 ? void 0 : productreviews.map(function (reviewitem, reviewindex) {
3835
- return /*#__PURE__*/React__default["default"].createElement("div", {
3836
- "class": "col-lg-12 flex-column"
3837
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3838
- "class": "row m-0 w-100"
3839
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3840
- "class": "col-lg-12 d-flex justify-content-start p-0 mb-2"
3841
- }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
3842
- count: 5,
3843
- value: reviewitem.review_rating,
3844
- edit: false,
3845
- size: 18,
3846
- emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3847
- className: "far fa-star",
3848
- style: {
3849
- color: '#bfbfbf'
3850
- }
3851
- }),
3852
- halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3853
- className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
3854
- }),
3855
- filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3856
- className: "fa fa-star",
3857
- style: {
3858
- color: '#FAB400'
3859
- }
3860
- }),
3861
- activeColor: "#ffd700"
3862
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3863
- "class": "col-lg-12 p-0 mb-2 d-flex justify-content-start "
3864
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3865
- "class": "m-0 p-0 font-weight-600",
3866
- style: {
3867
- fontSize: '17px'
3868
- }
3869
- }, reviewitem.reviewtitle)), /*#__PURE__*/React__default["default"].createElement("div", {
3870
- "class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
3871
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3872
- "class": "m-0 p-0 font-weight-500"
3873
- }, reviewitem.reviewbody)), /*#__PURE__*/React__default["default"].createElement("div", {
3874
- "class": "col-lg-6 d-flex align-items-center justify-content-start p-0"
3875
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3876
- "class": "m-0 p-0 font-weight-600"
3877
- }, langdetect == 'en' ? 'By' : 'عن طريق', ": ", reviewitem.review_name)), /*#__PURE__*/React__default["default"].createElement("div", {
3878
- "class": "col-lg-6 d-flex align-items-center justify-content-end justify-content-md-start p-0 font-weight-500 text-light"
3879
- }, /*#__PURE__*/React__default["default"].createElement("i", {
3880
- "class": "fa fa-clock text-light ml-2 mr-2"
3881
- }), " ", reviewitem.timestamp)), /*#__PURE__*/React__default["default"].createElement("hr", null));
3882
- }))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
3883
- show: openreviewmodal,
3884
- onHide: function onHide() {
3885
- return setopenreviewmodal(false);
3886
- },
3887
- centered: true,
3888
- size: "md",
3889
- "class": "reviewmodal"
3890
- }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
3891
- actions: _objectSpread$25(_objectSpread$25({}, actions), {}, {
3892
- productid: productid,
3893
- canuserreview: canuserreview,
3894
- addreviewcallback: addreviewcallback
3895
- })
3896
- }))));
3897
- };
3898
-
3899
3691
  function ownKeys$24(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3900
3692
  function _objectSpread$24(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$24(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$24(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3901
3693
  var Productinfo = function Productinfo(props) {
3902
- var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
3694
+ var _css, _ref, _ref2;
3903
3695
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
3904
3696
  var lang = props.actions.lang;
3905
3697
  var langdetect = props.actions.langdetect;
@@ -3921,7 +3713,7 @@ var Productinfo = function Productinfo(props) {
3921
3713
  var setpageindexcontext = props.actions.setpageindexcontext;
3922
3714
  var authdetailsContext = props.actions.authdetailsContext;
3923
3715
  var ikimagecredcontext = props.actions.ikimagecredcontext;
3924
- var actions = props.actions;
3716
+ props.actions;
3925
3717
  var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
3926
3718
  var setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
3927
3719
  var NotificationManager = props.actions.NotificationManager;
@@ -3986,24 +3778,21 @@ var Productinfo = function Productinfo(props) {
3986
3778
  isloaded = _useState24[0],
3987
3779
  setisloaded = _useState24[1];
3988
3780
  var _useState25 = React.useState(false),
3989
- _useState26 = _slicedToArray__default["default"](_useState25, 2),
3990
- showMore = _useState26[0],
3991
- setShowMore = _useState26[1];
3781
+ _useState26 = _slicedToArray__default["default"](_useState25, 2);
3782
+ _useState26[0];
3783
+ _useState26[1];
3992
3784
  var _useState27 = React.useState(0),
3993
3785
  _useState28 = _slicedToArray__default["default"](_useState27, 2),
3994
3786
  currentshowingimageindex = _useState28[0],
3995
3787
  setcurrentshowingimageindex = _useState28[1];
3996
3788
  var _useState29 = React.useState(0),
3997
- _useState30 = _slicedToArray__default["default"](_useState29, 2),
3998
- tabIndex = _useState30[0],
3999
- setTabIndex = _useState30[1];
3789
+ _useState30 = _slicedToArray__default["default"](_useState29, 2);
3790
+ _useState30[0];
3791
+ _useState30[1];
4000
3792
  var _useState31 = React.useState('descriptiontab'),
4001
- _useState32 = _slicedToArray__default["default"](_useState31, 2),
4002
- tabname = _useState32[0],
4003
- settabname = _useState32[1];
4004
- var handleTabChange = function handleTabChange(event, newTabIndex) {
4005
- setTabIndex(newTabIndex);
4006
- };
3793
+ _useState32 = _slicedToArray__default["default"](_useState31, 2);
3794
+ _useState32[0];
3795
+ _useState32[1];
4007
3796
  React.useEffect(function () {
4008
3797
  if (Object.keys(StatePagePropertiesContext).length != 0) {
4009
3798
  var secpropobj = {};
@@ -4961,234 +4750,7 @@ var Productinfo = function Productinfo(props) {
4961
4750
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
4962
4751
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
4963
4752
  }
4964
- }, /*#__PURE__*/React__default["default"].createElement("div", {
4965
- "class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
4966
- style: {
4967
- paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
4968
- paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
4969
- marginBottom: sectionproperties.tabsmb + 'px',
4970
- paddingTop: sectionproperties.tabsPt + 'px',
4971
- paddingBottom: sectionproperties.tabsPb + 'px'
4972
- }
4973
- }, sectionproperties.tabsfullwidth == 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
4974
- value: tabIndex,
4975
- onChange: handleTabChange,
4976
- scrollButtons: "auto",
4977
- TabIndicatorProps: {
4978
- style: {
4979
- background: sectionproperties.activetabbordercolor
4980
- // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
4981
- // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
4982
- }
4983
- },
4984
-
4985
- sx: {
4986
- '& button': {
4987
- color: sectionproperties.tabtextcolor,
4988
- fontWeight: sectionproperties.tabtextfontweight,
4989
- background: sectionproperties.tabcontainerbgcolor,
4990
- textTransform: sectionproperties.tabtexttexttransform,
4991
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
4992
- fontFamily: 'Poppins',
4993
- transition: '.3s',
4994
- fontSize: sectionproperties.tabtextfontsize + 'px'
4995
- },
4996
- '& button:hover': {
4997
- color: sectionproperties.tabscoloronhover,
4998
- fontFamily: 'Poppins',
4999
- transition: '.3s'
5000
- },
5001
- '& button.Mui-selected': {
5002
- color: sectionproperties.tabtextactivecolor,
5003
- background: sectionproperties.activetabbgcolor,
5004
- fontFamily: 'Poppins',
5005
- transition: '.3s'
5006
- }
5007
- },
5008
- variant: 'fullWidth'
5009
- // tabsfullwidth
5010
- }, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
5011
- label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
5012
- onClick: function onClick() {
5013
- settabname('descriptiontab');
5014
- }
5015
- }), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
5016
- label: langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar,
5017
- onClick: function onClick() {
5018
- settabname('shippingpolicytab');
5019
- }
5020
- }), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
5021
- label: langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar,
5022
- onClick: function onClick() {
5023
- settabname('refundpolicytab');
5024
- }
5025
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : (_fetchProductInfoQuer59 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : (_fetchProductInfoQuer60 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
5026
- label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
5027
- onClick: function onClick() {
5028
- settabname('reviewstab');
5029
- }
5030
- }))), sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
5031
- value: tabIndex,
5032
- onChange: handleTabChange,
5033
- scrollButtons: "auto",
5034
- TabIndicatorProps: {
5035
- style: {
5036
- background: sectionproperties.activetabbordercolor
5037
- // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
5038
- // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
5039
- }
5040
- },
5041
-
5042
- sx: {
5043
- '& button': {
5044
- color: sectionproperties.tabtextcolor,
5045
- fontWeight: sectionproperties.tabtextfontweight,
5046
- background: sectionproperties.tabcontainerbgcolor,
5047
- textTransform: sectionproperties.tabtexttexttransform,
5048
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
5049
- fontFamily: 'Poppins',
5050
- transition: '.3s',
5051
- fontSize: sectionproperties.tabtextfontsize + 'px'
5052
- },
5053
- '& button:hover': {
5054
- color: sectionproperties.tabscoloronhover,
5055
- fontFamily: 'Poppins',
5056
- transition: '.3s'
5057
- },
5058
- '& button.Mui-selected': {
5059
- color: sectionproperties.tabtextactivecolor,
5060
- background: sectionproperties.activetabbgcolor,
5061
- fontFamily: 'Poppins',
5062
- transition: '.3s'
5063
- }
5064
- }
5065
- }, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
5066
- label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
5067
- onClick: function onClick() {
5068
- settabname('descriptiontab');
5069
- }
5070
- }), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
5071
- label: langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar,
5072
- onClick: function onClick() {
5073
- settabname('shippingpolicytab');
5074
- }
5075
- }), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
5076
- label: langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar,
5077
- onClick: function onClick() {
5078
- settabname('refundpolicytab');
5079
- }
5080
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : (_fetchProductInfoQuer62 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : (_fetchProductInfoQuer63 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
5081
- label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
5082
- onClick: function onClick() {
5083
- settabname('reviewstab');
5084
- }
5085
- }))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
5086
- "class": "w-100 mt-5 mb-4"
5087
- }, tabname == 'descriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
5088
- "class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
5089
- }, /*#__PURE__*/React__default["default"].createElement("div", {
5090
- "class": "row m-0 w-100"
5091
- }, langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : (_fetchProductInfoQuer65 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : (_fetchProductInfoQuer66 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.description_en) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : (_fetchProductInfoQuer68 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : (_fetchProductInfoQuer69 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.description_en) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
5092
- className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
5093
- }, /*#__PURE__*/React__default["default"].createElement("div", {
5094
- className: "row m-0 w-100 d-flex"
5095
- }, /*#__PURE__*/React__default["default"].createElement("div", {
5096
- "class": "col-lg-12 p-0 d-flex justify-content-start"
5097
- }, /*#__PURE__*/React__default["default"].createElement("p", {
5098
- className: 'text-black text-capitalize m-0 p-0 wordbreak',
5099
- style: {
5100
- textAlign: langdetect == 'en' ? 'left' : 'right'
5101
- },
5102
- dangerouslySetInnerHTML: {
5103
- __html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : (_fetchProductInfoQuer71 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : (_fetchProductInfoQuer72 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : (_fetchProductInfoQuer74 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : (_fetchProductInfoQuer75 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.description_en.slice(0, 1000)
5104
- }
5105
- })), /*#__PURE__*/React__default["default"].createElement("div", {
5106
- "class": "col-lg-12 allcentered"
5107
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : (_fetchProductInfoQuer77 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : (_fetchProductInfoQuer78 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.description_en.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
5108
- "class": "m-0 p-0 cursor-pointer text-grey font-weight-600",
5109
- onClick: function onClick() {
5110
- return setShowMore(!showMore);
5111
- }
5112
- }, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : (_fetchProductInfoQuer80 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : (_fetchProductInfoQuer81 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.description_ar) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : (_fetchProductInfoQuer83 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : (_fetchProductInfoQuer84 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.description_ar) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
5113
- className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
5114
- }, /*#__PURE__*/React__default["default"].createElement("div", {
5115
- className: "row m-0 w-100 d-flex"
5116
- }, /*#__PURE__*/React__default["default"].createElement("div", {
5117
- "class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
5118
- }, /*#__PURE__*/React__default["default"].createElement("p", {
5119
- className: 'text-black text-capitalize m-0 p-0 wordbreak',
5120
- style: {
5121
- textAlign: langdetect == 'en' ? 'left' : 'right'
5122
- },
5123
- dangerouslySetInnerHTML: {
5124
- __html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : (_fetchProductInfoQuer86 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : (_fetchProductInfoQuer87 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.description_ar : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : (_fetchProductInfoQuer89 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : (_fetchProductInfoQuer90 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.description_ar.slice(0, 1000)
5125
- }
5126
- })), /*#__PURE__*/React__default["default"].createElement("div", {
5127
- "class": "col-lg-12 allcentered"
5128
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : (_fetchProductInfoQuer92 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : (_fetchProductInfoQuer93 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
5129
- "class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
5130
- onClick: function onClick() {
5131
- return setShowMore(!showMore);
5132
- }
5133
- }, showMore ? lang.showless : lang.showmore)))), sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : (_fetchProductInfoQuer95 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : (_fetchProductInfoQuer96 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : (_fetchProductInfoQuer97 = _fetchProductInfoQuer96.productimages) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
5134
- "class": "col-lg-12 p-0"
5135
- }, /*#__PURE__*/React__default["default"].createElement("div", {
5136
- "class": "row m-0 w-100 allcentered pl-md-3 pr-md-3",
5137
- style: {
5138
- paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
5139
- paddingRight: sectionproperties.galleryPaddingHorizontal + 'px'
5140
- }
5141
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : (_fetchProductInfoQuer99 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : (_fetchProductInfoQuer100 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : (_fetchProductInfoQuer101 = _fetchProductInfoQuer100.productimages) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.map(function (item, index) {
5142
- if (index <= 6) {
5143
- return /*#__PURE__*/React__default["default"].createElement("div", {
5144
- "class": ' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols,
5145
- style: {
5146
- height: sectionproperties.galleryHeight + 'px'
5147
- }
5148
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
5149
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
5150
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
5151
- path: '/tr:w-' + sectionproperties.galleryWidthDimension + ',h-' + sectionproperties.galleryHeightDimension + '/' + item.path,
5152
- style: {
5153
- width: '100%',
5154
- height: '100%',
5155
- objectFit: 'contain'
5156
- },
5157
- loading: "lazy"
5158
- }));
5159
- }
5160
- }))))), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
5161
- "class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
5162
- }, /*#__PURE__*/React__default["default"].createElement("p", {
5163
- className: ' m-0 p-0 wordbreak ',
5164
- style: {
5165
- lineClamp: 10,
5166
- WebkitLineClamp: 10,
5167
- textAlign: langdetect == 'en' ? 'left' : 'right'
5168
- },
5169
- dangerouslySetInnerHTML: {
5170
- __html: langdetect == 'en' ? (_returnpolicyobj9 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj9 === void 0 ? void 0 : _returnpolicyobj9.policycontent_en : (_returnpolicyobj10 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policycontent_ar
5171
- }
5172
- })), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
5173
- "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
5174
- }, /*#__PURE__*/React__default["default"].createElement("p", {
5175
- className: ' m-0 p-0 wordbreak ',
5176
- style: {
5177
- lineClamp: 10,
5178
- WebkitLineClamp: 10,
5179
- textAlign: langdetect == 'en' ? 'left' : 'right'
5180
- },
5181
- dangerouslySetInnerHTML: {
5182
- __html: langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policycontent_en : (_returnpolicyobj12 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policycontent_ar
5183
- }
5184
- })), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
5185
- "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
5186
- }, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
5187
- actions: _objectSpread$24(_objectSpread$24({}, actions), {}, {
5188
- productinfo_cssstyles: productinfo_cssstyles,
5189
- sectionproperties: sectionproperties
5190
- })
5191
- }))))), /*#__PURE__*/React__default["default"].createElement("div", {
4753
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
5192
4754
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
5193
4755
  style: {
5194
4756
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -35498,6 +35060,22 @@ var ModernFooter = function ModernFooter(props) {
35498
35060
  width: '100%',
35499
35061
  height: '100%',
35500
35062
  objectFit: 'contain'
35063
+ }),
35064
+ apptore: glamor.css({
35065
+ width: '40%',
35066
+ height: '40%',
35067
+ '@media (max-width: 800px)': {
35068
+ width: '35%',
35069
+ height: '35%'
35070
+ }
35071
+ }),
35072
+ playstore: glamor.css({
35073
+ width: '40%',
35074
+ height: '40%',
35075
+ '@media (max-width: 800px)': {
35076
+ width: '35%',
35077
+ height: '35%'
35078
+ }
35501
35079
  })
35502
35080
  };
35503
35081
  return /*#__PURE__*/React__default["default"].createElement("footer", {
@@ -35690,10 +35268,6 @@ var ModernFooter = function ModernFooter(props) {
35690
35268
  onClick: function onClick() {
35691
35269
  var _authdetailsContext$i17;
35692
35270
  window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.mobileapplink_appstore, '_blank');
35693
- },
35694
- style: {
35695
- width: '40%',
35696
- height: '40%'
35697
35271
  }
35698
35272
  }), /*#__PURE__*/React__default["default"].createElement("img", {
35699
35273
  "class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
@@ -35701,34 +35275,22 @@ var ModernFooter = function ModernFooter(props) {
35701
35275
  onClick: function onClick() {
35702
35276
  var _authdetailsContext$i18;
35703
35277
  window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.mobileapplink_appstore, '_blank');
35704
- },
35705
- style: {
35706
- width: '20%',
35707
- height: '20%'
35708
35278
  }
35709
35279
  })), /*#__PURE__*/React__default["default"].createElement("div", {
35710
35280
  "class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
35711
35281
  }, /*#__PURE__*/React__default["default"].createElement("img", {
35712
- "class": "".concat(footerStyles.googleplay) + ' cursor-pointer d-flex d-md-none ',
35282
+ "class": "".concat(footerStyles.playstore) + ' cursor-pointer d-flex d-md-none ',
35713
35283
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
35714
35284
  onClick: function onClick() {
35715
35285
  var _authdetailsContext$i19;
35716
35286
  window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.mobileapplink_playstore, '_blank');
35717
- },
35718
- style: {
35719
- width: '40%',
35720
- height: '40%'
35721
35287
  }
35722
35288
  }), /*#__PURE__*/React__default["default"].createElement("img", {
35723
- "class": "".concat(footerStyles.googleplay) + ' cursor-pointer d-none d-md-flex ',
35289
+ "class": "".concat(footerStyles.playstore) + ' cursor-pointer d-none d-md-flex ',
35724
35290
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
35725
35291
  onClick: function onClick() {
35726
35292
  var _authdetailsContext$i20;
35727
35293
  window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_playstore, '_blank');
35728
- },
35729
- style: {
35730
- width: '20%',
35731
- height: '20%'
35732
35294
  }
35733
35295
  }))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
35734
35296
  "class": "col-lg-3 col-md-12 col-sm-12 mt-md-3 px-lg-5 px-md-2",
@@ -51277,7 +50839,7 @@ var Card23 = function Card23(props) {
51277
50839
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
51278
50840
  }
51279
50841
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51280
- "class": "".concat(cardsstyles2.card) + ' '
50842
+ "class": "".concat(cardsstyles2.card) + ' w-100 '
51281
50843
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51282
50844
  "class": item.IsFavExists == true ? "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-flex d-md-none ' : "".concat(cardsstyles2.iconsContainer) + ' iconsContainer d-flex d-md-none ',
51283
50845
  style: {
@@ -51355,13 +50917,13 @@ var Card23 = function Card23(props) {
51355
50917
  }, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
51356
50918
  size: sectionproperties.generalbtn_fontsize
51357
50919
  })))), sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
51358
- "class": "col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2",
50920
+ "class": "col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 ",
51359
50921
  style: {
51360
50922
  paddingTop: sectionproperties.paddingTop + 'px',
51361
50923
  paddingBottom: sectionproperties.paddingBottom + 'px'
51362
50924
  }
51363
50925
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51364
- "class": sectionproperties.hideshowcardtransition == 'Show' ? "".concat(cardsstyles2.productPricestyles, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : "".concat(cardsstyles2.productPricestyles, " ") + ' d-flex d-md-none ',
50926
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(cardsstyles2.imageContainer, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(cardsstyles2.imageContainer, " ") + ' d-flex d-md-none ',
51365
50927
  style: {
51366
50928
  height: sectionproperties.image_height + 'px'
51367
50929
  }
@@ -51371,7 +50933,7 @@ var Card23 = function Card23(props) {
51371
50933
  height: sectionproperties.height_responsive + 'px'
51372
50934
  }
51373
50935
  }, Image('responsive')), /*#__PURE__*/React__default["default"].createElement("div", {
51374
- "class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
50936
+ "class": 'row m-0 w-100 pl-sm-2 pr-sm-2',
51375
50937
  style: {
51376
50938
  paddingLeft: '10px',
51377
50939
  paddingRight: '10px',
@@ -51443,6 +51005,748 @@ var Card23 = function Card23(props) {
51443
51005
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))));
51444
51006
  };
51445
51007
 
51008
+ // import React, { useEffect, useState } from 'react';
51009
+ // import { css } from 'glamor';
51010
+ // import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
51011
+ // import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
51012
+ // import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
51013
+ // import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
51014
+ // import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
51015
+ // import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
51016
+ // import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
51017
+ // import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
51018
+ // import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
51019
+ // import { BsBag } from '@react-icons/all-files/bs/BsBag';
51020
+ // import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
51021
+ // import { BsEye } from '@react-icons/all-files/bs/BsEye';
51022
+
51023
+ // const Card23 = (props) => {
51024
+ // const [sectionproperties, setsectionproperties] = useState('');
51025
+ // const [item, setitem] = useState(props.cardinfoitemprops);
51026
+ // const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
51027
+ // const lang = props.actions.lang;
51028
+ // const langdetect = props.actions.langdetect;
51029
+ // const addtofavoritescontext = props.actions.addtofavoritescontext;
51030
+ // const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
51031
+ // const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
51032
+ // const cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
51033
+ // const ikimagecredcontext = props.actions.ikimagecredcontext;
51034
+ // const [index, setindex] = useState(props.cardinfoindexprops);
51035
+ // useEffect(() => {
51036
+ // var secpropobj = {};
51037
+ // StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
51038
+ // if (sectionitem.sectionid == props.sectionidprops) {
51039
+ // sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
51040
+ // secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
51041
+ // });
51042
+ // }
51043
+ // });
51044
+ // setsectionproperties({ ...secpropobj });
51045
+ // }, [StatePagePropertiesContext]);
51046
+ // useEffect(() => {
51047
+ // setitem(props.cardinfoitemprops);
51048
+ // }, [props.cardinfoitemprops]);
51049
+ // const cardsstyles2 = {
51050
+ // showmodal: css({
51051
+ // backgroundColor: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
51052
+ // borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
51053
+ // borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
51054
+ // borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
51055
+ // borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
51056
+ // height: sectionproperties.generalbtn_height + 'px',
51057
+ // width: sectionproperties.generalbtn_width + 'px',
51058
+ // fontSize: sectionproperties.generalbtn_fontsize + 'px',
51059
+ // color: sectionproperties.generalbtn_textColor,
51060
+ // cursor: 'pointer',
51061
+ // transition: '0.3s',
51062
+ // ':hover': {
51063
+ // backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
51064
+ // color: sectionproperties.generalbtn_textColoronhover,
51065
+ // },
51066
+ // }),
51067
+ // productNameStyles: css({
51068
+ // color: sectionproperties.prodNameColor,
51069
+ // fontSize: sectionproperties.prodNameFontSize + 'px',
51070
+ // textTransform: sectionproperties.prodNameTextTranform,
51071
+ // fontWeight: sectionproperties.prodNameFontWeight,
51072
+ // transition: '.3s',
51073
+ // cursor: 'pointer',
51074
+ // ':hover': {
51075
+ // color: sectionproperties.prodNameColorOnHover,
51076
+ // },
51077
+ // }),
51078
+ // productDescStyles: css({
51079
+ // color: sectionproperties.prodCatColor,
51080
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
51081
+ // textTransform: sectionproperties.prodCatTextTranform,
51082
+ // fontWeight: sectionproperties.prodCatFontWeight,
51083
+ // transition: '.3s',
51084
+ // }),
51085
+ // productPricestyles: css({
51086
+ // color: sectionproperties.prodPriceColor,
51087
+ // fontSize: sectionproperties.prodpriceFontSize + 'px',
51088
+ // fontWeight: sectionproperties.prodPriceFontWeight,
51089
+ // }),
51090
+ // productSalePricestyles: css({
51091
+ // color: sectionproperties.prodsalePriceColor,
51092
+ // fontSize: sectionproperties.prodsalepriceFontSize + 'px',
51093
+ // fontWeight: sectionproperties.prodsalePriceFontWeight,
51094
+ // }),
51095
+ // wishlist_btn: css({
51096
+ // width: sectionproperties.favBtnWidth + 'px',
51097
+ // height: sectionproperties.favBtnHeight + 'px',
51098
+ // background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : item.IsFavExists == true ? sectionproperties.activebgcolor : sectionproperties.favBtnbgColor,
51099
+ // borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
51100
+ // color: item.IsFavExists == true ? sectionproperties.activefaviconcolor : sectionproperties.favBtniconcolor,
51101
+ // fontSize: sectionproperties.favBtnTextfontsize + 'px',
51102
+ // textTransform: sectionproperties.favBtnTexttransform,
51103
+ // fontWeight: sectionproperties.favBtnTextfontweight,
51104
+ // border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
51105
+ // transition: '.3s',
51106
+ // ':hover': {
51107
+ // background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
51108
+ // color: sectionproperties.favBtnTextcoloronhover,
51109
+ // },
51110
+ // ':hover .icon': {
51111
+ // transition: 'all, 0.2s',
51112
+ // transform: ' rotate(360deg)',
51113
+ // },
51114
+ // }),
51115
+ // cart_btn: css({
51116
+ // width: sectionproperties.cartBtnWidth + 'px',
51117
+ // height: sectionproperties.cartBtnHeight + 'px',
51118
+ // background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
51119
+ // borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
51120
+ // color: sectionproperties.cartBtnTextcolor,
51121
+ // fontSize: sectionproperties.cartBtnTextfontsize + 'px',
51122
+ // fontWeight: sectionproperties.cartBtnTextfontweight,
51123
+ // border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
51124
+ // transition: '.3s',
51125
+ // ':hover': {
51126
+ // background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
51127
+ // color: sectionproperties.cartBtnTextcoloronhover,
51128
+ // borderColor: sectionproperties.cartBtnTextcoloronhover,
51129
+ // },
51130
+ // }),
51131
+ // iconsContainer: css({
51132
+ // display: 'flex',
51133
+ // flexDirection: 'column',
51134
+ // position: 'absolute',
51135
+ // top: 10,
51136
+ // right: -15,
51137
+ // opacity: 0,
51138
+ // transform: `translateX(5px)`,
51139
+ // }),
51140
+ // card: css({
51141
+ // marginBottom: sectionproperties.marginBottom + 'px',
51142
+ // marginTop: sectionproperties.marginTop + 'px',
51143
+ // backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
51144
+ // borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
51145
+ // borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
51146
+ // borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
51147
+ // borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
51148
+ // border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
51149
+ // paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
51150
+ // paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
51151
+ // ':hover .iconsContainer': {
51152
+ // opacity: 1,
51153
+ // transition: 'all, 0.4s',
51154
+ // right: 10,
51155
+ // transform: `translateX(0px)`,
51156
+ // },
51157
+ // }),
51158
+ // iconsContainer2: css({
51159
+ // opacity: 1,
51160
+ // transition: 'all, 0.4s',
51161
+ // right: 10,
51162
+ // transform: `translateX(0px)`,
51163
+ // }),
51164
+ // imageContainer: css({
51165
+ // backgroundColor: sectionproperties.image_bgcolor,
51166
+ // borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
51167
+ // borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
51168
+ // borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
51169
+ // borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
51170
+ // }),
51171
+ // };
51172
+
51173
+ // const plainString = (html) => {
51174
+ // var divContainer = document.createElement('div');
51175
+ // divContainer.innerHTML = html;
51176
+ // return divContainer.textContent || divContainer.innerText || '';
51177
+ // };
51178
+ // const Image = () => {
51179
+ // return (
51180
+ // <div class="w-100">
51181
+ // <Imagekitimagecomp
51182
+ // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
51183
+ // publicKey={ikimagecredcontext?.ikimagepublickey}
51184
+ // path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image}
51185
+ // style={{
51186
+ // width: sectionproperties.imageInnerWidth_Height + '%',
51187
+ // height: sectionproperties.imageInnerWidth_Height + '%',
51188
+ // objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
51189
+ // borderBottomLeftRadius:
51190
+ // sectionproperties.bgcovercontain == 'Cover'
51191
+ // ? langdetect == 'en'
51192
+ // ? sectionproperties.image_borderBottomLeftRadius + 'px'
51193
+ // : sectionproperties.image_borderBottomRightRadius + 'px'
51194
+ // : 0,
51195
+ // borderBottomRightRadius:
51196
+ // sectionproperties.bgcovercontain == 'Cover'
51197
+ // ? langdetect == 'en'
51198
+ // ? sectionproperties.image_borderBottomRightRadius + 'px'
51199
+ // : sectionproperties.image_borderBottomLeftRadius + 'px'
51200
+ // : 0,
51201
+ // borderTopLeftRadius:
51202
+ // sectionproperties.bgcovercontain == 'Cover'
51203
+ // ? langdetect == 'en'
51204
+ // ? sectionproperties.image_bordertopleftradius + 'px'
51205
+ // : sectionproperties.image_bordertoprightradius + 'px'
51206
+ // : 0,
51207
+ // borderTopRightRadius:
51208
+ // sectionproperties.bgcovercontain == 'Cover'
51209
+ // ? langdetect == 'en'
51210
+ // ? sectionproperties.image_bordertoprightradius + 'px'
51211
+ // : sectionproperties.image_bordertopleftradius + 'px'
51212
+ // : 0,
51213
+ // }}
51214
+ // loading="lazy"
51215
+ // onClick={() => {
51216
+ // setShowProductInfoModalContext(true);
51217
+ // setProductIdProdutInfoModalContext(item.productid);
51218
+ // }}
51219
+ // />
51220
+ // {item?.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && (
51221
+ // <div
51222
+ // class="row m-0 align-items-center justify-content-center"
51223
+ // style={{
51224
+ // position: 'absolute',
51225
+ // top: 10,
51226
+ // left: 10,
51227
+ // height: sectionproperties.badge_height + 'px',
51228
+ // width: sectionproperties.badge_width + 'px',
51229
+ // backgroundColor: sectionproperties.badge_bgcolor,
51230
+ // borderRadius: sectionproperties.badge_borderradius + 'px',
51231
+ // paddingLeft: '10px',
51232
+ // paddingRight: '10px',
51233
+ // color: sectionproperties.badge_color,
51234
+ // }}
51235
+ // >
51236
+ // <div style={{ fontSize: sectionproperties.badge_fontsize + 'px' }}>{langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr}</div>
51237
+ // </div>
51238
+ // )}
51239
+ // {sectionproperties.showpill == 'Show' && item.hassale == 1 && (
51240
+ // <div
51241
+ // class="allcentered"
51242
+ // style={{
51243
+ // position: 'absolute',
51244
+ // top: sectionproperties.pillpositionfromtop + 'px',
51245
+ // left: sectionproperties.pillpositionfromright + 'px',
51246
+ // width: sectionproperties.pillwidth + 'px',
51247
+ // height: sectionproperties.pillheight + 'px',
51248
+ // background: sectionproperties.pillbgcolor,
51249
+ // borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
51250
+ // }}
51251
+ // >
51252
+ // <p class="m-0 p-0 text-uppercase" style={{ color: sectionproperties.pillcolor, fontSize: sectionproperties.pillfontSize + 'px', direction: 'ltr' }}>
51253
+ // {'-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'}
51254
+ // </p>
51255
+ // </div>
51256
+ // )}
51257
+ // </div>
51258
+ // );
51259
+ // };
51260
+ // return (
51261
+ // <div
51262
+ // class={
51263
+ // langdetect == 'en'
51264
+ // ? sectionproperties.card_marginLeft != 0
51265
+ // ? 'row m-0 w-100 pl-sm-2'
51266
+ // : sectionproperties.card_marginRight != 0
51267
+ // ? 'row m-0 w-100 pr-sm-2'
51268
+ // : 'row m-0 w-100'
51269
+ // : langdetect == 'en'
51270
+ // ? sectionproperties.card_marginRight != 0
51271
+ // ? 'row m-0 w-100 pr-sm-2'
51272
+ // : sectionproperties.card_marginLeft != 0
51273
+ // ? 'row m-0 w-100 pl-sm-2'
51274
+ // : 'row m-0 w-100'
51275
+ // : 'row m-0 w-100'
51276
+ // }
51277
+ // style={{
51278
+ // paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
51279
+ // paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
51280
+ // }}
51281
+ // >
51282
+ // <div class={`${cardsstyles2.card}` + ' '}>
51283
+ // <div
51284
+ // class={
51285
+ // item.IsFavExists == true
51286
+ // ? `${cardsstyles2.iconsContainer} ${cardsstyles2.iconsContainer2}` + ' iconsContainer d-flex d-md-none '
51287
+ // : `${cardsstyles2.iconsContainer}` + ' iconsContainer d-flex d-md-none '
51288
+ // }
51289
+ // style={{ zIndex: 100 }}
51290
+ // >
51291
+ // {sectionproperties.favBtnShow == 'Show' && (
51292
+ // <button
51293
+ // class={`${cardsstyles2.wishlist_btn}` + ' mb-1 '}
51294
+ // onClick={() => {
51295
+ // addtofavoritescontext(item.productid);
51296
+ // }}
51297
+ // >
51298
+ // {item.IsFavExists && (
51299
+ // <i class="h-100 d-flex align-items-center justify-content-center icon">
51300
+ // {sectionproperties.faviconshape == 'Star Shape' && (
51301
+ // <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
51302
+ // )}
51303
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />}
51304
+ // </i>
51305
+ // )}
51306
+ // {!item.IsFavExists && (
51307
+ // <i class="h-100 d-flex align-items-center justify-content-center">
51308
+ // {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
51309
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
51310
+ // </i>
51311
+ // )}
51312
+ // </button>
51313
+ // )}
51314
+ // {sectionproperties.generalbtn_show == 'Show' && (
51315
+ // <button
51316
+ // class={` ${cardsstyles2.showmodal}`}
51317
+ // onClick={(e) => {
51318
+ // e.stopPropagation();
51319
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
51320
+ // }}
51321
+ // >
51322
+ // <i class="h-100 d-flex align-items-center justify-content-center">
51323
+ // <BsEye size={sectionproperties.generalbtn_fontsize} />
51324
+ // </i>
51325
+ // </button>
51326
+ // )}
51327
+ // </div>
51328
+ // <div class={`${cardsstyles2.iconsContainer} ${cardsstyles2.iconsContainer2}` + ' iconsContainer d-none d-md-flex '} style={{ zIndex: 100 }}>
51329
+ // {sectionproperties.favBtnShow == 'Show' && (
51330
+ // <button
51331
+ // class={` ${cardsstyles2.wishlist_btn}` + ' mb-1 '}
51332
+ // onClick={() => {
51333
+ // addtofavoritescontext(item.productid);
51334
+ // }}
51335
+ // >
51336
+ // {item.IsFavExists && (
51337
+ // <i class="h-100 d-flex align-items-center justify-content-center icon">
51338
+ // {sectionproperties.faviconshape == 'Star Shape' && (
51339
+ // <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
51340
+ // )}
51341
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />}
51342
+ // </i>
51343
+ // )}
51344
+ // {!item.IsFavExists && (
51345
+ // <i class="h-100 d-flex align-items-center justify-content-center">
51346
+ // {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
51347
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
51348
+ // </i>
51349
+ // )}
51350
+ // </button>
51351
+ // )}
51352
+
51353
+ // {sectionproperties.generalbtn_show == 'Show' && (
51354
+ // <button
51355
+ // class={` ${cardsstyles2.showmodal}`}
51356
+ // onClick={(e) => {
51357
+ // e.stopPropagation();
51358
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
51359
+ // }}
51360
+ // >
51361
+ // <i class="h-100 d-flex align-items-center justify-content-center">
51362
+ // <BsEye size={sectionproperties.generalbtn_fontsize} />
51363
+ // </i>
51364
+ // </button>
51365
+ // )}
51366
+ // </div>
51367
+ // {sectionproperties.length != 0 && (
51368
+ // <div
51369
+ // class="col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2"
51370
+ // style={{
51371
+ // paddingTop: sectionproperties.paddingTop + 'px',
51372
+ // paddingBottom: sectionproperties.paddingBottom + 'px',
51373
+ // }}
51374
+ // >
51375
+ // <div
51376
+ // class={cardsstyles2.imageContainer + ' d-flex d-md-none '}
51377
+ // style={{
51378
+ // height: sectionproperties.image_height + 'px',
51379
+ // }}
51380
+ // >
51381
+ // {Image()}
51382
+ // </div>
51383
+ // <div
51384
+ // class={cardsstyles2.imageContainer + ' d-none d-md-flex '}
51385
+ // style={{
51386
+ // height: sectionproperties.height_responsive + 'px',
51387
+ // }}
51388
+ // >
51389
+ // {Image()}
51390
+ // </div>
51391
+ // <div
51392
+ // class={'row m-0 w-100 pl-sm-0 pr-sm-0'}
51393
+ // style={{
51394
+ // paddingLeft: '10px',
51395
+ // paddingRight: '10px',
51396
+ // paddingTop: '10px',
51397
+ // paddingBottom: '10px',
51398
+ // }}
51399
+ // >
51400
+ // <div class="col-lg-12 p-0">
51401
+ // {sectionproperties.prodCatShow == 'Show' && (
51402
+ // <p
51403
+ // class={`${cardsstyles2.productDescStyles}` + ' col-lg-12 wordbreak wordbreak1 p-0 m-0 '}
51404
+ // style={{
51405
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
51406
+ // }}
51407
+ // >
51408
+ // {plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
51409
+ // </p>
51410
+ // )}
51411
+
51412
+ // {sectionproperties.prodNameShow == 'Show' && (
51413
+ // <div class="col-lg-12 p-0 " style={{ minHeight: '6vh' }}>
51414
+ // <p
51415
+ // onClick={() => {
51416
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
51417
+ // }}
51418
+ // class={
51419
+ // sectionproperties.wordbreak == '1'
51420
+ // ? `${cardsstyles2.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
51421
+ // : `${cardsstyles2.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
51422
+ // }
51423
+ // style={{
51424
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
51425
+ // }}
51426
+ // >
51427
+ // {item.name}
51428
+ // </p>
51429
+ // </div>
51430
+ // )}
51431
+ // </div>
51432
+ // <div class="row m-0 w-100 align-items-center mt-1 mb-1">
51433
+ // {sectionproperties.prodPriceShow == 'Show' && (
51434
+ // <p
51435
+ // class={
51436
+ // langdetect == 'en'
51437
+ // ? `${cardsstyles2.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left '
51438
+ // : `${cardsstyles2.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
51439
+ // }
51440
+ // >
51441
+ // {langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
51442
+ // </p>
51443
+ // )}
51444
+ // {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && <span class={`${cardsstyles2.productSalePricestyles}`}>/</span>}
51445
+ // {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && (
51446
+ // <p
51447
+ // class={
51448
+ // langdetect == 'en'
51449
+ // ? `${cardsstyles2.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left '
51450
+ // : `${cardsstyles2.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
51451
+ // }
51452
+ // >
51453
+ // {langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
51454
+ // </p>
51455
+ // )}
51456
+ // </div>
51457
+ // <div class="d-flex align-items-center m-0">
51458
+ // {sectionproperties.cartBtnShow == 'Show' && (
51459
+ // <button
51460
+ // class={`${cardsstyles2.cart_btn}` + ' allcentered '}
51461
+ // onClick={() => {
51462
+ // setShowProductInfoModalContext(true);
51463
+ // setProductIdProdutInfoModalContext(item.productid);
51464
+ // }}
51465
+ // >
51466
+ // <div class="d-flex align-items-center justify-content-center">
51467
+ // {sectionproperties.cartBtn_iconFontSize != 0 && (
51468
+ // <i class="allcentered mr-2" style={{ color: sectionproperties.cart_iconcolor, fontSize: sectionproperties.cartBtn_iconFontSize }}>
51469
+ // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
51470
+ // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
51471
+ // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
51472
+ // {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
51473
+ // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
51474
+ // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
51475
+ // </i>
51476
+ // )}
51477
+ // <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}</p>
51478
+ // </div>
51479
+ // </button>
51480
+ // )}
51481
+ // </div>
51482
+ // </div>
51483
+ // </div>
51484
+ // )}
51485
+ // </div>
51486
+ // {/* <div
51487
+ // class={props.sectiontypeprops2 == 'vertical' ? `${cardsstyles2.card}` + ' d-none d-md-flex w-100 ' : `${cardsstyles2.card}` + ' d-none d-md-flex '}
51488
+ // style={{
51489
+ // minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
51490
+ // maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px',
51491
+ // }}
51492
+ // >
51493
+ // <div
51494
+ // class={
51495
+ // item.IsFavExists == true
51496
+ // ? `${cardsstyles2.iconsContainer} ${cardsstyles2.iconsContainer2}` + ' iconsContainer d-flex d-md-none '
51497
+ // : `${cardsstyles2.iconsContainer}` + ' iconsContainer d-flex d-md-none '
51498
+ // }
51499
+ // style={{ zIndex: 100 }}
51500
+ // >
51501
+ // {sectionproperties.favBtnShow == 'Show' && (
51502
+ // <button
51503
+ // class={`${cardsstyles2.wishlist_btn}` + ' mb-1 '}
51504
+ // onClick={() => {
51505
+ // addtofavoritescontext(item.productid);
51506
+ // }}
51507
+ // >
51508
+ // {item.IsFavExists && (
51509
+ // <i class="h-100 d-flex align-items-center justify-content-center icon">
51510
+ // {sectionproperties.faviconshape == 'Star Shape' && (
51511
+ // <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
51512
+ // )}
51513
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />}
51514
+ // </i>
51515
+ // )}
51516
+ // {!item.IsFavExists && (
51517
+ // <i class="h-100 d-flex align-items-center justify-content-center">
51518
+ // {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
51519
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
51520
+ // </i>
51521
+ // )}
51522
+ // </button>
51523
+ // )}
51524
+ // {sectionproperties.generalbtn_show == 'Show' && (
51525
+ // <button
51526
+ // class={` ${cardsstyles2.showmodal}`}
51527
+ // onClick={(e) => {
51528
+ // e.stopPropagation();
51529
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
51530
+ // }}
51531
+ // >
51532
+ // <i class="h-100 d-flex align-items-center justify-content-center">
51533
+ // <BsEye size={sectionproperties.generalbtn_fontsize} />
51534
+ // </i>
51535
+ // </button>
51536
+ // )}
51537
+ // </div>
51538
+ // <div class={`${cardsstyles2.iconsContainer} ${cardsstyles2.iconsContainer2}` + ' iconsContainer d-none d-md-flex '} style={{ zIndex: 100 }}>
51539
+ // {sectionproperties.favBtnShow == 'Show' && (
51540
+ // <button
51541
+ // class={` ${cardsstyles2.wishlist_btn}` + ' mb-1 '}
51542
+ // onClick={() => {
51543
+ // addtofavoritescontext(item.productid);
51544
+ // }}
51545
+ // >
51546
+ // {item.IsFavExists && (
51547
+ // <i class="h-100 d-flex align-items-center justify-content-center icon">
51548
+ // {sectionproperties.faviconshape == 'Star Shape' && (
51549
+ // <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
51550
+ // )}
51551
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />}
51552
+ // </i>
51553
+ // )}
51554
+ // {!item.IsFavExists && (
51555
+ // <i class="h-100 d-flex align-items-center justify-content-center">
51556
+ // {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
51557
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
51558
+ // </i>
51559
+ // )}
51560
+ // </button>
51561
+ // )}
51562
+
51563
+ // {sectionproperties.generalbtn_show == 'Show' && (
51564
+ // <button
51565
+ // class={` ${cardsstyles2.showmodal}`}
51566
+ // onClick={(e) => {
51567
+ // e.stopPropagation();
51568
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
51569
+ // }}
51570
+ // >
51571
+ // <i class="h-100 d-flex align-items-center justify-content-center">
51572
+ // <BsEye size={sectionproperties.generalbtn_fontsize} />
51573
+ // </i>
51574
+ // </button>
51575
+ // )}
51576
+ // </div>
51577
+ // {sectionproperties.length != 0 && (
51578
+ // <div
51579
+ // class="col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2"
51580
+ // style={{
51581
+ // paddingTop: sectionproperties.paddingTop + 'px',
51582
+ // paddingBottom: sectionproperties.paddingBottom + 'px',
51583
+ // }}
51584
+ // >
51585
+ // <div
51586
+ // class="cursor-pointer"
51587
+ // style={{
51588
+ // backgroundColor: sectionproperties.image_bgcolor,
51589
+ // height: sectionproperties.image_height + 'px',
51590
+ // borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
51591
+ // borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
51592
+ // borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
51593
+ // borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
51594
+ // }}
51595
+ // >
51596
+
51597
+ // <Imagekitimagecomp
51598
+ // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
51599
+ // publicKey={ikimagecredcontext?.ikimagepublickey}
51600
+ // path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image}
51601
+ // style={{
51602
+ // width: '100%',
51603
+ // height: '100%',
51604
+ // objectFit: 'contain',
51605
+ // }}
51606
+ // loading="lazy"
51607
+ // onClick={() => {
51608
+ // setShowProductInfoModalContext(true);
51609
+ // setProductIdProdutInfoModalContext(item.productid);
51610
+ // }}
51611
+ // ></IKImage>
51612
+ // {item?.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && (
51613
+ // <div
51614
+ // class="row m-0 align-items-center justify-content-center"
51615
+ // style={{
51616
+ // position: 'absolute',
51617
+ // top: 10,
51618
+ // left: 10,
51619
+ // height: sectionproperties.badge_height + 'px',
51620
+ // width: sectionproperties.badge_width + 'px',
51621
+ // backgroundColor: sectionproperties.badge_bgcolor,
51622
+ // borderRadius: sectionproperties.badge_borderradius + 'px',
51623
+ // paddingLeft: '10px',
51624
+ // paddingRight: '10px',
51625
+ // color: sectionproperties.badge_color,
51626
+ // }}
51627
+ // >
51628
+ // <div style={{ fontSize: sectionproperties.badge_fontsize + 'px' }}>{langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr}</div>
51629
+ // </div>
51630
+ // )}
51631
+ // {sectionproperties.showpill == 'Show' && item.hassale == 1 && (
51632
+ // <div
51633
+ // class="allcentered"
51634
+ // style={{
51635
+ // position: 'absolute',
51636
+ // top: sectionproperties.pillpositionfromtop + 'px',
51637
+ // left: sectionproperties.pillpositionfromright + 'px',
51638
+ // width: sectionproperties.pillwidth + 'px',
51639
+ // height: sectionproperties.pillheight + 'px',
51640
+ // background: sectionproperties.pillbgcolor,
51641
+ // borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
51642
+ // }}
51643
+ // >
51644
+ // <p class="m-0 p-0 text-uppercase" style={{ color: sectionproperties.pillcolor, fontSize: sectionproperties.pillfontSize + 'px', direction: 'ltr' }}>
51645
+ // {'-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'}
51646
+ // </p>
51647
+ // </div>
51648
+ // )}
51649
+ // </div>
51650
+ // <div
51651
+ // class={'row m-0 w-100 pl-sm-0 pr-sm-0'}
51652
+ // style={{
51653
+ // paddingLeft: '10px',
51654
+ // paddingRight: '10px',
51655
+ // paddingTop: '10px',
51656
+ // paddingBottom: '10px',
51657
+ // }}
51658
+ // >
51659
+ // <div class="col-lg-12 p-0">
51660
+ // {sectionproperties.prodCatShow == 'Show' && (
51661
+ // <p
51662
+ // class={`${cardsstyles2.productDescStyles}` + ' col-lg-12 wordbreak wordbreak1 p-0 m-0 '}
51663
+ // style={{
51664
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
51665
+ // }}
51666
+ // >
51667
+ // {plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
51668
+ // </p>
51669
+ // )}
51670
+
51671
+ // {sectionproperties.prodNameShow == 'Show' && (
51672
+ // <div class="col-lg-12 p-0 " style={{ minHeight: '6vh' }}>
51673
+ // <p
51674
+ // onClick={() => {
51675
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
51676
+ // }}
51677
+ // class={
51678
+ // sectionproperties.wordbreak == '1'
51679
+ // ? `${cardsstyles2.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
51680
+ // : `${cardsstyles2.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
51681
+ // }
51682
+ // style={{
51683
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
51684
+ // }}
51685
+ // >
51686
+ // {item.name}
51687
+ // </p>
51688
+ // </div>
51689
+ // )}
51690
+ // </div>
51691
+ // <div class="row m-0 w-100 align-items-center mt-1 mb-1">
51692
+ // {sectionproperties.prodPriceShow == 'Show' && (
51693
+ // <p
51694
+ // class={
51695
+ // langdetect == 'en'
51696
+ // ? `${cardsstyles2.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left '
51697
+ // : `${cardsstyles2.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
51698
+ // }
51699
+ // >
51700
+ // {langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
51701
+ // </p>
51702
+ // )}
51703
+ // {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && <span class={`${cardsstyles2.productSalePricestyles}`}>/</span>}
51704
+ // {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && (
51705
+ // <p
51706
+ // class={
51707
+ // langdetect == 'en'
51708
+ // ? `${cardsstyles2.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left '
51709
+ // : `${cardsstyles2.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
51710
+ // }
51711
+ // >
51712
+ // {langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
51713
+ // </p>
51714
+ // )}
51715
+ // </div>
51716
+ // <div class="d-flex align-items-center m-0">
51717
+ // {sectionproperties.cartBtnShow == 'Show' && (
51718
+ // <button
51719
+ // class={`${cardsstyles2.cart_btn}` + ' allcentered '}
51720
+ // onClick={() => {
51721
+ // setShowProductInfoModalContext(true);
51722
+ // setProductIdProdutInfoModalContext(item.productid);
51723
+ // }}
51724
+ // >
51725
+ // <div class="d-flex align-items-center justify-content-center">
51726
+ // {sectionproperties.cartBtn_iconFontSize != 0 && (
51727
+ // <i class="allcentered mr-2" style={{ color: sectionproperties.cart_iconcolor, fontSize: sectionproperties.cartBtn_iconFontSize }}>
51728
+ // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
51729
+ // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
51730
+ // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
51731
+ // {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
51732
+ // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
51733
+ // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
51734
+ // </i>
51735
+ // )}
51736
+ // <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}</p>
51737
+ // </div>
51738
+ // </button>
51739
+ // )}
51740
+ // </div>
51741
+ // </div>
51742
+ // </div>
51743
+ // )}
51744
+ // </div> */}
51745
+ // </div>
51746
+ // );
51747
+ // };
51748
+ // export default Card23;
51749
+
51446
51750
  function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
51447
51751
  function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$t(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
51448
51752
  var CardBadgeSlideFromTop = function CardBadgeSlideFromTop(props) {