tabexseriescomponents 0.2.798 → 0.2.799

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
@@ -11,7 +11,6 @@ import { CircularProgress, Messaging } from 'react-cssfx-loading';
11
11
  import { css } from 'glamor';
12
12
  import { GoogleOAuthProvider, GoogleLogin } from '@react-oauth/google';
13
13
  import jwtDecode from 'jwt-decode';
14
- import FacebookLogin from 'react-facebook-login/dist/facebook-login-render-props';
15
14
  import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
16
15
  import { AiOutlineUser } from '@react-icons/all-files/ai/AiOutlineUser';
17
16
  import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
@@ -545,49 +544,15 @@ var generalstyles = {"shadow_bottom":"general-module_shadow_bottom__YcJR3","over
545
544
  styleInject(css_248z$M);
546
545
 
547
546
  var FacebookLoginButton = function FacebookLoginButton(props) {
548
- var _authdetailsContext$i, _authdetailsContext$i2;
549
547
  // const { lang, langdetect } = useContext(LanguageContext);
550
548
  // const { fetchAuthorizationQueryContext, SocialLoginMutationContext } = useContext(FetchingContext);
551
- var lang = props.actions.lang;
549
+ props.actions.lang;
552
550
  props.actions.langdetect;
553
- var authdetailsContext = props.actions.authdetailsContext;
554
- var SocialLoginMutationContext = props.actions.SocialLoginMutationContext;
551
+ props.actions.authdetailsContext;
552
+ props.actions.SocialLoginMutationContext;
555
553
  return /*#__PURE__*/React.createElement("div", {
556
554
  className: ""
557
- }, ((_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcred) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebookloginappid) != null && /*#__PURE__*/React.createElement(FacebookLogin, {
558
- cssClass: "".concat(generalstyles.btn, " ").concat(generalstyles.btn_primary, " ").concat(loginstyles$1.loginbtn) + ' w-100 mb-3 d-flex align-items-center justify-content-center ',
559
- appId: (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcred) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebookloginappid,
560
- fields: "name,email",
561
- callback: function callback(responseFacebook) {
562
- var googleresp = responseFacebook;
563
- if (googleresp.status != 'unknown') {
564
- SocialLoginMutationContext.mutate({
565
- email: googleresp.email,
566
- name: googleresp.name,
567
- loginplattype: 'facebook'
568
- });
569
- }
570
- },
571
- render: function render(renderProps) {
572
- return /*#__PURE__*/React.createElement("button", {
573
- type: "button",
574
- onClick: renderProps.onClick,
575
- className: ' d-flex align-items-center justify-content-center text-secondaryhovercontainer',
576
- style: {
577
- border: '1px solid #ccc',
578
- height: '38px',
579
- borderRadius: '3px',
580
- width: '218px'
581
- }
582
- }, /*#__PURE__*/React.createElement(FaFacebookF, {
583
- size: 15,
584
- color: "black",
585
- className: "ml-1 mr-1 text-secondaryhover"
586
- }), /*#__PURE__*/React.createElement("p", {
587
- className: "m-0 p-0 font_13 ml-1 mr-1 text-secondaryhover"
588
- }, lang.loginwithfacebook));
589
- }
590
- }));
555
+ });
591
556
  };
592
557
 
593
558
  var Imagekitimagecomp = function Imagekitimagecomp(props) {
@@ -22412,6 +22377,8 @@ var Searchlist$1 = function Searchlist(props) {
22412
22377
  _useState2 = _slicedToArray(_useState, 2),
22413
22378
  sectionproperties = _useState2[0],
22414
22379
  setsectionproperties = _useState2[1];
22380
+ var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
22381
+ var setsearchbarCanvasContext = props.actions.setsearchbarCanvasContext;
22415
22382
  var _useState3 = useState(props.srcfromprops == 'cardssection' ? props.searchinputprops : SearchHeaderInputContext),
22416
22383
  _useState4 = _slicedToArray(_useState3, 2),
22417
22384
  searchinput = _useState4[0],
@@ -22489,7 +22456,7 @@ var Searchlist$1 = function Searchlist(props) {
22489
22456
  })
22490
22457
  };
