tabexseriescomponents 0.2.1422 → 0.2.1423

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
@@ -12758,19 +12758,24 @@ var Productinfo = function Productinfo(props) {
12758
12758
  })), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
12759
12759
  "class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
12760
12760
  }, productVideos.map(function (item, index) {
12761
+ var _item$url;
12762
+ (_item$url = item.url) === null || _item$url === void 0 ? void 0 : _item$url.toLowerCase().includes('reel');
12761
12763
  return /*#__PURE__*/React__default["default"].createElement("div", {
12762
12764
  className: "col-lg-4 col-md-6 col-sm-12 mb-4",
12763
12765
  style: {
12764
12766
  height: 400
12765
12767
  }
12766
- }, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
12767
- url: item.videourl,
12768
- height: '100%',
12769
- width: '100%',
12770
- playing: false,
12771
- controls: true,
12772
- loop: true,
12773
- muted: true
12768
+ }, /*#__PURE__*/React__default["default"].createElement("iframe", {
12769
+ src: "https://www.facebook.com/plugins/video.php?height=476&href=https%3A%2F%2Fwww.facebook.com%2Freel%2F1633054444519683%2F&show_text=false&width=267&t=0",
12770
+ width: "267",
12771
+ height: "476"
12772
+ // style="border:none;overflow:hidden"
12773
+ ,
12774
+ scrolling: "no",
12775
+ frameborder: "0",
12776
+ allowfullscreen: "true",
12777
+ allow: "autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",
12778
+ allowFullScreen: "true"
12774
12779
  }));
12775
12780
  })), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
12776
12781
  "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
@@ -78448,7 +78453,7 @@ styleInject(css_248z$j);
78448
78453
  function ownKeys$14(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; }
