tabexseriescomponents 0.2.1427 → 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.esm.js CHANGED
@@ -168,6 +168,7 @@ import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircl
168
168
  import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
169
169
  import { GoStar } from '@react-icons/all-files/go/GoStar';
170
170
  import { IoIosStar } from '@react-icons/all-files/io/IoIosStar';
171
+ import { AiOutlineCloseCircle } from '@react-icons/all-files/ai/AiOutlineCloseCircle';
171
172
  import { CountdownCircleTimer } from 'react-countdown-circle-timer';
172
173
  import { TypeAnimation } from 'react-type-animation';
173
174
  import AnimatedNumbers from 'react-animated-numbers';
@@ -78415,6 +78416,7 @@ var TableSection = function TableSection(props) {
78415
78416
  _useState4 = _slicedToArray(_useState3, 2);
78416
78417
  _useState4[0];
78417
78418
  var settablearray = _useState4[1];
78419
+ var routingcountext = props.actions.routingcountext;
78418
78420
  var Slideshowsettings = {
78419
78421
  indicators: false,
78420
78422
  arrows: true,
@@ -78480,6 +78482,9 @@ var TableSection = function TableSection(props) {
78480
78482
  '@media (max-width: 800px)': {
78481
78483
  fontSize: sectionproperties.prodCatFontSizeResp + 'px'
78482
78484
  }
78485
+ }),
78486
+ pricing_card_wrapper: css({
78487
+ ':before': {}
78483
78488
  })
78484
78489
  };
78485
78490
  var _useState9 = useState([]),
@@ -78514,15 +78519,108 @@ var TableSection = function TableSection(props) {
78514
78519
  var plancontentarray = [{
78515
78520
  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'],
78516
78521
  content_ar: ['طلب واحد', 'بدون شحن', 'بدون خصومات', 'استبدال خلال 7 أيام (مدفوع)', 'ضمان لمدة 14 يومًا', 'بدون قسيمة شراء', 'العروض العامة', 'دعم خلال ساعات العمل', 'لا يوجد خيار للمشتري المعتمد', 'لا يوجد نظام نقاط / ولاء'],
78517
- content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统']
78522
+ content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统'],
78523
+ icons: [/*#__PURE__*/React.createElement(FiCheckCircle, {
78524
+ size: 15,
78525
+ color: '#15B748'
78526
+ }), /*#__PURE__*/React.createElement(AiOutlineCloseCircle, {
78527
+ size: 15,
78528
+ color: '#DF201A'
78529
+ }), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
78530
+ size: 15,
78531
+ color: '#DF201A'
78532
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78533
+ size: 15,
78534
+ color: '#15B748'
78535
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78536
+ size: 15,
78537
+ color: '#15B748'
78538
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78539
+ size: 15,
78540
+ color: '#15B748'
78541
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78542
+ size: 15,
78543
+ color: '#15B748'
78544
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78545
+ size: 15,
78546
+ color: '#15B748'
78547
+ }), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
78548
+ size: 15,
78549
+ color: '#DF201A'
78550
+ }), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
78551
+ size: 15,
78552
+ color: '#DF201A'
78553
+ })]
78518
78554
  }, {
78519
78555
  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'],
78520
78556
  content_ar: ['5 طلبات (بحد أدنى 5000 جنيه إسترليني)', 'الشحن للطلب الأول', 'بدون خصومات', 'استبدال مجاني خلال 7 أيام', 'ضمان لمدة 3 أشهر', 'قسيمة شراء بقيمة 100 جنيه إسترليني', 'خصومات إضافية', 'دعم ذو أولوية', 'لا يوجد خيار للمشتري المعتمد', 'نقطة واحدة في نظام الولاء لكل طلب'],
78521
- content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分']
78557
+ content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分'],
78558
+ icons: [/*#__PURE__*/React.createElement(FiCheckCircle, {
78559
+ size: 15,
78560
+ color: '#15B748'
78561
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78562
+ size: 15,
78563
+ color: '#15B748'
78564
+ }), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
78565
+ size: 15,
78566
+ color: '#DF201A'
78567
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78568
+ size: 15,
78569
+ color: '#15B748'
78570
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78571
+ size: 15,
78572
+ color: '#15B748'
78573
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78574
+ size: 15,
78575
+ color: '#15B748'
78576
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78577
+ size: 15,
78578
+ color: '#15B748'
78579
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78580
+ size: 15,
78581
+ color: '#15B748'
78582
+ }), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
78583
+ size: 15,
78584
+ color: '#DF201A'
78585
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78586
+ size: 15,
78587
+ color: '#15B748'
78588
+ })]
78522
78589
  }, {
78523
78590
  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'],
78524
78591
  content_ar: ['10 طلبات (بحد أدنى 10000 جنيه إسترليني)', 'الشحن لجميع الطلبات', 'خصم 5%', 'استبدال مجاني خلال 14 يومًا', 'ضمان لمدة 6 أشهر', 'قسيمة شراء بقيمة 250 جنيهًا إسترلينيًا', 'خصومات حصرية', 'دعم مميز + متابعة شخصية', 'يتوفر خيار المشتري المعتمد', 'نقطتان لكل طلب'],
78525
- content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分']
78592
+ content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分'],
78593
+ icons: [/*#__PURE__*/React.createElement(FiCheckCircle, {
78594
+ size: 15,
78595
+ color: '#15B748'
78596
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78597
+ size: 15,
78598
+ color: '#15B748'
78599
+ }), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
78600
+ size: 15,
78601
+ color: '#DF201A'
78602
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78603
+ size: 15,
78604
+ color: '#15B748'
78605
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78606
+ size: 15,
78607
+ color: '#15B748'
78608
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78609
+ size: 15,
78610
+ color: '#15B748'
78611
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78612
+ size: 15,
78613
+ color: '#15B748'
78614
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78615
+ size: 15,
78616
+ color: '#15B748'
78617
+ }), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
78618
+ size: 15,
78619
+ color: '#DF201A'
78620
+ }), /*#__PURE__*/React.createElement(FiCheckCircle, {
78621
+ size: 15,
78622
+ color: '#15B748'
78623
+ })]
78526
78624
  }];
