tabexseriescomponents 0.0.851 → 0.0.852

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
@@ -2513,7 +2513,7 @@ var DescriptionContent = function DescriptionContent(props) {
2513
2513
  function ownKeys$2z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
2514
2514
  function _objectSpread$2z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2515
2515
  var Product_itemtype = function Product_itemtype(props) {
2516
- var _authdetailsContext$i, _authdetailsContext$i2, _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, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _sizeguideimage$;
2516
+ var _authdetailsContext$i, _authdetailsContext$i2, _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, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _sizeguideimage$;
2517
2517
  var lang = props.actions.lang;
2518
2518
  var langdetect = props.actions.langdetect;
2519
2519
  var srcfromprops = props.actions.srcfromprops;
@@ -3961,7 +3961,7 @@ var Product_itemtype = function Product_itemtype(props) {
3961
3961
  paddingLeft: langdetect == 'en' ? '.5em' : 0,
3962
3962
  paddingRight: langdetect == 'ar' ? '.5rem' : 0
3963
3963
  }
3964
- }, StoreInfoprops(), /*#__PURE__*/React__default["default"].createElement("div", {
3964
+ }, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
3965
3965
  "class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
3966
3966
  }, /*#__PURE__*/React__default["default"].createElement("button", {
3967
3967
  "class": productinfo_cssstyles.sizeguidebtn,
@@ -4000,7 +4000,7 @@ var Product_itemtype = function Product_itemtype(props) {
4000
4000
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
4001
4001
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4002
4002
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4003
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.productmainimage),
4003
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.productmainimage),
4004
4004
  style: {
4005
4005
  width: '100%',
4006
4006
  height: '100%',
@@ -4033,13 +4033,13 @@ var Product_itemtype = function Product_itemtype(props) {
4033
4033
  color: sectionproperties.prodCatColor
4034
4034
  },
4035
4035
  dangerouslySetInnerHTML: {
4036
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.short_description_ar
4036
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.short_description_ar
4037
4037
  }
4038
4038
  })))), /*#__PURE__*/React__default["default"].createElement("div", {
4039
4039
  "class": "col-lg-12 text-start p-md-0"
4040
4040
  }, /*#__PURE__*/React__default["default"].createElement("div", {
4041
4041
  className: "row m-0 w-100"
4042
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productfeatures) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.map(function (fitem, findex) {
4042
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productfeatures) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.map(function (fitem, findex) {
4043
4043
  return /*#__PURE__*/React__default["default"].createElement("div", {
4044
4044
  "class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
4045
4045
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -4081,7 +4081,7 @@ var Product_itemtype = function Product_itemtype(props) {
4081
4081
  "class": "col-lg-12 p-0 my-4"
4082
4082
  }, /*#__PURE__*/React__default["default"].createElement("div", {
4083
4083
  "class": "row m-0 w-100"
4084
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productimages) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.productimages.map(function (item, index) {
4084
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productimages) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.productimages.map(function (item, index) {
4085
4085
  return /*#__PURE__*/React__default["default"].createElement("div", {
4086
4086
  "class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
4087
4087
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -4108,7 +4108,7 @@ var Product_itemtype = function Product_itemtype(props) {
4108
4108
  textAlign: langdetect == 'en' ? 'left' : 'right'
4109
4109
  },
4110
4110
  dangerouslySetInnerHTML: {
4111
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_ar
4111
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.description_ar
4112
4112
  }
4113
4113
  })))))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
4114
4114
  show: opensizeguidemodal,
@@ -15514,10 +15514,10 @@ var CartSlider = function CartSlider(props) {
15514
15514
  onClick: function onClick() {
15515
15515
  var _item$productinfo2, _item$productinfo3, _item$productinfo4, _item$productinfo5;
15516
15516
  var quantitystepincrearse = 1;
15517
- var quantity = item.quantity;
15517
+ var quantity = parseFloat(item.quantity);
15518
15518
  if ((item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.quantitystepincrearse) != '') {
15519
15519
  var _item$productinfo6;
15520
- quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
15520
+ quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
15521
15521
  }
15522
15522
  quantity = quantity - quantitystepincrearse;
15523
15523
  // ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
@@ -15531,7 +15531,7 @@ var CartSlider = function CartSlider(props) {
15531
15531
  onClick: function onClick() {
15532
15532
  var _item$productinfo7, _item$productinfo8, _item$productinfo9, _item$productinfo10;
15533
15533
  var quantitystepincrearse = 1;
15534
- var quantity = item.quantity;
15534
+ var quantity = parseFloat(item.quantity);
15535
15535
  if ((item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse) != '') {
15536
15536
  var _item$productinfo11;
15537
15537
  quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
@@ -15552,7 +15552,7 @@ var CartSlider = function CartSlider(props) {
15552
15552
  onClick: function onClick() {
15553
15553
  var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
15554
15554
  var quantitystepincrearse = 1;
15555
- var quantity = item.quantity;
15555
+ var quantity = parseFloat(item.quantity);
15556
15556
  if ((item === null || item === void 0 || (_item$productinfo12 = item.productinfo) === null || _item$productinfo12 === void 0 ? void 0 : _item$productinfo12.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo13 = item.productinfo) === null || _item$productinfo13 === void 0 ? void 0 : _item$productinfo13.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo14 = item.productinfo) === null || _item$productinfo14 === void 0 ? void 0 : _item$productinfo14.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo15 = item.productinfo) === null || _item$productinfo15 === void 0 ? void 0 : _item$productinfo15.quantitystepincrearse) != '') {
15557
15557
  var _item$productinfo16;
15558
15558
  quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
@@ -15568,7 +15568,7 @@ var CartSlider = function CartSlider(props) {
15568
15568
  onClick: function onClick() {
15569
15569
  var _item$productinfo17, _item$productinfo18, _item$productinfo19, _item$productinfo20;
15570
15570
  var quantitystepincrearse = 1;
15571
- var quantity = item.quantity;
15571
+ var quantity = parseFloat(item.quantity);
15572
15572
  if ((item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != '') {
15573
15573
  var _item$productinfo21;
15574
15574
  quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse);
@@ -64215,7 +64215,7 @@ styleInject(css_248z$i);
64215
64215
  function ownKeys$Y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
64216
64216
  function _objectSpread$Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
64217
64217
  var Freetextsection = function Freetextsection(props) {
64218
- var _maincontainerarrayof2, _maincontainerarrayof3, _maincontainerarrayof4, _maincontainerarrayof5, _maincontainerarrayof6, _maincontainerarrayof7;
64218
+ var _maincontainerarrayof3, _maincontainerarrayof4, _maincontainerarrayof5, _maincontainerarrayof6, _maincontainerarrayof7, _maincontainerarrayof8;
64219
64219
  var _useState = React.useState(''),
64220
64220
  _useState2 = _slicedToArray__default["default"](_useState, 2),
64221
64221
  sectionproperties = _useState2[0],
@@ -64308,6 +64308,20 @@ var Freetextsection = function Freetextsection(props) {
64308
64308
  top: 0,
64309
64309
  bottom: 0
64310
64310
  }
64311
+ }),
64312
+ sectioncontent: glamor.css({
64313
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
64314
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
64315
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
64316
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
64317
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
64318
+ position: 'relative',
64319
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
64320
+ width: sectionproperties.width + 'vw',
64321
+ '@media (max-width: 800px)': {
64322
+ paddingTop: sectionproperties.paddingverticalresponsive + 'px',
64323
+ paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
64324
+ }
64311
64325
  })
64312
64326
  };
64313
64327
  var SectionTitle = function SectionTitle() {
@@ -64361,21 +64375,12 @@ var Freetextsection = function Freetextsection(props) {
64361
64375
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
64362
64376
  };
64363
64377
  var SectionContent = function SectionContent(type) {
64364
- var _maincontainerarrayof;
64378
+ var _maincontainerarrayof, _maincontainerarrayof2;
64365
64379
  return /*#__PURE__*/React__default["default"].createElement("div", {
64366
- "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
64367
- style: {
64368
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
64369
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
64370
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
64371
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
64372
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
64373
- position: 'relative',
64374
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
64375
- width: sectionproperties.width + 'vw'
64376
- }
64380
+ "class": sectionproperties.width == 100 ? section_styles.sectioncontent + ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : section_styles.sectioncontent + ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
64381
+ style: {}
64377
64382
  }, sectionproperties.hideshowcardtransition != 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
64378
- "class": section_styles.imgcontainer
64383
+ "class": section_styles.imgcontainer + ' d-block d-md-none '
64379
64384
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
64380
64385
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
64381
64386
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
@@ -64392,6 +64397,24 @@ var Freetextsection = function Freetextsection(props) {
64392
64397
  right: 0,
64393
64398
  left: 0
64394
64399
  }
64400
+ })), maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
64401
+ "class": section_styles.imgcontainer + ' d-none d-md-block '
64402
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
64403
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
64404
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
64405
+ path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimageresp,
64406
+ style: {
64407
+ height: '100%',
64408
+ width: '100%',
64409
+ objectFit: 'cover',
64410
+ margin: 0,
64411
+ padding: 0,
64412
+ position: 'absolute',
64413
+ top: 0,
64414
+ bottom: 0,
64415
+ right: 0,
64416
+ left: 0
64417
+ }
64395
64418
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
64396
64419
  "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'pl-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'pr-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pl-md-3' : 'w-100 d-flex justify-content-start',
64397
64420
  style: {
@@ -64448,7 +64471,7 @@ var Freetextsection = function Freetextsection(props) {
64448
64471
  style: {
64449
64472
  marginTop: sectionproperties.marginTop + 'px',
64450
64473
  marginBottom: sectionproperties.marginBottom + 'px',
64451
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage) + ')' : '' : ''
64474
+ background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof3 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof3 === void 0 ? void 0 : _maincontainerarrayof3.back_bgimage) + ')' : '' : ''
64452
64475
  }
64453
64476
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64454
64477
  "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
@@ -64501,14 +64524,14 @@ var Freetextsection = function Freetextsection(props) {
64501
64524
  style: {
64502
64525
  marginTop: sectionproperties.marginTop + 'px',
64503
64526
  marginBottom: sectionproperties.marginBottom + 'px',
64504
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof3 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof3 === void 0 ? void 0 : _maincontainerarrayof3.back_bgimage) + ')' : '' : ''
64527
+ background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof4 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof4 === void 0 ? void 0 : _maincontainerarrayof4.back_bgimage) + ')' : '' : ''
64505
64528
  }
64506
64529
  }, SectionContent('normal')), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React__default["default"].createElement("div", {
64507
64530
  "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center ',
64508
64531
  style: {
64509
64532
  marginTop: sectionproperties.marginTopResp + 'px',
64510
64533
  marginBottom: sectionproperties.marginBottom + 'px',
64511
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof4 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof4 === void 0 ? void 0 : _maincontainerarrayof4.back_bgimage) + ')' : '' : ''
64534
+ background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof5 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof5 === void 0 ? void 0 : _maincontainerarrayof5.back_bgimage) + ')' : '' : ''
64512
64535
  }
64513
64536
  }, SectionContent('responsive'))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
64514
64537
  "class": "row m-0 w-100"
@@ -64517,7 +64540,7 @@ var Freetextsection = function Freetextsection(props) {
64517
64540
  style: {
64518
64541
  marginTop: sectionproperties.marginTop + 'px',
64519
64542
  marginBottom: sectionproperties.marginBottom + 'px',
64520
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof5 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof5 === void 0 ? void 0 : _maincontainerarrayof5.back_bgimage) + ')' : '' : ''
64543
+ background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof6 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof6 === void 0 ? void 0 : _maincontainerarrayof6.back_bgimage) + ')' : '' : ''
64521
64544
  }
64522
64545
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64523
64546
  "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
@@ -64570,14 +64593,14 @@ var Freetextsection = function Freetextsection(props) {
64570
64593
  style: {
64571
64594
  marginTop: sectionproperties.marginTop + 'px',
64572
64595
  marginBottom: sectionproperties.marginBottom + 'px',
64573
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof6 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof6 === void 0 ? void 0 : _maincontainerarrayof6.back_bgimage) + ')' : '' : ''
64596
+ background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof7 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof7 === void 0 ? void 0 : _maincontainerarrayof7.back_bgimage) + ')' : '' : ''
64574
64597
  }
64575
64598
  }, SectionContent('normal')), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React__default["default"].createElement("div", {
64576
64599
  "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center ',
64577
64600
  style: {
64578
64601
  marginTop: sectionproperties.marginTopResp + 'px',
64579
64602
  marginBottom: sectionproperties.marginBottom + 'px',
64580
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof7 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof7 === void 0 ? void 0 : _maincontainerarrayof7.back_bgimage) + ')' : '' : ''
64603
+ background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof8 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof8 === void 0 ? void 0 : _maincontainerarrayof8.back_bgimage) + ')' : '' : ''
64581
64604
  }
64582
64605
  }, SectionContent('responsive'))));