78449
78454
  function _objectSpread$14(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$14(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$14(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
78450
78455
  var TableSection = function TableSection(props) {
78451
- var _maincontainerarrayof, _authdetailsContext$i, _imagesarray$, _imagesarray$2, _authdetailsContext$i2, _authdetailsContext$i3;
78456
+ var _authdetailsContext$i, _imagesarray$, _imagesarray$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
78452
78457
  var _useState = React.useState(''),
78453
78458
  _useState2 = _slicedToArray__default["default"](_useState, 2),
78454
78459
  sectionproperties = _useState2[0],
@@ -78479,9 +78484,13 @@ var TableSection = function TableSection(props) {
78479
78484
  setsectionproperties(_objectSpread$14({}, secpropobj));
78480
78485
  }, [StatePagePropertiesContext]);
78481
78486
  var _useState5 = React.useState([]),
78482
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
78483
- maincontainerarrayofobjs = _useState6[0],
78484
- setmaincontainerarrayofobjs = _useState6[1];
78487
+ _useState6 = _slicedToArray__default["default"](_useState5, 2);
78488
+ _useState6[0];
78489
+ var setfirstcard = _useState6[1];
78490
+ var _useState7 = React.useState([]),
78491
+ _useState8 = _slicedToArray__default["default"](_useState7, 2);
78492
+ _useState8[0];
78493
+ var setmaincontainerarrayofobjs = _useState8[1];
78485
78494
  React.useEffect(function () {
78486
78495
  if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
78487
78496
  var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
@@ -78498,121 +78507,41 @@ var TableSection = function TableSection(props) {
78498
78507
  settablearray(_toConsumableArray__default["default"](bgsection_imagearrayofobjsparsed));
78499
78508
  }
78500
78509
  }
78510
+ if (sectionproperties.firstcardcontent != null) {
78511
+ var firstcardcontentparse = JSON.parse(sectionproperties.firstcardcontent);
78512
+ if (Array.isArray(firstcardcontentparse)) {
78513
+ setfirstcard(_toConsumableArray__default["default"](firstcardcontentparse));
78514
+ }
78515
+ }
78501
78516
  }
78502
78517
  }, [sectionproperties]);
78503
- ({
78504
- sectiontitlespan: glamor.css({
78518
+ var section_styles = {
78519
+ sectiontitle: glamor.css({
78505
78520
  fontSize: sectionproperties.sectionTitleFontSize + 'px',
78521
+ color: sectionproperties.sectionTitleColor,
78522
+ fontWeight: sectionproperties.sectionTitleFontWeight,
78506
78523
  '@media (max-width: 800px)': {
78507
78524
  fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
78508
- },
78509
- ':after': {
78510
- height: '5px',
78511
- width: sectionproperties.sectitle_lineafterwidth + '%',
78512
- backgroundColor: sectionproperties.linebgcolor
78513
78525
  }
78514
78526
  }),
78515
- line_left: glamor.css({
78516
- height: '1px',
78517
- position: 'relative',
78518
- flex: '1 1 auto',
78519
- minWidth: '10%',
78520
- background: sectionproperties.linebgcolor
78521
- }),
78522
- line_right: glamor.css({
78523
- height: '1px',
78524
- position: 'relative',
78525
- flex: '1 1 auto',
78526
- minWidth: '10%',
78527
- background: sectionproperties.linebgcolor
78528
- }),
78529
- btn: glamor.css({
78530
- width: sectionproperties.generalbtn_width + 'px',
78531
- height: sectionproperties.generalbtn_height + 'px',
78532
- backgroundColor: sectionproperties.generalbtn_bgColor,
78533
- color: sectionproperties.generalbtn_textColor,
78534
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
78535
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
78536
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
78537
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
78538
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
78539
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
78540
- fontWeight: sectionproperties.generalbtn_fontweight,
78541
- marginTop: sectionproperties.generalbtn_marginTop + 'px',
78542
- marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
78543
- transition: '.3s',
78544
- cursor: 'pointer',
78545
- ':hover': {
78546
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
78547
- color: sectionproperties.generalbtn_textColoronhover
78548
- }
78549
- }),
78550
- imgcontainer: glamor.css({
78551
- ':before': {
78552
- width: '100%',
78553
- height: '100%',
78554
- background: 'rgba(0,0,0,' + sectionproperties.cardimg_opacity + ')',
78555
- zIndex: 1,
78556
- position: 'absolute',
78557
- content: 's',
78558
- fontSize: 0,
78559
- left: 0,
78560
- right: 0,
78561
- top: 0,
78562
- bottom: 0
78563
- }
78564
- }),
78565
- sectioncontent: glamor.css({
78566
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
78567
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
78568
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
78569
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
78570
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
78571
- position: 'relative',
78572
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
78573
- width: sectionproperties.width + 'vw',
78574
- paddingTop: sectionproperties.paddingTop + 'px',
78575
- paddingBottom: sectionproperties.paddingBottom + 'px',
78576
- '@media (max-width: 800px)': {
78577
- paddingTop: sectionproperties.paddingtopresponsive + 'px',
78578
- paddingBottom: sectionproperties.paddingbottomresponsive + 'px'
78579
- }
78580
- }),
78581
- paddings: glamor.css({
78582
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
78583
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
78584
- '@media (max-width: 800px)': {
78585
- paddingLeft: sectionproperties.paddinghorizontalresponsive + 'px',
78586
- paddingRight: sectionproperties.paddinghorizontalresponsive + 'px'
78587
- }
78588
- }),
78589
- sectioncont: glamor.css({
78590
- marginTop: sectionproperties.marginTop + 'px',
78591
- marginBottom: sectionproperties.marginBottom + 'px',
78592
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage) + ')' : '' : '',
78593
- '@media (max-width: 800px)': {
78594
- marginTop: sectionproperties.marginTopResp + 'px',
78595
- marginBottom: sectionproperties.marginBottom + 'px'
78596
- }
78597
- }),
78598
- descpancea: glamor.css({
78527
+ description: glamor.css({
78599
78528
  fontSize: sectionproperties.prodCatFontSize + 'px',
78529
+ color: sectionproperties.prodCatColor,
78530
+ fontWeight: sectionproperties.prodCatFontWeight,
78600
78531
  '@media (max-width: 800px)': {
78601
78532
  fontSize: sectionproperties.prodCatFontSizeResp + 'px'
78602
78533
  }
78603
- }),
78604
- titlepana: glamor.css({
78605
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
78606
- '@media (max-width: 800px)': {
78607
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
78608
- }
78609
78534
  })
78610
- });
78611
- var _useState7 = React.useState([]),
78612
- _useState8 = _slicedToArray__default["default"](_useState7, 2),
78613
- imagesarray = _useState8[0],
78614
- setimagesarray = _useState8[1];
78535
+ };
78536
+ var _useState9 = React.useState([]),
78537
+ _useState0 = _slicedToArray__default["default"](_useState9, 2),
78538
+ imagesarray = _useState0[0],
78539
+ setimagesarray = _useState0[1];
78615
78540
  var authdetailsContext = props.actions.authdetailsContext;
78541
+ var _useState1 = React.useState([]),
78542
+ _useState10 = _slicedToArray__default["default"](_useState1, 2),
78543
+ cardsarray = _useState10[0],
78544
+ setcardsarray = _useState10[1];
78616
78545
  React.useEffect(function () {
78617
78546
  if (sectionproperties.length != 0) {
78618
78547
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -78623,6 +78552,29 @@ var TableSection = function TableSection(props) {
78623
78552
  }
78624
78553
  }
78625
78554
  }, [sectionproperties]);
78555
+ React.useEffect(function () {
78556
+ if (sectionproperties.length != 0) {
78557
+ if (sectionproperties.tablearrayofobjs != null) {
78558
+ var tablearrayofobjsparsed = JSON.parse(sectionproperties.tablearrayofobjs);
78559
+ if (Array.isArray(tablearrayofobjsparsed)) {
78560
+ setcardsarray(_toConsumableArray__default["default"](tablearrayofobjsparsed));
78561
+ }
78562
+ }
78563
+ }
78564
+ }, [sectionproperties]);
78565
+ var plancontentarray = [{
78566
+ 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
+ content_ar: ['طلب واحد', 'بدون شحن', 'بدون خصومات', 'استبدال خلال 7 أيام (مدفوع)', 'ضمان لمدة 14 يومًا', 'بدون قسيمة شراء', 'العروض العامة', 'دعم خلال ساعات العمل', 'لا يوجد خيار للمشتري المعتمد', 'لا يوجد نظام نقاط / ولاء'],
78568
+ content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统']
78569
+ }, {
78570
+ 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
+ content_ar: ['5 طلبات (بحد أدنى 5000 جنيه إسترليني)', 'الشحن للطلب الأول', 'بدون خصومات', 'استبدال مجاني خلال 7 أيام', 'ضمان لمدة 3 أشهر', 'قسيمة شراء بقيمة 100 جنيه إسترليني', 'خصومات إضافية', 'دعم ذو أولوية', 'لا يوجد خيار للمشتري المعتمد', 'نقطة واحدة في نظام الولاء لكل طلب'],
78572
+ content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分']
78573
+ }, {
78574
+ 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
+ content_ar: ['10 طلبات (بحد أدنى 10000 جنيه إسترليني)', 'الشحن لجميع الطلبات', 'خصم 5%', 'استبدال مجاني خلال 14 يومًا', 'ضمان لمدة 6 أشهر', 'قسيمة شراء بقيمة 250 جنيهًا إسترلينيًا', 'خصومات حصرية', 'دعم مميز + متابعة شخصية', 'يتوفر خيار المشتري المعتمد', 'نقطتان لكل طلب'],
78576
+ content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分']
78577
+ }];
78626
78578
  return /*#__PURE__*/React__default["default"].createElement("div", {
78627
78579
  "class": "row m-0 w-100 allcentered py-5 px-5 px-md-3"
78628
78580
  }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -78714,7 +78666,88 @@ var TableSection = function TableSection(props) {
78714
78666
  className: "text-center"
78715
78667
  }, /*#__PURE__*/React__default["default"].createElement("p", {
78716
78668
  "class": "m-0 p-0 text-black"
78717
- }, "1000"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '69ca3d56a6e7e' && /*#__PURE__*/React__default["default"].createElement("div", {
78669
+ }, "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"
78671
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78672
+ "class": "row m-0 w-100 px-5 mb-5 px-md-0"
78673
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78674
+ "class": "col-12 p-0 d-flex ",
78675
+ style: {
78676
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
78677
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
78678
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
78679
+ }
78680
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78681
+ "class": section_styles.sectiontitle + ' m-0 p-0 '
78682
+ }, sectionproperties.sectionTitleContent)), /*#__PURE__*/React__default["default"].createElement("div", {
78683
+ "class": "col-12 p-0 d-flex ",
78684
+ style: {
78685
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
78686
+ justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
78687
+ }
78688
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78689
+ "class": section_styles.description + ' m-0 p-0 '
78690
+ }, sectionproperties.descriptionContentEn)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
78691
+ var _plancontentarray$car;
78692
+ var contentKey = langdetect === 'en' ? 'content_en' : langdetect === 'ar' ? 'content_ar' : 'content_chin';
78693
+ return /*#__PURE__*/React__default["default"].createElement("div", {
78694
+ "class": "col-lg-4 col-md-12 mb-3"
78695
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78696
+ "class": "row m-0 w-100 p-4 p-md-3",
78697
+ style: {
78698
+ background: cardinfoitem.cardbgcolor,
78699
+ boxShadow: '0 0 10px ' + cardinfoitem.cardshadowcolor,
78700
+ borderRadius: 20
78701
+ }
78702
+ }, /*#__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",
78706
+ style: {
78707
+ width: 'fit-content',
78708
+ borderRadius: 100,
78709
+ background: cardinfoitem.planbgcolor,
78710
+ fontSize: 20,
78711
+ fontWeight: 500,
78712
+ color: cardinfoitem.plancolor
78713
+ }
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
+ }
78723
+ }, (_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) {
78724
+ return /*#__PURE__*/React__default["default"].createElement("p", {
78725
+ key: contentindex,
78726
+ "class": "m-0 p-0 mb-2",
78727
+ style: {
78728
+ fontSize: 18,
78729
+ color: '#000'
78730
+ }
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"
78736
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
78737
+ onClick: function onClick() {
78738
+ routingcountext(cardinfoitem.btnlink, false, '');
78739
+ },
78740
+ style: {
78741
+ width: sectionproperties.generalbtn_width + '%',
78742
+ height: sectionproperties.generalbtn_height + 'px',
78743
+ background: sectionproperties.generalbtn_bgColor,
78744
+ color: sectionproperties.generalbtn_textColor,
78745
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
78746
+ fontWeight: sectionproperties.generalbtn_fontweight,
78747
+ borderRadius: sectionproperties.generalbtnborderradius + 'px'
78748
+ }
78749
+ }, sectionproperties.slideshow_btn_text))));
78750
+ }))), (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", {
78718
78751
  "class": "row m-0 w-100 px-5"
78719
78752
  }, /*#__PURE__*/React__default["default"].createElement("div", {
78720
78753
  "class": "col-12 allcentered mt-3 mb-5"
@@ -78852,7 +78885,7 @@ var TableSection = function TableSection(props) {
78852
78885
  className: "text-center"
78853
78886
  }, /*#__PURE__*/React__default["default"].createElement("p", {
78854
78887
  "class": "m-0 p-0 text-black"
78855
- }, langdetect == 'en' ? 'Update' : 'تحديث')))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React__default["default"].createElement("div", {
78888
+ }, langdetect == 'en' ? 'Update' : 'تحديث')))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React__default["default"].createElement("div", {
78856
78889
  "class": "col-12 col-md-12 table_responsive"
78857
78890
  }, /*#__PURE__*/React__default["default"].createElement("table", {
78858
78891
  className: 'table tablevertical'
@@ -79260,41 +79293,23 @@ var MarqueeSection = function MarqueeSection(props) {
79260
79293
  }
79261
79294
  }, langdetect === 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
79262
79295
  }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '690cdc59eb986' && /*#__PURE__*/React__default["default"].createElement("div", {
79263
- className: "rotating-text-containersd rotating-text-containermarqueesection"
79296
+ className: "marquee-new"
79264
79297
  }, /*#__PURE__*/React__default["default"].createElement("div", {
79265
- ref: marqueeRef,
79266
- className: sectionproperties.marqueemovementdirection === 'Right to Left' ? 'rotating-text2sd' : 'rotating-text-reverse2sd'
79267
- }, [].concat(_toConsumableArray__default["default"](cardsarray), _toConsumableArray__default["default"](cardsarray)).map(function (cardinfoitem, cardinfoindex) {
79268
- var _authdetailsContext$i9;
79298
+ className: "marquee-track-new"
79299
+ }, [].concat(_toConsumableArray__default["default"](cardsarray), _toConsumableArray__default["default"](cardsarray)).map(function (image, index) {
79269
79300
  return /*#__PURE__*/React__default["default"].createElement("div", {
79270
- key: cardinfoindex,
79271
- className: section_styles.marqueeimagecontainer,
79272
- style: {
79273
- textAlign: 'center',
79274
- alignItems: 'center',
79275
- alignContent: 'center'
79276
- }
79277
- }, cardinfoitem.marqueeimage != null && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
79301
+ className: "marquee-item-new",
79302
+ key: index
79303
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
79278
79304
  "class": section_styles.marqueeimage,
79279
79305
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
79280
79306
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
79281
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.marqueeimage,
79307
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + image.marqueeimage,
79282
79308
  style: {
79283
79309
  objectFit: sectionproperties.bgcovercontain === 'Contain' ? 'contain' : 'cover',
79284
79310
  borderRadius: sectionproperties.imageborderradius + 'px'
79285
79311
  }
79286
- }), /*#__PURE__*/React__default["default"].createElement("p", {
79287
- className: section_styles.textstyle + ' mb-0 p-0',
79288
- style: {
79289
- cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) === '691dcd6e974bb' ? 'pointer' : ''
79290
- },
79291
- onClick: function onClick() {
79292
- var _authdetailsContext$i0;
79293
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.contactinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) === '691dcd6e974bb') {
79294
- window.open('https://www.instagram.com', '_blank');
79295
- }
79296
- }
79297
- }, langdetect === 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
79312
+ }));
79298
79313
  }))));