78527
78625
  return /*#__PURE__*/React.createElement("div", {
78528
78626
  "class": "row m-0 w-100 allcentered py-5 px-5 px-md-3"
@@ -78616,7 +78714,7 @@ var TableSection = function TableSection(props) {
78616
78714
  }, /*#__PURE__*/React.createElement("p", {
78617
78715
  "class": "m-0 p-0 text-black"
78618
78716
  }, "1000"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '67c050d72cbe7' && /*#__PURE__*/React.createElement("div", {
78619
- "class": "row m-0 w-100 px-5 mb-5 px-md-2"
78717
+ "class": "row m-0 w-100 px-5 mb-5 px-md-0"
78620
78718
  }, /*#__PURE__*/React.createElement("div", {
78621
78719
  "class": "row m-0 w-100 px-5 mb-5 px-md-0"
78622
78720
  }, /*#__PURE__*/React.createElement("div", {
@@ -78640,62 +78738,65 @@ var TableSection = function TableSection(props) {
78640
78738
  var _plancontentarray$car;
78641
78739
  var contentKey = langdetect === 'en' ? 'content_en' : langdetect === 'ar' ? 'content_ar' : 'content_chin';
78642
78740
  return /*#__PURE__*/React.createElement("div", {
78643
- "class": "col-lg-4 col-md-12 mb-3"
78741
+ className: ' col-lg-4 col-md-12 mb-3 ',
78742
+ style: {}
78644
78743
  }, /*#__PURE__*/React.createElement("div", {
78645
- "class": "row m-0 w-100 p-4 p-md-3",
78744
+ className: ' w-100 mb-3 ',
78745
+ style: {
78746
+ position: 'relative'
78747
+ }
78748
+ }, /*#__PURE__*/React.createElement("div", {
78749
+ className: "pricing-card",
78646
78750
  style: {
78647
78751
  background: cardinfoitem.cardbgcolor,
78648
- boxShadow: '0 0 10px ' + cardinfoitem.cardshadowcolor,
78752
+ boxShadow: '0 0 15px ' + cardinfoitem.cardshadowcolor,
78649
78753
  borderRadius: 20
78650
78754
  }
78651
78755
  }, /*#__PURE__*/React.createElement("div", {
78652
- "class": "col-12 p-0 mb-3"
78653
- }, /*#__PURE__*/React.createElement("p", {
78654
- "class": "m-0 p-0 px-3 py-1",
78756
+ className: "pricing-header",
78655
78757
  style: {
78656
- width: 'fit-content',
78657
- borderRadius: 100,
78758
+ // width: 'fit-content',
78759
+ // borderRadius: 100,
78658
78760
  background: cardinfoitem.planbgcolor,
78659
78761
  fontSize: 20,
78660
78762
  fontWeight: 500,
78661
78763
  color: cardinfoitem.plancolor
78662
78764
  }
78663
- }, cardinfoitem.planname_en)), /*#__PURE__*/React.createElement("div", {
78664
- "class": "col-12 p-0"
78665
- }, /*#__PURE__*/React.createElement("p", {
78666
- "class": "m-0 p-0",
78667
- style: {
78668
- fontSize: 20,
78669
- fontWeight: 500,
78670
- color: '#000'
78671
- }
78765
+ }, cardinfoitem.planname_en), /*#__PURE__*/React.createElement("div", {
78766
+ className: "pricing-content allcentered"
78672
78767
  }, (_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) {
78768
+ var _plancontentarray$car2;
78673
78769
  return /*#__PURE__*/React.createElement("p", {
78674
78770
  key: contentindex,
78675
- "class": "m-0 p-0 mb-2",
78771
+ "class": "m-0 p-0 mb-2 d-flex align-items-center justify-content-start",
78676
78772
  style: {
78677
- fontSize: 18,
78773
+ fontSize: 16,
78678
78774
  color: '#000'
78679
78775
  }
78680
- }, /*#__PURE__*/React.createElement(FiCheckCircle, {
78681
- size: 18
78682
- }), " ", contentitem);
78683
- }))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
78684
- "class": "col-12 allcentered"
78776
+ }, (_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.createElement("span", {
78777
+ className: "mx-2"
78778
+ }, contentitem));
78779
+ }), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
78780
+ "class": "col-12 allcentered mt-4"
78685
78781
  }, /*#__PURE__*/React.createElement("button", {
78686
78782
  onClick: function onClick() {
78687
- routingcountext(cardinfoitem.btnlink, false, '');
78783
+ routingcountext(sectionproperties.btnlink, false, '');
78688
78784
  },
78689
78785
  style: {
78690
78786
  width: sectionproperties.generalbtn_width + '%',
78691
78787
  height: sectionproperties.generalbtn_height + 'px',
78692
- background: sectionproperties.generalbtn_bgColor,
78788
+ background: cardinfoitem.planbgcolor,
78693
78789
  color: sectionproperties.generalbtn_textColor,
78694
78790
  fontSize: sectionproperties.generalbtn_fontsize + 'px',
78695
78791
  fontWeight: sectionproperties.generalbtn_fontweight,
78696
78792
  borderRadius: sectionproperties.generalbtnborderradius + 'px'
78697
78793
  }
78698
- }, sectionproperties.slideshow_btn_text))));
78794
+ }, sectionproperties.slideshow_btn_text)))), /*#__PURE__*/React.createElement("div", {
78795
+ "class": 'beforewrapper',
78796
+ style: {
78797
+ background: cardinfoitem.planbgcolor
78798
+ }
78799
+ })));
78699
78800
  }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69ca3d56a6e7e' && /*#__PURE__*/React.createElement("div", {
78700
78801
  "class": "row m-0 w-100 px-5"
78701
78802
  }, /*#__PURE__*/React.createElement("div", {
@@ -83991,8 +84092,8 @@ var Slideshowzoom = function Slideshowzoom(props) {
83991
84092
  // left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.showanimation == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
83992
84093
  // right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
83993
84094
 
83994
- left: langdetect == 'ar' ? '' : 0,
83995
- right: langdetect == 'ar' ? 0 : '',
84095
+ left: sectionproperties.innersectionWidth != 100 ? 0 : langdetect == 'ar' ? '' : 0,
84096
+ right: sectionproperties.innersectionWidth != 100 ? 0 : langdetect == 'ar' ? 0 : '',
83996
84097
  '@media (max-width: 800px)': {
83997
84098
  // bottom: '20px',
83998
84099
  bottom: sectionproperties.innersectionmarginbottomresponsive + 'px'
@@ -84017,30 +84118,6 @@ var Slideshowzoom = function Slideshowzoom(props) {
84017
84118
  }
84018
84119
  }),
84019
84120
  slideshow_btn_mazl: css({
84020
- // zIndex: 1000,
84021
- // height: sectionproperties.generalbtn_height + 'px',
84022
- // width: sectionproperties.generalbtn_width + 'px',
84023
- // background: 'transparent',
84024
- // color: sectionproperties.generalbtn_bgColor,
84025
- // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
84026
- // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
84027
- // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
84028
- // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
84029
- // fontSize: sectionproperties.generalbtn_fontsize + 'px',
84030
- // lineHeight: sectionproperties.generalbtn_fontsize + 'px',
84031
- // textTransform: sectionproperties.generalbtn_texttransform,
84032
- // fontWeight: sectionproperties.generalbtn_fontweight,
84033
- // transition: '.3s',
84034
- // border: '1px solid ' + sectionproperties.generalbtn_bgColor,
84035
- // ':hover': {
84036
- // background: sectionproperties.generalbtn_bgColor,
84037
- // color: 'white',
84038
- // },
84039
- // '@media (max-width: 800px)': {
84040
- // width: sectionproperties.generalbtnwidthresp + 'px',
84041
- // height: sectionproperties.generalbtnheightresponsive + 'px',
84042
- // fontSize: sectionproperties.generalbtnfontsizeresp + 'px',
84043
- // },
84044
84121
  height: sectionproperties.generalbtn_height + 'px',
84045
84122
  width: sectionproperties.generalbtn_width + 'px',
84046
84123
  background: sectionproperties.generalbtn_bgColor,
@@ -84087,6 +84164,30 @@ var Slideshowzoom = function Slideshowzoom(props) {
84087
84164
  height: sectionproperties.generalbtnheightresponsive + 'px',
84088
84165
  fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
84089
84166
  }
84167
+ }),
84168
+ slideshow_btnfhr: css({
84169
+ height: sectionproperties.generalbtn_height + 'px',
84170
+ width: sectionproperties.generalbtn_width + 'px',
84171
+ background: sectionproperties.generalbtn_bgColor,
84172
+ color: sectionproperties.generalbtn_textColor,
84173
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
84174
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
84175
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
84176
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
84177
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
84178
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
84179
+ textTransform: sectionproperties.generalbtn_texttransform,
84180
+ fontWeight: sectionproperties.generalbtn_fontweight,
84181
+ transition: '.3s',
84182
+ ':hover': {
84183
+ background: sectionproperties.generalbtn_bgColoronhover,
84184
+ color: sectionproperties.generalbtn_textColoronhover
84185
+ },
84186
+ '@media (max-width: 800px)': {
84187
+ width: sectionproperties.generalbtnwidthresp + 'px',
84188
+ height: sectionproperties.generalbtnheightresponsive + 'px',
84189
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
84190
+ }
84090
84191
  })
84091
84192
  };
84092
84193
  var SlideShowTextContainer = function SlideShowTextContainer(item) {
@@ -84136,7 +84237,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84136
84237
  // : 'col-lg-12 text-start'
84137
84238
  sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
84138
84239
  }, /*#__PURE__*/React.createElement("button", {
84139
- "class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
84240
+ "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 ',
84140
84241
  onClick: function onClick() {
84141
84242
  if (sectionproperties.showplayer == 'Show') {
84142
84243
  setshowpopup(true);
@@ -84168,12 +84269,20 @@ var Slideshowzoom = function Slideshowzoom(props) {
84168
84269
  onClick: function onClick() {
84169
84270
  routingcountext('collections/innerparentcollections/6a71d53ec85aa', false, '');
84170
84271
  }
84171
- }, langdetect == 'en' ? 'Shop Home Accessories' : 'تسوق اكسسوارات المنزل')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
84172
- "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',
84173
- "data-aos": 'fade-up',
84174
- "data-aos-delay": "300"
84272
+ }, langdetect == 'en' ? 'Shop Home Accessories' : 'تسوق اكسسوارات المنزل'), authdetailsContext.instinfo.instid == '6a7772c9ec61b' && /*#__PURE__*/React.createElement("button", {
84273
+ "class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
84274
+ style: {
84275
+ letterSpacing: langdetect == 'en' ? '1px' : 0
84276
+ },
84277
+ onClick: function onClick() {
84278
+ routingcountext('collections', false, '');
84279
+ }
84280
+ }, langdetect == 'en' ? 'Explore Courses' : 'اكتشف الكورسات')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
84281
+ "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'
84282
+ // data-aos={'fade-up'}
84283
+ // data-aos-delay="300"
84175
84284
  }, /*#__PURE__*/React.createElement("button", {
84176
- "class": "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
84285
+ "class": authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btnfhr) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
84177
84286
  onClick: function onClick() {
84178
84287
  if (sectionproperties.showplayer == 'Show') {
84179
84288
  setshowpopup(true);
@@ -84184,7 +84293,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
84184
84293
  style: {
84185
84294
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
84186
84295
  }
84187
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
84296
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '), authdetailsContext.instinfo.instid == '6a7772c9ec61b' && /*#__PURE__*/React.createElement("button", {
84297
+ "class": "".concat(slideshow_styles.slideshow_btnfhr) + ' allcentered mx-1 ',
84298
+ style: {
84299
+ letterSpacing: langdetect == 'en' ? '1px' : 0
84300
+ },
84301
+ onClick: function onClick() {
84302
+ routingcountext('collections', false, '');
84303
+ }
84304
+ }, langdetect == 'en' ? 'Explore Courses' : 'اكتشف الكورسات')));
84188
84305
  };
84189
84306
  return /*#__PURE__*/React.createElement("div", {
84190
84307
  "class": "row m-0 w-100"
@@ -84245,7 +84362,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84245
84362
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84246
84363
  },
84247
84364
  onClick: function onClick() {
84248
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84365
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84249
84366
  if (sectionproperties.showplayer == 'Show') {
84250
84367
  setshowpopup(true);
84251
84368
  } else if (item.IsClickableimg == 'Yes') {
@@ -84286,7 +84403,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84286
84403
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84287
84404
  },
84288
84405
  onClick: function onClick() {
84289
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84406
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84290
84407
  if (sectionproperties.showplayer == 'Show') {
84291
84408
  setshowpopup(true);
84292
84409
  } else if (item.IsClickableimg == 'Yes') {
@@ -84421,7 +84538,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84421
84538
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84422
84539
  },
84423
84540
  onClick: function onClick() {
84424
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84541
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84425
84542
  if (sectionproperties.showplayer == 'Show') {
84426
84543
  setshowpopup(true);
84427
84544
  } else if (item.IsClickableimg == 'Yes') {
@@ -84461,7 +84578,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84461
84578
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84462
84579
  },
84463
84580
  onClick: function onClick() {
84464
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84581
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84465
84582
  if (sectionproperties.showplayer == 'Show') {
84466
84583
  setshowpopup(true);
84467
84584
  } else if (item.IsClickableimg == 'Yes') {
@@ -84588,7 +84705,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84588
84705
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84589
84706
  },
84590
84707
  onClick: function onClick() {
84591
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84708
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84592
84709
  if (sectionproperties.showplayer == 'Show') {
84593
84710
  setshowpopup(true);
84594
84711
  } else if (item.IsClickableimg == 'Yes') {
@@ -84628,7 +84745,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
84628
84745
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
84629
84746
  },
84630
84747
  onClick: function onClick() {
84631
- if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
84748
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
84632
84749
  if (sectionproperties.showplayer == 'Show') {
84633
84750
  setshowpopup(true);
84634
84751
  } else if (item.IsClickableimg == 'Yes') {
@@ -100766,15 +100883,37 @@ var Simpleproductcard = function Simpleproductcard(props) {
100766
100883
  "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
100767
100884
  onClick: function onClick() {
100768
100885
  var _authdetailsContext$i20;
100769
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100770
- setShowProductInfoModalContext(true);
100771
- setProductIdProdutInfoModalContext(item.productid);
100886
+ // if (authdetailsContext?.instinfo?.contactinfo.instid == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
100887
+ // setShowProductInfoModalContext(true);
100888
+ // setProductIdProdutInfoModalContext(item.productid);
100889
+ // } else {
100890
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68527dfef348b') {
100891
+ window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
100892
+ } else if (sectionproperties.showvariantscont == 'Show') {
100893
+ addtocartfunc();
100772
100894
  } else {
100773
- var _authdetailsContext$i21;
100774
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68527dfef348b') {
100775
- window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
100776
- } else if (sectionproperties.showvariantscont == 'Show') {
100777
- addtocartfunc();
100895
+ var productidtobesend = null;
100896
+ if (sectionproperties.urlwithproductname == 'Yes') {
100897
+ productidtobesend = item.productendpointurl;
100898
+ } else {
100899
+ // productidtobesend = item.productid;
100900
+ productidtobesend = item;
100901
+ }
100902
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
100903
+ if (item.extrafieldsarray.length == 0) {
100904
+ addtocartfunc();
100905
+ } else {
100906
+ var _authdetailsContext$i21;
100907
+ 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') {
100908
+ setShowProductInfoModalContext(true);
100909
+ setProductIdProdutInfoModalContext(item.productid);
100910
+ } else {
100911
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100912
+ }
100913
+ }
100914
+ // addtocartfunc();
100915
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
100916
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100778
100917
  } else {
100779
100918
  var productidtobesend = null;
100780
100919
  if (sectionproperties.urlwithproductname == 'Yes') {
@@ -100783,27 +100922,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
100783
100922
  // productidtobesend = item.productid;
100784
100923
  productidtobesend = item;
100785
100924
  }
100786
- if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
100787
- if (item.extrafieldsarray.length == 0) {
100788
- addtocartfunc();
100789
- } else {
100790
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100791
- }
100792
- // addtocartfunc();
100793
- } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
100794
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100795
- } else {
100796
- var productidtobesend = null;
100797
- if (sectionproperties.urlwithproductname == 'Yes') {
100798
- productidtobesend = item.productendpointurl;
100799
- } else {
100800
- // productidtobesend = item.productid;
100801
- productidtobesend = item;
100802
- }
100803
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100804
- }
100925
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
100805
100926
  }
100806
100927
  }
100928
+ // }
100807
100929
  }
100808
100930
  }, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
100809
100931
  "class": "col-lg-12 d-flex align-items-center p-0",
@@ -101643,16 +101765,37 @@ var Simpleproductcard = function Simpleproductcard(props) {
101643
101765
  "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
101644
101766
  onClick: function onClick() {
101645
101767
  var _authdetailsContext$i39;
101646
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
101647
- setShowProductInfoModalContext(true);
101648
- setProductIdProdutInfoModalContext(item.productid);
101768
+ // if (authdetailsContext?.instinfo?.contactinfo.instid == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
101769
+ // setShowProductInfoModalContext(true);
101770
+ // setProductIdProdutInfoModalContext(item.productid);
101771
+ // } else {
101772
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68527dfef348b') {
101773
+ // alert(item.path);
101774
+ window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
101775
+ } else if (sectionproperties.showvariantscont == 'Show') {
101776
+ addtocartfunc();
101649
101777
  } else {
101650
- var _authdetailsContext$i40;
101651
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68527dfef348b') {
101652
- // alert(item.path);
101653
- window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
101654
- } else if (sectionproperties.showvariantscont == 'Show') {
101655
- addtocartfunc();
101778
+ var productidtobesend = null;
101779
+ if (sectionproperties.urlwithproductname == 'Yes') {
101780
+ productidtobesend = item.productendpointurl;
101781
+ } else {
101782
+ // productidtobesend = item.productid;
101783
+ productidtobesend = item;
101784
+ }
101785
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
101786
+ if (item.extrafieldsarray.length == 0) {
101787
+ addtocartfunc();
101788
+ } else {
101789
+ var _authdetailsContext$i40;
101790
+ 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') {
101791
+ setShowProductInfoModalContext(true);
101792
+ setProductIdProdutInfoModalContext(item.productid);
101793
+ } else {
101794
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101795
+ }
101796
+ }
101797
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
101798
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101656
101799
  } else {
101657
101800
  var productidtobesend = null;
101658
101801
  if (sectionproperties.urlwithproductname == 'Yes') {
@@ -101661,25 +101804,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
101661
101804
  // productidtobesend = item.productid;
101662
101805
  productidtobesend = item;
101663
101806
  }
101664
- if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
101665
- if (item.extrafieldsarray.length == 0) {
101666
- addtocartfunc();
101667
- } else {
101668
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101669
- }
101670
- } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
101671
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101672
- } else {
101673
- var productidtobesend = null;
101674
- if (sectionproperties.urlwithproductname == 'Yes') {
101675
- productidtobesend = item.productendpointurl;
101676
- } else {
101677
- // productidtobesend = item.productid;
101678
- productidtobesend = item;
101679
- }
101680
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101681
- }
101807
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
101682
101808
  }
101809
+ // }
101683
101810
  }
101684
101811
  }
101685
101812
  }, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {