tabexseriescomponents 0.2.1426 → 0.2.1428

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
@@ -170,6 +170,7 @@ var FaArrowAltCircleRight = require('@react-icons/all-files/fa/FaArrowAltCircleR
170
170
  var FaArrowAltCircleLeft = require('@react-icons/all-files/fa/FaArrowAltCircleLeft');
171
171
  var GoStar = require('@react-icons/all-files/go/GoStar');
172
172
  var IoIosStar = require('@react-icons/all-files/io/IoIosStar');
173
+ var AiOutlineCloseCircle = require('@react-icons/all-files/ai/AiOutlineCloseCircle');
173
174
  var reactCountdownCircleTimer = require('react-countdown-circle-timer');
174
175
  var reactTypeAnimation = require('react-type-animation');
175
176
  var AnimatedNumbers = require('react-animated-numbers');
@@ -78466,6 +78467,7 @@ var TableSection = function TableSection(props) {
78466
78467
  _useState4 = _slicedToArray__default["default"](_useState3, 2);
78467
78468
  _useState4[0];
78468
78469
  var settablearray = _useState4[1];
78470
+ var routingcountext = props.actions.routingcountext;
78469
78471
  var Slideshowsettings = {
78470
78472
  indicators: false,
78471
78473
  arrows: true,
@@ -78531,6 +78533,9 @@ var TableSection = function TableSection(props) {
78531
78533
  '@media (max-width: 800px)': {
78532
78534
  fontSize: sectionproperties.prodCatFontSizeResp + 'px'
78533
78535
  }
78536
+ }),
78537
+ pricing_card_wrapper: glamor.css({
78538
+ ':before': {}
78534
78539
  })
78535
78540
  };
78536
78541
  var _useState9 = React.useState([]),
@@ -78565,15 +78570,108 @@ var TableSection = function TableSection(props) {
78565
78570
  var plancontentarray = [{
78566
78571
  content_en: ['1 Order', 'No Shipping', 'No Discounts', '7 days for exchange, paid', '14 days Warranty', 'No Purchase Voucher', 'Public Offers', 'Support During working hours', 'No Authorized Buyer Option', 'No Points / Loyalty System'],
78567
78572
  content_ar: ['طلب واحد', 'بدون شحن', 'بدون خصومات', 'استبدال خلال 7 أيام (مدفوع)', 'ضمان لمدة 14 يومًا', 'بدون قسيمة شراء', 'العروض العامة', 'دعم خلال ساعات العمل', 'لا يوجد خيار للمشتري المعتمد', 'لا يوجد نظام نقاط / ولاء'],
78568
- content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统']
78573
+ content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统'],
78574
+ icons: [/*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78575
+ size: 15,
78576
+ color: '#15B748'
78577
+ }), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
78578
+ size: 15,
78579
+ color: '#DF201A'
78580
+ }), /*#__PURE__*/React__default["default"].createElement(IoBagRemoveOutline.IoBagRemoveOutline, {
78581
+ size: 15,
78582
+ color: '#DF201A'
78583
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78584
+ size: 15,
78585
+ color: '#15B748'
78586
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78587
+ size: 15,
78588
+ color: '#15B748'
78589
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78590
+ size: 15,
78591
+ color: '#15B748'
78592
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78593
+ size: 15,
78594
+ color: '#15B748'
78595
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78596
+ size: 15,
78597
+ color: '#15B748'
78598
+ }), /*#__PURE__*/React__default["default"].createElement(IoBagRemoveOutline.IoBagRemoveOutline, {
78599
+ size: 15,
78600
+ color: '#DF201A'
78601
+ }), /*#__PURE__*/React__default["default"].createElement(IoBagRemoveOutline.IoBagRemoveOutline, {
78602
+ size: 15,
78603
+ color: '#DF201A'
78604
+ })]
78569
78605
  }, {
78570
78606
  content_en: ['5 orders (minimum £5000)', 'Shipping For the first order', 'No Discounts', '7 days for exchange, free', '3 months Warranty', '£100 Purchase Voucher', 'Extra Discounts', 'Priority support', 'No Authorized Buyer Option', '1 point in loyalty system per order'],
78571
78607
  content_ar: ['5 طلبات (بحد أدنى 5000 جنيه إسترليني)', 'الشحن للطلب الأول', 'بدون خصومات', 'استبدال مجاني خلال 7 أيام', 'ضمان لمدة 3 أشهر', 'قسيمة شراء بقيمة 100 جنيه إسترليني', 'خصومات إضافية', 'دعم ذو أولوية', 'لا يوجد خيار للمشتري المعتمد', 'نقطة واحدة في نظام الولاء لكل طلب'],
78572
- content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分']
78608
+ content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分'],
78609
+ icons: [/*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78610
+ size: 15,
78611
+ color: '#15B748'
78612
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78613
+ size: 15,
78614
+ color: '#15B748'
78615
+ }), /*#__PURE__*/React__default["default"].createElement(IoBagRemoveOutline.IoBagRemoveOutline, {
78616
+ size: 15,
78617
+ color: '#DF201A'
78618
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78619
+ size: 15,
78620
+ color: '#15B748'
78621
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78622
+ size: 15,
78623
+ color: '#15B748'
78624
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78625
+ size: 15,
78626
+ color: '#15B748'
78627
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78628
+ size: 15,
78629
+ color: '#15B748'
78630
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78631
+ size: 15,
78632
+ color: '#15B748'
78633
+ }), /*#__PURE__*/React__default["default"].createElement(IoBagRemoveOutline.IoBagRemoveOutline, {
78634
+ size: 15,
78635
+ color: '#DF201A'
78636
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78637
+ size: 15,
78638
+ color: '#15B748'
78639
+ })]
78573
78640
  }, {
78574
78641
  content_en: ['10 orders (minimum £10000)', 'For all orders', '5% Discounts', '14 days for exchange, free', '6 months Warranty', '£250 Purchase Voucher', 'Exclusive Discounts', 'Premium support + personal follow-up', 'Authorized Buyer Option', '2 points per order'],
78575
78642
  content_ar: ['10 طلبات (بحد أدنى 10000 جنيه إسترليني)', 'الشحن لجميع الطلبات', 'خصم 5%', 'استبدال مجاني خلال 14 يومًا', 'ضمان لمدة 6 أشهر', 'قسيمة شراء بقيمة 250 جنيهًا إسترلينيًا', 'خصومات حصرية', 'دعم مميز + متابعة شخصية', 'يتوفر خيار المشتري المعتمد', 'نقطتان لكل طلب'],
78576
- content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分']
78643
+ content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分'],
78644
+ icons: [/*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78645
+ size: 15,
78646
+ color: '#15B748'
78647
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78648
+ size: 15,
78649
+ color: '#15B748'
78650
+ }), /*#__PURE__*/React__default["default"].createElement(IoBagRemoveOutline.IoBagRemoveOutline, {
78651
+ size: 15,
78652
+ color: '#DF201A'
78653
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78654
+ size: 15,
78655
+ color: '#15B748'
78656
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78657
+ size: 15,
78658
+ color: '#15B748'
78659
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78660
+ size: 15,
78661
+ color: '#15B748'
78662
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78663
+ size: 15,
78664
+ color: '#15B748'
78665
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78666
+ size: 15,
78667
+ color: '#15B748'
78668
+ }), /*#__PURE__*/React__default["default"].createElement(IoBagRemoveOutline.IoBagRemoveOutline, {
78669
+ size: 15,
78670
+ color: '#DF201A'
78671
+ }), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78672
+ size: 15,
78673
+ color: '#15B748'
78674
+ })]
78577
78675
  }];
78578
78676
  return /*#__PURE__*/React__default["default"].createElement("div", {
78579
78677
  "class": "row m-0 w-100 allcentered py-5 px-5 px-md-3"
@@ -78667,7 +78765,7 @@ var TableSection = function TableSection(props) {
78667
78765
  }, /*#__PURE__*/React__default["default"].createElement("p", {
78668
78766
  "class": "m-0 p-0 text-black"
78669
78767
  }, "1000"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '67c050d72cbe7' && /*#__PURE__*/React__default["default"].createElement("div", {
78670
- "class": "row m-0 w-100 px-5 mb-5 px-md-2"
78768
+ "class": "row m-0 w-100 px-5 mb-5 px-md-0"
78671
78769
  }, /*#__PURE__*/React__default["default"].createElement("div", {
78672
78770
  "class": "row m-0 w-100 px-5 mb-5 px-md-0"
78673
78771
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -78691,62 +78789,65 @@ var TableSection = function TableSection(props) {
78691
78789
  var _plancontentarray$car;
78692
78790
  var contentKey = langdetect === 'en' ? 'content_en' : langdetect === 'ar' ? 'content_ar' : 'content_chin';
78693
78791
  return /*#__PURE__*/React__default["default"].createElement("div", {
78694
- "class": "col-lg-4 col-md-12 mb-3"
78792
+ className: ' col-lg-4 col-md-12 mb-3 ',
78793
+ style: {}
78695
78794
  }, /*#__PURE__*/React__default["default"].createElement("div", {
78696
- "class": "row m-0 w-100 p-4 p-md-3",
78795
+ className: ' w-100 mb-3 ',
78796
+ style: {
78797
+ position: 'relative'
78798
+ }
78799
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78800
+ className: "pricing-card",
78697
78801
  style: {
78698
78802
  background: cardinfoitem.cardbgcolor,
78699
- boxShadow: '0 0 10px ' + cardinfoitem.cardshadowcolor,
78803
+ boxShadow: '0 0 15px ' + cardinfoitem.cardshadowcolor,
78700
78804
  borderRadius: 20
78701
78805
  }
78702
78806
  }, /*#__PURE__*/React__default["default"].createElement("div", {
78703
- "class": "col-12 p-0 mb-3"
78704
- }, /*#__PURE__*/React__default["default"].createElement("p", {
78705
- "class": "m-0 p-0 px-3 py-1",
78807
+ className: "pricing-header",
78706
78808
  style: {
78707
- width: 'fit-content',
78708
- borderRadius: 100,
78809
+ // width: 'fit-content',
78810
+ // borderRadius: 100,
78709
78811
  background: cardinfoitem.planbgcolor,
78710
78812
  fontSize: 20,
78711
78813
  fontWeight: 500,
78712
78814
  color: cardinfoitem.plancolor
78713
78815
  }
78714
- }, cardinfoitem.planname_en)), /*#__PURE__*/React__default["default"].createElement("div", {
78715
- "class": "col-12 p-0"
78716
- }, /*#__PURE__*/React__default["default"].createElement("p", {
78717
- "class": "m-0 p-0",
78718
- style: {
78719
- fontSize: 20,
78720
- fontWeight: 500,
78721
- color: '#000'
78722
- }
78816
+ }, cardinfoitem.planname_en), /*#__PURE__*/React__default["default"].createElement("div", {
78817
+ className: "pricing-content allcentered"
78723
78818
  }, (_plancontentarray$car = plancontentarray[cardinfoindex]) === null || _plancontentarray$car === void 0 || (_plancontentarray$car = _plancontentarray$car[contentKey]) === null || _plancontentarray$car === void 0 ? void 0 : _plancontentarray$car.map(function (contentitem, contentindex) {
78819
+ var _plancontentarray$car2;
78724
78820
  return /*#__PURE__*/React__default["default"].createElement("p", {
78725
78821
  key: contentindex,
78726
- "class": "m-0 p-0 mb-2",
78822
+ "class": "m-0 p-0 mb-2 d-flex align-items-center justify-content-start",
78727
78823
  style: {
78728
- fontSize: 18,
78824
+ fontSize: 16,
78729
78825
  color: '#000'
78730
78826
  }
78731
- }, /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78732
- size: 18
78733
- }), " ", contentitem);
78734
- }))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78735
- "class": "col-12 allcentered"
78827
+ }, (_plancontentarray$car2 = plancontentarray[cardinfoindex]) === null || _plancontentarray$car2 === void 0 || (_plancontentarray$car2 = _plancontentarray$car2.icons) === null || _plancontentarray$car2 === void 0 ? void 0 : _plancontentarray$car2[contentindex], /*#__PURE__*/React__default["default"].createElement("span", {
78828
+ className: "mx-2"
78829
+ }, contentitem));
78830
+ }), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78831
+ "class": "col-12 allcentered mt-4"
78736
78832
  }, /*#__PURE__*/React__default["default"].createElement("button", {
78737
78833
  onClick: function onClick() {
78738
- routingcountext(cardinfoitem.btnlink, false, '');
78834
+ routingcountext(sectionproperties.btnlink, false, '');
78739
78835
  },
78740
78836
  style: {
78741
78837
  width: sectionproperties.generalbtn_width + '%',
78742
78838
  height: sectionproperties.generalbtn_height + 'px',
78743
- background: sectionproperties.generalbtn_bgColor,
78839
+ background: cardinfoitem.planbgcolor,
78744
78840
  color: sectionproperties.generalbtn_textColor,
78745
78841
  fontSize: sectionproperties.generalbtn_fontsize + 'px',
78746
78842
  fontWeight: sectionproperties.generalbtn_fontweight,
78747
78843
  borderRadius: sectionproperties.generalbtnborderradius + 'px'
78748
78844
  }
78749
- }, sectionproperties.slideshow_btn_text))));
78845
+ }, sectionproperties.slideshow_btn_text)))), /*#__PURE__*/React__default["default"].createElement("div", {
78846
+ "class": 'beforewrapper',
78847
+ style: {
78848
+ background: cardinfoitem.planbgcolor
78849
+ }
78850
+ })));
78750
78851
  }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69ca3d56a6e7e' && /*#__PURE__*/React__default["default"].createElement("div", {
78751
78852
  "class": "row m-0 w-100 px-5"
78752
78853
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -84042,8 +84143,8 @@ var Slideshowzoom = function Slideshowzoom(props) {
84042
84143
  // left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.showanimation == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
84043
84144
  // right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
84044
84145
 
84045
- left: langdetect == 'ar' ? '' : 0,
84046
- right: langdetect == 'ar' ? 0 : '',
84146
+ left: sectionproperties.innersectionWidth != 100 ? 0 : langdetect == 'ar' ? '' : 0,
84147
+ right: sectionproperties.innersectionWidth != 100 ? 0 : langdetect == 'ar' ? 0 : '',
84047
84148
  '@media (max-width: 800px)': {
84048
84149
  // bottom: '20px',
84049
84150
  bottom: sectionproperties.innersectionmarginbottomresponsive + 'px'
@@ -84068,30 +84169,6 @@ var Slideshowzoom = function Slideshowzoom(props) {
84068
84169
  }
84069
84170
  }),