79299
79314
  };
79300
79315
 
package/dist/index.esm.js CHANGED
@@ -12707,19 +12707,24 @@ var Productinfo = function Productinfo(props) {
12707
12707
  })), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
12708
12708
  "class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
12709
12709
  }, productVideos.map(function (item, index) {
12710
+ var _item$url;
12711
+ (_item$url = item.url) === null || _item$url === void 0 ? void 0 : _item$url.toLowerCase().includes('reel');
12710
12712
  return /*#__PURE__*/React.createElement("div", {
12711
12713
  className: "col-lg-4 col-md-6 col-sm-12 mb-4",
12712
12714
  style: {
12713
12715
  height: 400
12714
12716
  }
12715
- }, /*#__PURE__*/React.createElement(ReactPlayer, {
12716
- url: item.videourl,
12717
- height: '100%',
12718
- width: '100%',
12719
- playing: false,
12720
- controls: true,
12721
- loop: true,
12722
- muted: true
12717
+ }, /*#__PURE__*/React.createElement("iframe", {
12718
+ src: "https://www.facebook.com/plugins/video.php?height=476&href=https%3A%2F%2Fwww.facebook.com%2Freel%2F1633054444519683%2F&show_text=false&width=267&t=0",
12719
+ width: "267",
12720
+ height: "476"
12721
+ // style="border:none;overflow:hidden"
12722
+ ,
12723
+ scrolling: "no",
12724
+ frameborder: "0",
12725
+ allowfullscreen: "true",
12726
+ allow: "autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",
12727
+ allowFullScreen: "true"
12723
12728
  }));
12724
12729
  })), tabname == 'reviewstab' && /*#__PURE__*/React.createElement("div", {
12725
12730
  "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
@@ -78397,7 +78402,7 @@ styleInject(css_248z$j);
78397
78402
  function ownKeys$14(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; }
78398
78403
  function _objectSpread$14(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$14(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$14(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
78399
78404
  var TableSection = function TableSection(props) {
78400
- var _maincontainerarrayof, _authdetailsContext$i, _imagesarray$, _imagesarray$2, _authdetailsContext$i2, _authdetailsContext$i3;
78405
+ var _authdetailsContext$i, _imagesarray$, _imagesarray$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
78401
78406
  var _useState = useState(''),
78402
78407
  _useState2 = _slicedToArray(_useState, 2),
78403
78408
  sectionproperties = _useState2[0],
@@ -78428,9 +78433,13 @@ var TableSection = function TableSection(props) {
78428
78433
  setsectionproperties(_objectSpread$14({}, secpropobj));
78429
78434
  }, [StatePagePropertiesContext]);
78430
78435
  var _useState5 = useState([]),
78431
- _useState6 = _slicedToArray(_useState5, 2),
78432
- maincontainerarrayofobjs = _useState6[0],
78433
- setmaincontainerarrayofobjs = _useState6[1];
78436
+ _useState6 = _slicedToArray(_useState5, 2);
78437
+ _useState6[0];
78438
+ var setfirstcard = _useState6[1];
78439
+ var _useState7 = useState([]),
78440
+ _useState8 = _slicedToArray(_useState7, 2);
78441
+ _useState8[0];
78442
+ var setmaincontainerarrayofobjs = _useState8[1];
78434
78443
  useEffect(function () {
78435
78444
  if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
78436
78445
  var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
@@ -78447,121 +78456,41 @@ var TableSection = function TableSection(props) {
78447
78456
  settablearray(_toConsumableArray(bgsection_imagearrayofobjsparsed));
78448
78457
  }
78449
78458
  }
78459
+ if (sectionproperties.firstcardcontent != null) {
78460
+ var firstcardcontentparse = JSON.parse(sectionproperties.firstcardcontent);
78461
+ if (Array.isArray(firstcardcontentparse)) {
78462
+ setfirstcard(_toConsumableArray(firstcardcontentparse));
78463
+ }
78464
+ }
78450
78465
  }
78451
78466
  }, [sectionproperties]);
78452
- ({
78453
- sectiontitlespan: css({
78467
+ var section_styles = {
78468
+ sectiontitle: css({
78454
78469
  fontSize: sectionproperties.sectionTitleFontSize + 'px',
78470
+ color: sectionproperties.sectionTitleColor,
78471
+ fontWeight: sectionproperties.sectionTitleFontWeight,
78455
78472
  '@media (max-width: 800px)': {
78456
78473
  fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
78457
- },
78458
- ':after': {
78459
- height: '5px',
78460
- width: sectionproperties.sectitle_lineafterwidth + '%',
78461
- backgroundColor: sectionproperties.linebgcolor
78462
78474
  }
78463
78475
  }),
78464
- line_left: css({
78465
- height: '1px',
78466
- position: 'relative',
78467
- flex: '1 1 auto',
78468
- minWidth: '10%',
78469
- background: sectionproperties.linebgcolor
78470
- }),
78471
- line_right: css({
78472
- height: '1px',
78473
- position: 'relative',
78474
- flex: '1 1 auto',
78475
- minWidth: '10%',
78476
- background: sectionproperties.linebgcolor
78477
- }),
78478
- btn: css({
78479
- width: sectionproperties.generalbtn_width + 'px',
78480
- height: sectionproperties.generalbtn_height + 'px',
78481
- backgroundColor: sectionproperties.generalbtn_bgColor,
78482
- color: sectionproperties.generalbtn_textColor,
78483
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
78484
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
78485
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
78486
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
78487
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
78488
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
78489
- fontWeight: sectionproperties.generalbtn_fontweight,
78490
- marginTop: sectionproperties.generalbtn_marginTop + 'px',
78491
- marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
78492
- transition: '.3s',
78493
- cursor: 'pointer',
78494
- ':hover': {
78495
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
78496
- color: sectionproperties.generalbtn_textColoronhover
78497
- }
78498
- }),
78499
- imgcontainer: css({
78500
- ':before': {
78501
- width: '100%',
78502
- height: '100%',
78503
- background: 'rgba(0,0,0,' + sectionproperties.cardimg_opacity + ')',
78504
- zIndex: 1,
78505
- position: 'absolute',
78506
- content: 's',
78507
- fontSize: 0,
78508
- left: 0,
78509
- right: 0,
78510
- top: 0,
78511
- bottom: 0
78512
- }
78513
- }),
78514
- sectioncontent: css({
78515
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
78516
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
78517
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
78518
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
78519
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
78520
- position: 'relative',
78521
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
78522
- width: sectionproperties.width + 'vw',
78523
- paddingTop: sectionproperties.paddingTop + 'px',
78524
- paddingBottom: sectionproperties.paddingBottom + 'px',
78525
- '@media (max-width: 800px)': {
78526
- paddingTop: sectionproperties.paddingtopresponsive + 'px',
78527
- paddingBottom: sectionproperties.paddingbottomresponsive + 'px'
78528
- }
78529
- }),
78530
- paddings: css({
78531
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
78532
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
78533
- '@media (max-width: 800px)': {
78534
- paddingLeft: sectionproperties.paddinghorizontalresponsive + 'px',
78535
- paddingRight: sectionproperties.paddinghorizontalresponsive + 'px'
78536
- }
78537
- }),
78538
- sectioncont: css({
78539
- marginTop: sectionproperties.marginTop + 'px',
78540
- marginBottom: sectionproperties.marginBottom + 'px',
78541
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage) + ')' : '' : '',
78542
- '@media (max-width: 800px)': {
78543
- marginTop: sectionproperties.marginTopResp + 'px',
78544
- marginBottom: sectionproperties.marginBottom + 'px'
78545
- }
78546
- }),
78547
- descpancea: css({
78476
+ description: css({
78548
78477
  fontSize: sectionproperties.prodCatFontSize + 'px',
78478
+ color: sectionproperties.prodCatColor,
78479
+ fontWeight: sectionproperties.prodCatFontWeight,
78549
78480
  '@media (max-width: 800px)': {
78550
78481
  fontSize: sectionproperties.prodCatFontSizeResp + 'px'
78551
78482
  }
78552
- }),
78553
- titlepana: css({
78554
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
78555
- '@media (max-width: 800px)': {
78556
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
78557
- }
78558
78483
  })
78559
- });
78560
- var _useState7 = useState([]),
78561
- _useState8 = _slicedToArray(_useState7, 2),
78562
- imagesarray = _useState8[0],
78563
- setimagesarray = _useState8[1];
78484
+ };
78485
+ var _useState9 = useState([]),
78486
+ _useState0 = _slicedToArray(_useState9, 2),
78487
+ imagesarray = _useState0[0],
78488
+ setimagesarray = _useState0[1];
78564
78489
  var authdetailsContext = props.actions.authdetailsContext;
78490
+ var _useState1 = useState([]),
78491
+ _useState10 = _slicedToArray(_useState1, 2),
78492
+ cardsarray = _useState10[0],
78493
+ setcardsarray = _useState10[1];
78565
78494
  useEffect(function () {
78566
78495
  if (sectionproperties.length != 0) {
78567
78496
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -78572,6 +78501,29 @@ var TableSection = function TableSection(props) {
78572
78501
  }
78573
78502
  }
78574
78503
  }, [sectionproperties]);
78504
+ useEffect(function () {
78505
+ if (sectionproperties.length != 0) {
78506
+ if (sectionproperties.tablearrayofobjs != null) {
78507
+ var tablearrayofobjsparsed = JSON.parse(sectionproperties.tablearrayofobjs);
78508
+ if (Array.isArray(tablearrayofobjsparsed)) {
78509
+ setcardsarray(_toConsumableArray(tablearrayofobjsparsed));
78510
+ }
78511
+ }
78512
+ }
78513
+ }, [sectionproperties]);
78514
+ var plancontentarray = [{
78515
+ 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
+ content_ar: ['طلب واحد', 'بدون شحن', 'بدون خصومات', 'استبدال خلال 7 أيام (مدفوع)', 'ضمان لمدة 14 يومًا', 'بدون قسيمة شراء', 'العروض العامة', 'دعم خلال ساعات العمل', 'لا يوجد خيار للمشتري المعتمد', 'لا يوجد نظام نقاط / ولاء'],
78517
+ content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统']
78518
+ }, {
78519
+ 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
+ content_ar: ['5 طلبات (بحد أدنى 5000 جنيه إسترليني)', 'الشحن للطلب الأول', 'بدون خصومات', 'استبدال مجاني خلال 7 أيام', 'ضمان لمدة 3 أشهر', 'قسيمة شراء بقيمة 100 جنيه إسترليني', 'خصومات إضافية', 'دعم ذو أولوية', 'لا يوجد خيار للمشتري المعتمد', 'نقطة واحدة في نظام الولاء لكل طلب'],
78521
+ content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分']
78522
+ }, {
78523
+ 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
+ content_ar: ['10 طلبات (بحد أدنى 10000 جنيه إسترليني)', 'الشحن لجميع الطلبات', 'خصم 5%', 'استبدال مجاني خلال 14 يومًا', 'ضمان لمدة 6 أشهر', 'قسيمة شراء بقيمة 250 جنيهًا إسترلينيًا', 'خصومات حصرية', 'دعم مميز + متابعة شخصية', 'يتوفر خيار المشتري المعتمد', 'نقطتان لكل طلب'],
78525
+ content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分']
78526
+ }];
78575
78527
  return /*#__PURE__*/React.createElement("div", {
78576
78528
  "class": "row m-0 w-100 allcentered py-5 px-5 px-md-3"
78577
78529
  }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React.createElement("div", {
@@ -78663,7 +78615,88 @@ var TableSection = function TableSection(props) {
78663
78615
  className: "text-center"
78664
78616
  }, /*#__PURE__*/React.createElement("p", {
78665
78617
  "class": "m-0 p-0 text-black"
78666
- }, "1000"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '69ca3d56a6e7e' && /*#__PURE__*/React.createElement("div", {
78618
+ }, "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"
78620
+ }, /*#__PURE__*/React.createElement("div", {
78621
+ "class": "row m-0 w-100 px-5 mb-5 px-md-0"
78622
+ }, /*#__PURE__*/React.createElement("div", {
78623
+ "class": "col-12 p-0 d-flex ",
78624
+ style: {
78625
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
78626
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
78627
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
78628
+ }
78629
+ }, /*#__PURE__*/React.createElement("p", {
78630
+ "class": section_styles.sectiontitle + ' m-0 p-0 '
78631
+ }, sectionproperties.sectionTitleContent)), /*#__PURE__*/React.createElement("div", {
78632
+ "class": "col-12 p-0 d-flex ",
78633
+ style: {
78634
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
78635
+ justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
78636
+ }
78637
+ }, /*#__PURE__*/React.createElement("p", {
78638
+ "class": section_styles.description + ' m-0 p-0 '
78639
+ }, sectionproperties.descriptionContentEn)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
78640
+ var _plancontentarray$car;
78641
+ var contentKey = langdetect === 'en' ? 'content_en' : langdetect === 'ar' ? 'content_ar' : 'content_chin';
78642
+ return /*#__PURE__*/React.createElement("div", {
78643
+ "class": "col-lg-4 col-md-12 mb-3"
78644
+ }, /*#__PURE__*/React.createElement("div", {
78645
+ "class": "row m-0 w-100 p-4 p-md-3",
78646
+ style: {
78647
+ background: cardinfoitem.cardbgcolor,
78648
+ boxShadow: '0 0 10px ' + cardinfoitem.cardshadowcolor,
78649
+ borderRadius: 20
78650
+ }
78651
+ }, /*#__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",
78655
+ style: {
78656
+ width: 'fit-content',
78657
+ borderRadius: 100,
78658
+ background: cardinfoitem.planbgcolor,
78659
+ fontSize: 20,
78660
+ fontWeight: 500,
78661
+ color: cardinfoitem.plancolor
78662
+ }
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
+ }
78672
+ }, (_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) {
78673
+ return /*#__PURE__*/React.createElement("p", {
78674
+ key: contentindex,
78675
+ "class": "m-0 p-0 mb-2",
78676
+ style: {
78677
+ fontSize: 18,
78678
+ color: '#000'
78679
+ }
78680
+ }, /*#__PURE__*/React.createElement(FiCheckCircle, {
78681
+ size: 18
78682
+ }), " ", contentitem);
78683
+ }))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
78684
+ "class": "col-12 allcentered"
78685
+ }, /*#__PURE__*/React.createElement("button", {
78686
+ onClick: function onClick() {
78687
+ routingcountext(cardinfoitem.btnlink, false, '');
78688
+ },
78689
+ style: {
78690
+ width: sectionproperties.generalbtn_width + '%',
78691
+ height: sectionproperties.generalbtn_height + 'px',
78692
+ background: sectionproperties.generalbtn_bgColor,
78693
+ color: sectionproperties.generalbtn_textColor,
78694
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
78695
+ fontWeight: sectionproperties.generalbtn_fontweight,
78696
+ borderRadius: sectionproperties.generalbtnborderradius + 'px'
78697
+ }
78698
+ }, sectionproperties.slideshow_btn_text))));
78699
+ }))), (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", {
78667
78700
  "class": "row m-0 w-100 px-5"
78668
78701
  }, /*#__PURE__*/React.createElement("div", {
78669
78702
  "class": "col-12 allcentered mt-3 mb-5"
@@ -78801,7 +78834,7 @@ var TableSection = function TableSection(props) {
78801
78834
  className: "text-center"
78802
78835
  }, /*#__PURE__*/React.createElement("p", {
78803
78836
  "class": "m-0 p-0 text-black"
78804
- }, langdetect == 'en' ? 'Update' : 'تحديث')))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React.createElement("div", {
78837
+ }, langdetect == 'en' ? 'Update' : 'تحديث')))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React.createElement("div", {
78805
78838
  "class": "col-12 col-md-12 table_responsive"
78806
78839
  }, /*#__PURE__*/React.createElement("table", {
78807
78840
  className: 'table tablevertical'
@@ -79209,41 +79242,23 @@ var MarqueeSection = function MarqueeSection(props) {
79209
79242
  }
79210
79243
  }, langdetect === 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
79211
79244
  }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '690cdc59eb986' && /*#__PURE__*/React.createElement("div", {
79212
- className: "rotating-text-containersd rotating-text-containermarqueesection"
79245
+ className: "marquee-new"
79213
79246
  }, /*#__PURE__*/React.createElement("div", {
79214
- ref: marqueeRef,
79215
- className: sectionproperties.marqueemovementdirection === 'Right to Left' ? 'rotating-text2sd' : 'rotating-text-reverse2sd'
79216
- }, [].concat(_toConsumableArray(cardsarray), _toConsumableArray(cardsarray)).map(function (cardinfoitem, cardinfoindex) {
79217
- var _authdetailsContext$i9;
79247
+ className: "marquee-track-new"
79248
+ }, [].concat(_toConsumableArray(cardsarray), _toConsumableArray(cardsarray)).map(function (image, index) {
79218
79249
  return /*#__PURE__*/React.createElement("div", {
79219
- key: cardinfoindex,
79220
- className: section_styles.marqueeimagecontainer,
79221
- style: {
79222
- textAlign: 'center',
79223
- alignItems: 'center',
79224
- alignContent: 'center'
79225
- }
79226
- }, cardinfoitem.marqueeimage != null && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
79250
+ className: "marquee-item-new",
79251
+ key: index
79252
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
79227
79253
  "class": section_styles.marqueeimage,
79228
79254
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
79229
79255
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
79230
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.marqueeimage,
79256
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + image.marqueeimage,
79231
79257
  style: {
79232
79258
  objectFit: sectionproperties.bgcovercontain === 'Contain' ? 'contain' : 'cover',
79233
79259
  borderRadius: sectionproperties.imageborderradius + 'px'
79234
79260
  }
79235
- }), /*#__PURE__*/React.createElement("p", {
79236
- className: section_styles.textstyle + ' mb-0 p-0',
79237
- style: {
79238
- cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) === '691dcd6e974bb' ? 'pointer' : ''
79239
- },
79240
- onClick: function onClick() {
79241
- var _authdetailsContext$i0;
79242
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.contactinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) === '691dcd6e974bb') {
79243
- window.open('https://www.instagram.com', '_blank');
79244
- }
79245
- }
79246
- }, langdetect === 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
79261
+ }));
79247
79262
  }))));
79248
79263
  };
79249
79264
 
package/dist/index.umd.js CHANGED
@@ -12560,19 +12560,24 @@
12560
12560
  })), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
12561
12561
  "class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
12562
12562
  }, productVideos.map(function (item, index) {
12563
+ var _item$url;
12564
+ (_item$url = item.url) === null || _item$url === void 0 ? void 0 : _item$url.toLowerCase().includes('reel');
12563
12565
  return /*#__PURE__*/React__default["default"].createElement("div", {
12564
12566
  className: "col-lg-4 col-md-6 col-sm-12 mb-4",
12565
12567
  style: {
12566
12568
  height: 400
12567
12569
  }
12568
- }, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
12569
- url: item.videourl,
12570
- height: '100%',
12571
- width: '100%',
12572
- playing: false,
12573
- controls: true,
12574
- loop: true,
12575
- muted: true
12570
+ }, /*#__PURE__*/React__default["default"].createElement("iframe", {
12571
+ src: "https://www.facebook.com/plugins/video.php?height=476&href=https%3A%2F%2Fwww.facebook.com%2Freel%2F1633054444519683%2F&show_text=false&width=267&t=0",
12572
+ width: "267",
12573
+ height: "476"
12574
+ // style="border:none;overflow:hidden"
12575
+ ,
12576
+ scrolling: "no",
12577
+ frameborder: "0",
12578
+ allowfullscreen: "true",
12579
+ allow: "autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",
12580
+ allowFullScreen: "true"
12576
12581
  }));
12577
12582
  })), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
