tabexseriescomponents 0.0.832 → 0.0.833

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
@@ -19172,6 +19172,9 @@ var CardsSection = function CardsSection(props) {
19172
19172
  });
19173
19173
  }
19174
19174
  cardobj.image = arrayItem.productinfo.productmainimage;
19175
+ cardobj.countryid = arrayItem.productinfo.countryid;
19176
+ cardobj.stateid = arrayItem.productinfo.stateid;
19177
+ cardobj.cityid = arrayItem.productinfo.cityid;
19175
19178
  cardobj.producttags = arrayItem.tags;
19176
19179
  if (langdetect == 'en') {
19177
19180
  var _arrayItem$features;
@@ -20047,7 +20050,7 @@ var CardsSection = function CardsSection(props) {
20047
20050
  } else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
20048
20051
  bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20049
20052
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
20050
- bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
20053
+ bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 d-flex justify-content-center p-0 ' + sectionproperties.numberOfColsverticalresp;
20051
20054
  } else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
20052
20055
  bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
20053
20056
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage') {
@@ -20081,7 +20084,7 @@ var CardsSection = function CardsSection(props) {
20081
20084
  } else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
20082
20085
  bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20083
20086
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
20084
- bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0';
20087
+ bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 d-flex justify-content-center p-0 ' + sectionproperties.numberOfColsverticalresp;
20085
20088
  } else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
20086
20089
  bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0';
20087
20090
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage') {
@@ -20115,7 +20118,7 @@ var CardsSection = function CardsSection(props) {
20115
20118
  } else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
20116
20119
  bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20117
20120
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
20118
- bootstapclass = ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
20121
+ bootstapclass = ' col-xl-4 col-lg-4 col-md-6 d-flex justify-content-center p-0 ' + sectionproperties.numberOfColsverticalresp;
20119
20122
  } else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
20120
20123
  bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0';
20121
20124
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage') {
@@ -20147,7 +20150,7 @@ var CardsSection = function CardsSection(props) {
20147
20150
  } else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
20148
20151
  bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20149
20152
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
20150
- bootstapclass = ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 ';
20153
+ bootstapclass = ' col-xl-3 col-lg-4 col-md-4 p-0 d-flex justify-content-center p-0 ' + sectionproperties.numberOfColsverticalresp;
20151
20154
  } else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
20152
20155
  bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0';
20153
20156
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage') {
@@ -20180,7 +20183,7 @@ var CardsSection = function CardsSection(props) {
20180
20183
  } else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
20181
20184
  bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20182
20185
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
20183
- bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ';
20186
+ bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 ' + sectionproperties.numberOfColsverticalresp;
20184
20187
  } else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
20185
20188
  bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0';
20186
20189
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage') {
@@ -20210,7 +20213,7 @@ var CardsSection = function CardsSection(props) {
20210
20213
  } else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
20211
20214
  bootstapclass = ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20212
20215
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
20213
- bootstapclass = ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
20216
+ bootstapclass = ' col-xl-2 col-lg-4 col-md-6 d-flex justify-content-center p-0 ' + sectionproperties.numberOfColsverticalresp;
20214
20217
  } else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
20215
20218
  bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0';
20216
20219
  } else if (item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly') {
@@ -45984,7 +45987,7 @@ var Minimalheader = function Minimalheader(props) {
45984
45987
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45985
45988
  "class": "row m-0 w-100"
45986
45989
  }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null && sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
45987
- "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 ',
45990
+ "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
45988
45991
  onClick: function onClick() {
45989
45992
  var _authdetailsContext$i5;
45990
45993
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink) != null) {
@@ -45999,7 +46002,7 @@ var Minimalheader = function Minimalheader(props) {
45999
46002
  }), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(FiArrowUpLeft.FiArrowUpLeft, {
46000
46003
  size: sectionproperties.iconcontainer_iconfontsize
46001
46004
  })), "Facebook"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
46002
- "class": "".concat(header_cssstyles.instagrambtn) + ' col-lg-12 p-0 text-start mb-2 ',
46005
+ "class": "".concat(header_cssstyles.instagrambtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
46003
46006
  onClick: function onClick() {
46004
46007
  var _authdetailsContext$i8;
46005
46008
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink) != null) {
@@ -46014,7 +46017,7 @@ var Minimalheader = function Minimalheader(props) {
46014
46017
  }), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(FiArrowUpLeft.FiArrowUpLeft, {
46015
46018
  size: sectionproperties.iconcontainer_iconfontsize
46016
46019
  })), "Instagram"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
46017
- "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 ',
46020
+ "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
46018
46021
  onClick: function onClick() {
46019
46022
  var _authdetailsContext$i11;
46020
46023
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.twitterlink) != null) {
@@ -46029,7 +46032,7 @@ var Minimalheader = function Minimalheader(props) {
46029
46032
  }), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(FiArrowUpLeft.FiArrowUpLeft, {
46030
46033
  size: sectionproperties.iconcontainer_iconfontsize
46031
46034
  })), "X"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
46032
- "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 ',
46035
+ "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
46033
46036
  onClick: function onClick() {
46034
46037
  var _authdetailsContext$i14;
46035
46038
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink) != null) {
@@ -46044,7 +46047,7 @@ var Minimalheader = function Minimalheader(props) {
46044
46047
  }), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(FiArrowUpLeft.FiArrowUpLeft, {
46045
46048
  size: sectionproperties.iconcontainer_iconfontsize
46046
46049
  })), "LinkedIn"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
46047
- "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 ',
46050
+ "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
46048
46051
  onClick: function onClick() {
46049
46052
  var _authdetailsContext$i17;
46050
46053
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.youtubelink) != null) {
@@ -62395,7 +62398,11 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
62395
62398
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.cardsdirection == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
62396
62399
  "class": "row m-0 w-100 d-flex align-items-center"
62397
62400
  }, /*#__PURE__*/React__default["default"].createElement("div", {
62398
- "class": "col-lg-9 col-md-12 p-0"
62401
+ "class": "col-lg-9 col-md-12 p-md-0",
62402
+ style: {
62403
+ paddingRight: langdetect == 'en' ? '200px' : 0,
62404
+ paddingLeft: langdetect == 'ar' ? '200px' : 0
62405
+ }
62399
62406
  }, /*#__PURE__*/React__default["default"].createElement("div", {
62400
62407
  "class": "row m-0 w-100"
62401
62408
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -62482,7 +62489,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
62482
62489
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
62483
62490
  };
62484
62491
  return /*#__PURE__*/React__default["default"].createElement("div", {
62485
- className: sectionproperties.card_marginLeft != 0 ? 'row ml-0 mr-0 w-100 pl-md-2 pr-md-2 allcentered' : 'row ml-0 mr-0 w-100 allcentered',
62492
+ className: sectionproperties.card_marginLeft != 0 ? 'row ml-0 mr-0 w-100 pl-md-2 pr-md-2 allcentered' : langdetect == 'en' ? 'row ml-0 mr-0 w-100 allcentered pr-md-1' : 'row ml-0 mr-0 w-100 allcentered pl-md-1 ',
62486
62493
  style: {
62487
62494
  position: 'relative',
62488
62495
  background: sectionproperties.backgroundColor,
@@ -66836,18 +66843,20 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
66836
66843
  zIndex: 1
66837
66844
  }
66838
66845
  }, /*#__PURE__*/React__default["default"].createElement("div", {
66839
- "class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 allcentered plr-1025-0 pl-md-3 pr-md-3 ',
66846
+ "class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 plr-1025-0 pl-md-3 pr-md-3 d-flex ',
66840
66847
  style: {
66841
66848
  marginTop: sectionproperties.sectionTitleMarginTop + 'px',
66842
66849
  marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
66843
66850
  paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
66844
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
66851
+ paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
66852
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
66845
66853
  }
66846
66854
  }, /*#__PURE__*/React__default["default"].createElement("div", {
66847
- "class": "d-flex align-items-center flex-row allcentered",
66855
+ "class": "d-flex align-items-center flex-row ",
66848
66856
  style: {
66849
66857
  position: 'relative',
66850
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
66858
+ width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
66859
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
66851
66860
  }
66852
66861
  }, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
66853
66862
  "class": sectionStyles.line_left
@@ -67077,18 +67086,20 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67077
67086
  zIndex: 1
67078
67087
  }
67079
67088
  }, /*#__PURE__*/React__default["default"].createElement("div", {
67080
- "class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 allcentered plr-1025-0 pl-md-3 pr-md-3 ',
67089
+ "class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 plr-1025-0 pl-md-3 pr-md-3 d-flex ',
67081
67090
  style: {
67082
67091
  marginTop: sectionproperties.sectionTitleMarginTop + 'px',
67083
67092
  marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
67084
67093
  paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
67085
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
67094
+ paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
67095
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
67086
67096
  }
67087
67097
  }, /*#__PURE__*/React__default["default"].createElement("div", {
67088
- "class": "d-flex align-items-center flex-row allcentered",
67098
+ "class": "d-flex align-items-center flex-row ",
67089
67099
  style: {
67090
67100
  position: 'relative',
67091
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
67101
+ width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
67102
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
67092
67103
  }
67093
67104
  }, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
67094
67105
  "class": sectionStyles.line_left
@@ -85160,7 +85171,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
85160
85171
  function ownKeys$1(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; }
85161
85172
  function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
85162
85173
  var CTAProductCard = function CTAProductCard(props) {
85163
- var _authdetailsContext$i;
85174
+ var _authdetailsContext$i, _item$producttags, _item$producttags$, _authdetailsContext$i2;
85164
85175
  var _useState = React.useState(''),
85165
85176
  _useState2 = _slicedToArray__default["default"](_useState, 2),
85166
85177
  sectionproperties = _useState2[0],
@@ -85178,6 +85189,37 @@ var CTAProductCard = function CTAProductCard(props) {
85178
85189
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
85179
85190
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
85180
85191
  var ikimagecredcontext = props.actions.ikimagecredcontext;
85192
+ var _useState5 = React.useState(''),
85193
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
85194
+ secondimage = _useState6[0],
85195
+ setsecondimage = _useState6[1];
85196
+ var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat("Hi, I'm asking about this! " + 'https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + item.productid);
85197
+ React.useEffect(function () {
85198
+ var _props$cardinfoitempr;
85199
+ setitem(props.cardinfoitemprops);
85200
+ if ((props === null || props === void 0 || (_props$cardinfoitempr = props.cardinfoitemprops) === null || _props$cardinfoitempr === void 0 || (_props$cardinfoitempr = _props$cardinfoitempr.productimages) === null || _props$cardinfoitempr === void 0 ? void 0 : _props$cardinfoitempr.length) == 1) {
85201
+ var _props$cardinfoitempr2;
85202
+ setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr2 = props.cardinfoitemprops) === null || _props$cardinfoitempr2 === void 0 ? void 0 : _props$cardinfoitempr2.image);
85203
+ } else {
85204
+ var _props$cardinfoitempr3, _props$cardinfoitempr4;
85205
+ if ((props === null || props === void 0 ? void 0 : props.cardinfoitemprops) != undefined && (props === null || props === void 0 || (_props$cardinfoitempr3 = props.cardinfoitemprops) === null || _props$cardinfoitempr3 === void 0 ? void 0 : _props$cardinfoitempr3.productimages) != undefined && Array.isArray(props === null || props === void 0 || (_props$cardinfoitempr4 = props.cardinfoitemprops) === null || _props$cardinfoitempr4 === void 0 ? void 0 : _props$cardinfoitempr4.productimages)) {
85206
+ var _props$cardinfoitempr5, _props$cardinfoitempr6, _props$cardinfoitempr7;
85207
+ if ((props === null || props === void 0 || (_props$cardinfoitempr5 = props.cardinfoitemprops) === null || _props$cardinfoitempr5 === void 0 ? void 0 : _props$cardinfoitempr5.productimages[0]) != undefined && (props === null || props === void 0 || (_props$cardinfoitempr6 = props.cardinfoitemprops) === null || _props$cardinfoitempr6 === void 0 || (_props$cardinfoitempr6 = _props$cardinfoitempr6.productimages[0]) === null || _props$cardinfoitempr6 === void 0 ? void 0 : _props$cardinfoitempr6.path) == (props === null || props === void 0 || (_props$cardinfoitempr7 = props.cardinfoitemprops) === null || _props$cardinfoitempr7 === void 0 ? void 0 : _props$cardinfoitempr7.image)) {
85208
+ var _props$cardinfoitempr8;
85209
+ if ((props === null || props === void 0 || (_props$cardinfoitempr8 = props.cardinfoitemprops) === null || _props$cardinfoitempr8 === void 0 || (_props$cardinfoitempr8 = _props$cardinfoitempr8.productimages[1]) === null || _props$cardinfoitempr8 === void 0 ? void 0 : _props$cardinfoitempr8.length) != 0) {
85210
+ var _props$cardinfoitempr9;
85211
+ setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr9 = props.cardinfoitemprops) === null || _props$cardinfoitempr9 === void 0 || (_props$cardinfoitempr9 = _props$cardinfoitempr9.productimages[1]) === null || _props$cardinfoitempr9 === void 0 ? void 0 : _props$cardinfoitempr9.path);
85212
+ } else {
85213
+ var _props$cardinfoitempr10;
85214
+ setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr10 = props.cardinfoitemprops) === null || _props$cardinfoitempr10 === void 0 ? void 0 : _props$cardinfoitempr10.image);
85215
+ }
85216
+ } else {
85217
+ var _props$cardinfoitempr11;
85218
+ setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr11 = props.cardinfoitemprops) === null || _props$cardinfoitempr11 === void 0 || (_props$cardinfoitempr11 = _props$cardinfoitempr11.productimages[0]) === null || _props$cardinfoitempr11 === void 0 ? void 0 : _props$cardinfoitempr11.path);
85219
+ }
85220
+ }
85221
+ }
85222
+ }, [props.cardinfoitemprops]);
85181
85223
  var plainString = function plainString(html) {
85182
85224
  var divContainer = document.createElement('div');
85183
85225
  divContainer.innerHTML = html;
@@ -85283,6 +85325,40 @@ var CTAProductCard = function CTAProductCard(props) {
85283
85325
  }
85284
85326
  })
85285
85327
  };
85328
+ var Image = function Image(type) {
85329
+ var transition = false;
85330
+ if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
85331
+ transition = true;
85332
+ }
85333
+ return /*#__PURE__*/React__default["default"].createElement("div", {
85334
+ "class": "w-100 cursor-pointer h-100",
85335
+ style: {
85336
+ position: 'relative'
85337
+ }
85338
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
85339
+ "class": transition ? cardstyles$7.intialimage + ' w-100 h-100 ' : ' w-100 h-100 ',
85340
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
85341
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
85342
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
85343
+ loading: "lazy",
85344
+ style: {
85345
+ // width: sectionproperties.imageInnerWidth_Height + '%',
85346
+ // height: sectionproperties.imageInnerWidth_Height + '%',
85347
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
85348
+ }
85349
+ }), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
85350
+ "class": cardstyles$7.secondaryimage + ' w-100 h-100 ',
85351
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
85352
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
85353
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
85354
+ loading: "lazy",
85355
+ style: {
85356
+ // width: sectionproperties.imageInnerWidth_Height + '%',
85357
+ // height: sectionproperties.imageInnerWidth_Height + '%',
85358
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
85359
+ }
85360
+ }));
85361
+ };
85286
85362
  return /*#__PURE__*/React__default["default"].createElement("div", {
85287
85363
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
85288
85364
  style: {
@@ -85342,7 +85418,28 @@ var CTAProductCard = function CTAProductCard(props) {
85342
85418
  size: sectionproperties.favBtnIconfontsize
85343
85419
  }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
85344
85420
  size: sectionproperties.favBtnIconfontsize
85345
- }))), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
85421
+ }))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85422
+ "class": "text-start",
85423
+ style: {
85424
+ zIndex: 2,
85425
+ position: 'absolute',
85426
+ top: '20px',
85427
+ left: '20px',
85428
+ width: 'fit-content',
85429
+ height: '40px',
85430
+ background: '#b98144',
85431
+ borderRadius: '100px'
85432
+ }
85433
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
85434
+ "class": "px-3 py-1",
85435
+ style: {
85436
+ width: 'fit-content',
85437
+ // background: sectionproperties.tagbackgroundcolor,
85438
+ // borderRadius: sectionproperties.tagborderradius + 'px',
85439
+ color: 'white',
85440
+ fontSize: 13
85441
+ }
85442
+ }, item === null || item === void 0 || (_item$producttags$ = item.producttags[0]) === null || _item$producttags$ === void 0 || (_item$producttags$ = _item$producttags$.taginfo) === null || _item$producttags$ === void 0 ? void 0 : _item$producttags$.tagname)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
85346
85443
  "class": "allcentered",