84070
84171
  slideshow_btn_mazl: glamor.css({
84071
- // zIndex: 1000,
84072
- // height: sectionproperties.generalbtn_height + 'px',
84073
- // width: sectionproperties.generalbtn_width + 'px',
84074
- // background: 'transparent',
84075
- // color: sectionproperties.generalbtn_bgColor,
84076
- // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
84077
- // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
84078
- // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
84079
- // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
84080
- // fontSize: sectionproperties.generalbtn_fontsize + 'px',
84081
- // lineHeight: sectionproperties.generalbtn_fontsize + 'px',
84082
- // textTransform: sectionproperties.generalbtn_texttransform,
84083
- // fontWeight: sectionproperties.generalbtn_fontweight,
84084
- // transition: '.3s',
84085
- // border: '1px solid ' + sectionproperties.generalbtn_bgColor,
84086
- // ':hover': {
84087
- // background: sectionproperties.generalbtn_bgColor,
84088
- // color: 'white',
84089
- // },
84090
- // '@media (max-width: 800px)': {
84091
- // width: sectionproperties.generalbtnwidthresp + 'px',
84092
- // height: sectionproperties.generalbtnheightresponsive + 'px',
84093
- // fontSize: sectionproperties.generalbtnfontsizeresp + 'px',
84094
- // },
84095
84172
  height: sectionproperties.generalbtn_height + 'px',
84096
84173
  width: sectionproperties.generalbtn_width + 'px',
84097
84174
  background: sectionproperties.generalbtn_bgColor,
@@ -84138,6 +84215,30 @@ var Slideshowzoom = function Slideshowzoom(props) {
84138
84215
  height: sectionproperties.generalbtnheightresponsive + 'px',
84139
84216
  fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
84140
84217
  }
84218
+ }),
84219
+ slideshow_btnfhr: glamor.css({
84220
+ height: sectionproperties.generalbtn_height + 'px',
84221
+ width: sectionproperties.generalbtn_width + 'px',
84222
+ background: sectionproperties.generalbtn_bgColor,
84223
+ color: sectionproperties.generalbtn_textColor,
84224
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
84225
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
84226
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
84227
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
84228
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
84229
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
84230
+ textTransform: sectionproperties.generalbtn_texttransform,
84231
+ fontWeight: sectionproperties.generalbtn_fontweight,
84232
+ transition: '.3s',
84233
+ ':hover': {
84234
+ background: sectionproperties.generalbtn_bgColoronhover,
84235
+ color: sectionproperties.generalbtn_textColoronhover
84236
+ },
84237
+ '@media (max-width: 800px)': {
84238
+ width: sectionproperties.generalbtnwidthresp + 'px',
84239
+ height: sectionproperties.generalbtnheightresponsive + 'px',
84240
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
84241
+ }
84141
84242
  })
84142
84243
  };
84143
84244
  var SlideShowTextContainer = function SlideShowTextContainer(item) {
@@ -84187,7 +84288,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84187
84288
  // : 'col-lg-12 text-start'
84188
84289
  sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
84189
84290
  }, /*#__PURE__*/React__default["default"].createElement("button", {
84190
- "class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
84291
+ "class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
84191
84292
  onClick: function onClick() {
84192
84293
  if (sectionproperties.showplayer == 'Show') {
84193
84294
  setshowpopup(true);
@@ -84219,12 +84320,20 @@ var Slideshowzoom = function Slideshowzoom(props) {
84219
84320
  onClick: function onClick() {
84220
84321
  routingcountext('collections/innerparentcollections/6a71d53ec85aa', false, '');
84221
84322
  }
84222
- }, langdetect == 'en' ? 'Shop Home Accessories' : 'تسوق اكسسوارات المنزل')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
84223
- "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
84224
- "data-aos": 'fade-up',
84225
- "data-aos-delay": "300"
84323
+ }, langdetect == 'en' ? 'Shop Home Accessories' : 'تسوق اكسسوارات المنزل'), authdetailsContext.instinfo.instid == '6a7772c9ec61b' && /*#__PURE__*/React__default["default"].createElement("button", {
84324
+ "class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
84325
+ style: {
84326
+ letterSpacing: langdetect == 'en' ? '1px' : 0
84327
+ },
84328
+ onClick: function onClick() {
84329
+ routingcountext('collections', false, '');
84330
+ }
84331
+ }, langdetect == 'en' ? 'Explore Courses' : 'اكتشف الكورسات')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
84332
+ "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start'
84333
+ // data-aos={'fade-up'}
84334
+ // data-aos-delay="300"
84226
84335
  }, /*#__PURE__*/React__default["default"].createElement("button", {
84227
- "class": "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
84336
+ "class": authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btnfhr) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
84228
84337
  onClick: function onClick() {
84229
84338
  if (sectionproperties.showplayer == 'Show') {
84230
84339
  setshowpopup(true);
@@ -84235,7 +84344,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
84235
84344
  style: {
84236
84345
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
84237
84346
  }
84238
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
84347
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '), authdetailsContext.instinfo.instid == '6a7772c9ec61b' && /*#__PURE__*/React__default["default"].createElement("button", {
84348
+ "class": "".concat(slideshow_styles.slideshow_btnfhr) + ' allcentered mx-1 ',
84349
+ style: {
84350
+ letterSpacing: langdetect == 'en' ? '1px' : 0
84351
+ },
84352
+ onClick: function onClick() {
84353
+ routingcountext('collections', false, '');
84354
+ }
84355
+ }, langdetect == 'en' ? 'Explore Courses' : 'اكتشف الكورسات')));
84239
84356
  };
84240
84357
  return /*#__PURE__*/React__default["default"].createElement("div", {
84241
84358
  "class": "row m-0 w-100"
@@ -84296,7 +84413,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84296
84413
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84297
84414
  },
84298
84415
  onClick: function onClick() {
84299
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84416
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84300
84417
  if (sectionproperties.showplayer == 'Show') {
84301
84418
  setshowpopup(true);
84302
84419
  } else if (item.IsClickableimg == 'Yes') {
@@ -84337,7 +84454,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84337
84454
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84338
84455
  },
84339
84456
  onClick: function onClick() {
84340
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84457
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84341
84458
  if (sectionproperties.showplayer == 'Show') {
84342
84459
  setshowpopup(true);
84343
84460
  } else if (item.IsClickableimg == 'Yes') {
@@ -84472,7 +84589,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84472
84589
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84473
84590
  },
84474
84591
  onClick: function onClick() {
84475
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84592
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84476
84593
  if (sectionproperties.showplayer == 'Show') {
84477
84594
  setshowpopup(true);
84478
84595
  } else if (item.IsClickableimg == 'Yes') {
@@ -84512,7 +84629,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84512
84629
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84513
84630
  },
84514
84631
  onClick: function onClick() {
84515
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84632
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84516
84633
  if (sectionproperties.showplayer == 'Show') {
84517
84634
  setshowpopup(true);
84518
84635
  } else if (item.IsClickableimg == 'Yes') {
@@ -84639,7 +84756,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84639
84756
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84640
84757
  },
84641
84758
  onClick: function onClick() {
84642
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84759
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84643
84760
  if (sectionproperties.showplayer == 'Show') {
84644
84761
  setshowpopup(true);
84645
84762
  } else if (item.IsClickableimg == 'Yes') {
@@ -84679,7 +84796,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84679
84796
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84680
84797
  },
84681
84798
  onClick: function onClick() {
84682
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84799
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84683
84800
  if (sectionproperties.showplayer == 'Show') {
84684
84801
  setshowpopup(true);
84685
84802
  } else if (item.IsClickableimg == 'Yes') {
@@ -99607,7 +99724,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
99607
99724
  function ownKeys$6(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; }
99608
99725
  function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
99609
99726
  var Simpleproductcard = function Simpleproductcard(props) {
99610
- var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i14, _item$producttags2, _authdetailsContext$i15, _item$producttags$2, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i23, _item$producttags3, _authdetailsContext$i24, _item$producttags$3, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27;
99727
+ var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i15, _item$producttags2, _authdetailsContext$i16, _item$producttags$2, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _item$producttags3, _authdetailsContext$i27, _item$producttags$3, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i34, _item$producttags4, _authdetailsContext$i35, _item$producttags$4, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38;
99611
99728
  var _useState = React.useState(''),
99612
99729
  _useState2 = _slicedToArray__default["default"](_useState, 2),
99613
99730
  sectionproperties = _useState2[0],
@@ -100437,7 +100554,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100437
100554
  bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
100438
100555
  zIndex: 10
100439
100556
  }
100440
- }, /*#__PURE__*/React__default["default"].createElement("div", {
100557
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '6a708efd56628' && /*#__PURE__*/React__default["default"].createElement("div", {
100441
100558
  "class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
100442
100559
  style: {
100443
100560
  // move to spo
@@ -100445,7 +100562,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100445
100562
  // bottom: authdetailsContext?.instinfo?.contactinfo.instid == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
100446
100563
  // zIndex: 10,
100447
100564
  }
100448
- }, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69de6dceab218' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
100565
+ }, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '69de6dceab218' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
100449
100566
  return /*#__PURE__*/React__default["default"].createElement("div", {
100450
100567
  "class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
100451
100568
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -100463,7 +100580,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100463
100580
  fontWeight: 300
100464
100581
  }
100465
100582
  }, "-"));
100466
- })), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '69de6dceab218' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '6a552697b2c62' && /*#__PURE__*/React__default["default"].createElement("div", {
100583
+ })), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '69de6dceab218' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6a552697b2c62' && /*#__PURE__*/React__default["default"].createElement("div", {
100467
100584
  "class": "allcentered col-lg-12 p-0",
100468
100585
  style: {
100469
100586
  height: 40
@@ -100483,7 +100600,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100483
100600
  color: sectionproperties.featurecolor,
100484
100601
  fontSize: sectionproperties.featurefontsize + 'px'
100485
100602
  }
100486
- }, (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 : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React__default["default"].createElement("div", {
100603
+ }, (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 : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React__default["default"].createElement("div", {
100487
100604
  "class": "col-12 p-0 d-flex flex-row align-items-center",
100488
100605
  style: {
100489
100606
  visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
@@ -100522,8 +100639,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
100522
100639
  }, /*#__PURE__*/React__default["default"].createElement("p", {
100523
100640
  onClick: function onClick() {
100524
100641
  if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
100525
- var _authdetailsContext$i13;
100526
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100642
+ var _authdetailsContext$i14;
100643
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100527
100644
  setShowProductInfoModalContext(true);
100528
100645
  setProductIdProdutInfoModalContext(item.productid);
100529
100646
  } else {
@@ -100542,7 +100659,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100542
100659
  style: {
100543
100660
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
100544
100661
  }
100545
- }, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6a552697b2c62' && /*#__PURE__*/React__default["default"].createElement("div", {
100662
+ }, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6a552697b2c62' && /*#__PURE__*/React__default["default"].createElement("div", {
100546
100663
  "class": "text-start d-flex align-items-center col-lg-12 flex-row p-0 mb-1 mt-1"
100547
100664
  }, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
100548
100665
  if (ffindex < 2) {
@@ -100574,7 +100691,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100574
100691
  }
100575
100692
  })), langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar);
100576
100693
  }
100577
- }))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
100694
+ }))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
100578
100695
  "class": "allcentered",
100579
100696
  style: {
100580
100697
  width: '100%',
@@ -100641,7 +100758,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100641
100758
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
100642
100759
  }, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
100643
100760
  style: {}
100644
- }, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
100761
+ }, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
100645
100762
  "class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
100646
100763
  style: {
100647
100764
  visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
@@ -100742,7 +100859,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100742
100859
  color: sectionproperties.quantitycolor,
100743
100860
  fontWeight: sectionproperties.quantityfontweight
100744
100861
  }
100745
- }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
100862
+ }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
100746
100863
  "class": "col-lg-12 p-0 d-flex align-items-center allcentered"
100747
100864
  }, /*#__PURE__*/React__default["default"].createElement("div", {
100748
100865
  "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
@@ -100787,7 +100904,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
100787
100904
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
100788
100905
  }, /*#__PURE__*/React__default["default"].createElement("i", {
100789
100906
  "class": "h-100 allcentered addbtn"
100790
- }, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React__default["default"].createElement("div", {
100907
+ }, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React__default["default"].createElement("div", {
100791
100908
  "class": "col-12 p-0 d-flex flex-row align-items-center",
100792
100909
  style: {
100793
100910
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
@@ -100816,16 +100933,38 @@ var Simpleproductcard = function Simpleproductcard(props) {
100816
100933
  }, /*#__PURE__*/React__default["default"].createElement("p", {
100817
100934
  "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
100818
100935
  onClick: function onClick() {
100819
- var _authdetailsContext$i19;
100820
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100821
- setShowProductInfoModalContext(true);
100822
- setProductIdProdutInfoModalContext(item.productid);
100936
+ var _authdetailsContext$i20;
100937
+ // if (authdetailsContext?.instinfo?.contactinfo.instid == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100938
+ // setShowProductInfoModalContext(true);
100939
+ // setProductIdProdutInfoModalContext(item.productid);
100940
+ // } else {
100941
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68527dfef348b') {
100942
+ window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
100943
+ } else if (sectionproperties.showvariantscont == 'Show') {
100944
+ addtocartfunc();
100823
100945
  } else {
100824
- var _authdetailsContext$i20;
100825
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68527dfef348b') {
100826
- window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
100827
- } else if (sectionproperties.showvariantscont == 'Show') {
100828
- addtocartfunc();
100946
+ var productidtobesend = null;
100947
+ if (sectionproperties.urlwithproductname == 'Yes') {
100948
+ productidtobesend = item.productendpointurl;
100949
+ } else {
100950
+ // productidtobesend = item.productid;
100951
+ productidtobesend = item;
100952
+ }
100953
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
100954
+ if (item.extrafieldsarray.length == 0) {
100955
+ addtocartfunc();
100956
+ } else {
100957
+ var _authdetailsContext$i21;
100958
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100959
+ setShowProductInfoModalContext(true);
100960
+ setProductIdProdutInfoModalContext(item.productid);
100961
+ } else {
100962
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100963
+ }
100964
+ }
100965
+ // addtocartfunc();
100966
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
100967
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100829
100968
  } else {
100830
100969
  var productidtobesend = null;
100831
100970
  if (sectionproperties.urlwithproductname == 'Yes') {
@@ -100834,27 +100973,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
100834
100973
  // productidtobesend = item.productid;
100835
100974
  productidtobesend = item;
100836
100975
  }
100837
- if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
100838
- if (item.extrafieldsarray.length == 0) {
100839
- addtocartfunc();
100840
- } else {
100841
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100842
- }
100843
- // addtocartfunc();
100844
- } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
100845
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100846
- } else {
100847
- var productidtobesend = null;
100848
- if (sectionproperties.urlwithproductname == 'Yes') {
100849
- productidtobesend = item.productendpointurl;
100850
- } else {
100851
- // productidtobesend = item.productid;
100852
- productidtobesend = item;
100853
- }
100854
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100855
- }
100976
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100856
100977
  }
100857
100978
  }
100979
+ // }
100858
100980
  }
100859
100981
  }, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
100860
100982
  "class": "col-lg-12 d-flex align-items-center p-0",
@@ -100882,78 +101004,98 @@ var Simpleproductcard = function Simpleproductcard(props) {
100882
101004
  }
100883
101005
  }),
100884
101006
  activeColor: "#ffd700"