12578
12583
  "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
@@ -78250,7 +78255,7 @@
78250
78255
  function ownKeys$14(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; }
78251
78256
  function _objectSpread$14(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$14(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$14(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
78252
78257
  var TableSection = function TableSection(props) {
78253
- var _maincontainerarrayof, _authdetailsContext$i, _imagesarray$, _imagesarray$2, _authdetailsContext$i2, _authdetailsContext$i3;
78258
+ var _authdetailsContext$i, _imagesarray$, _imagesarray$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
78254
78259
  var _useState = React.useState(''),
78255
78260
  _useState2 = _slicedToArray__default["default"](_useState, 2),
78256
78261
  sectionproperties = _useState2[0],
@@ -78281,9 +78286,13 @@
78281
78286
  setsectionproperties(_objectSpread$14({}, secpropobj));
78282
78287
  }, [StatePagePropertiesContext]);
78283
78288
  var _useState5 = React.useState([]),
78284
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
78285
- maincontainerarrayofobjs = _useState6[0],
78286
- setmaincontainerarrayofobjs = _useState6[1];
78289
+ _useState6 = _slicedToArray__default["default"](_useState5, 2);
78290
+ _useState6[0];
78291
+ var setfirstcard = _useState6[1];
78292
+ var _useState7 = React.useState([]),
78293
+ _useState8 = _slicedToArray__default["default"](_useState7, 2);
78294
+ _useState8[0];
78295
+ var setmaincontainerarrayofobjs = _useState8[1];
78287
78296
  React.useEffect(function () {
78288
78297
  if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
78289
78298
  var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
@@ -78300,121 +78309,41 @@
78300
78309
  settablearray(_toConsumableArray__default["default"](bgsection_imagearrayofobjsparsed));
78301
78310
  }
78302
78311
  }
78312
+ if (sectionproperties.firstcardcontent != null) {
78313
+ var firstcardcontentparse = JSON.parse(sectionproperties.firstcardcontent);
78314
+ if (Array.isArray(firstcardcontentparse)) {
78315
+ setfirstcard(_toConsumableArray__default["default"](firstcardcontentparse));
78316
+ }
78317
+ }
78303
78318
  }
78304
78319
  }, [sectionproperties]);
78305
- ({
78306
- sectiontitlespan: glamor.css({
78320
+ var section_styles = {
78321
+ sectiontitle: glamor.css({
78307
78322
  fontSize: sectionproperties.sectionTitleFontSize + 'px',
78323
+ color: sectionproperties.sectionTitleColor,
78324
+ fontWeight: sectionproperties.sectionTitleFontWeight,
78308
78325
  '@media (max-width: 800px)': {
78309
78326
  fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
78310
- },
78311
- ':after': {
78312
- height: '5px',
78313
- width: sectionproperties.sectitle_lineafterwidth + '%',
78314
- backgroundColor: sectionproperties.linebgcolor
78315
78327
  }
78316
78328
  }),
78317
- line_left: glamor.css({
78318
- height: '1px',
78319
- position: 'relative',
78320
- flex: '1 1 auto',
78321
- minWidth: '10%',
78322
- background: sectionproperties.linebgcolor
78323
- }),
78324
- line_right: glamor.css({
78325
- height: '1px',
78326
- position: 'relative',
78327
- flex: '1 1 auto',
78328
- minWidth: '10%',
78329
- background: sectionproperties.linebgcolor
78330
- }),
78331
- btn: glamor.css({
78332
- width: sectionproperties.generalbtn_width + 'px',
78333
- height: sectionproperties.generalbtn_height + 'px',
78334
- backgroundColor: sectionproperties.generalbtn_bgColor,
78335
- color: sectionproperties.generalbtn_textColor,
78336
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
78337
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
78338
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
78339
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
78340
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
78341
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
78342
- fontWeight: sectionproperties.generalbtn_fontweight,
78343
- marginTop: sectionproperties.generalbtn_marginTop + 'px',
78344
- marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
78345
- transition: '.3s',
78346
- cursor: 'pointer',
78347
- ':hover': {
78348
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
78349
- color: sectionproperties.generalbtn_textColoronhover
78350
- }
78351
- }),
78352
- imgcontainer: glamor.css({
78353
- ':before': {
78354
- width: '100%',
78355
- height: '100%',
78356
- background: 'rgba(0,0,0,' + sectionproperties.cardimg_opacity + ')',
78357
- zIndex: 1,
78358
- position: 'absolute',
78359
- content: 's',
78360
- fontSize: 0,
78361
- left: 0,
78362
- right: 0,
78363
- top: 0,
78364
- bottom: 0
78365
- }
78366
- }),
78367
- sectioncontent: glamor.css({
78368
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
78369
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
78370
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
78371
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
78372
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
78373
- position: 'relative',
78374
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
78375
- width: sectionproperties.width + 'vw',
78376
- paddingTop: sectionproperties.paddingTop + 'px',
78377
- paddingBottom: sectionproperties.paddingBottom + 'px',
78378
- '@media (max-width: 800px)': {
78379
- paddingTop: sectionproperties.paddingtopresponsive + 'px',
78380
- paddingBottom: sectionproperties.paddingbottomresponsive + 'px'
78381
- }
78382
- }),
78383
- paddings: glamor.css({
78384
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
78385
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
78386
- '@media (max-width: 800px)': {
78387
- paddingLeft: sectionproperties.paddinghorizontalresponsive + 'px',
78388
- paddingRight: sectionproperties.paddinghorizontalresponsive + 'px'
78389
- }
78390
- }),
78391
- sectioncont: glamor.css({
78392
- marginTop: sectionproperties.marginTop + 'px',
78393
- marginBottom: sectionproperties.marginBottom + 'px',
78394
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage) + ')' : '' : '',
78395
- '@media (max-width: 800px)': {
78396
- marginTop: sectionproperties.marginTopResp + 'px',
78397
- marginBottom: sectionproperties.marginBottom + 'px'
78398
- }
78399
- }),
78400
- descpancea: glamor.css({
78329
+ description: glamor.css({
78401
78330
  fontSize: sectionproperties.prodCatFontSize + 'px',
78331
+ color: sectionproperties.prodCatColor,
78332
+ fontWeight: sectionproperties.prodCatFontWeight,
78402
78333
  '@media (max-width: 800px)': {
78403
78334
  fontSize: sectionproperties.prodCatFontSizeResp + 'px'
78404
78335
  }
78405
- }),
78406
- titlepana: glamor.css({
78407
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
78408
- '@media (max-width: 800px)': {
78409
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
78410
- }
78411
78336
  })
78412
- });
78413
- var _useState7 = React.useState([]),
78414
- _useState8 = _slicedToArray__default["default"](_useState7, 2),
78415
- imagesarray = _useState8[0],
78416
- setimagesarray = _useState8[1];
78337
+ };
78338
+ var _useState9 = React.useState([]),
78339
+ _useState0 = _slicedToArray__default["default"](_useState9, 2),
78340
+ imagesarray = _useState0[0],
78341
+ setimagesarray = _useState0[1];
78417
78342
  var authdetailsContext = props.actions.authdetailsContext;
78343
+ var _useState1 = React.useState([]),
78344
+ _useState10 = _slicedToArray__default["default"](_useState1, 2),
78345
+ cardsarray = _useState10[0],
78346
+ setcardsarray = _useState10[1];
78418
78347
  React.useEffect(function () {
78419
78348
  if (sectionproperties.length != 0) {
78420
78349
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -78425,6 +78354,29 @@
78425
78354
  }
78426
78355
  }
78427
78356
  }, [sectionproperties]);
78357
+ React.useEffect(function () {
78358
+ if (sectionproperties.length != 0) {
78359
+ if (sectionproperties.tablearrayofobjs != null) {
78360
+ var tablearrayofobjsparsed = JSON.parse(sectionproperties.tablearrayofobjs);
78361
+ if (Array.isArray(tablearrayofobjsparsed)) {
78362
+ setcardsarray(_toConsumableArray__default["default"](tablearrayofobjsparsed));
78363
+ }
78364
+ }
78365
+ }
78366
+ }, [sectionproperties]);
78367
+ var plancontentarray = [{
78368
+ 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'],
78369
+ content_ar: ['طلب واحد', 'بدون شحن', 'بدون خصومات', 'استبدال خلال 7 أيام (مدفوع)', 'ضمان لمدة 14 يومًا', 'بدون قسيمة شراء', 'العروض العامة', 'دعم خلال ساعات العمل', 'لا يوجد خيار للمشتري المعتمد', 'لا يوجد نظام نقاط / ولاء'],
78370
+ content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统']
78371
+ }, {
78372
+ 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'],
78373
+ content_ar: ['5 طلبات (بحد أدنى 5000 جنيه إسترليني)', 'الشحن للطلب الأول', 'بدون خصومات', 'استبدال مجاني خلال 7 أيام', 'ضمان لمدة 3 أشهر', 'قسيمة شراء بقيمة 100 جنيه إسترليني', 'خصومات إضافية', 'دعم ذو أولوية', 'لا يوجد خيار للمشتري المعتمد', 'نقطة واحدة في نظام الولاء لكل طلب'],
78374
+ content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分']
78375
+ }, {
78376
+ 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'],
78377
+ content_ar: ['10 طلبات (بحد أدنى 10000 جنيه إسترليني)', 'الشحن لجميع الطلبات', 'خصم 5%', 'استبدال مجاني خلال 14 يومًا', 'ضمان لمدة 6 أشهر', 'قسيمة شراء بقيمة 250 جنيهًا إسترلينيًا', 'خصومات حصرية', 'دعم مميز + متابعة شخصية', 'يتوفر خيار المشتري المعتمد', 'نقطتان لكل طلب'],
78378
+ content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分']
78379
+ }];
78428
78380
  return /*#__PURE__*/React__default["default"].createElement("div", {
78429
78381
  "class": "row m-0 w-100 allcentered py-5 px-5 px-md-3"
78430
78382
  }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -78516,7 +78468,88 @@
78516
78468
  className: "text-center"
78517
78469
  }, /*#__PURE__*/React__default["default"].createElement("p", {
78518
78470
  "class": "m-0 p-0 text-black"
78519
- }, "1000"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '69ca3d56a6e7e' && /*#__PURE__*/React__default["default"].createElement("div", {
78471
+ }, "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", {
78472
+ "class": "row m-0 w-100 px-5 mb-5 px-md-2"
78473
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78474
+ "class": "row m-0 w-100 px-5 mb-5 px-md-0"
78475
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78476
+ "class": "col-12 p-0 d-flex ",
78477
+ style: {
78478
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
78479
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
78480
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
78481
+ }
78482
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78483
+ "class": section_styles.sectiontitle + ' m-0 p-0 '
78484
+ }, sectionproperties.sectionTitleContent)), /*#__PURE__*/React__default["default"].createElement("div", {
78485
+ "class": "col-12 p-0 d-flex ",
78486
+ style: {
78487
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
78488
+ justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
78489
+ }
78490
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78491
+ "class": section_styles.description + ' m-0 p-0 '
78492
+ }, sectionproperties.descriptionContentEn)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
78493
+ var _plancontentarray$car;
78494
+ var contentKey = langdetect === 'en' ? 'content_en' : langdetect === 'ar' ? 'content_ar' : 'content_chin';
78495
+ return /*#__PURE__*/React__default["default"].createElement("div", {
78496
+ "class": "col-lg-4 col-md-12 mb-3"
78497
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78498
+ "class": "row m-0 w-100 p-4 p-md-3",
78499
+ style: {
78500
+ background: cardinfoitem.cardbgcolor,
78501
+ boxShadow: '0 0 10px ' + cardinfoitem.cardshadowcolor,
78502
+ borderRadius: 20
78503
+ }
78504
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78505
+ "class": "col-12 p-0 mb-3"
78506
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78507
+ "class": "m-0 p-0 px-3 py-1",
78508
+ style: {
78509
+ width: 'fit-content',
78510
+ borderRadius: 100,
78511
+ background: cardinfoitem.planbgcolor,
78512
+ fontSize: 20,
78513
+ fontWeight: 500,
78514
+ color: cardinfoitem.plancolor
78515
+ }
78516
+ }, cardinfoitem.planname_en)), /*#__PURE__*/React__default["default"].createElement("div", {
78517
+ "class": "col-12 p-0"
78518
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78519
+ "class": "m-0 p-0",
78520
+ style: {
78521
+ fontSize: 20,
78522
+ fontWeight: 500,
78523
+ color: '#000'
78524
+ }
78525
+ }, (_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) {
78526
+ return /*#__PURE__*/React__default["default"].createElement("p", {
78527
+ key: contentindex,
78528
+ "class": "m-0 p-0 mb-2",
78529
+ style: {
78530
+ fontSize: 18,
78531
+ color: '#000'
78532
+ }
78533
+ }, /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
78534
+ size: 18
78535
+ }), " ", contentitem);
78536
+ }))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78537
+ "class": "col-12 allcentered"
78538
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
78539
+ onClick: function onClick() {
78540
+ routingcountext(cardinfoitem.btnlink, false, '');
78541
+ },
78542
+ style: {
78543
+ width: sectionproperties.generalbtn_width + '%',
78544
+ height: sectionproperties.generalbtn_height + 'px',
78545
+ background: sectionproperties.generalbtn_bgColor,
78546
+ color: sectionproperties.generalbtn_textColor,
78547
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
78548
+ fontWeight: sectionproperties.generalbtn_fontweight,
78549
+ borderRadius: sectionproperties.generalbtnborderradius + 'px'
78550
+ }
78551
+ }, sectionproperties.slideshow_btn_text))));
78552
+ }))), (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", {
78520
78553
  "class": "row m-0 w-100 px-5"
78521
78554
  }, /*#__PURE__*/React__default["default"].createElement("div", {
78522
78555
  "class": "col-12 allcentered mt-3 mb-5"
@@ -78654,7 +78687,7 @@
78654
78687
  className: "text-center"
78655
78688
  }, /*#__PURE__*/React__default["default"].createElement("p", {
78656
78689
  "class": "m-0 p-0 text-black"
78657
- }, langdetect == 'en' ? 'Update' : 'تحديث')))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React__default["default"].createElement("div", {
78690
+ }, langdetect == 'en' ? 'Update' : 'تحديث')))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React__default["default"].createElement("div", {
78658
78691
  "class": "col-12 col-md-12 table_responsive"
78659
78692
  }, /*#__PURE__*/React__default["default"].createElement("table", {
78660
78693
  className: 'table tablevertical'
@@ -79062,41 +79095,23 @@
79062
79095
  }
79063
79096
  }, langdetect === 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
79064
79097
  }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '690cdc59eb986' && /*#__PURE__*/React__default["default"].createElement("div", {
79065
- className: "rotating-text-containersd rotating-text-containermarqueesection"
79098
+ className: "marquee-new"
79066
79099
  }, /*#__PURE__*/React__default["default"].createElement("div", {
79067
- ref: marqueeRef,
79068
- className: sectionproperties.marqueemovementdirection === 'Right to Left' ? 'rotating-text2sd' : 'rotating-text-reverse2sd'
79069
- }, [].concat(_toConsumableArray__default["default"](cardsarray), _toConsumableArray__default["default"](cardsarray)).map(function (cardinfoitem, cardinfoindex) {
79070
- var _authdetailsContext$i9;
79100
+ className: "marquee-track-new"
79101
+ }, [].concat(_toConsumableArray__default["default"](cardsarray), _toConsumableArray__default["default"](cardsarray)).map(function (image, index) {
79071
79102
  return /*#__PURE__*/React__default["default"].createElement("div", {
79072
- key: cardinfoindex,
79073
- className: section_styles.marqueeimagecontainer,
79074
- style: {
79075
- textAlign: 'center',
79076
- alignItems: 'center',
79077
- alignContent: 'center'
79078
- }
79079
- }, cardinfoitem.marqueeimage != null && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
79103
+ className: "marquee-item-new",
79104
+ key: index
79105
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
79080
79106
  "class": section_styles.marqueeimage,
79081
79107
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
79082
79108
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
79083
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.marqueeimage,
79109
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + image.marqueeimage,
79084
79110
  style: {
79085
79111
  objectFit: sectionproperties.bgcovercontain === 'Contain' ? 'contain' : 'cover',
79086
79112
  borderRadius: sectionproperties.imageborderradius + 'px'
79087
79113
  }
79088
- }), /*#__PURE__*/React__default["default"].createElement("p", {
79089
- className: section_styles.textstyle + ' mb-0 p-0',
79090
- style: {
79091
- cursor: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) === '691dcd6e974bb' ? 'pointer' : ''
79092
- },
79093
- onClick: function onClick() {
79094
- var _authdetailsContext$i0;
79095
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.contactinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) === '691dcd6e974bb') {
79096
- window.open('https://www.instagram.com', '_blank');
79097
- }
79098
- }
79099
- }, langdetect === 'en' ? cardinfoitem.arraytitleen : cardinfoitem.arraytitlear));
79114
+ }));
79100
79115
  }))));
79101
79116
  };
79102
79117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1422",
3
+ "version": "0.2.1423",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",