64583
64606
  };
@@ -64793,7 +64816,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
64793
64816
  style: {
64794
64817
  color: sectionproperties.prodCatColor,
64795
64818
  fontWeight: sectionproperties.prodCatFontWeight,
64796
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
64819
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
64797
64820
  }
64798
64821
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
64799
64822
  };
@@ -64859,9 +64882,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
64859
64882
  style: {
64860
64883
  position: 'relative',
64861
64884
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
64862
- fontSize: sectionproperties.prodCatFontSize + 'px',
64863
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
64864
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
64885
+ fontSize: sectionproperties.prodCatFontSize + 'px'
64886
+ // paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
64887
+ // paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
64865
64888
  }
64866
64889
  }, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
64867
64890
  "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
@@ -65239,9 +65262,15 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
65239
65262
  style: {
65240
65263
  position: 'relative',
65241
65264
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
65242
- fontSize: sectionproperties.prodCatFontSize + 'px',
65243
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
65244
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
65265
+ fontSize: sectionproperties.prodCatFontSize + 'px'
65266
+ // paddingLeft:
65267
+ // langdetect == 'en'
65268
+ // ? sectionproperties.slideshowText2Content_marginLeft + 'px'
65269
+ // : sectionproperties.slideshowText2Content_marginRight + 'px',
65270
+ // paddingRight:
65271
+ // langdetect == 'en'
65272
+ // ? sectionproperties.slideshowText2Content_marginRight + 'px'
65273
+ // : sectionproperties.slideshowText2Content_marginLeft + 'px',
65245
65274
  }
65246
65275
  }, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
65247
65276
  "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
@@ -65390,9 +65419,15 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
65390
65419
  style: {
65391
65420
  position: 'relative',
65392
65421
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
65393
- fontSize: sectionproperties.prodCatFontSize + 'px',
65394
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
65395
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
65422
+ fontSize: sectionproperties.prodCatFontSize + 'px'
65423
+ // paddingLeft:
65424
+ // langdetect == 'en'
65425
+ // ? sectionproperties.slideshowText2Content_marginLeft + 'px'
65426
+ // : sectionproperties.slideshowText2Content_marginRight + 'px',
65427
+ // paddingRight:
65428
+ // langdetect == 'en'
65429
+ // ? sectionproperties.slideshowText2Content_marginRight + 'px'
65430
+ // : sectionproperties.slideshowText2Content_marginLeft + 'px',
65396
65431
  }
65397
65432
  }, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
65398
65433
  "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
@@ -65541,9 +65576,15 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
65541
65576
  style: {
65542
65577
  position: 'relative',
65543
65578
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
65544
- fontSize: sectionproperties.prodCatFontSize + 'px',
65545
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
65546
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
65579
+ fontSize: sectionproperties.prodCatFontSize + 'px'
65580
+ // paddingLeft:
65581
+ // langdetect == 'en'
65582
+ // ? sectionproperties.slideshowText2Content_marginLeft + 'px'
65583
+ // : sectionproperties.slideshowText2Content_marginRight + 'px',
65584
+ // paddingRight:
65585
+ // langdetect == 'en'
65586
+ // ? sectionproperties.slideshowText2Content_marginRight + 'px'
65587
+ // : sectionproperties.slideshowText2Content_marginLeft + 'px',
65547
65588
  }
65548
65589
  }, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
65549
65590
  "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
@@ -65785,9 +65826,15 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
65785
65826
  style: {
65786
65827
  position: 'relative',
65787
65828
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
65788
- fontSize: sectionproperties.prodCatFontSize + 'px',
65789
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
65790
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
65829
+ fontSize: sectionproperties.prodCatFontSize + 'px'
65830
+ // paddingLeft:
65831
+ // langdetect == 'en'
65832
+ // ? sectionproperties.slideshowText2Content_marginLeft + 'px'
65833
+ // : sectionproperties.slideshowText2Content_marginRight + 'px',
65834
+ // paddingRight:
65835
+ // langdetect == 'en'
65836
+ // ? sectionproperties.slideshowText2Content_marginRight + 'px'
65837
+ // : sectionproperties.slideshowText2Content_marginLeft + 'px',
65791
65838
  }
65792
65839
  }, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
65793
65840
  "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
@@ -65936,9 +65983,15 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
65936
65983
  style: {
65937
65984
  position: 'relative',
65938
65985
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
65939
- fontSize: sectionproperties.prodCatFontSize + 'px',
65940
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
65941
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
65986
+ fontSize: sectionproperties.prodCatFontSize + 'px'
65987
+ // paddingLeft:
65988
+ // langdetect == 'en'
65989
+ // ? sectionproperties.slideshowText2Content_marginLeft + 'px'
65990
+ // : sectionproperties.slideshowText2Content_marginRight + 'px',
65991
+ // paddingRight:
65992
+ // langdetect == 'en'
65993
+ // ? sectionproperties.slideshowText2Content_marginRight + 'px'
65994
+ // : sectionproperties.slideshowText2Content_marginLeft + 'px',
65942
65995
  }