100885
- }))))), cardsinglerow == 'single' && /*#__PURE__*/React__default["default"].createElement("div", {
100886
- "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 p-2',
101007
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6a708efd56628' && /*#__PURE__*/React__default["default"].createElement("div", {
101008
+ "class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 allcentered ',
100887
101009
  style: {}
100888
101010
  }, /*#__PURE__*/React__default["default"].createElement("div", {
100889
- "class": "row m-0 w-100"
100890
- }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
100891
- "class": "col-lg-3 col-md-4 p-0"
100892
- }, /*#__PURE__*/React__default["default"].createElement("div", {
100893
- "class": card_cssstyles.icontainer + ' w-100 ',
100894
101011
  style: {
100895
- position: 'relative'
101012
+ width: '97%',
101013
+ borderRadius: 20
101014
+ },
101015
+ "class": "product-content px-3 py-5"
101016
+ }, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69de6dceab218' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
101017
+ return /*#__PURE__*/React__default["default"].createElement("div", {
101018
+ "class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
101019
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101020
+ "class": "text-capitalize d-flex flex-row",
101021
+ style: {
101022
+ color: sectionproperties.featurecolor,
101023
+ fontSize: sectionproperties.featurefontsize + 'px',
101024
+ fontWeight: 300
101025
+ }
101026
+ }, langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar), ffindex < (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) - 1 && /*#__PURE__*/React__default["default"].createElement("span", {
101027
+ "class": "mx-2 ",
101028
+ style: {
101029
+ color: sectionproperties.featurecolor,
101030
+ fontSize: sectionproperties.featurefontsize + 'px',
101031
+ fontWeight: 300
101032
+ }
101033
+ }, "-"));
101034
+ })), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) != '69de6dceab218' && /*#__PURE__*/React__default["default"].createElement("div", {
101035
+ "class": "allcentered col-lg-12 p-0",
101036
+ style: {
101037
+ height: 40
100896
101038
  }
100897
- }, (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
100898
- "class": "allcentered",
101039
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
101040
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
101041
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
101042
+ path: item === null || item === void 0 ? void 0 : item.feature_image_url,
101043
+ loading: "lazy",
100899
101044
  style: {
100900
- zIndex: 2,
100901
- position: 'absolute',
100902
- top: sectionproperties.badgeposition == 'Top' ? sectionproperties.badge_top + 'px' : '',
100903
- bottom: sectionproperties.badgeposition == 'Bottom' ? sectionproperties.badge_top + 'px' : '',
100904
- left: sectionproperties.badge_right + 'px',
100905
- // right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
100906
- width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
100907
- height: sectionproperties.badge_height + 'px',
100908
- background: sectionproperties.badge_bgcolor,
100909
- borderRadius: sectionproperties.badge_borderradius + 'px'
101045
+ maxWidth: '50%',
101046
+ maxHeight: '50%'
101047
+ }
101048
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
101049
+ "class": "text-capitalize mx-2",
101050
+ style: {
101051
+ color: sectionproperties.featurecolor,
101052
+ fontSize: sectionproperties.featurefontsize + 'px'
101053
+ }
101054
+ }, (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 : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React__default["default"].createElement("div", {
101055
+ "class": "col-12 p-0 d-flex flex-row align-items-center",
101056
+ style: {
101057
+ visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
100910
101058
  }
100911
101059
  }, /*#__PURE__*/React__default["default"].createElement("p", {
100912
101060
  "class": "m-0 p-0",
100913
101061
  style: {
100914
- color: sectionproperties.badge_color,
100915
- fontSize: sectionproperties.badge_fontsize + 'px'
101062
+ width: 8,
101063
+ height: 8,
101064
+ borderRadius: 100,
101065
+ background: 'green'
100916
101066
  }
100917
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
101067
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
101068
+ "class": 'm-0 mx-2 p-0',
100918
101069
  style: {
100919
- position: 'absolute',
100920
- top: sectionproperties.pillpositionfromtop + 'px',
100921
- left: sectionproperties.pillpositionfromright + 'px',
100922
- // right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
100923
- zIndex: 3
101070
+ color: 'green',
101071
+ fontSize: 13,
101072
+ fontWeight: 400
100924
101073
  }
100925
- }, PillContainer()), /*#__PURE__*/React__default["default"].createElement("div", {
100926
- "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$8.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex ',
100927
- onClick: function onClick(e) {
100928
- var _sectionproperties$se2;
100929
- if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
100930
- var _authdetailsContext$i21;
100931
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100932
- e.stopPropagation();
100933
- setShowProductInfoModalContext(true);
100934
- setProductIdProdutInfoModalContext(item.productid);
100935
- } else {
100936
- e.stopPropagation();
100937
- var productidtobesend = null;
100938
- if (sectionproperties.urlwithproductname == 'Yes') {
100939
- productidtobesend = item.productendpointurl;
100940
- } else {
100941
- // productidtobesend = item.productid;
100942
- productidtobesend = item;
100943
- }
100944
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100945
- }
100946
- }
100947
- },
101074
+ }, langdetect == 'en' ? 'In Stock' : 'متوفر')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
101075
+ "class": "col-lg-12 p-0 d-flex align-items-center mb-1 flex-row"
101076
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
100948
101077
  style: {
100949
- borderRadius: sectionproperties.image_bordertopleftradius + 'px'
101078
+ width: 40,
101079
+ height: 40,
101080
+ borderRadius: 100,
101081
+ border: '1px solid #ccc'
100950
101082
  }
100951
- }, Image('normal')))), /*#__PURE__*/React__default["default"].createElement("div", {
100952
- "class": "col-lg-9 col-md-8"
100953
- }, /*#__PURE__*/React__default["default"].createElement("div", {
100954
- "class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
100955
- style: {}
100956
- }, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
101083
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
101084
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
101085
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
101086
+ path: item.vendorlogo,
101087
+ loading: "lazy",
101088
+ style: {
101089
+ width: '100%',
101090
+ height: '100%'
101091
+ }
101092
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
101093
+ "class": "m-0 p-0 px-2",
101094
+ style: {
101095
+ color: '#000',
101096
+ fontSize: 13
101097
+ }
101098
+ }, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
100957
101099
  "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
100958
101100
  style: {
100959
101101
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
@@ -100972,45 +101114,22 @@ var Simpleproductcard = function Simpleproductcard(props) {
100972
101114
  }, /*#__PURE__*/React__default["default"].createElement("p", {
100973
101115
  onClick: function onClick() {
100974
101116
  if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
100975
- var _authdetailsContext$i22;
100976
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100977
- setShowProductInfoModalContext(true);
100978
- setProductIdProdutInfoModalContext(item.productid);
101117
+ var productidtobesend = null;
101118
+ if (sectionproperties.urlwithproductname == 'Yes') {
101119
+ productidtobesend = item.productendpointurl;
100979
101120
  } else {
100980
- var productidtobesend = null;
100981
- if (sectionproperties.urlwithproductname == 'Yes') {
100982
- productidtobesend = item.productendpointurl;
100983
- } else {
100984
- // productidtobesend = item.productid;
100985
- productidtobesend = item;
100986
- }
100987
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101121
+ productidtobesend = item.productid;
100988
101122
  }
101123
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100989
101124
  }
100990
101125
  },
100991
- "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 wordbreak-md-4 m-0 pname ',
101126
+ "class": sectionproperties.wordbreak == '1' ?
101127
+ // move to spo
101128
+ "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 wordbreak-md-4 m-0 pname ',
100992
101129
  style: {
100993
101130
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
100994
101131
  }
100995
- }, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6a552697b2c62' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
100996
- return /*#__PURE__*/React__default["default"].createElement("div", {
100997
- "class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1"
100998
- }, /*#__PURE__*/React__default["default"].createElement("div", {
100999
- "class": "text-capitalize d-flex flex-row",
101000
- style: {
101001
- color: sectionproperties.featurecolor,
101002
- fontSize: sectionproperties.featurefontsize + 'px',
101003
- fontWeight: 300
101004
- }
101005
- }, langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar), ffindex < (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) - 1 && /*#__PURE__*/React__default["default"].createElement("span", {
101006
- "class": "mx-2 ",
101007
- style: {
101008
- color: sectionproperties.featurecolor,
101009
- fontSize: sectionproperties.featurefontsize + 'px',
101010
- fontWeight: 300
101011
- }
101012
- }, "-"));
101013
- })), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags3 = item.producttags) === null || _item$producttags3 === void 0 ? void 0 : _item$producttags3.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
101132
+ }, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags3 = item.producttags) === null || _item$producttags3 === void 0 ? void 0 : _item$producttags3.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
101014
101133
  "class": "allcentered",
