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.cjs.js +113 -174
- package/dist/index.esm.js +113 -173
- package/dist/index.umd.js +117 -177
- package/package.json +1 -2
- package/yarn-error.log +113 -0
package/dist/index.cjs.js
CHANGED
|
@@ -13,7 +13,6 @@ var reactCssfxLoading = require('react-cssfx-loading');
|
|
|
13
13
|
var glamor = require('glamor');
|
|
14
14
|
var google = require('@react-oauth/google');
|
|
15
15
|
var jwtDecode = require('jwt-decode');
|
|
16
|
-
var FacebookLogin = require('react-facebook-login/dist/facebook-login-render-props');
|
|
17
16
|
var FaFacebookF = require('@react-icons/all-files/fa/FaFacebookF');
|
|
18
17
|
var AiOutlineUser = require('@react-icons/all-files/ai/AiOutlineUser');
|
|
19
18
|
var IoMdClose = require('@react-icons/all-files/io/IoMdClose');
|
|
@@ -204,7 +203,6 @@ var _inherits__default = /*#__PURE__*/_interopDefaultLegacy(_inherits);
|
|
|
204
203
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
205
204
|
var Cookies__default = /*#__PURE__*/_interopDefaultLegacy(Cookies);
|
|
206
205
|
var jwtDecode__default = /*#__PURE__*/_interopDefaultLegacy(jwtDecode);
|
|
207
|
-
var FacebookLogin__default = /*#__PURE__*/_interopDefaultLegacy(FacebookLogin);
|
|
208
206
|
var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
|
|
209
207
|
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
210
208
|
var ImageGallery__default = /*#__PURE__*/_interopDefaultLegacy(ImageGallery);
|
|
@@ -594,49 +592,15 @@ var generalstyles = {"shadow_bottom":"general-module_shadow_bottom__YcJR3","over
|
|
|
594
592
|
styleInject(css_248z$M);
|
|
595
593
|
|
|
596
594
|
var FacebookLoginButton = function FacebookLoginButton(props) {
|
|
597
|
-
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
598
595
|
// const { lang, langdetect } = useContext(LanguageContext);
|
|
599
596
|
// const { fetchAuthorizationQueryContext, SocialLoginMutationContext } = useContext(FetchingContext);
|
|
600
|
-
|
|
597
|
+
props.actions.lang;
|
|
601
598
|
props.actions.langdetect;
|
|
602
|
-
|
|
603
|
-
|
|
599
|
+
props.actions.authdetailsContext;
|
|
600
|
+
props.actions.SocialLoginMutationContext;
|
|
604
601
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
605
602
|
className: ""
|
|
606
|
-
}
|
|
607
|
-
cssClass: "".concat(generalstyles.btn, " ").concat(generalstyles.btn_primary, " ").concat(loginstyles$1.loginbtn) + ' w-100 mb-3 d-flex align-items-center justify-content-center ',
|
|
608
|
-
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,
|
|
609
|
-
fields: "name,email",
|
|
610
|
-
callback: function callback(responseFacebook) {
|
|
611
|
-
var googleresp = responseFacebook;
|
|
612
|
-
if (googleresp.status != 'unknown') {
|
|
613
|
-
SocialLoginMutationContext.mutate({
|
|
614
|
-
email: googleresp.email,
|
|
615
|
-
name: googleresp.name,
|
|
616
|
-
loginplattype: 'facebook'
|
|
617
|
-
});
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
render: function render(renderProps) {
|
|
621
|
-
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
622
|
-
type: "button",
|
|
623
|
-
onClick: renderProps.onClick,
|
|
624
|
-
className: ' d-flex align-items-center justify-content-center text-secondaryhovercontainer',
|
|
625
|
-
style: {
|
|
626
|
-
border: '1px solid #ccc',
|
|
627
|
-
height: '38px',
|
|
628
|
-
borderRadius: '3px',
|
|
629
|
-
width: '218px'
|
|
630
|
-
}
|
|
631
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
632
|
-
size: 15,
|
|
633
|
-
color: "black",
|
|
634
|
-
className: "ml-1 mr-1 text-secondaryhover"
|
|
635
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
636
|
-
className: "m-0 p-0 font_13 ml-1 mr-1 text-secondaryhover"
|
|
637
|
-
}, lang.loginwithfacebook));
|
|
638
|
-
}
|
|
639
|
-
}));
|
|
603
|
+
});
|
|
640
604
|
};
|
|
641
605
|
|
|
642
606
|
var Imagekitimagecomp = function Imagekitimagecomp(props) {
|
|
@@ -22461,6 +22425,8 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
22461
22425
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
22462
22426
|
sectionproperties = _useState2[0],
|
|
22463
22427
|
setsectionproperties = _useState2[1];
|
|
22428
|
+
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
22429
|
+
var setsearchbarCanvasContext = props.actions.setsearchbarCanvasContext;
|
|
22464
22430
|
var _useState3 = React.useState(props.srcfromprops == 'cardssection' ? props.searchinputprops : SearchHeaderInputContext),
|
|
22465
22431
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
22466
22432
|
searchinput = _useState4[0],
|
|
@@ -22538,7 +22504,7 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
22538
22504
|
})
|
|
22539
22505
|
};
|
|
22540
22506
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22541
|
-
className: "col-lg-12 p-0 m-0 w-100",
|
|
22507
|
+
className: "col-lg-12 p-0 m-0 w-100 allcentered",
|
|
22542
22508
|
style: {
|
|
22543
22509
|
zIndex: 1000
|
|
22544
22510
|
}
|
|
@@ -22579,6 +22545,9 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
22579
22545
|
},
|
|
22580
22546
|
onClick: function onClick() {
|
|
22581
22547
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
22548
|
+
setSearchHeaderInputContext('');
|
|
22549
|
+
setsearchinput('');
|
|
22550
|
+
setsearchbarCanvasContext(false);
|
|
22582
22551
|
}
|
|
22583
22552
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22584
22553
|
"class": "".concat(searchlist_styles.searchcont) + ' col-lg-12 col-md-12 d-flex p-0 cursor-pointer '
|
|
@@ -22632,6 +22601,9 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
22632
22601
|
},
|
|
22633
22602
|
onClick: function onClick() {
|
|
22634
22603
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
22604
|
+
setSearchHeaderInputContext('');
|
|
22605
|
+
setsearchinput('');
|
|
22606
|
+
setsearchbarCanvasContext(false);
|
|
22635
22607
|
}
|
|
22636
22608
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22637
22609
|
"class": "".concat(searchlist_styles.searchcont) + ' row m-0 w-100 cursor-pointer '
|
|
@@ -24830,9 +24802,20 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
24830
24802
|
}
|
|
24831
24803
|
}),
|
|
24832
24804
|
icon: glamor.css({
|
|
24833
|
-
color: '#bd8d46',
|
|
24805
|
+
// color: '#bd8d46',
|
|
24806
|
+
color: templateproperties_context.socialmediaiconcolor,
|
|
24834
24807
|
':hover': {
|
|
24835
|
-
color:
|
|
24808
|
+
color: templateproperties_context.socialmediaiconcoloronhover,
|
|
24809
|
+
transition: '.3s'
|
|
24810
|
+
// color: '#000',
|
|
24811
|
+
}
|
|
24812
|
+
}),
|
|
24813
|
+
storeinfoprop: glamor.css({
|
|
24814
|
+
color: templateproperties_context.socialmediasectioniconcolor,
|
|
24815
|
+
fontSize: 18,
|
|
24816
|
+
':hover': {
|
|
24817
|
+
color: templateproperties_context.socialmediasectioniconcoloronhover,
|
|
24818
|
+
transition: '.3s'
|
|
24836
24819
|
}
|
|
24837
24820
|
})
|
|
24838
24821
|
};
|
|
@@ -24848,28 +24831,20 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
24848
24831
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24849
24832
|
"class": templateproperties_context.showstoreinfo == 'Show' ? 'col-lg-6 p-0 text-start d-flex flex-row d-md-none' : 'd-none p-0'
|
|
24850
24833
|
}, templateproperties_context.showaddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24851
|
-
"class":
|
|
24834
|
+
"class": header_cssstyles.storeinfoprop + ' m-0 p-0 cursor-pointer d-flex flex-row d-flex align-items-center ',
|
|
24852
24835
|
onClick: function onClick() {
|
|
24853
24836
|
window.open(templateproperties_context.locationlink, '_blank');
|
|
24854
|
-
},
|
|
24855
|
-
style: {
|
|
24856
|
-
color: '#b2b2b2',
|
|
24857
|
-
fontSize: 18
|
|
24858
24837
|
}
|
|
24859
24838
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
24860
24839
|
"class": header_cssstyles.icon + ' h-100 d-flex align-items-center justify-content-center '
|
|
24861
24840
|
}, /*#__PURE__*/React__default["default"].createElement(FaMap.FaMap, {
|
|
24862
24841
|
size: 28
|
|
24863
24842
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
24864
|
-
"class":
|
|
24843
|
+
"class": header_cssstyles.storeinfoprop + ' mx-2 '
|
|
24865
24844
|
}, 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__default["default"].createElement("p", {
|
|
24866
|
-
"class":
|
|
24845
|
+
"class": header_cssstyles.storeinfoprop + ' m-0 p-0 mx-4 cursor-pointer d-flex align-items-center ',
|
|
24867
24846
|
onClick: function onClick() {
|
|
24868
24847
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
24869
|
-
},
|
|
24870
|
-
style: {
|
|
24871
|
-
color: '#b2b2b2',
|
|
24872
|
-
fontSize: 18
|
|
24873
24848
|
}
|
|
24874
24849
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
24875
24850
|
"class": header_cssstyles.icon + ' fa fa-phone ',
|
|
@@ -24877,7 +24852,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
24877
24852
|
fontSize: 25
|
|
24878
24853
|
}
|
|
24879
24854
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
24880
|
-
"class":
|
|
24855
|
+
"class": header_cssstyles.storeinfoprop + ' mx-2 '
|
|
24881
24856
|
}, " ", authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24882
24857
|
"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'
|
|
24883
24858
|
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -33004,14 +32979,13 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33004
32979
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
33005
32980
|
var scrollYposittionprops = props.actions.scrollYposittionprops;
|
|
33006
32981
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
33007
|
-
|
|
32982
|
+
// const [openSearchBar, setopenSearchBar] = useState(false);
|
|
32983
|
+
var _useState3 = React.useState([]),
|
|
33008
32984
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
33009
|
-
|
|
33010
|
-
|
|
33011
|
-
var
|
|
33012
|
-
|
|
33013
|
-
logoarrayofobjects = _useState6[0],
|
|
33014
|
-
setlogoarrayofobjects = _useState6[1];
|
|
32985
|
+
logoarrayofobjects = _useState4[0],
|
|
32986
|
+
setlogoarrayofobjects = _useState4[1];
|
|
32987
|
+
var searchbarCanvasContext = props.actions.searchbarCanvasContext;
|
|
32988
|
+
var setsearchbarCanvasContext = props.actions.setsearchbarCanvasContext;
|
|
33015
32989
|
React.useEffect(function () {
|
|
33016
32990
|
var secpropobj = {};
|
|
33017
32991
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -33396,7 +33370,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33396
33370
|
fontSize: sectionproperties.searchtextfontsize + 'px'
|
|
33397
33371
|
},
|
|
33398
33372
|
onClick: function onClick() {
|
|
33399
|
-
|
|
33373
|
+
setsearchbarCanvasContext(true);
|
|
33400
33374
|
}
|
|
33401
33375
|
}, sectionproperties.searchbaricon_fontsize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
33402
33376
|
className: header_cssstyles.searchicon + ' h-100 allcentered '
|
|
@@ -33790,9 +33764,9 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33790
33764
|
sectionpropertiesprops: sectionproperties,
|
|
33791
33765
|
actions: actions
|
|
33792
33766
|
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
33793
|
-
show:
|
|
33767
|
+
show: searchbarCanvasContext,
|
|
33794
33768
|
onHide: function onHide() {
|
|
33795
|
-
|
|
33769
|
+
setsearchbarCanvasContext(false);
|
|
33796
33770
|
},
|
|
33797
33771
|
placement: "top",
|
|
33798
33772
|
scroll: true,
|
|
@@ -33835,7 +33809,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33835
33809
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33836
33810
|
className: header_cssstyles.closeOverlayBtn + ' cursor-pointer ',
|
|
33837
33811
|
onClick: function onClick() {
|
|
33838
|
-
|
|
33812
|
+
setsearchbarCanvasContext(false);
|
|
33839
33813
|
setSearchHeaderInputContext('');
|
|
33840
33814
|
}
|
|
33841
33815
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -45566,9 +45540,9 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
45566
45540
|
logoarrayofobjects = _useState4[0],
|
|
45567
45541
|
setlogoarrayofobjects = _useState4[1];
|
|
45568
45542
|
var _useState5 = React.useState(false),
|
|
45569
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2)
|
|
45570
|
-
|
|
45571
|
-
|
|
45543
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
45544
|
+
_useState6[0];
|
|
45545
|
+
_useState6[1];
|
|
45572
45546
|
var _useState7 = React.useState(false),
|
|
45573
45547
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
45574
45548
|
openSideNav = _useState8[0],
|
|
@@ -45584,6 +45558,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
45584
45558
|
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
45585
45559
|
pcollarray = _useState12[0],
|
|
45586
45560
|
setpcollarray = _useState12[1];
|
|
45561
|
+
var searchbarCanvasContext = props.actions.searchbarCanvasContext;
|
|
45562
|
+
var setsearchbarCanvasContext = props.actions.setsearchbarCanvasContext;
|
|
45587
45563
|
React.useEffect(function () {
|
|
45588
45564
|
var secpropobj = {};
|
|
45589
45565
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -45950,7 +45926,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
45950
45926
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
45951
45927
|
"class": header_cssstyles.searchicon + ' h-100 allcentered ',
|
|
45952
45928
|
onClick: function onClick() {
|
|
45953
|
-
|
|
45929
|
+
setsearchbarCanvasContext(true);
|
|
45930
|
+
// setopenSearchBar(true);
|
|
45954
45931
|
}
|
|
45955
45932
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
45956
45933
|
size: sectionproperties.searchbaricon_fontsize
|
|
@@ -46165,9 +46142,9 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46165
46142
|
subheadercontentpositionprops: 'center'
|
|
46166
46143
|
}
|
|
46167
46144
|
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
46168
|
-
show:
|
|
46145
|
+
show: searchbarCanvasContext,
|
|
46169
46146
|
onHide: function onHide() {
|
|
46170
|
-
|
|
46147
|
+
setsearchbarCanvasContext(false);
|
|
46171
46148
|
},
|
|
46172
46149
|
placement: langdetect == 'en' ? 'end' : 'start',
|
|
46173
46150
|
scroll: true,
|
|
@@ -46196,7 +46173,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46196
46173
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
46197
46174
|
"class": header_cssstyles.closesliderbtn + ' h-100 allcentered ',
|
|
46198
46175
|
onClick: function onClick() {
|
|
46199
|
-
|
|
46176
|
+
setsearchbarCanvasContext(false);
|
|
46200
46177
|
}
|
|
46201
46178
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineClose.AiOutlineClose, {
|
|
46202
46179
|
size: sectionproperties.closeSlider_fontSize
|
|
@@ -46219,7 +46196,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46219
46196
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
46220
46197
|
"class": header_cssstyles.searchicon + ' h-100 allcentered ',
|
|
46221
46198
|
onClick: function onClick() {
|
|
46222
|
-
|
|
46199
|
+
setsearchbarCanvasContext(true);
|
|
46223
46200
|
}
|
|
46224
46201
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
46225
46202
|
size: sectionproperties.searchbaricon_fontsize
|
|
@@ -46269,6 +46246,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46269
46246
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
|
|
46270
46247
|
onClick: function onClick() {
|
|
46271
46248
|
routingcountext(item.navigationroute);
|
|
46249
|
+
setopenSideNav(false);
|
|
46272
46250
|
},
|
|
46273
46251
|
style: {
|
|
46274
46252
|
marginTop: sectionproperties.navitemmarginvertical + 'px',
|
|
@@ -46359,6 +46337,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46359
46337
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
|
|
46360
46338
|
onClick: function onClick() {
|
|
46361
46339
|
routingcountext(item.navigationroute);
|
|
46340
|
+
setopenSideNav(false);
|
|
46362
46341
|
},
|
|
46363
46342
|
style: {
|
|
46364
46343
|
marginTop: sectionproperties.navitemmarginvertical + 'px',
|
|
@@ -46482,17 +46461,13 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46482
46461
|
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; }
|
|
46483
46462
|
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__default["default"](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; }
|
|
46484
46463
|
var Minimalheader = function Minimalheader(props) {
|
|
46485
|
-
var
|
|
46464
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
|
|
46486
46465
|
var _useState = React.useState(''),
|
|
46487
46466
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
46488
46467
|
sectionproperties = _useState2[0],
|
|
46489
46468
|
setsectionproperties = _useState2[1];
|
|
46490
|
-
props.actions.LogoutMutationContext;
|
|
46491
|
-
props.actions.fetchcustomercartQueryContext;
|
|
46492
|
-
props.actions.setsidecartnavshowcontext;
|
|
46493
46469
|
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
46494
46470
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
46495
|
-
props.actions.lang;
|
|
46496
46471
|
var langdetect = props.actions.langdetect;
|
|
46497
46472
|
var setlang = props.actions.setlang;
|
|
46498
46473
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
@@ -46574,7 +46549,9 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
46574
46549
|
width: sectionproperties.header_width + 'vw',
|
|
46575
46550
|
zIndex: 1000,
|
|
46576
46551
|
top: 0,
|
|
46577
|
-
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
|
|
46552
|
+
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
|
|
46553
|
+
}),
|
|
46554
|
+
headerinnercontainer: glamor.css({
|
|
46578
46555
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
46579
46556
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
46580
46557
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -46706,80 +46683,42 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
46706
46683
|
}
|
|
46707
46684
|
})
|
|
46708
46685
|
};
|
|
46686
|
+
var FloatingButtonsandSocialMedia = function FloatingButtonsandSocialMedia() {
|
|
46687
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46688
|
+
"class": "row m-0 w-100"
|
|
46689
|
+
}, /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
|
|
46690
|
+
sectionpropertiesprops: sectionproperties,
|
|
46691
|
+
actions: actions
|
|
46692
|
+
}), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
46693
|
+
sectionpropertiesprops: sectionproperties,
|
|
46694
|
+
templateproperties_contextprops: templateproperties_context,
|
|
46695
|
+
actions: actions
|
|
46696
|
+
}), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
46697
|
+
sectionpropertiesprops: sectionproperties,
|
|
46698
|
+
actions: actions
|
|
46699
|
+
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46700
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
46701
|
+
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
46702
|
+
sectionpropertiesprops: sectionproperties,
|
|
46703
|
+
templateproperties_contextprops: templateproperties_context,
|
|
46704
|
+
actions: actions
|
|
46705
|
+
})));
|
|
46706
|
+
};
|
|
46709
46707
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46710
46708
|
"class": "".concat(headerstyles$g.header_container) + ' headeroffcanvas row m-0 w-100 d-flex justify-content-center ',
|
|
46711
46709
|
style: {
|
|
46712
46710
|
position: 'relative'
|
|
46713
46711
|
}
|
|
46714
|
-
}, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
46715
|
-
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),
|
|
46716
|
-
target: '_blank',
|
|
46717
|
-
style: {
|
|
46718
|
-
position: 'fixed',
|
|
46719
|
-
bottom: sectionproperties.whatsapppositionfrombottom + 'px',
|
|
46720
|
-
right: sectionproperties.whatsapppositionfromright + 'px',
|
|
46721
|
-
zIndex: 999999,
|
|
46722
|
-
transition: 'all 0.3s ease-out'
|
|
46723
|
-
}
|
|
46724
|
-
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
46725
|
-
src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
|
|
46726
|
-
style: {
|
|
46727
|
-
width: '40px',
|
|
46728
|
-
height: '40px',
|
|
46729
|
-
cursor: 'pointer'
|
|
46730
|
-
}
|
|
46731
|
-
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46732
|
-
style: {
|
|
46733
|
-
position: 'fixed',
|
|
46734
|
-
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
46735
|
-
right: sectionproperties.floatingbtnfromright + 'px',
|
|
46736
|
-
zIndex: 999999,
|
|
46737
|
-
transition: 'all 0.3s ease-out',
|
|
46738
|
-
width: '100%'
|
|
46739
|
-
},
|
|
46740
|
-
"class": "text-end"
|
|
46741
46712
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46742
|
-
"class":
|
|
46743
|
-
|
|
46744
|
-
onClick: function onClick() {
|
|
46745
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
46746
|
-
}
|
|
46747
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46748
|
-
"class": "m-0 p-0"
|
|
46749
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
46750
|
-
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
46751
|
-
target: '_self',
|
|
46752
|
-
style: {
|
|
46753
|
-
position: 'fixed',
|
|
46754
|
-
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
46755
|
-
right: sectionproperties.callppositionfromright + 'px',
|
|
46756
|
-
zIndex: 999999,
|
|
46757
|
-
transition: 'all 0.3s ease-out'
|
|
46758
|
-
}
|
|
46759
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
46760
|
-
"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'
|
|
46761
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
46762
|
-
size: 30,
|
|
46763
|
-
color: sectionproperties.uppersection_iconcolor,
|
|
46764
|
-
style: {
|
|
46765
|
-
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
46766
|
-
}
|
|
46767
|
-
}))), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
46768
|
-
sectionpropertiesprops: sectionproperties,
|
|
46769
|
-
templateproperties_contextprops: templateproperties_context,
|
|
46770
|
-
actions: actions
|
|
46771
|
-
}), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
46772
|
-
sectionpropertiesprops: sectionproperties,
|
|
46773
|
-
actions: actions
|
|
46774
|
-
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46775
|
-
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
46776
|
-
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
46777
|
-
sectionpropertiesprops: sectionproperties,
|
|
46778
|
-
templateproperties_contextprops: templateproperties_context,
|
|
46779
|
-
actions: actions
|
|
46780
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46713
|
+
"class": "row m-0 w-100 d-none d-md-flex"
|
|
46714
|
+
}, FloatingButtonsandSocialMedia()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46781
46715
|
"class": "".concat(header_cssstyles.headercontainer) + ' row m-0 d-md-none ',
|
|
46782
46716
|
style: {}
|
|
46717
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46718
|
+
"class": "row m-0 w-100"
|
|
46719
|
+
}, FloatingButtonsandSocialMedia()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46720
|
+
"class": "".concat(header_cssstyles.headerinnercontainer) + ' row m-0 w-100 ',
|
|
46721
|
+
style: {}
|
|
46783
46722
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46784
46723
|
"class": "col-lg-6 col-md-6 col-sm-12 text-start p-0"
|
|
46785
46724
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -46832,7 +46771,7 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
46832
46771
|
height: 1,
|
|
46833
46772
|
background: scrollYposittionprops > 100 ? sectionproperties.vl_secondarybg : sectionproperties.vl_bg
|
|
46834
46773
|
}
|
|
46835
|
-
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
46774
|
+
})))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
46836
46775
|
show: openSearchBar,
|
|
46837
46776
|
onHide: function onHide() {
|
|
46838
46777
|
setopenSearchBar(false);
|
|
@@ -47041,7 +46980,7 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
47041
46980
|
"class": "m-0 p-0"
|
|
47042
46981
|
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
47043
46982
|
}
|
|
47044
|
-
}), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
46983
|
+
}), 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__default["default"].createElement("div", {
|
|
47045
46984
|
"class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
47046
46985
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47047
46986
|
"class": "row m-0 w-100"
|
|
@@ -47065,7 +47004,7 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
47065
47004
|
background: '#f4f4f4',
|
|
47066
47005
|
borderRadius: 5
|
|
47067
47006
|
}
|
|
47068
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47007
|
+
}, 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) {
|
|
47069
47008
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47070
47009
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
47071
47010
|
onClick: function onClick() {
|
|
@@ -47145,13 +47084,13 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
47145
47084
|
"class": "col-lg-12"
|
|
47146
47085
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47147
47086
|
"class": "row m-0 w-100"
|
|
47148
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47087
|
+
}, (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__default["default"].createElement("div", {
|
|
47149
47088
|
"class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
|
|
47150
47089
|
onClick: function onClick() {
|
|
47151
|
-
var _authdetailsContext$
|
|
47152
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47153
|
-
var _authdetailsContext$
|
|
47154
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47090
|
+
var _authdetailsContext$i4;
|
|
47091
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null) {
|
|
47092
|
+
var _authdetailsContext$i5;
|
|
47093
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink, '_blank');
|
|
47155
47094
|
}
|
|
47156
47095
|
}
|
|
47157
47096
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -47160,13 +47099,13 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
47160
47099
|
size: sectionproperties.iconcontainer_iconfontsize
|
|
47161
47100
|
}), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(FiArrowUpLeft.FiArrowUpLeft, {
|
|
47162
47101
|
size: sectionproperties.iconcontainer_iconfontsize
|
|
47163
|
-
})), "Facebook"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47102
|
+
})), "Facebook"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47164
47103
|
"class": "".concat(header_cssstyles.instagrambtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
|
|
47165
47104
|
onClick: function onClick() {
|
|
47166
|
-
var _authdetailsContext$
|
|
47167
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47168
|
-
var _authdetailsContext$
|
|
47169
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47105
|
+
var _authdetailsContext$i7;
|
|
47106
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
47107
|
+
var _authdetailsContext$i8;
|
|
47108
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
47170
47109
|
}
|
|
47171
47110
|
}
|
|
47172
47111
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -47175,13 +47114,13 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
47175
47114
|
size: sectionproperties.iconcontainer_iconfontsize
|
|
47176
47115
|
}), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(FiArrowUpLeft.FiArrowUpLeft, {
|
|
47177
47116
|
size: sectionproperties.iconcontainer_iconfontsize
|
|
47178
|
-
})), "Instagram"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47117
|
+
})), "Instagram"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47179
47118
|
"class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
|
|
47180
47119
|
onClick: function onClick() {
|
|
47181
|
-
var _authdetailsContext$
|
|
47182
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47183
|
-
var _authdetailsContext$
|
|
47184
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47120
|
+
var _authdetailsContext$i10;
|
|
47121
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.twitterlink) != null) {
|
|
47122
|
+
var _authdetailsContext$i11;
|
|
47123
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.twitterlink, '_blank');
|
|
47185
47124
|
}
|
|
47186
47125
|
}
|
|
47187
47126
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -47190,13 +47129,13 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
47190
47129
|
size: sectionproperties.iconcontainer_iconfontsize
|
|
47191
47130
|
}), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(FiArrowUpLeft.FiArrowUpLeft, {
|
|
47192
47131
|
size: sectionproperties.iconcontainer_iconfontsize
|
|
47193
|
-
})), "X"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47132
|
+
})), "X"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47194
47133
|
"class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
|
|
47195
47134
|
onClick: function onClick() {
|
|
47196
|
-
var _authdetailsContext$
|
|
47197
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47198
|
-
var _authdetailsContext$
|
|
47199
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47135
|
+
var _authdetailsContext$i13;
|
|
47136
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null) {
|
|
47137
|
+
var _authdetailsContext$i14;
|
|
47138
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink, '_blank');
|
|
47200
47139
|
}
|
|
47201
47140
|
}
|
|
47202
47141
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -47205,13 +47144,13 @@ var Minimalheader = function Minimalheader(props) {
|
|
|
47205
47144
|
size: sectionproperties.iconcontainer_iconfontsize
|
|
47206
47145
|
}), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(FiArrowUpLeft.FiArrowUpLeft, {
|
|
47207
47146
|
size: sectionproperties.iconcontainer_iconfontsize
|
|
47208
|
-
})), "LinkedIn"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47147
|
+
})), "LinkedIn"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47209
47148
|
"class": "".concat(header_cssstyles.fbbtn) + ' col-lg-12 p-0 text-start mb-2 cursor-pointer ',
|
|
47210
47149
|
onClick: function onClick() {
|
|
47211
|
-
var _authdetailsContext$
|
|
47212
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47213
|
-
var _authdetailsContext$
|
|
47214
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47150
|
+
var _authdetailsContext$i16;
|
|
47151
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.youtubelink) != null) {
|
|
47152
|
+
var _authdetailsContext$i17;
|
|
47153
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.youtubelink, '_blank');
|
|
47215
47154
|
}
|
|
47216
47155
|
}
|
|
47217
47156
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|