22491
22458
  return /*#__PURE__*/React.createElement("div", {
22492
- className: "col-lg-12 p-0 m-0 w-100",
22459
+ className: "col-lg-12 p-0 m-0 w-100 allcentered",
22493
22460
  style: {
22494
22461
  zIndex: 1000
22495
22462
  }
@@ -22530,6 +22497,9 @@ var Searchlist$1 = function Searchlist(props) {
22530
22497
  },
22531
22498
  onClick: function onClick() {
22532
22499
  routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
22500
+ setSearchHeaderInputContext('');
22501
+ setsearchinput('');
22502
+ setsearchbarCanvasContext(false);
22533
22503
  }
22534
22504
  }, /*#__PURE__*/React.createElement("div", {
22535
22505
  "class": "".concat(searchlist_styles.searchcont) + ' col-lg-12 col-md-12 d-flex p-0 cursor-pointer '
@@ -22583,6 +22553,9 @@ var Searchlist$1 = function Searchlist(props) {
22583
22553
  },
22584
22554
  onClick: function onClick() {
22585
22555
  routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
22556
+ setSearchHeaderInputContext('');
22557
+ setsearchinput('');
22558
+ setsearchbarCanvasContext(false);
22586
22559
  }
22587
22560
  }, /*#__PURE__*/React.createElement("div", {
22588
22561
  "class": "".concat(searchlist_styles.searchcont) + ' row m-0 w-100 cursor-pointer '
@@ -24781,9 +24754,20 @@ var SocialMediaSection = function SocialMediaSection(props) {
24781
24754
  }
24782
24755
  }),
24783
24756
  icon: css({
24784
- color: '#bd8d46',
24757
+ // color: '#bd8d46',
24758
+ color: templateproperties_context.socialmediaiconcolor,
24785
24759
  ':hover': {
24786
- color: '#000'
24760
+ color: templateproperties_context.socialmediaiconcoloronhover,
24761
+ transition: '.3s'
24762
+ // color: '#000',
24763
+ }
24764
+ }),
24765
+ storeinfoprop: css({
24766
+ color: templateproperties_context.socialmediasectioniconcolor,
24767
+ fontSize: 18,
24768
+ ':hover': {
24769
+ color: templateproperties_context.socialmediasectioniconcoloronhover,
24770
+ transition: '.3s'
24787
24771
  }
24788
24772
  })
24789
24773
  };
@@ -24799,28 +24783,20 @@ var SocialMediaSection = function SocialMediaSection(props) {
24799
24783
  }, /*#__PURE__*/React.createElement("div", {
24800
24784
  "class": templateproperties_context.showstoreinfo == 'Show' ? 'col-lg-6 p-0 text-start d-flex flex-row d-md-none' : 'd-none p-0'
24801
24785
  }, templateproperties_context.showaddress == 'Show' && /*#__PURE__*/React.createElement("p", {
24802
- "class": "m-0 p-0 cursor-pointer d-flex flex-row d-flex align-items-center",
24786
+ "class": header_cssstyles.storeinfoprop + ' m-0 p-0 cursor-pointer d-flex flex-row d-flex align-items-center ',
24803
24787
  onClick: function onClick() {
24804
24788
  window.open(templateproperties_context.locationlink, '_blank');
24805
- },
24806
- style: {
24807
- color: '#b2b2b2',
24808
- fontSize: 18
24809
24789
  }
24810
24790
  }, /*#__PURE__*/React.createElement("i", {
24811
24791
  "class": header_cssstyles.icon + ' h-100 d-flex align-items-center justify-content-center '
24812
24792
  }, /*#__PURE__*/React.createElement(FaMap, {
24813
24793
  size: 28
24814
24794
  })), /*#__PURE__*/React.createElement("span", {
24815
- "class": "mx-2"
24795
+ "class": header_cssstyles.storeinfoprop + ' mx-2 '
24816
24796
  }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.address_en)), templateproperties_context.showphonenumber == 'Show' && /*#__PURE__*/React.createElement("p", {
24817
- "class": "m-0 p-0 mx-4 cursor-pointer d-flex align-items-center",
24797
+ "class": header_cssstyles.storeinfoprop + ' m-0 p-0 mx-4 cursor-pointer d-flex align-items-center ',
24818
24798
  onClick: function onClick() {
24819
24799
  window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
24820
- },
24821
- style: {
24822
- color: '#b2b2b2',
24823
- fontSize: 18
24824
24800
  }
24825
24801
  }, /*#__PURE__*/React.createElement("i", {
24826
24802
  "class": header_cssstyles.icon + ' fa fa-phone ',
@@ -24828,7 +24804,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
24828
24804
  fontSize: 25
24829
24805
  }
24830
24806
  }), /*#__PURE__*/React.createElement("span", {
24831
- "class": "mx-2"
24807
+ "class": header_cssstyles.storeinfoprop + ' mx-2 '
24832
24808
  }, " ", authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), /*#__PURE__*/React.createElement("div", {
24833
24809
  "class": templateproperties_context.showstoreinfo == 'Show' ? 'col-lg-6 p-0 text-end justify-content-md-center col-md-12' : 'col-lg-12 allcentered p-0'
24834
24810
  }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null && /*#__PURE__*/React.createElement("div", {
@@ -32955,14 +32931,13 @@ var Simpleheader = function Simpleheader(props) {
32955
32931
  var ikimagecredcontext = props.actions.ikimagecredcontext;
32956
32932
  var scrollYposittionprops = props.actions.scrollYposittionprops;
32957
32933
  var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
32958
- var _useState3 = useState(false),
32934
+ // const [openSearchBar, setopenSearchBar] = useState(false);
32935
+ var _useState3 = useState([]),
32959
32936
  _useState4 = _slicedToArray(_useState3, 2),
32960
- openSearchBar = _useState4[0],
32961
- setopenSearchBar = _useState4[1];
32962
- var _useState5 = useState([]),
32963
- _useState6 = _slicedToArray(_useState5, 2),
32964
- logoarrayofobjects = _useState6[0],
32965
- setlogoarrayofobjects = _useState6[1];
32937
+ logoarrayofobjects = _useState4[0],
32938
+ setlogoarrayofobjects = _useState4[1];
32939
+ var searchbarCanvasContext = props.actions.searchbarCanvasContext;
32940
+ var setsearchbarCanvasContext = props.actions.setsearchbarCanvasContext;
32966
32941
  useEffect(function () {
32967
32942
  var secpropobj = {};
32968
32943
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -33347,7 +33322,7 @@ var Simpleheader = function Simpleheader(props) {
33347
33322
  fontSize: sectionproperties.searchtextfontsize + 'px'
33348
33323
  },
33349
33324
  onClick: function onClick() {
33350
- setopenSearchBar(true);
33325
+ setsearchbarCanvasContext(true);
33351
33326
  }
33352
33327
  }, sectionproperties.searchbaricon_fontsize != 0 && /*#__PURE__*/React.createElement("i", {
33353
33328
  className: header_cssstyles.searchicon + ' h-100 allcentered '
@@ -33741,9 +33716,9 @@ var Simpleheader = function Simpleheader(props) {
33741
33716
  sectionpropertiesprops: sectionproperties,
33742
33717
  actions: actions
33743
33718
  }), /*#__PURE__*/React.createElement(Offcanvas, {
33744
- show: openSearchBar,
33719
+ show: searchbarCanvasContext,
33745
33720
  onHide: function onHide() {
33746
- setopenSearchBar(false);
33721
+ setsearchbarCanvasContext(false);
33747
33722
  },
33748
33723
  placement: "top",
33749
33724
  scroll: true,
@@ -33786,7 +33761,7 @@ var Simpleheader = function Simpleheader(props) {
33786
33761
  }, /*#__PURE__*/React.createElement("div", {
33787
33762
  className: header_cssstyles.closeOverlayBtn + ' cursor-pointer ',
33788
33763
  onClick: function onClick() {
33789
- setopenSearchBar(false);
33764
+ setsearchbarCanvasContext(false);
33790
33765
  setSearchHeaderInputContext('');
33791
33766
  }
33792
33767
  }, /*#__PURE__*/React.createElement("i", {
@@ -45517,9 +45492,9 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
45517
45492
  logoarrayofobjects = _useState4[0],
45518
45493
  setlogoarrayofobjects = _useState4[1];
45519
45494
  var _useState5 = useState(false),
45520
- _useState6 = _slicedToArray(_useState5, 2),
45521
- openSearchBar = _useState6[0],
45522
- setopenSearchBar = _useState6[1];
45495
+ _useState6 = _slicedToArray(_useState5, 2);
45496
+ _useState6[0];
45497
+ _useState6[1];
45523
45498
  var _useState7 = useState(false),
45524
45499
  _useState8 = _slicedToArray(_useState7, 2),
45525
45500
  openSideNav = _useState8[0],
@@ -45535,6 +45510,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
45535
45510
  _useState12 = _slicedToArray(_useState11, 2),
45536
45511
  pcollarray = _useState12[0],
45537
45512
  setpcollarray = _useState12[1];
45513
+ var searchbarCanvasContext = props.actions.searchbarCanvasContext;
45514
+ var setsearchbarCanvasContext = props.actions.setsearchbarCanvasContext;
45538
45515
  useEffect(function () {
45539
45516
  var secpropobj = {};
45540
45517
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -45901,7 +45878,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
45901
45878
  }, /*#__PURE__*/React.createElement("i", {
45902
45879
  "class": header_cssstyles.searchicon + ' h-100 allcentered ',
45903
45880
  onClick: function onClick() {
45904
- setopenSearchBar(true);
45881
+ setsearchbarCanvasContext(true);
45882
+ // setopenSearchBar(true);
45905
45883
  }
45906
45884
  }, /*#__PURE__*/React.createElement(FiSearch, {
45907
45885
  size: sectionproperties.searchbaricon_fontsize
@@ -46116,9 +46094,9 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
46116
46094
  subheadercontentpositionprops: 'center'
46117
46095
  }
46118
46096
  }))), /*#__PURE__*/React.createElement(Offcanvas, {
46119
- show: openSearchBar,
46097
+ show: searchbarCanvasContext,
46120
46098
  onHide: function onHide() {
46121
- setopenSearchBar(false);
46099
+ setsearchbarCanvasContext(false);
46122
46100
  },
46123
46101
  placement: langdetect == 'en' ? 'end' : 'start',
46124
46102
  scroll: true,
@@ -46147,7 +46125,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
46147
46125
  }, /*#__PURE__*/React.createElement("i", {
46148
46126
  "class": header_cssstyles.closesliderbtn + ' h-100 allcentered ',
46149
46127
  onClick: function onClick() {
46150
- setopenSearchBar(false);
46128
+ setsearchbarCanvasContext(false);
46151
46129
  }
46152
46130
  }, /*#__PURE__*/React.createElement(AiOutlineClose, {
46153
46131
  size: sectionproperties.closeSlider_fontSize
@@ -46170,7 +46148,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
46170
46148
  }, /*#__PURE__*/React.createElement("i", {
46171
46149
  "class": header_cssstyles.searchicon + ' h-100 allcentered ',
46172
46150
  onClick: function onClick() {
46173
- setopenSearchBar(true);
46151
+ setsearchbarCanvasContext(true);
46174
46152
  }
46175
46153
  }, /*#__PURE__*/React.createElement(FiSearch, {
46176
46154
  size: sectionproperties.searchbaricon_fontsize
@@ -46220,6 +46198,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
46220
46198
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
46221
46199
  onClick: function onClick() {
46222
46200
  routingcountext(item.navigationroute);
46201
+ setopenSideNav(false);
46223
46202
  },
46224
46203
  style: {
46225
46204
  marginTop: sectionproperties.navitemmarginvertical + 'px',
@@ -46310,6 +46289,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
46310
46289
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
46311
46290
  onClick: function onClick() {
46312
46291
  routingcountext(item.navigationroute);
46292
+ setopenSideNav(false);
46313
46293
  },
46314
46294
  style: {
46315
46295
  marginTop: sectionproperties.navitemmarginvertical + 'px',
@@ -46433,17 +46413,13 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
46433
46413
  function ownKeys$1I(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; }
46434
46414
  function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
46435
46415
  var Minimalheader = function Minimalheader(props) {
46436
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16;
46416
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
46437
46417
  var _useState = useState(''),
46438
46418
  _useState2 = _slicedToArray(_useState, 2),
46439
46419
  sectionproperties = _useState2[0],
46440
46420
  setsectionproperties = _useState2[1];
46441
- props.actions.LogoutMutationContext;
46442
- props.actions.fetchcustomercartQueryContext;
46443
- props.actions.setsidecartnavshowcontext;
46444
46421
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
46445
46422
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
46446
- props.actions.lang;
46447
46423
  var langdetect = props.actions.langdetect;
46448
46424
  var setlang = props.actions.setlang;
46449
46425
  var templatepropcontext = props.actions.templatepropcontext;
@@ -46525,7 +46501,9 @@ var Minimalheader = function Minimalheader(props) {
46525
46501
  width: sectionproperties.header_width + 'vw',
46526
46502
  zIndex: 1000,
46527
46503
  top: 0,
46528
- backgroundColor: sectionproperties.keepheadertransparent == 'Yes' ? scrollYposittionprops > 100 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 100 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.header_backgroundColor,
46504
+ backgroundColor: sectionproperties.keepheadertransparent == 'Yes' ? scrollYposittionprops > 100 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 100 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.header_backgroundColor
46505
+ }),
46506
+ headerinnercontainer: css({
46529
46507
  paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
46530
46508
  paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
46531
46509
  paddingTop: sectionproperties.header_paddingTop + 'px',
@@ -46657,80 +46635,42 @@ var Minimalheader = function Minimalheader(props) {
46657
46635
  }
46658
46636
  })
46659
46637
  };
46638
+ var FloatingButtonsandSocialMedia = function FloatingButtonsandSocialMedia() {
46639
+ return /*#__PURE__*/React.createElement("div", {
46640
+ "class": "row m-0 w-100"
46641
+ }, /*#__PURE__*/React.createElement(FloatingIcons, {
46642
+ sectionpropertiesprops: sectionproperties,
46643
+ actions: actions
46644
+ }), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React.createElement(SocialMediaSection, {
46645
+ sectionpropertiesprops: sectionproperties,
46646
+ templateproperties_contextprops: templateproperties_context,
46647
+ actions: actions
46648
+ }), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React.createElement(DownloadApp, {
46649
+ sectionpropertiesprops: sectionproperties,
46650
+ actions: actions
46651
+ }), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
46652
+ "class": "col-lg-12 p-0 d-flex d-md-none"
46653
+ }, /*#__PURE__*/React.createElement(MarqueeHeader, {
46654
+ sectionpropertiesprops: sectionproperties,
46655
+ templateproperties_contextprops: templateproperties_context,
46656
+ actions: actions
46657
+ })));
46658
+ };
46660
46659
  return /*#__PURE__*/React.createElement("div", {
46661
46660
  "class": "".concat(headerstyles$g.header_container) + ' headeroffcanvas row m-0 w-100 d-flex justify-content-center ',
46662
46661
  style: {
46663
46662
  position: 'relative'
46664
46663
  }
46665
- }, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React.createElement("a", {
46666
- href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
46667
- target: '_blank',
46668
- style: {
46669
- position: 'fixed',
46670
- bottom: sectionproperties.whatsapppositionfrombottom + 'px',
46671
- right: sectionproperties.whatsapppositionfromright + 'px',
46672
- zIndex: 999999,
46673
- transition: 'all 0.3s ease-out'
46674
- }
46675
- }, /*#__PURE__*/React.createElement("img", {
46676
- src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
46677
- style: {
46678
- width: '40px',
46679
- height: '40px',
46680
- cursor: 'pointer'
46681
- }
46682
- })), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
46683
- style: {
46684
- position: 'fixed',
46685
- bottom: sectionproperties.floatingbtnfrombottom + 'px',
46686
- right: sectionproperties.floatingbtnfromright + 'px',
46687
- zIndex: 999999,
46688
- transition: 'all 0.3s ease-out',
46689
- width: '100%'
46690
- },
46691
- "class": "text-end"
46692
46664
  }, /*#__PURE__*/React.createElement("div", {
46693
- "class": header_cssstyles.floatingbtn + ' allcentered ',
46694
- style: {},
46695
- onClick: function onClick() {
46696
- routingcountext(sectionproperties.floatingbtnlink, false, '');
46697
- }
46698
- }, /*#__PURE__*/React.createElement("p", {
46699
- "class": "m-0 p-0"
46700
- }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("a", {
46701
- href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
46702
- target: '_self',
46703
- style: {
46704
- position: 'fixed',
46705
- bottom: sectionproperties.callppositionfrombottom + 'px',
46706
- right: sectionproperties.callppositionfromright + 'px',
46707
- zIndex: 999999,
46708
- transition: 'all 0.3s ease-out'
46709
- }
46710
- }, /*#__PURE__*/React.createElement("i", {
46711
- "class": langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
46712
- }, /*#__PURE__*/React.createElement(FiPhone, {
46713
- size: 30,
46714
- color: sectionproperties.uppersection_iconcolor,
46715
- style: {
46716
- transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
46717
- }
46718
- }))), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React.createElement(SocialMediaSection, {
46719
- sectionpropertiesprops: sectionproperties,
46720
- templateproperties_contextprops: templateproperties_context,
46721
- actions: actions
46722
- }), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React.createElement(DownloadApp, {
46723
- sectionpropertiesprops: sectionproperties,
46724
- actions: actions
46725
- }), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
46726
- "class": "col-lg-12 p-0 d-flex d-md-none"
46727
- }, /*#__PURE__*/React.createElement(MarqueeHeader, {
46728
- sectionpropertiesprops: sectionproperties,
46729
- templateproperties_contextprops: templateproperties_context,
46730
- actions: actions
46731
- })), /*#__PURE__*/React.createElement("div", {
46665
+ "class": "row m-0 w-100 d-none d-md-flex"
46666
+ }, FloatingButtonsandSocialMedia()), /*#__PURE__*/React.createElement("div", {
46732
46667
  "class": "".concat(header_cssstyles.headercontainer) + ' row m-0 d-md-none ',
46733
46668
  style: {}
46669
+ }, /*#__PURE__*/React.createElement("div", {
46670
+ "class": "row m-0 w-100"
46671
+ }, FloatingButtonsandSocialMedia()), /*#__PURE__*/React.createElement("div", {
46672
+ "class": "".concat(header_cssstyles.headerinnercontainer) + ' row m-0 w-100 ',
46673
+ style: {}
46734
46674
  }, /*#__PURE__*/React.createElement("div", {
46735
46675
  "class": "col-lg-6 col-md-6 col-sm-12 text-start p-0"
46736
46676
  }, /*#__PURE__*/React.createElement("div", {
@@ -46783,7 +46723,7 @@ var Minimalheader = function Minimalheader(props) {
46783
46723
  height: 1,
46784
46724
  background: scrollYposittionprops > 100 ? sectionproperties.vl_secondarybg : sectionproperties.vl_bg
46785
46725
  }
46786
- }))), /*#__PURE__*/React.createElement(Offcanvas, {
46726
+ })))), /*#__PURE__*/React.createElement(Offcanvas, {
46787
46727
  show: openSearchBar,
46788
46728
  onHide: function onHide() {
46789
46729
  setopenSearchBar(false);
@@ -46992,7 +46932,7 @@ var Minimalheader = function Minimalheader(props) {
46992
46932
  "class": "m-0 p-0"
46993
46933
  }, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
46994
46934
  }
46995
- }), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React.createElement("div", {
46935
+ }), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcurrencies) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.length) > 1 && /*#__PURE__*/React.createElement("div", {
46996
46936
  "class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
46997
46937
  }, /*#__PURE__*/React.createElement("div", {
46998
46938
  "class": "row m-0 w-100"
@@ -47016,7 +46956,7 @@ var Minimalheader = function Minimalheader(props) {
47016
46956
  background: '#f4f4f4',
47017
46957
  borderRadius: 5
47018
46958
  }
47019
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
46959
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
47020
46960
  return /*#__PURE__*/React.createElement("div", {
47021
46961
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
47022
46962
  onClick: function onClick() {
@@ -47096,13 +47036,13 @@ var Minimalheader = function Minimalheader(props) {
47096
47036
  "class": "col-lg-12"
47097
47037
  }, /*#__PURE__*/React.createElement("div", {
47098
47038
  "class": "row m-0 w-100"
47099
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null && sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
47039
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null && sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
47100
47040
  "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
47101
47041
  onClick: function onClick() {
47102
- var _authdetailsContext$i5;
47103
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink) != null) {
47104
- var _authdetailsContext$i6;
47105
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.facebooklink, '_blank');
47042
+ var _authdetailsContext$i4;
47043
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null) {
47044
+ var _authdetailsContext$i5;
47045
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink, '_blank');
47106
47046
  }
47107
47047
  }
47108
47048
  }, /*#__PURE__*/React.createElement("i", {
@@ -47111,13 +47051,13 @@ var Minimalheader = function Minimalheader(props) {
47111
47051
  size: sectionproperties.iconcontainer_iconfontsize
47112
47052
  }), langdetect == 'ar' && /*#__PURE__*/React.createElement(FiArrowUpLeft, {
47113
47053
  size: sectionproperties.iconcontainer_iconfontsize
47114
- })), "Facebook"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null && /*#__PURE__*/React.createElement("div", {
47054
+ })), "Facebook"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink) != null && /*#__PURE__*/React.createElement("div", {
47115
47055
  "class": "".concat(header_cssstyles.instagrambtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
47116
47056
  onClick: function onClick() {
47117
- var _authdetailsContext$i8;
47118
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink) != null) {
47119
- var _authdetailsContext$i9;
47120
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instagramlink, '_blank');
47057
+ var _authdetailsContext$i7;
47058
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
47059
+ var _authdetailsContext$i8;
47060
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
47121
47061
  }
47122
47062
  }
47123
47063
  }, /*#__PURE__*/React.createElement("i", {
@@ -47126,13 +47066,13 @@ var Minimalheader = function Minimalheader(props) {
47126
47066
  size: sectionproperties.iconcontainer_iconfontsize
47127
47067
  }), langdetect == 'ar' && /*#__PURE__*/React.createElement(FiArrowUpLeft, {
47128
47068
  size: sectionproperties.iconcontainer_iconfontsize
47129
- })), "Instagram"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.twitterlink) != null && /*#__PURE__*/React.createElement("div", {
47069
+ })), "Instagram"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.twitterlink) != null && /*#__PURE__*/React.createElement("div", {
47130
47070
  "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
47131
47071
  onClick: function onClick() {
47132
- var _authdetailsContext$i11;
47133
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.twitterlink) != null) {
47134
- var _authdetailsContext$i12;
47135
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.twitterlink, '_blank');
47072
+ var _authdetailsContext$i10;
47073
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.twitterlink) != null) {
47074
+ var _authdetailsContext$i11;
47075
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.twitterlink, '_blank');
47136
47076
  }
47137
47077
  }
47138
47078
  }, /*#__PURE__*/React.createElement("i", {
@@ -47141,13 +47081,13 @@ var Minimalheader = function Minimalheader(props) {
47141
47081
  size: sectionproperties.iconcontainer_iconfontsize
47142
47082
  }), langdetect == 'ar' && /*#__PURE__*/React.createElement(FiArrowUpLeft, {
47143
47083
  size: sectionproperties.iconcontainer_iconfontsize
47144
- })), "X"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
47084
+ })), "X"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
47145
47085
  "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
47146
47086
  onClick: function onClick() {
47147
- var _authdetailsContext$i14;
47148
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink) != null) {
47149
- var _authdetailsContext$i15;
47150
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.linkedinlink, '_blank');
47087
+ var _authdetailsContext$i13;
47088
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null) {
47089
+ var _authdetailsContext$i14;
47090
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink, '_blank');
47151
47091
  }
47152
47092
  }
47153
47093
  }, /*#__PURE__*/React.createElement("i", {
@@ -47156,13 +47096,13 @@ var Minimalheader = function Minimalheader(props) {
47156
47096
  size: sectionproperties.iconcontainer_iconfontsize
47157
47097
  }), langdetect == 'ar' && /*#__PURE__*/React.createElement(FiArrowUpLeft, {
47158
47098
  size: sectionproperties.iconcontainer_iconfontsize
47159
- })), "LinkedIn"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
47099
+ })), "LinkedIn"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
47160
47100
  "class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
47161
47101
  onClick: function onClick() {
47162
- var _authdetailsContext$i17;
47163
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.youtubelink) != null) {
47164
- var _authdetailsContext$i18;
47165
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.youtubelink, '_blank');
47102
+ var _authdetailsContext$i16;
47103
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.youtubelink) != null) {
47104
+ var _authdetailsContext$i17;
47105
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.youtubelink, '_blank');
47166
47106
  }
47167
47107
  }
47168
47108
  }, /*#__PURE__*/React.createElement("i", {