85347
85444
  style: {
85348
85445
  zIndex: 2,
@@ -85371,22 +85468,12 @@ var CTAProductCard = function CTAProductCard(props) {
85371
85468
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
85372
85469
  }
85373
85470
  },
85374
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
85471
+ "class": "".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
85375
85472
  style: {
85376
85473
  zIndex: 1,
85377
85474
  marginBottom: sectionproperties.image_mb + 'px'
85378
85475
  }
85379
- }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
85380
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
85381
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
85382
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
85383
- loading: "lazy",
85384
- style: {
85385
- // width: sectionproperties.imageInnerWidth_Height + '%',
85386
- // height: sectionproperties.imageInnerWidth_Height + '%',
85387
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
85388
- }
85389
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
85476
+ }, Image('normal'))), /*#__PURE__*/React__default["default"].createElement("div", {
85390
85477
  "class": 'row m-0 w-100 px-md-2',
85391
85478
  style: {
85392
85479
  paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
@@ -85421,8 +85508,20 @@ var CTAProductCard = function CTAProductCard(props) {
85421
85508
  style: {
85422
85509
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
85423
85510
  }
85424
- }, item.name)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
85425
- "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 ',
85511
+ }, item.name)), authdetailsContext.instinfo.instid == '6729cd4e61cc8' && /*#__PURE__*/React__default["default"].createElement("div", {
85512
+ "class": "col-lg-12 p-0 mt-1 text-start"
85513
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
85514
+ "class": ' wordbreak wordbreak2 m-0 ',
85515
+ style: {
85516
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
85517
+ fontSize: 13,
85518
+ fontWeight: 400,
85519
+ color: '#000'
85520
+ }
85521
+ }, /*#__PURE__*/React__default["default"].createElement(GoLocation.GoLocation, {
85522
+ "class": "mx-1"
85523
+ }), " ", item.countryid == '65' ? 'Egypt' : '', " ", item.stateid == '3223' ? 'Cairo' : '', " ", item.cityid == '31848' ? 'New Cairo' : '')), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
85524
+ "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-2 ',
85426
85525
  style: {
85427
85526
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
85428
85527
  },
@@ -85430,7 +85529,7 @@ var CTAProductCard = function CTAProductCard(props) {
85430
85529
  __html: langdetect == 'en' ? item.description_en : item.description_ar
85431
85530
  }
85432
85531
  }), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
85433
- "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak2 p-0 ',
85532
+ "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak2 p-0 mt-2 ',
85434
85533
  style: {
85435
85534
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
85436
85535
  }
@@ -85441,7 +85540,30 @@ var CTAProductCard = function CTAProductCard(props) {
85441
85540
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
85442
85541
  }, /*#__PURE__*/React__default["default"].createElement("div", {
85443
85542
  "class": "row m-0 w-100 "
85543
+ }, sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85544
+ "class": "col-lg-12 p-0 text-start mb-3",
85545
+ style: {}
85546
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
85547
+ "class": "row m-0 w-100 text-start"
85444
85548
  }, /*#__PURE__*/React__default["default"].createElement("div", {
85549
+ "class": "text-start col-lg-12 p-0"
85550
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
85551
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
85552
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
85553
+ path: item === null || item === void 0 ? void 0 : item.feature_image_url,
85554
+ loading: "lazy",
85555
+ style: {
85556
+ maxWidth: '7%',
85557
+ maxHeight: '7%'
85558
+ }
85559
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
85560
+ "class": "text-capitalize mx-2",
85561
+ style: {
85562
+ color: sectionproperties.featurecolor,
85563
+ fontSize: sectionproperties.featurefontsize + 'px',
85564
+ fontWeight: sectionproperties.featurefontweight
85565
+ }
85566
+ }, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
85445
85567
  "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center mb-1 ",
85446
85568
  style: {
85447
85569
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
@@ -85458,18 +85580,17 @@ var CTAProductCard = function CTAProductCard(props) {
85458
85580
  }, /*#__PURE__*/React__default["default"].createElement("p", {
85459
85581
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
85460
85582
  }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), /*#__PURE__*/React__default["default"].createElement("div", {
85461
- "class": "col-lg-12 p-0 allcentered"
85583
+ "class": "col-lg-12 p-0 allcentered pt-3 mt-1",
85584
+ style: {
85585
+ borderTop: '1px solid #eee'
85586
+ }
85462
85587
  }, /*#__PURE__*/React__default["default"].createElement("div", {
85463
85588
  "class": "row m-0 w-100"
85464
- }, sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
85589
+ }, sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("a", {
85590
+ href: whatsappUrl,
85591
+ target: "_blank",
85592
+ rel: "noopener noreferrer",
85465
85593
  "class": card_cssstyles.whatsappbtn + ' col-lg-6 col-md-6 col-sm-12 allcentered cursor-pointer border-sm-none mb-sm-2 ',
85466
- onClick: function onClick() {
85467
- var _authdetailsContext$i2;
85468
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber) != null) {
85469
- var _authdetailsContext$i3;
85470
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber), '_blank');
85471
- }
85472
- },
85473
85594
  style: {
85474
85595
  borderRight: langdetect == 'en' ? '1px solid #ccc' : 0,
85475
85596
  borderLeft: langdetect == 'ar' ? '1px solid #ccc' : 0