tabexseriescomponents 0.2.1384 → 0.2.1386

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
@@ -37295,7 +37295,7 @@ styleInject(css_248z$w);
37295
37295
  function ownKeys$22(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; }
37296
37296
  function _objectSpread$22(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$22(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$22(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37297
37297
  var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
37298
- var _authdetailsContext$i3, _authdetailsContext$i0, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i29;
37298
+ var _authdetailsContext$i3, _authdetailsContext$i0, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i29;
37299
37299
  var _useState = React.useState(''),
37300
37300
  _useState2 = _slicedToArray__default["default"](_useState, 2),
37301
37301
  sectionproperties = _useState2[0],
@@ -38218,7 +38218,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
38218
38218
  }
38219
38219
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38220
38220
  className: "".concat(headerstyles$a.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center '
38221
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length : 0), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '69cd4b455af14' && /*#__PURE__*/React__default["default"].createElement("i", {
38221
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart.cartitems_count_withquantity) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart.cartitems_count_withquantity : 0), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '69cd4b455af14' && /*#__PURE__*/React__default["default"].createElement("i", {
38222
38222
  "class": ' allcentered '
38223
38223
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
38224
38224
  size: sectionproperties.cartBtn_iconFontSize
@@ -79653,7 +79653,7 @@ var AnimatedNumbercozy = function AnimatedNumbercozy(_ref2) {
79653
79653
  })));
79654
79654
  };
79655
79655
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
79656
- var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _maincontainerarrayof, _maincontainerarrayof2, _authdetailsContext$i13, _authdetailsContext$i31, _maincontainerarrayof3;
79656
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _maincontainerarrayof, _maincontainerarrayof2, _authdetailsContext$i13, _authdetailsContext$i33, _maincontainerarrayof3;
79657
79657
  var _useInView5 = reactIntersectionObserver.useInView({
79658
79658
  triggerOnce: true
79659
79659
  }),
@@ -80373,7 +80373,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80373
80373
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
80374
80374
  }
80375
80375
  }, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
80376
- var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28;
80376
+ var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
80377
80377
  return /*#__PURE__*/React__default["default"].createElement("div", {
80378
80378
  "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.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,
80379
80379
  style: {
@@ -80383,10 +80383,10 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80383
80383
  marginBottom: sectionproperties.innersectionmarginbottom + 'px'
80384
80384
  }
80385
80385
  }, /*#__PURE__*/React__default["default"].createElement("div", {
80386
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto elst ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67cd78deecff3' ? sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto ' : sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto ',
80386
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '6a3103b3da5fb' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto tgrad ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto elst ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67cd78deecff3' ? sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto ' : sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto ',
80387
80387
  style: {
80388
80388
  cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
80389
- background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? '' : cardinfoitem.cardbgcolorfromarray,
80389
+ background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? '' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) == '6a3103b3da5fb' && sectionproperties.sectionTitleContent == 'grad' ? '' : cardinfoitem.cardbgcolorfromarray,
80390
80390
  paddingTop: sectionproperties.reservation_padding_top + 'px',
80391
80391
  paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
80392
80392
  paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
@@ -80395,7 +80395,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80395
80395
  border: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '',
80396
80396
  borderRight: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
80397
80397
  borderLeft: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
80398
- height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
80398
+ height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
80399
80399
  },
80400
80400
  onClick: function onClick() {
80401
80401
  if (cardinfoitem.btntype == 'Web Product Link' || cardinfoitem.btntype == 'App/Web Page') {
@@ -80407,7 +80407,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80407
80407
  }
80408
80408
  }
80409
80409
  }, sectionproperties.imageposition == 'Top' && sectionproperties.image_width != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
80410
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80410
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80411
80411
  style: {
80412
80412
  marginBottom: sectionproperties.image_mb + 'px',
80413
80413
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -80430,7 +80430,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80430
80430
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80431
80431
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80432
80432
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80433
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.instid) == '6824564a386c2' ? '3px solid white' : ''
80433
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) == '6824564a386c2' ? '3px solid white' : ''
80434
80434
  }
80435
80435
  }))), sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && /*#__PURE__*/React__default["default"].createElement("div", {
80436
80436
  "class": "col-lg-12 allcentered p-0 mb-1"
@@ -80461,7 +80461,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80461
80461
  }
80462
80462
  })),
80463
80463
  activeColor: sectionproperties.generalbtn_textColor
80464
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67b3592219709' && /*#__PURE__*/React__default["default"].createElement("div", {
80464
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67b3592219709' && /*#__PURE__*/React__default["default"].createElement("div", {
80465
80465
  "class": "col-lg-12 d-flex p-0",
80466
80466
  style: {
80467
80467
  marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
@@ -80523,11 +80523,11 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80523
80523
  color: cardinfoitem.text1colorfromarray,
80524
80524
  textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
80525
80525
  }
80526
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React__default["default"].createElement(AnimatedNumbercozy, {
80526
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React__default["default"].createElement(AnimatedNumbercozy, {
80527
80527
  number: parseInt(cardinfoitem["cardobj_title".concat(langdetect)]) || parseInt(cardinfoitem.cardobj_titleen)
80528
- }), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React__default["default"].createElement(AnimatedNumber, {
80528
+ }), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React__default["default"].createElement(AnimatedNumber, {
80529
80529
  number: parseInt(cardinfoitem["cardobj_title".concat(langdetect)]) || parseInt(cardinfoitem.cardobj_titleen)
80530
- }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) != '67b3592219709' && sectionproperties.animatednumbers != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
80530
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) != '67b3592219709' && sectionproperties.animatednumbers != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
80531
80531
  "class": "col-lg-12 d-flex p-0",
80532
80532
  style: {
80533
80533
  marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
@@ -80564,7 +80564,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80564
80564
  }, /*#__PURE__*/React__default["default"].createElement("div", {
80565
80565
  "class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
80566
80566
  style: {
80567
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '6824564a386c2' ? '3px solid white' : ''
80567
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.instid) == '6824564a386c2' ? '3px solid white' : ''
80568
80568
  }
80569
80569
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
80570
80570
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -80600,7 +80600,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80600
80600
  }), sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
80601
80601
  "class": "row m-0 w-100 d-flex justify-content-center"
80602
80602
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
80603
- var _authdetailsContext$i29, _authdetailsContext$i30;
80603
+ var _authdetailsContext$i31, _authdetailsContext$i32;
80604
80604
  // alert(JSON.stringify(cardsarray[7]));
80605
80605
  return /*#__PURE__*/React__default["default"].createElement("div", {
80606
80606
  "class": (cardinfoitem === null || cardinfoitem === void 0 ? void 0 : cardinfoitem.cardobj_descripen) == undefined ? sectionproperties.numofcols == '2' ? ' flip-card flip-cardnonhover 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 flip-cardnonhover 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 flip-cardnonhover 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 flip-cardnonhover 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' ? ' 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,
@@ -80660,7 +80660,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80660
80660
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80661
80661
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80662
80662
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80663
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.instid) == '6824564a386c2' ? '3px solid white' : ''
80663
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.instid) == '6824564a386c2' ? '3px solid white' : ''
80664
80664
  }
80665
80665
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
80666
80666
  "class": "col-lg-12 d-flex p-0",
@@ -80703,7 +80703,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80703
80703
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80704
80704
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80705
80705
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80706
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.instid) == '6824564a386c2' ? '3px solid white' : ''
80706
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.instid) == '6824564a386c2' ? '3px solid white' : ''
80707
80707
  }
80708
80708
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
80709
80709
  "class": "col-lg-12 d-flex p-0",
@@ -80788,7 +80788,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80788
80788
  objectFit: 'contain'
80789
80789
  }
80790
80790
  })));
80791
- })))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68527dfef348b' && sectionproperties.cardbgcont_opacity == -100 && window.location.pathname != '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
80791
+ })))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68527dfef348b' && sectionproperties.cardbgcont_opacity == -100 && window.location.pathname != '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
80792
80792
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
80793
80793
  style: {}
80794
80794
  }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -80830,9 +80830,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80830
80830
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
80831
80831
  }
80832
80832
  }, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
80833
- var _authdetailsContext$i32, _authdetailsContext$i33;
80833
+ var _authdetailsContext$i34, _authdetailsContext$i35;
80834
80834
  return /*#__PURE__*/React__default["default"].createElement("div", {
80835
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.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,
80835
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.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,
80836
80836
  style: {
80837
80837
  zIndex: 2,
80838
80838
  marginBottom: sectionproperties.innersectionmarginbottom + 'px'
@@ -80850,7 +80850,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80850
80850
  }
80851
80851
  }
80852
80852
  }, /*#__PURE__*/React__default["default"].createElement("div", {
80853
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80853
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80854
80854
  style: {
80855
80855
  marginBottom: sectionproperties.image_mb + 'px',
80856
80856
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -87276,6 +87276,13 @@ var NewProductcard = function NewProductcard(props) {
87276
87276
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
87277
87277
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
87278
87278
  var ikimagecredcontext = props.actions.ikimagecredcontext;
87279
+ var NotificationManager = props.actions.NotificationManager;
87280
+ var AddtoCartContext = props.actions.AddtoCartContext;
87281
+ var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
87282
+ var _useState5 = React.useState(''),
87283
+ _useState6 = _slicedToArray__default["default"](_useState5, 2);
87284
+ _useState6[0];
87285
+ _useState6[1];
87279
87286
  React.useEffect(function () {
87280
87287
  var secpropobj = {};
87281
87288
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -87290,6 +87297,59 @@ var NewProductcard = function NewProductcard(props) {
87290
87297
  React.useEffect(function () {
87291
87298
  setitem(props.cardinfoitemprops);
87292
87299
  }, [props.cardinfoitemprops]);
87300
+ var addtocartfunc = function addtocartfunc() {
87301
+ var addtocardpayloadobj = {
87302
+ functype: 'add',
87303
+ productid: item.productid,
87304
+ variantid: '',
87305
+ quantity: item.quantity,
87306
+ vendorid: item.vendorid
87307
+ };
87308
+ var runfunc = false;
87309
+ if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
87310
+ if (item.hasvariants == 1) {
87311
+ // if (addtocardpayloadobj.variantid.length != 0) {
87312
+ if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0) {
87313
+ addtocardpayloadobj.variantid = variantObj.variantid;
87314
+ runfunc = true;
87315
+ } else {
87316
+ var _authdetailsContext, _authdetailsContext2;
87317
+ NotificationManager.warning('', ((_authdetailsContext = authdetailsContext) === null || _authdetailsContext === void 0 || (_authdetailsContext = _authdetailsContext.instinfo) === null || _authdetailsContext === void 0 ? void 0 : _authdetailsContext.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : ((_authdetailsContext2 = authdetailsContext) === null || _authdetailsContext2 === void 0 || (_authdetailsContext2 = _authdetailsContext2.instinfo) === null || _authdetailsContext2 === void 0 ? void 0 : _authdetailsContext2.contactinfo.instid) == '67e448d2ef6e0' ? 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
87318
+ }
87319
+ } else {
87320
+ runfunc = true;
87321
+ }
87322
+ } else {
87323
+ NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
87324
+ }
87325
+ if (runfunc == true) {
87326
+ AddtoCartContext(addtocardpayloadobj);
87327
+ }
87328
+ };
87329
+ var addtocartbuttonrender = function addtocartbuttonrender() {
87330
+ if (AddtoCartMutationContext.isLoading) {
87331
+ var _AddtoCartMutationCon;
87332
+ if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
87333
+ return /*#__PURE__*/React__default["default"].createElement("div", {
87334
+ "class": ' d-flex align-items-center justify-content-center '
87335
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
87336
+ color: sectionproperties.cartBtnTextcolor,
87337
+ width: "20px",
87338
+ height: "20px",
87339
+ duration: "1s"
87340
+ }));
87341
+ } else {
87342
+ return /*#__PURE__*/React__default["default"].createElement("span", {
87343
+ "class": "w-100 allcentered"
87344
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
87345
+ }
87346
+ }
87347
+ if (!AddtoCartMutationContext.isLoading) {
87348
+ return /*#__PURE__*/React__default["default"].createElement("span", {
87349
+ "class": "w-100 allcentered"
87350
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
87351
+ }
87352
+ };
87293
87353
  var card_cssstyles = {
87294
87354
  colorvariantcontainer: glamor.css({
87295
87355
  width: sectionproperties.variantcontainer_minwidth + 'vh',
@@ -87585,9 +87645,14 @@ var NewProductcard = function NewProductcard(props) {
87585
87645
  "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn ',
87586
87646
  onClick: function onClick(e) {
87587
87647
  e.stopPropagation();
87588
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87648
+ if (item.extrafieldsarray.length == 0 && item.hasvariants == 0) {
87649
+ addtocartfunc();
87650
+ } else {
87651
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87652
+ }
87653
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87589
87654
  }
87590
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
87655
+ }, addtocartbuttonrender()))));
87591
87656
  };
87592
87657
  return /*#__PURE__*/React__default["default"].createElement("div", {
87593
87658
  // ${generalCardsStyles.newproductcard}
@@ -87635,30 +87700,34 @@ var NewProductcard = function NewProductcard(props) {
87635
87700
  "class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
87636
87701
  onClick: function onClick(e) {
87637
87702
  e.stopPropagation();
87638
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87703
+ if (item.extrafieldsarray.length == 0 && item.hasvariants == 0) {
87704
+ addtocartfunc();
87705
+ } else {
87706
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87707
+ }
87639
87708
  }
87640
87709
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
87641
87710
  "class": "",
87642
87711
  size: sectionproperties.cartBtn_iconFontSize,
87643
- color: sectionproperties.cartBtnTextcoloronhover
87712
+ color: sectionproperties.cartBtnTextcolor
87644
87713
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
87645
87714
  "class": "",
87646
87715
  size: sectionproperties.cartBtn_iconFontSize,
87647
- color: sectionproperties.cartBtnTextcoloronhover
87716
+ color: sectionproperties.cartBtnTextcolor
87648
87717
  }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
87649
87718
  "class": "",
87650
87719
  size: sectionproperties.cartBtn_iconFontSize,
87651
- color: sectionproperties.cartBtnTextcoloronhover
87720
+ color: sectionproperties.cartBtnTextcolor
87652
87721
  }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
87653
87722
  size: sectionproperties.cartBtn_iconFontSize,
87654
- color: sectionproperties.cartBtnTextcoloronhover
87723
+ color: sectionproperties.cartBtnTextcolor
87655
87724
  }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
87656
87725
  "class": "",
87657
87726
  size: sectionproperties.cartBtn_iconFontSize,
87658
- color: sectionproperties.cartBtnTextcoloronhover
87727
+ color: sectionproperties.cartBtnTextcolor
87659
87728
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
87660
87729
  size: sectionproperties.cartBtn_iconFontSize,
87661
- color: sectionproperties.cartBtnTextcoloronhover
87730
+ color: sectionproperties.cartBtnTextcolor
87662
87731
  }))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
87663
87732
  "class": "col-lg-12 d-flex align-items-center p-0",
87664
87733
  style: {
package/dist/index.esm.js CHANGED
@@ -37244,7 +37244,7 @@ styleInject(css_248z$w);
37244
37244
  function ownKeys$22(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; }
37245
37245
  function _objectSpread$22(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$22(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$22(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37246
37246
  var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
37247
- var _authdetailsContext$i3, _authdetailsContext$i0, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i29;
37247
+ var _authdetailsContext$i3, _authdetailsContext$i0, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i29;
37248
37248
  var _useState = useState(''),
37249
37249
  _useState2 = _slicedToArray(_useState, 2),
37250
37250
  sectionproperties = _useState2[0],
@@ -38167,7 +38167,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
38167
38167
  }
38168
38168
  }, /*#__PURE__*/React.createElement("div", {
38169
38169
  className: "".concat(headerstyles$a.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center '
38170
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length : 0), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '69cd4b455af14' && /*#__PURE__*/React.createElement("i", {
38170
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart.cartitems_count_withquantity) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart.cartitems_count_withquantity : 0), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '69cd4b455af14' && /*#__PURE__*/React.createElement("i", {
38171
38171
  "class": ' allcentered '
38172
38172
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
38173
38173
  size: sectionproperties.cartBtn_iconFontSize
@@ -79602,7 +79602,7 @@ var AnimatedNumbercozy = function AnimatedNumbercozy(_ref2) {
79602
79602
  })));
79603
79603
  };
79604
79604
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
79605
- var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _maincontainerarrayof, _maincontainerarrayof2, _authdetailsContext$i13, _authdetailsContext$i31, _maincontainerarrayof3;
79605
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _maincontainerarrayof, _maincontainerarrayof2, _authdetailsContext$i13, _authdetailsContext$i33, _maincontainerarrayof3;
79606
79606
  var _useInView5 = useInView({
79607
79607
  triggerOnce: true
79608
79608
  }),
@@ -80322,7 +80322,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80322
80322
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
80323
80323
  }
80324
80324
  }, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
80325
- var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28;
80325
+ var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
80326
80326
  return /*#__PURE__*/React.createElement("div", {
80327
80327
  "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.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,
80328
80328
  style: {
@@ -80332,10 +80332,10 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80332
80332
  marginBottom: sectionproperties.innersectionmarginbottom + 'px'
80333
80333
  }
80334
80334
  }, /*#__PURE__*/React.createElement("div", {
80335
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto elst ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67cd78deecff3' ? sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto ' : sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto ',
80335
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '6a3103b3da5fb' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto tgrad ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto elst ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67cd78deecff3' ? sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto ' : sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto ',
80336
80336
  style: {
80337
80337
  cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
80338
- background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? '' : cardinfoitem.cardbgcolorfromarray,
80338
+ background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? '' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) == '6a3103b3da5fb' && sectionproperties.sectionTitleContent == 'grad' ? '' : cardinfoitem.cardbgcolorfromarray,
80339
80339
  paddingTop: sectionproperties.reservation_padding_top + 'px',
80340
80340
  paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
80341
80341
  paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
@@ -80344,7 +80344,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80344
80344
  border: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '',
80345
80345
  borderRight: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
80346
80346
  borderLeft: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
80347
- height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
80347
+ height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
80348
80348
  },
80349
80349
  onClick: function onClick() {
80350
80350
  if (cardinfoitem.btntype == 'Web Product Link' || cardinfoitem.btntype == 'App/Web Page') {
@@ -80356,7 +80356,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80356
80356
  }
80357
80357
  }
80358
80358
  }, sectionproperties.imageposition == 'Top' && sectionproperties.image_width != 0 && /*#__PURE__*/React.createElement("div", {
80359
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80359
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80360
80360
  style: {
80361
80361
  marginBottom: sectionproperties.image_mb + 'px',
80362
80362
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -80379,7 +80379,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80379
80379
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80380
80380
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80381
80381
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80382
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.instid) == '6824564a386c2' ? '3px solid white' : ''
80382
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) == '6824564a386c2' ? '3px solid white' : ''
80383
80383
  }
80384
80384
  }))), sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && /*#__PURE__*/React.createElement("div", {
80385
80385
  "class": "col-lg-12 allcentered p-0 mb-1"
@@ -80410,7 +80410,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80410
80410
  }
80411
80411
  })),
80412
80412
  activeColor: sectionproperties.generalbtn_textColor
80413
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67b3592219709' && /*#__PURE__*/React.createElement("div", {
80413
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67b3592219709' && /*#__PURE__*/React.createElement("div", {
80414
80414
  "class": "col-lg-12 d-flex p-0",
80415
80415
  style: {
80416
80416
  marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
@@ -80472,11 +80472,11 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80472
80472
  color: cardinfoitem.text1colorfromarray,
80473
80473
  textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
80474
80474
  }
80475
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React.createElement(AnimatedNumbercozy, {
80475
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React.createElement(AnimatedNumbercozy, {
80476
80476
  number: parseInt(cardinfoitem["cardobj_title".concat(langdetect)]) || parseInt(cardinfoitem.cardobj_titleen)
80477
- }), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React.createElement(AnimatedNumber, {
80477
+ }), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React.createElement(AnimatedNumber, {
80478
80478
  number: parseInt(cardinfoitem["cardobj_title".concat(langdetect)]) || parseInt(cardinfoitem.cardobj_titleen)
80479
- }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) != '67b3592219709' && sectionproperties.animatednumbers != 'Yes' && /*#__PURE__*/React.createElement("div", {
80479
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) != '67b3592219709' && sectionproperties.animatednumbers != 'Yes' && /*#__PURE__*/React.createElement("div", {
80480
80480
  "class": "col-lg-12 d-flex p-0",
80481
80481
  style: {
80482
80482
  marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
@@ -80513,7 +80513,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80513
80513
  }, /*#__PURE__*/React.createElement("div", {
80514
80514
  "class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
80515
80515
  style: {
80516
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '6824564a386c2' ? '3px solid white' : ''
80516
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.instid) == '6824564a386c2' ? '3px solid white' : ''
80517
80517
  }
80518
80518
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
80519
80519
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -80549,7 +80549,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80549
80549
  }), sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && /*#__PURE__*/React.createElement("div", {
80550
80550
  "class": "row m-0 w-100 d-flex justify-content-center"
80551
80551
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
80552
- var _authdetailsContext$i29, _authdetailsContext$i30;
80552
+ var _authdetailsContext$i31, _authdetailsContext$i32;
80553
80553
  // alert(JSON.stringify(cardsarray[7]));
80554
80554
  return /*#__PURE__*/React.createElement("div", {
80555
80555
  "class": (cardinfoitem === null || cardinfoitem === void 0 ? void 0 : cardinfoitem.cardobj_descripen) == undefined ? sectionproperties.numofcols == '2' ? ' flip-card flip-cardnonhover 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 flip-cardnonhover 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 flip-cardnonhover 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 flip-cardnonhover 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' ? ' 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,
@@ -80609,7 +80609,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80609
80609
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80610
80610
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80611
80611
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80612
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.instid) == '6824564a386c2' ? '3px solid white' : ''
80612
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.instid) == '6824564a386c2' ? '3px solid white' : ''
80613
80613
  }
80614
80614
  }))), /*#__PURE__*/React.createElement("div", {
80615
80615
  "class": "col-lg-12 d-flex p-0",
@@ -80652,7 +80652,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80652
80652
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80653
80653
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80654
80654
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80655
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.instid) == '6824564a386c2' ? '3px solid white' : ''
80655
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.instid) == '6824564a386c2' ? '3px solid white' : ''
80656
80656
  }
80657
80657
  }))), /*#__PURE__*/React.createElement("div", {
80658
80658
  "class": "col-lg-12 d-flex p-0",
@@ -80737,7 +80737,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80737
80737
  objectFit: 'contain'
80738
80738
  }
80739
80739
  })));
80740
- })))), /*#__PURE__*/React.createElement(Modal.Footer, null)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68527dfef348b' && sectionproperties.cardbgcont_opacity == -100 && window.location.pathname != '/home' && /*#__PURE__*/React.createElement("div", {
80740
+ })))), /*#__PURE__*/React.createElement(Modal.Footer, null)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68527dfef348b' && sectionproperties.cardbgcont_opacity == -100 && window.location.pathname != '/home' && /*#__PURE__*/React.createElement("div", {
80741
80741
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
80742
80742
  style: {}
80743
80743
  }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
@@ -80779,9 +80779,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80779
80779
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
80780
80780
  }
80781
80781
  }, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
80782
- var _authdetailsContext$i32, _authdetailsContext$i33;
80782
+ var _authdetailsContext$i34, _authdetailsContext$i35;
80783
80783
  return /*#__PURE__*/React.createElement("div", {
80784
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.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,
80784
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.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,
80785
80785
  style: {
80786
80786
  zIndex: 2,
80787
80787
  marginBottom: sectionproperties.innersectionmarginbottom + 'px'
@@ -80799,7 +80799,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
80799
80799
  }
80800
80800
  }
80801
80801
  }, /*#__PURE__*/React.createElement("div", {
80802
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80802
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80803
80803
  style: {
80804
80804
  marginBottom: sectionproperties.image_mb + 'px',
80805
80805
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -87225,6 +87225,13 @@ var NewProductcard = function NewProductcard(props) {
87225
87225
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
87226
87226
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
87227
87227
  var ikimagecredcontext = props.actions.ikimagecredcontext;
87228
+ var NotificationManager = props.actions.NotificationManager;
87229
+ var AddtoCartContext = props.actions.AddtoCartContext;
87230
+ var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
87231
+ var _useState5 = useState(''),
87232
+ _useState6 = _slicedToArray(_useState5, 2);
87233
+ _useState6[0];
87234
+ _useState6[1];
87228
87235
  useEffect(function () {
87229
87236
  var secpropobj = {};
87230
87237
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -87239,6 +87246,59 @@ var NewProductcard = function NewProductcard(props) {
87239
87246
  useEffect(function () {
87240
87247
  setitem(props.cardinfoitemprops);
87241
87248
  }, [props.cardinfoitemprops]);
87249
+ var addtocartfunc = function addtocartfunc() {
87250
+ var addtocardpayloadobj = {
87251
+ functype: 'add',
87252
+ productid: item.productid,
87253
+ variantid: '',
87254
+ quantity: item.quantity,
87255
+ vendorid: item.vendorid
87256
+ };
87257
+ var runfunc = false;
87258
+ if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
87259
+ if (item.hasvariants == 1) {
87260
+ // if (addtocardpayloadobj.variantid.length != 0) {
87261
+ if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0) {
87262
+ addtocardpayloadobj.variantid = variantObj.variantid;
87263
+ runfunc = true;
87264
+ } else {
87265
+ var _authdetailsContext, _authdetailsContext2;
87266
+ NotificationManager.warning('', ((_authdetailsContext = authdetailsContext) === null || _authdetailsContext === void 0 || (_authdetailsContext = _authdetailsContext.instinfo) === null || _authdetailsContext === void 0 ? void 0 : _authdetailsContext.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : ((_authdetailsContext2 = authdetailsContext) === null || _authdetailsContext2 === void 0 || (_authdetailsContext2 = _authdetailsContext2.instinfo) === null || _authdetailsContext2 === void 0 ? void 0 : _authdetailsContext2.contactinfo.instid) == '67e448d2ef6e0' ? 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
87267
+ }
87268
+ } else {
87269
+ runfunc = true;
87270
+ }
87271
+ } else {
87272
+ NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
87273
+ }
87274
+ if (runfunc == true) {
87275
+ AddtoCartContext(addtocardpayloadobj);
87276
+ }
87277
+ };
87278
+ var addtocartbuttonrender = function addtocartbuttonrender() {
87279
+ if (AddtoCartMutationContext.isLoading) {
87280
+ var _AddtoCartMutationCon;
87281
+ if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
87282
+ return /*#__PURE__*/React.createElement("div", {
87283
+ "class": ' d-flex align-items-center justify-content-center '
87284
+ }, /*#__PURE__*/React.createElement(CircularProgress, {
87285
+ color: sectionproperties.cartBtnTextcolor,
87286
+ width: "20px",
87287
+ height: "20px",
87288
+ duration: "1s"
87289
+ }));
87290
+ } else {
87291
+ return /*#__PURE__*/React.createElement("span", {
87292
+ "class": "w-100 allcentered"
87293
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
87294
+ }
87295
+ }
87296
+ if (!AddtoCartMutationContext.isLoading) {
87297
+ return /*#__PURE__*/React.createElement("span", {
87298
+ "class": "w-100 allcentered"
87299
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
87300
+ }
87301
+ };
87242
87302
  var card_cssstyles = {
87243
87303
  colorvariantcontainer: css({
87244
87304
  width: sectionproperties.variantcontainer_minwidth + 'vh',
@@ -87534,9 +87594,14 @@ var NewProductcard = function NewProductcard(props) {
87534
87594
  "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn ',
87535
87595
  onClick: function onClick(e) {
87536
87596
  e.stopPropagation();
87537
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87597
+ if (item.extrafieldsarray.length == 0 && item.hasvariants == 0) {
87598
+ addtocartfunc();
87599
+ } else {
87600
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87601
+ }
87602
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87538
87603
  }
87539
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
87604
+ }, addtocartbuttonrender()))));
87540
87605
  };
87541
87606
  return /*#__PURE__*/React.createElement("div", {
87542
87607
  // ${generalCardsStyles.newproductcard}
@@ -87584,30 +87649,34 @@ var NewProductcard = function NewProductcard(props) {
87584
87649
  "class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
87585
87650
  onClick: function onClick(e) {
87586
87651
  e.stopPropagation();
87587
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87652
+ if (item.extrafieldsarray.length == 0 && item.hasvariants == 0) {
87653
+ addtocartfunc();
87654
+ } else {
87655
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87656
+ }
87588
87657
  }
87589
87658
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
87590
87659
  "class": "",
87591
87660
  size: sectionproperties.cartBtn_iconFontSize,
87592
- color: sectionproperties.cartBtnTextcoloronhover
87661
+ color: sectionproperties.cartBtnTextcolor
87593
87662
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
87594
87663
  "class": "",
87595
87664
  size: sectionproperties.cartBtn_iconFontSize,
87596
- color: sectionproperties.cartBtnTextcoloronhover
87665
+ color: sectionproperties.cartBtnTextcolor
87597
87666
  }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
87598
87667
  "class": "",
87599
87668
  size: sectionproperties.cartBtn_iconFontSize,
87600
- color: sectionproperties.cartBtnTextcoloronhover
87669
+ color: sectionproperties.cartBtnTextcolor
87601
87670
  }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
87602
87671
  size: sectionproperties.cartBtn_iconFontSize,
87603
- color: sectionproperties.cartBtnTextcoloronhover
87672
+ color: sectionproperties.cartBtnTextcolor
87604
87673
  }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
87605
87674
  "class": "",
87606
87675
  size: sectionproperties.cartBtn_iconFontSize,
87607
- color: sectionproperties.cartBtnTextcoloronhover
87676
+ color: sectionproperties.cartBtnTextcolor
87608
87677
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
87609
87678
  size: sectionproperties.cartBtn_iconFontSize,
87610
- color: sectionproperties.cartBtnTextcoloronhover
87679
+ color: sectionproperties.cartBtnTextcolor
87611
87680
  }))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
87612
87681
  "class": "col-lg-12 d-flex align-items-center p-0",
87613
87682
  style: {
package/dist/index.umd.js CHANGED
@@ -37097,7 +37097,7 @@
37097
37097
  function ownKeys$22(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; }
37098
37098
  function _objectSpread$22(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$22(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$22(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37099
37099
  var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
37100
- var _authdetailsContext$i3, _authdetailsContext$i0, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i29;
37100
+ var _authdetailsContext$i3, _authdetailsContext$i0, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i29;
37101
37101
  var _useState = React.useState(''),
37102
37102
  _useState2 = _slicedToArray__default["default"](_useState, 2),
37103
37103
  sectionproperties = _useState2[0],
@@ -38020,7 +38020,7 @@
38020
38020
  }
38021
38021
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38022
38022
  className: "".concat(headerstyles$a.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center '
38023
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length : 0), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '69cd4b455af14' && /*#__PURE__*/React__default["default"].createElement("i", {
38023
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart.cartitems_count_withquantity) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart.cartitems_count_withquantity : 0), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '69cd4b455af14' && /*#__PURE__*/React__default["default"].createElement("i", {
38024
38024
  "class": ' allcentered '
38025
38025
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
38026
38026
  size: sectionproperties.cartBtn_iconFontSize
@@ -79455,7 +79455,7 @@
79455
79455
  })));
79456
79456
  };
79457
79457
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
79458
- var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _maincontainerarrayof, _maincontainerarrayof2, _authdetailsContext$i13, _authdetailsContext$i31, _maincontainerarrayof3;
79458
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _maincontainerarrayof, _maincontainerarrayof2, _authdetailsContext$i13, _authdetailsContext$i33, _maincontainerarrayof3;
79459
79459
  var _useInView5 = reactIntersectionObserver.useInView({
79460
79460
  triggerOnce: true
79461
79461
  }),
@@ -80175,7 +80175,7 @@
80175
80175
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
80176
80176
  }
80177
80177
  }, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
80178
- var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28;
80178
+ var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
80179
80179
  return /*#__PURE__*/React__default["default"].createElement("div", {
80180
80180
  "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.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,
80181
80181
  style: {
@@ -80185,10 +80185,10 @@
80185
80185
  marginBottom: sectionproperties.innersectionmarginbottom + 'px'
80186
80186
  }
80187
80187
  }, /*#__PURE__*/React__default["default"].createElement("div", {
80188
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto elst ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67cd78deecff3' ? sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto ' : sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto ',
80188
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '6a3103b3da5fb' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto tgrad ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto elst ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67cd78deecff3' ? sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto ' : sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto ',
80189
80189
  style: {
80190
80190
  cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
80191
- background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? '' : cardinfoitem.cardbgcolorfromarray,
80191
+ background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6995aff955278' && sectionproperties.sectionTitleContent == 'grad' ? '' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) == '6a3103b3da5fb' && sectionproperties.sectionTitleContent == 'grad' ? '' : cardinfoitem.cardbgcolorfromarray,
80192
80192
  paddingTop: sectionproperties.reservation_padding_top + 'px',
80193
80193
  paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
80194
80194
  paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
@@ -80197,7 +80197,7 @@
80197
80197
  border: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '',
80198
80198
  borderRight: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
80199
80199
  borderLeft: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
80200
- height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
80200
+ height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
80201
80201
  },
80202
80202
  onClick: function onClick() {
80203
80203
  if (cardinfoitem.btntype == 'Web Product Link' || cardinfoitem.btntype == 'App/Web Page') {
@@ -80209,7 +80209,7 @@
80209
80209
  }
80210
80210
  }
80211
80211
  }, sectionproperties.imageposition == 'Top' && sectionproperties.image_width != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
80212
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80212
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80213
80213
  style: {
80214
80214
  marginBottom: sectionproperties.image_mb + 'px',
80215
80215
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -80232,7 +80232,7 @@
80232
80232
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80233
80233
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80234
80234
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80235
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.instid) == '6824564a386c2' ? '3px solid white' : ''
80235
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) == '6824564a386c2' ? '3px solid white' : ''
80236
80236
  }
80237
80237
  }))), sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && /*#__PURE__*/React__default["default"].createElement("div", {
80238
80238
  "class": "col-lg-12 allcentered p-0 mb-1"
@@ -80263,7 +80263,7 @@
80263
80263
  }
80264
80264
  })),
80265
80265
  activeColor: sectionproperties.generalbtn_textColor
80266
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67b3592219709' && /*#__PURE__*/React__default["default"].createElement("div", {
80266
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67b3592219709' && /*#__PURE__*/React__default["default"].createElement("div", {
80267
80267
  "class": "col-lg-12 d-flex p-0",
80268
80268
  style: {
80269
80269
  marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
@@ -80325,11 +80325,11 @@
80325
80325
  color: cardinfoitem.text1colorfromarray,
80326
80326
  textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
80327
80327
  }
80328
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React__default["default"].createElement(AnimatedNumbercozy, {
80328
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React__default["default"].createElement(AnimatedNumbercozy, {
80329
80329
  number: parseInt(cardinfoitem["cardobj_title".concat(langdetect)]) || parseInt(cardinfoitem.cardobj_titleen)
80330
- }), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React__default["default"].createElement(AnimatedNumber, {
80330
+ }), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React__default["default"].createElement(AnimatedNumber, {
80331
80331
  number: parseInt(cardinfoitem["cardobj_title".concat(langdetect)]) || parseInt(cardinfoitem.cardobj_titleen)
80332
- }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) != '67b3592219709' && sectionproperties.animatednumbers != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
80332
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) != '67b3592219709' && sectionproperties.animatednumbers != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
80333
80333
  "class": "col-lg-12 d-flex p-0",
80334
80334
  style: {
80335
80335
  marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
@@ -80366,7 +80366,7 @@
80366
80366
  }, /*#__PURE__*/React__default["default"].createElement("div", {
80367
80367
  "class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
80368
80368
  style: {
80369
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '6824564a386c2' ? '3px solid white' : ''
80369
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.instid) == '6824564a386c2' ? '3px solid white' : ''
80370
80370
  }
80371
80371
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
80372
80372
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -80402,7 +80402,7 @@
80402
80402
  }), sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
80403
80403
  "class": "row m-0 w-100 d-flex justify-content-center"
80404
80404
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
80405
- var _authdetailsContext$i29, _authdetailsContext$i30;
80405
+ var _authdetailsContext$i31, _authdetailsContext$i32;
80406
80406
  // alert(JSON.stringify(cardsarray[7]));
80407
80407
  return /*#__PURE__*/React__default["default"].createElement("div", {
80408
80408
  "class": (cardinfoitem === null || cardinfoitem === void 0 ? void 0 : cardinfoitem.cardobj_descripen) == undefined ? sectionproperties.numofcols == '2' ? ' flip-card flip-cardnonhover 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 flip-cardnonhover 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 flip-cardnonhover 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 flip-cardnonhover 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' ? ' 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,
@@ -80462,7 +80462,7 @@
80462
80462
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80463
80463
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80464
80464
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80465
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.instid) == '6824564a386c2' ? '3px solid white' : ''
80465
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.instid) == '6824564a386c2' ? '3px solid white' : ''
80466
80466
  }
80467
80467
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
80468
80468
  "class": "col-lg-12 d-flex p-0",
@@ -80505,7 +80505,7 @@
80505
80505
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
80506
80506
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
80507
80507
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
80508
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.instid) == '6824564a386c2' ? '3px solid white' : ''
80508
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.instid) == '6824564a386c2' ? '3px solid white' : ''
80509
80509
  }
80510
80510
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
80511
80511
  "class": "col-lg-12 d-flex p-0",
@@ -80590,7 +80590,7 @@
80590
80590
  objectFit: 'contain'
80591
80591
  }
80592
80592
  })));
80593
- })))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68527dfef348b' && sectionproperties.cardbgcont_opacity == -100 && window.location.pathname != '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
80593
+ })))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68527dfef348b' && sectionproperties.cardbgcont_opacity == -100 && window.location.pathname != '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
80594
80594
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
80595
80595
  style: {}
80596
80596
  }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -80632,9 +80632,9 @@
80632
80632
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
80633
80633
  }
80634
80634
  }, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
80635
- var _authdetailsContext$i32, _authdetailsContext$i33;
80635
+ var _authdetailsContext$i34, _authdetailsContext$i35;
80636
80636
  return /*#__PURE__*/React__default["default"].createElement("div", {
80637
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.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,
80637
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.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,
80638
80638
  style: {
80639
80639
  zIndex: 2,
80640
80640
  marginBottom: sectionproperties.innersectionmarginbottom + 'px'
@@ -80652,7 +80652,7 @@
80652
80652
  }
80653
80653
  }
80654
80654
  }, /*#__PURE__*/React__default["default"].createElement("div", {
80655
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80655
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67cd78deecff3' ? 'col-lg-12 d-flex align-items-center p-0 w-100 ' : 'col-lg-12 d-flex align-items-center p-0 w-100 h-md-100',
80656
80656
  style: {
80657
80657
  marginBottom: sectionproperties.image_mb + 'px',
80658
80658
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -87078,6 +87078,13 @@
87078
87078
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
87079
87079
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
87080
87080
  var ikimagecredcontext = props.actions.ikimagecredcontext;
87081
+ var NotificationManager = props.actions.NotificationManager;
87082
+ var AddtoCartContext = props.actions.AddtoCartContext;
87083
+ var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
87084
+ var _useState5 = React.useState(''),
87085
+ _useState6 = _slicedToArray__default["default"](_useState5, 2);
87086
+ _useState6[0];
87087
+ _useState6[1];
87081
87088
  React.useEffect(function () {
87082
87089
  var secpropobj = {};
87083
87090
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -87092,6 +87099,59 @@
87092
87099
  React.useEffect(function () {
87093
87100
  setitem(props.cardinfoitemprops);
87094
87101
  }, [props.cardinfoitemprops]);
87102
+ var addtocartfunc = function addtocartfunc() {
87103
+ var addtocardpayloadobj = {
87104
+ functype: 'add',
87105
+ productid: item.productid,
87106
+ variantid: '',
87107
+ quantity: item.quantity,
87108
+ vendorid: item.vendorid
87109
+ };
87110
+ var runfunc = false;
87111
+ if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
87112
+ if (item.hasvariants == 1) {
87113
+ // if (addtocardpayloadobj.variantid.length != 0) {
87114
+ if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0) {
87115
+ addtocardpayloadobj.variantid = variantObj.variantid;
87116
+ runfunc = true;
87117
+ } else {
87118
+ var _authdetailsContext, _authdetailsContext2;
87119
+ NotificationManager.warning('', ((_authdetailsContext = authdetailsContext) === null || _authdetailsContext === void 0 || (_authdetailsContext = _authdetailsContext.instinfo) === null || _authdetailsContext === void 0 ? void 0 : _authdetailsContext.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : ((_authdetailsContext2 = authdetailsContext) === null || _authdetailsContext2 === void 0 || (_authdetailsContext2 = _authdetailsContext2.instinfo) === null || _authdetailsContext2 === void 0 ? void 0 : _authdetailsContext2.contactinfo.instid) == '67e448d2ef6e0' ? 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
87120
+ }
87121
+ } else {
87122
+ runfunc = true;
87123
+ }
87124
+ } else {
87125
+ NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
87126
+ }
87127
+ if (runfunc == true) {
87128
+ AddtoCartContext(addtocardpayloadobj);
87129
+ }
87130
+ };
87131
+ var addtocartbuttonrender = function addtocartbuttonrender() {
87132
+ if (AddtoCartMutationContext.isLoading) {
87133
+ var _AddtoCartMutationCon;
87134
+ if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
87135
+ return /*#__PURE__*/React__default["default"].createElement("div", {
87136
+ "class": ' d-flex align-items-center justify-content-center '
87137
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
87138
+ color: sectionproperties.cartBtnTextcolor,
87139
+ width: "20px",
87140
+ height: "20px",
87141
+ duration: "1s"
87142
+ }));
87143
+ } else {
87144
+ return /*#__PURE__*/React__default["default"].createElement("span", {
87145
+ "class": "w-100 allcentered"
87146
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
87147
+ }
87148
+ }
87149
+ if (!AddtoCartMutationContext.isLoading) {
87150
+ return /*#__PURE__*/React__default["default"].createElement("span", {
87151
+ "class": "w-100 allcentered"
87152
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
87153
+ }
87154
+ };
87095
87155
  var card_cssstyles = {
87096
87156
  colorvariantcontainer: glamor.css({
87097
87157
  width: sectionproperties.variantcontainer_minwidth + 'vh',
@@ -87387,9 +87447,14 @@
87387
87447
  "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn ',
87388
87448
  onClick: function onClick(e) {
87389
87449
  e.stopPropagation();
87390
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87450
+ if (item.extrafieldsarray.length == 0 && item.hasvariants == 0) {
87451
+ addtocartfunc();
87452
+ } else {
87453
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87454
+ }
87455
+ // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87391
87456
  }
87392
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
87457
+ }, addtocartbuttonrender()))));
87393
87458
  };
87394
87459
  return /*#__PURE__*/React__default["default"].createElement("div", {
87395
87460
  // ${generalCardsStyles.newproductcard}
@@ -87437,30 +87502,34 @@
87437
87502
  "class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
87438
87503
  onClick: function onClick(e) {
87439
87504
  e.stopPropagation();
87440
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87505
+ if (item.extrafieldsarray.length == 0 && item.hasvariants == 0) {
87506
+ addtocartfunc();
87507
+ } else {
87508
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
87509
+ }
87441
87510
  }
87442
87511
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
87443
87512
  "class": "",
87444
87513
  size: sectionproperties.cartBtn_iconFontSize,
87445
- color: sectionproperties.cartBtnTextcoloronhover
87514
+ color: sectionproperties.cartBtnTextcolor
87446
87515
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
87447
87516
  "class": "",
87448
87517
  size: sectionproperties.cartBtn_iconFontSize,
87449
- color: sectionproperties.cartBtnTextcoloronhover
87518
+ color: sectionproperties.cartBtnTextcolor
87450
87519
  }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
87451
87520
  "class": "",
87452
87521
  size: sectionproperties.cartBtn_iconFontSize,
87453
- color: sectionproperties.cartBtnTextcoloronhover
87522
+ color: sectionproperties.cartBtnTextcolor
87454
87523
  }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
87455
87524
  size: sectionproperties.cartBtn_iconFontSize,
87456
- color: sectionproperties.cartBtnTextcoloronhover
87525
+ color: sectionproperties.cartBtnTextcolor
87457
87526
  }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
87458
87527
  "class": "",
87459
87528
  size: sectionproperties.cartBtn_iconFontSize,
87460
- color: sectionproperties.cartBtnTextcoloronhover
87529
+ color: sectionproperties.cartBtnTextcolor
87461
87530
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
87462
87531
  size: sectionproperties.cartBtn_iconFontSize,
87463
- color: sectionproperties.cartBtnTextcoloronhover
87532
+ color: sectionproperties.cartBtnTextcolor
87464
87533
  }))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
87465
87534
  "class": "col-lg-12 d-flex align-items-center p-0",
87466
87535
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1384",
3
+ "version": "0.2.1386",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",