65943
65996
  }, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
65944
65997
  "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
@@ -66087,9 +66140,15 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
66087
66140
  style: {
66088
66141
  position: 'relative',
66089
66142
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
66090
- fontSize: sectionproperties.prodCatFontSize + 'px',
66091
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
66092
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
66143
+ fontSize: sectionproperties.prodCatFontSize + 'px'
66144
+ // paddingLeft:
66145
+ // langdetect == 'en'
66146
+ // ? sectionproperties.slideshowText2Content_marginLeft + 'px'
66147
+ // : sectionproperties.slideshowText2Content_marginRight + 'px',
66148
+ // paddingRight:
66149
+ // langdetect == 'en'
66150
+ // ? sectionproperties.slideshowText2Content_marginRight + 'px'
66151
+ // : sectionproperties.slideshowText2Content_marginLeft + 'px',
66093
66152
  }
66094
66153
  }, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
66095
66154
  "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
@@ -66238,9 +66297,15 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
66238
66297
  style: {
66239
66298
  position: 'relative',
66240
66299
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
66241
- fontSize: sectionproperties.prodCatFontSize + 'px',
66242
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
66243
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
66300
+ fontSize: sectionproperties.prodCatFontSize + 'px'
66301
+ // paddingLeft:
66302
+ // langdetect == 'en'
66303
+ // ? sectionproperties.slideshowText2Content_marginLeft + 'px'
66304
+ // : sectionproperties.slideshowText2Content_marginRight + 'px',
66305
+ // paddingRight:
66306
+ // langdetect == 'en'
66307
+ // ? sectionproperties.slideshowText2Content_marginRight + 'px'
66308
+ // : sectionproperties.slideshowText2Content_marginLeft + 'px',
66244
66309
  }
66245
66310
  }, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
66246
66311
  "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
@@ -67096,9 +67161,10 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67096
67161
  // : ' col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
67097
67162
  // sectionproperties.numberOfColsverticalresp
67098
67163
  // }
67099
- "class": sectionproperties.numofcols == '2' ? ' h-100 col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
67164
+ "class": sectionproperties.numofcols == '2' ? ' h-100 col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '6' ? ' h-100 col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp,
67100
67165
  style: {
67101
67166
  zIndex: 2,
67167
+ marginBottom: sectionproperties.innersectionmarginbottom + 'px',
67102
67168
  paddingLeft: sectionproperties.marginhorizontal + 'px',
67103
67169
  paddingRight: sectionproperties.marginhorizontal + 'px'
67104
67170
  }
@@ -67332,11 +67398,12 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67332
67398
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
67333
67399
  var _authdetailsContext$i2;
67334
67400
  return /*#__PURE__*/React__default["default"].createElement("div", {
67335
- "class": 'w-sm-85 scrollhorizontalcard d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 ',
67401
+ "class": 'w-sm-85 scrollhorizontalcard d-flex align-items-center justify-content-center justify-content-md-start ',
67336
67402
  style: {
67337
67403
  zIndex: 2,
67338
67404
  paddingLeft: sectionproperties.marginhorizontal + 'px',
67339
67405
  paddingRight: sectionproperties.marginhorizontal + 'px',
67406
+ marginBottom: sectionproperties.innersectionmarginbottom + 'px',
67340
67407
  width: '20%'
67341
67408
  }
67342
67409
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -67504,11 +67571,12 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67504
67571
  // }
67505
67572
  "class":
67506
67573
  // sectionproperties.evencards
67507
- (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '6762e6ec9e9f8' ? sectionproperties.numofcols == '2' ? ' h-100 h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '2' ? ' h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
67574
+ (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '6762e6ec9e9f8' ? sectionproperties.numofcols == '2' ? ' h-100 h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '6' ? ' h-100 h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '2' ? ' h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '6' ? ' h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp,
67508
67575
  style: {
67509
67576
  zIndex: 2,
67510
67577
  paddingLeft: sectionproperties.marginhorizontal + 'px',
67511
- paddingRight: sectionproperties.marginhorizontal + 'px'
67578
+ paddingRight: sectionproperties.marginhorizontal + 'px',
67579
+ marginBottom: sectionproperties.innersectionmarginbottom + 'px'
67512
67580
  }
67513
67581
  }, /*#__PURE__*/React__default["default"].createElement("div", {
67514
67582
  // class={
@@ -67668,11 +67736,12 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67668
67736
  "class": "row m-0 w-100 d-flex justify-content-center"
67669
67737
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
67670
67738
  return /*#__PURE__*/React__default["default"].createElement("div", {
67671
- "class": 'flip-card d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 ',
67739
+ "class": sectionproperties.numofcols == '2' ? ' flip-card h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' flip-card h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '6' ? ' flip-card h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : ' flip-card h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp,
67672
67740
  style: {
67673
67741
  zIndex: 2,
67674
67742
  paddingLeft: sectionproperties.marginhorizontal + 'px',
67675
- paddingRight: sectionproperties.marginhorizontal + 'px'
67743
+ paddingRight: sectionproperties.marginhorizontal + 'px',
67744
+ marginBottom: sectionproperties.innersectionmarginbottom + 'px'
67676
67745
  }
67677
67746
  }, /*#__PURE__*/React__default["default"].createElement("div", {
67678
67747
  "class": "flip-card-inner",
@@ -67682,7 +67751,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67682
67751
  border: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : ''
67683
67752
  }
67684
67753
  }, /*#__PURE__*/React__default["default"].createElement("div", {
67685
- "class": "flip-card-front"
67754
+ "class": "flip-card-front d-flex align-items-center"
67686
67755
  }, /*#__PURE__*/React__default["default"].createElement("div", {
67687
67756
  "class": "row m-0 w-100"
67688
67757
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -83269,6 +83338,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
83269
83338
  _useState10 = _slicedToArray__default["default"](_useState9, 2),
83270
83339
  Variant_Color_ImageObj = _useState10[0],
83271
83340
  setVariant_Color_ImageObj = _useState10[1];
83341
+ var authdetailsContext = props.actions.authdetailsContext;
83272
83342
  var plainString = function plainString(html) {
83273
83343
  var divContainer = document.createElement('div');
83274
83344
  divContainer.innerHTML = html;
@@ -83557,7 +83627,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
83557
83627
  runfunc = true;
83558
83628
  }
83559
83629
  } else {
83560
- NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
83630
+ var _authdetailsContext$i;
83631
+ NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
83561
83632
  }
83562
83633
  if (runfunc == true) {
83563
83634
  AddtoCartContext(addtocardpayloadobj);
@@ -83872,14 +83943,17 @@ var Simpleproductcard = function Simpleproductcard(props) {
83872
83943
  marginBottom: sectionproperties.image_mb + 'px'
83873
83944
  },
83874
83945
  onClick: function onClick(e) {
83875
- e.stopPropagation();
83876
- var productidtobesend = null;
83877
- if (sectionproperties.urlwithproductname == 'Yes') {
83878
- productidtobesend = item.productendpointurl;
83879
- } else {
83880
- productidtobesend = item.productid;
83946
+ var _sectionproperties$se;
83947
+ if (((_sectionproperties$se = sectionproperties.sectionproperties) === null || _sectionproperties$se === void 0 ? void 0 : _sectionproperties$se.onClickRoute) == 'None') ; else {
83948
+ e.stopPropagation();
83949
+ var productidtobesend = null;
83950
+ if (sectionproperties.urlwithproductname == 'Yes') {
83951
+ productidtobesend = item.productendpointurl;
83952
+ } else {
83953
+ productidtobesend = item.productid;
83954
+ }
83955
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
83881
83956
  }
83882
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
83883
83957
  }
83884
83958
  }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
83885
83959
  "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-none d-md-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-none d-md-flex ',
@@ -83887,7 +83961,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
83887
83961
  marginBottom: sectionproperties.image_mb + 'px'
83888
83962
  },
83889
83963
  onClick: function onClick(e) {
83890
- handleClick();
83964
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
83965
+ handleClick();
83966
+ }
83891
83967
  }
83892
83968
  }, Image('normal')), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
83893
83969
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
@@ -83898,13 +83974,15 @@ var Simpleproductcard = function Simpleproductcard(props) {
83898
83974
  style: {}
83899
83975
  }, /*#__PURE__*/React__default["default"].createElement("p", {
83900
83976
  onClick: function onClick() {
83901
- var productidtobesend = null;
83902
- if (sectionproperties.urlwithproductname == 'Yes') {
83903
- productidtobesend = item.productendpointurl;
83904
- } else {
83905
- productidtobesend = item.productid;
83977
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
83978
+ var productidtobesend = null;
83979
+ if (sectionproperties.urlwithproductname == 'Yes') {
83980
+ productidtobesend = item.productendpointurl;
83981
+ } else {
83982
+ productidtobesend = item.productid;
83983
+ }
83984
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
83906
83985
  }
83907
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
83908
83986
  },
83909
83987
  "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
83910
83988
  style: {
@@ -83951,13 +84029,15 @@ var Simpleproductcard = function Simpleproductcard(props) {
83951
84029
  }
83952
84030
  }, /*#__PURE__*/React__default["default"].createElement("p", {
83953
84031
  onClick: function onClick() {
83954
- var productidtobesend = null;
83955
- if (sectionproperties.urlwithproductname == 'Yes') {
83956
- productidtobesend = item.productendpointurl;
83957
- } else {
83958
- productidtobesend = item.productid;
84032
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84033
+ var productidtobesend = null;
84034
+ if (sectionproperties.urlwithproductname == 'Yes') {
84035
+ productidtobesend = item.productendpointurl;
84036
+ } else {
84037
+ productidtobesend = item.productid;
84038
+ }
84039
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
83959
84040
  }
83960
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
83961
84041
  },
83962
84042
  "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
83963
84043
  style: {