101015
101134
  style: {
101016
101135
  width: '100%',
@@ -101067,17 +101186,33 @@ var Simpleproductcard = function Simpleproductcard(props) {
101067
101186
  "class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
101068
101187
  style: {
101069
101188
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
101070
- minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '6.5vh'
101189
+ minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '10.5vh'
101071
101190
  }
101072
101191
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
101073
- "class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
101192
+ "class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100' : "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100'
101074
101193
  }, langdetect == 'en' ? item.currencyname : '', " ", has_sale == 1 ? sale_price : price, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && has_sale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
101075
- "class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
101194
+ "class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 w-100 text-start ' : ' d-flex align-items-center p-0 mb-0 w-100 text-start '
101076
101195
  }, /*#__PURE__*/React__default["default"].createElement("p", {
101077
- "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
101078
- }, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
101196
+ "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 '
101197
+ }, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname), /*#__PURE__*/React__default["default"].createElement("div", {
101198
+ "class": ' px-2 allcentered mx-2',
101199
+ style: {
101200
+ width: 100,
101201
+ height: sectionproperties.pillheight + 'px',
101202
+ background: '#F9E1E0',
101203
+ borderRadius: 100
101204
+ }
101205
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101206
+ "class": "m-0 p-0",
101207
+ style: {
101208
+ color: '#7D0808',
101209
+ fontSize: '15px',
101210
+ direction: 'ltr',
101211
+ fontWeight: 600
101212
+ }
101213
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(price) - parseInt(sale_price)) / parseInt(price)) * 100) / 10.0).toFixed(0) + '%'))), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
101079
101214
  style: {}
101080
- }, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
101215
+ }, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
101081
101216
  "class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
101082
101217
  style: {
101083
101218
  visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
@@ -101178,7 +101313,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
101178
101313
  color: sectionproperties.quantitycolor,
101179
101314
  fontWeight: sectionproperties.quantityfontweight
101180
101315
  }
101181
- }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101316
+ }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101182
101317
  "class": "col-lg-12 p-0 d-flex align-items-center allcentered"
101183
101318
  }, /*#__PURE__*/React__default["default"].createElement("div", {
101184
101319
  "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
@@ -101223,7 +101358,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
101223
101358
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
101224
101359
  }, /*#__PURE__*/React__default["default"].createElement("i", {
101225
101360
  "class": "h-100 allcentered addbtn"
101226
- }, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React__default["default"].createElement("div", {
101361
+ }, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React__default["default"].createElement("div", {
101227
101362
  "class": "col-12 p-0 d-flex flex-row align-items-center",
101228
101363
  style: {
101229
101364
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
@@ -101252,18 +101387,116 @@ var Simpleproductcard = function Simpleproductcard(props) {
101252
101387
  }, /*#__PURE__*/React__default["default"].createElement("p", {
101253
101388
  "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
101254
101389
  onClick: function onClick() {
101255
- var _authdetailsContext$i28;
101256
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
101257
- setShowProductInfoModalContext(true);
101258
- setProductIdProdutInfoModalContext(item.productid);
101390
+ var _authdetailsContext$i31;
101391
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68527dfef348b') {
101392
+ // alert(item.path);
101393
+ window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
101394
+ } else if (sectionproperties.showvariantscont == 'Show') {
101395
+ addtocartfunc();
101259
101396
  } else {
101260
- var _authdetailsContext$i29;
101261
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68527dfef348b') {
101262
- // alert(item.path);
101263
- window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
101264
- } else if (sectionproperties.showvariantscont == 'Show') {
101265
- addtocartfunc();
101397
+ var productidtobesend = null;
101398
+ if (sectionproperties.urlwithproductname == 'Yes') {
101399
+ productidtobesend = item.productendpointurl;
101400
+ } else {
101401
+ productidtobesend = item.productid;
101402
+ }
101403
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
101404
+ if (item.extrafieldsarray.length == 0) {
101405
+ addtocartfunc();
101406
+ } else {
101407
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101408
+ }
101409
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
101410
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101411
+ } else {
101412
+ var productidtobesend = null;
101413
+ if (sectionproperties.urlwithproductname == 'Yes') {
101414
+ productidtobesend = item.productendpointurl;
101415
+ } else {
101416
+ productidtobesend = item.productid;
101417
+ }
101418
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101419
+ }
101420
+ }
101421
+ }
101422
+ }, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
101423
+ "class": "col-lg-12 d-flex align-items-center p-0",
101424
+ style: {
101425
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
101426
+ }
101427
+ }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
101428
+ count: 5,
101429
+ value: item.productoverallrate,
101430
+ edit: false,
101431
+ size: 16,
101432
+ emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
101433
+ className: "far fa-star",
101434
+ style: {
101435
+ color: '#cccccc'
101436
+ }
101437
+ }),
101438
+ halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
101439
+ className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
101440
+ }),
101441
+ filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
101442
+ className: "fa fa-star",
101443
+ style: {
101444
+ color: '#FAB400'
101445
+ }
101446
+ }),
101447
+ activeColor: "#ffd700"
101448
+ })))))), cardsinglerow == 'single' && /*#__PURE__*/React__default["default"].createElement("div", {
101449
+ "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 p-2',
101450
+ style: {}
101451
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101452
+ "class": "row m-0 w-100"
101453
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
101454
+ "class": "col-lg-3 col-md-4 p-0"
101455
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101456
+ "class": card_cssstyles.icontainer + ' w-100 ',
101457
+ style: {
101458
+ position: 'relative'
101459
+ }
101460
+ }, (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101461
+ "class": "allcentered",
101462
+ style: {
101463
+ zIndex: 2,
101464
+ position: 'absolute',
101465
+ top: sectionproperties.badgeposition == 'Top' ? sectionproperties.badge_top + 'px' : '',
101466
+ bottom: sectionproperties.badgeposition == 'Bottom' ? sectionproperties.badge_top + 'px' : '',
101467
+ left: sectionproperties.badge_right + 'px',
101468
+ // right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
101469
+ width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
101470
+ height: sectionproperties.badge_height + 'px',
101471
+ background: sectionproperties.badge_bgcolor,
101472
+ borderRadius: sectionproperties.badge_borderradius + 'px'
101473
+ }
101474
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101475
+ "class": "m-0 p-0",
101476
+ style: {
101477
+ color: sectionproperties.badge_color,
101478
+ fontSize: sectionproperties.badge_fontsize + 'px'
101479
+ }
101480
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
101481
+ style: {
101482
+ position: 'absolute',
101483
+ top: sectionproperties.pillpositionfromtop + 'px',
101484
+ left: sectionproperties.pillpositionfromright + 'px',
101485
+ // right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
101486
+ zIndex: 3
101487
+ }
101488
+ }, PillContainer()), /*#__PURE__*/React__default["default"].createElement("div", {
101489
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$8.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex ',
101490
+ onClick: function onClick(e) {
101491
+ var _sectionproperties$se2;
101492
+ if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
101493
+ var _authdetailsContext$i32;
101494
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
101495
+ e.stopPropagation();
101496
+ setShowProductInfoModalContext(true);
101497
+ setProductIdProdutInfoModalContext(item.productid);
101266
101498
  } else {
101499
+ e.stopPropagation();
101267
101500
  var productidtobesend = null;
101268
101501
  if (sectionproperties.urlwithproductname == 'Yes') {
101269
101502
  productidtobesend = item.productendpointurl;
@@ -101271,25 +101504,360 @@ var Simpleproductcard = function Simpleproductcard(props) {
101271
101504
  // productidtobesend = item.productid;
101272
101505
  productidtobesend = item;
101273
101506
  }
101274
- if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
101275
- if (item.extrafieldsarray.length == 0) {
101276
- addtocartfunc();
101507
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101508
+ }
101509
+ }
101510
+ },
101511
+ style: {
101512
+ borderRadius: sectionproperties.image_bordertopleftradius + 'px'
101513
+ }
101514
+ }, Image('normal')))), /*#__PURE__*/React__default["default"].createElement("div", {
101515
+ "class": "col-lg-9 col-md-8"
101516
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101517
+ "class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
101518
+ style: {}
101519
+ }, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
101520
+ "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
101521
+ style: {
101522
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
101523
+ fontSize: sectionproperties.measurementunitfontsize + 'px',
101524
+ color: sectionproperties.measurementunitcolor
101525
+ }
101526
+ }, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101527
+ "class": "col-lg-12 pl-0 pr-0",
101528
+ style: {
101529
+ minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
101530
+ background: sectionproperties.prodNameBackgroundColor,
101531
+ borderRadius: '15px',
101532
+ paddingTop: sectionproperties.productnamepaddingvertical + 'px',
101533
+ paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
101534
+ }
101535
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101536
+ onClick: function onClick() {
101537
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
101538
+ var _authdetailsContext$i33;
101539
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
101540
+ setShowProductInfoModalContext(true);
101541
+ setProductIdProdutInfoModalContext(item.productid);
101542
+ } else {
101543
+ var productidtobesend = null;
101544
+ if (sectionproperties.urlwithproductname == 'Yes') {
101545
+ productidtobesend = item.productendpointurl;
101546
+ } else {
101547
+ // productidtobesend = item.productid;
101548
+ productidtobesend = item;
101549
+ }
101550
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101551
+ }
101552
+ }
101553
+ },
101554
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 wordbreak-md-4 m-0 pname ',
101555
+ style: {
101556
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
101557
+ }
101558
+ }, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6a552697b2c62' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
101559
+ return /*#__PURE__*/React__default["default"].createElement("div", {
101560
+ "class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1"
101561
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101562
+ "class": "text-capitalize d-flex flex-row",
101563
+ style: {
101564
+ color: sectionproperties.featurecolor,
101565
+ fontSize: sectionproperties.featurefontsize + 'px',
101566
+ fontWeight: 300
101567
+ }
101568
+ }, langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar), ffindex < (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) - 1 && /*#__PURE__*/React__default["default"].createElement("span", {
101569
+ "class": "mx-2 ",
101570
+ style: {
101571
+ color: sectionproperties.featurecolor,
101572
+ fontSize: sectionproperties.featurefontsize + 'px',
101573
+ fontWeight: 300
101574
+ }
101575
+ }, "-"));
101576
+ })), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags4 = item.producttags) === null || _item$producttags4 === void 0 ? void 0 : _item$producttags4.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
101577
+ "class": "allcentered",
101578
+ style: {
101579
+ width: '100%',
101580
+ left: 0,
101581
+ right: 0,
101582
+ zIndex: 100
101583
+ }
101584
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101585
+ "class": "px-3 py-1",
101586
+ style: {
101587
+ width: 'fit-content',
101588
+ background: sectionproperties.tagbackgroundcolor,
101589
+ borderRadius: sectionproperties.tagborderradius + 'px',
101590
+ color: sectionproperties.tagcolor,
101591
+ fontSize: 12
101592
+ }
101593
+ }, item === null || item === void 0 || (_item$producttags$4 = item.producttags[0]) === null || _item$producttags$4 === void 0 || (_item$producttags$4 = _item$producttags$4.taginfo) === null || _item$producttags$4 === void 0 ? void 0 : _item$producttags$4.tagname)), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101594
+ "class": "col-lg-12 pl-0 pr-0",
101595
+ style: {}
101596
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101597
+ "class": "".concat(card_cssstyles.sku) + ' wordbreak wordbreak1 font-md-13 m-0 ',
101598
+ style: {
101599
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
101600
+ }
101601
+ }, langdetect == 'en' ? 'SKU: ' : 'كود: ', item.sku)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
101602
+ "class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
101603
+ style: {
101604
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
101605
+ },
101606
+ dangerouslySetInnerHTML: {
101607
+ __html: item.shortdescription
101608
+ }
101609
+ }), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
101610
+ "class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak p-0 mt-1 ',
101611
+ style: {
101612
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
101613
+ }
101614
+ }, plainString(item.shortdescription)), /*#__PURE__*/React__default["default"].createElement("div", {
101615
+ style: {
101616
+ flexDirection: 'column',
101617
+ display: sectionproperties.prodPriceShow == 'Hide' && sectionproperties.showprofitcontainer == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.prodsalePriceshow == 'Hide' ? 'none' : 'flex'
101618
+ },
101619
+ "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mt-1 "
101620
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101621
+ "class": "row m-0 w-100 "
101622
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101623
+ "class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
101624
+ style: {
101625
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
101626
+ marginTop: sectionproperties.productpricemarginTop + 'px',
101627
+ marginBottom: sectionproperties.productpricemarginBottom + 'px'
101628
+ }
101629
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101630
+ "class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
101631
+ style: {
101632
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
101633
+ minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '6.5vh'
101634
+ }
101635
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
101636
+ "class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
101637
+ }, langdetect == 'en' ? item.currencyname : '', " ", has_sale == 1 ? sale_price : price, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && has_sale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
101638
+ "class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
101639
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101640
+ "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
101641
+ }, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
101642
+ style: {}
101643
+ }, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
101644
+ "class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
101645
+ style: {
101646
+ visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
101647
+ }
101648
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101649
+ "class": "m-0 p-0",
101650
+ style: {
101651
+ width: 8,
101652
+ height: 8,
101653
+ borderRadius: 100,
101654
+ background: 'green'
101655
+ }
101656
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
101657
+ "class": 'm-0 mx-2 p-0',
101658
+ style: {
101659
+ color: 'green',
101660
+ fontSize: 13,
101661
+ fontWeight: 400
101662
+ }
101663
+ }, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.showvariantscont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101664
+ "class": "col-12 p-0"
101665
+ }, /*#__PURE__*/React__default["default"].createElement(Variants_J_Cards, {
101666
+ actions: {
101667
+ sectionproperties: sectionproperties,
101668
+ item: item,
101669
+ cardonclickfunctionContext: cardonclickfunctionContext,
101670
+ fetchingtypeprops: props.fetchingtypeprops
101671
+ },
101672
+ foundMatchedVariantFunc: function foundMatchedVariantFunc(variantCompletedObj) {
101673
+ // alert(JSON.stringify(variantCompletedObj));
101674
+ // console.log(variantCompletedObj);
101675
+ setvariantObj(variantCompletedObj);
101676
+ var variant_price = 0;
101677
+ var variant_saleprice = 0;
101678
+ var variant_hassale = 0;
101679
+ var is_found = false;
101680
+ if (variantCompletedObj != null && variantCompletedObj != undefined) {
101681
+ var _variantCompletedObj$19;
101682
+ if (variantCompletedObj.variant_prices != undefined && variantCompletedObj != null && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$19 = variantCompletedObj.variant_prices) === null || _variantCompletedObj$19 === void 0 ? void 0 : _variantCompletedObj$19.length) != 0) {
101683
+ var _variantCompletedObj$20, _variantCompletedObj$21, _variantCompletedObj$23, _variantCompletedObj$24, _variantCompletedObj$26, _variantCompletedObj$27;
101684
+ if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$20 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$20 === void 0 ? void 0 : _variantCompletedObj$20.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$21 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$21 === void 0 ? void 0 : _variantCompletedObj$21.price) != null) {
101685
+ var _variantCompletedObj$22;
101686
+ variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$22 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$22 === void 0 ? void 0 : _variantCompletedObj$22.price;
101687
+ is_found = true;
101688
+ }
101689
+ if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$23 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$23 === void 0 ? void 0 : _variantCompletedObj$23.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$24 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$24 === void 0 ? void 0 : _variantCompletedObj$24.price) != null) {
101690
+ var _variantCompletedObj$25;
101691
+ variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$25 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$25 === void 0 ? void 0 : _variantCompletedObj$25.saleprice;
101692
+ }
101693
+ if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$26 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$26 === void 0 ? void 0 : _variantCompletedObj$26.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$27 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$27 === void 0 ? void 0 : _variantCompletedObj$27.price) != null) {
101694
+ var _variantCompletedObj$28;
101695
+ variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$28 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$28 === void 0 ? void 0 : _variantCompletedObj$28.hassale;
101696
+ }
101697
+ }
101698
+ }
101699
+ if (is_found) {
101700
+ setprice(variant_price);
101701
+ setsale_price(variant_saleprice);
101702
+ sethas_sale(variant_hassale);
101703
+ }
101704
+ },
101705
+ foundImageColorMatchingFunc: function foundImageColorMatchingFunc(variantIMAGECompletedObj) {
101706
+ setVariant_Color_ImageObj(variantIMAGECompletedObj);
101707
+ }
101708
+ })), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101709
+ "class": "col-lg-12 p-0",
101710
+ style: {
101711
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
101712
+ }
101713
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101714
+ "class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
101715
+ style: {
101716
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
101717
+ }
101718
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101719
+ "class": ' m-0 p-0 d-flex align-items-center ',
101720
+ style: {
101721
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
101722
+ }
101723
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
101724
+ style: {
101725
+ fontWeight: sectionproperties.profitcontainerfontweight
101726
+ }
101727
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
101728
+ "class": "mx-1",
101729
+ style: {
101730
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
101731
+ }
101732
+ }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(has_sale == 1 ? sale_price : price) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.quantityshow == 'Show' && item.currentquantity > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
101733
+ "class": "col-lg-12 p-0 d-flex align-items-center",
101734
+ style: {
101735
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
101736
+ }
101737
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101738
+ "class": "m-0 p-0",
101739
+ style: {
101740
+ fontSize: sectionproperties.quantityfontsize,
101741
+ color: sectionproperties.quantitycolor,
101742
+ fontWeight: sectionproperties.quantityfontweight
101743
+ }
101744
+ }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101745
+ "class": "col-lg-12 p-0 d-flex align-items-center allcentered"
101746
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
101747
+ "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
101748
+ style: {
101749
+ direction: 'ltr'
101750
+ }
101751
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
101752
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
101753
+ onClick: function onClick() {
101754
+ var tempitem = _objectSpread$6({}, item);
101755
+ tempitem.quantity = parseInt(tempitem.quantity);
101756
+ tempitem.quantity = tempitem.quantity - 1;
101757
+ if (tempitem.quantity <= 0) {
101758
+ tempitem.quantity = 0;
101759
+ }
101760
+ setitem(_objectSpread$6({}, tempitem));
101761
+ // addtocartfuncquantity('add', tempitem.quantity);
101762
+ },
101763
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
101764
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
101765
+ "class": "h-100 allcentered minusbtn"
101766
+ }, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, null))), /*#__PURE__*/React__default["default"].createElement("span", {
101767
+ "class": ' d-flex align-items-center justify-content-center ',
101768
+ style: {
101769
+ fontSize: 14,
101770
+ fontWeight: 500,
101771
+ color: sectionproperties.cartBtnbgColor,
101772
+ flex: 1
101773
+ }
101774
+ }, addtocartbuttonrenderquantity()), /*#__PURE__*/React__default["default"].createElement("button", {
101775
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
101776
+ onClick: function onClick() {
101777
+ var tempitem = _objectSpread$6({}, item);
101778
+ tempitem.quantity = parseInt(tempitem.quantity);
101779
+ tempitem.quantity = tempitem.quantity + 1;
101780
+ if (tempitem.quantity <= 0) {
101781
+ tempitem.quantity = 0;
101782
+ }
101783
+ setitem(_objectSpread$6({}, tempitem));
101784
+ // addtocartfuncquantity('add', tempitem.quantity);
101785
+ },
101786
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
101787
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
101788
+ "class": "h-100 allcentered addbtn"
101789
+ }, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React__default["default"].createElement("div", {
101790
+ "class": "col-12 p-0 d-flex flex-row align-items-center",
101791
+ style: {
101792
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
101793
+ visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
101794
+ }
101795
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101796
+ "class": "m-0 p-0",
101797
+ style: {
101798
+ width: 8,
101799
+ height: 8,
101800
+ borderRadius: 100,
101801
+ background: 'green'
101802
+ }
101803
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
101804
+ "class": 'm-0 mx-2 p-0',
101805
+ style: {
101806
+ color: 'green',
101807
+ fontSize: 13,
101808
+ fontWeight: 400
101809
+ }
101810
+ }, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
101811
+ "class": "col-lg-12 p-0 d-flex align-items-center",
101812
+ style: {
101813
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
101814
+ }
101815
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
101816
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
101817
+ onClick: function onClick() {
101818
+ var _authdetailsContext$i39;
101819
+ // if (authdetailsContext?.instinfo?.contactinfo.instid == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
101820
+ // setShowProductInfoModalContext(true);
101821
+ // setProductIdProdutInfoModalContext(item.productid);
101822
+ // } else {
101823
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68527dfef348b') {
101824
+ // alert(item.path);
101825
+ window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
101826
+ } else if (sectionproperties.showvariantscont == 'Show') {
101827
+ addtocartfunc();
101828
+ } else {
101829
+ var productidtobesend = null;
101830
+ if (sectionproperties.urlwithproductname == 'Yes') {
101831
+ productidtobesend = item.productendpointurl;
101832
+ } else {
101833
+ // productidtobesend = item.productid;
101834
+ productidtobesend = item;
101835
+ }
101836
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
101837
+ if (item.extrafieldsarray.length == 0) {
101838
+ addtocartfunc();
101839
+ } else {
101840
+ var _authdetailsContext$i40;
101841
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
101842
+ setShowProductInfoModalContext(true);
101843
+ setProductIdProdutInfoModalContext(item.productid);
101277
101844
  } else {
101278
101845
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101279
101846
  }
101280
- } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
101281
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101847
+ }
101848
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
101849
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101850
+ } else {
101851
+ var productidtobesend = null;
101852
+ if (sectionproperties.urlwithproductname == 'Yes') {
101853
+ productidtobesend = item.productendpointurl;
101282
101854
  } else {
101283
- var productidtobesend = null;
101284
- if (sectionproperties.urlwithproductname == 'Yes') {
101285
- productidtobesend = item.productendpointurl;
101286
- } else {
101287
- // productidtobesend = item.productid;
101288
- productidtobesend = item;
101289
- }
101290
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101855
+ // productidtobesend = item.productid;
101856
+ productidtobesend = item;
101291
101857
  }
101858
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101292
101859
  }
101860
+ // }
101293
101861
  }
101294
101862
  }
101295
101863
  }, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {