tabexseriescomponents 0.0.778 → 0.0.780
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 +203 -133
- package/dist/index.esm.js +203 -133
- package/dist/index.umd.js +203 -133
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -21251,7 +21251,7 @@ styleInject(css_248z$B);
|
|
|
21251
21251
|
function ownKeys$24(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; }
|
|
21252
21252
|
function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21253
21253
|
var Subheader = function Subheader(props) {
|
|
21254
|
-
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _props$subheaderprope4, _templatepropcontext$, _fetchCategoriesQuery2, _authdetailsContext$i, _props$subheaderprope13, _templatepropcontext$2, _props$
|
|
21254
|
+
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _props$subheaderprope4, _templatepropcontext$, _fetchCategoriesQuery2, _authdetailsContext$i, _props$subheaderprope13, _templatepropcontext$2, _props$subheaderprope18, _props$subheaderprope19, _templatepropcontext$3, _fetchCategoriesQuery3, _authdetailsContext$i3, _fetchCategoriesQuery4, _authdetailsContext$i4, _fetchCategoriesQuery5, _props$subheaderprope34, _props$subheaderprope35, _props$subheaderprope36, _props$subheaderprope37, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _props$subheaderprope40, _props$subheaderprope41, _props$subheaderprope42, _props$subheaderprope43, _fetchCategoriesQuery9, _fetchCategoriesQuery10;
|
|
21255
21255
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
21256
21256
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
21257
21257
|
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
@@ -21265,30 +21265,34 @@ var Subheader = function Subheader(props) {
|
|
|
21265
21265
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
21266
21266
|
showdownheadermenu = _useState2[0],
|
|
21267
21267
|
setshowdownheadermenu = _useState2[1];
|
|
21268
|
-
var _useState3 = React.useState(
|
|
21268
|
+
var _useState3 = React.useState(false),
|
|
21269
21269
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
21270
|
-
|
|
21271
|
-
|
|
21270
|
+
inqmenushow = _useState4[0],
|
|
21271
|
+
setinqmenushow = _useState4[1];
|
|
21272
21272
|
var _useState5 = React.useState(''),
|
|
21273
21273
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
21274
|
-
|
|
21275
|
-
|
|
21274
|
+
currentimagecollection = _useState6[0],
|
|
21275
|
+
setcurrentimagecollection = _useState6[1];
|
|
21276
21276
|
var _useState7 = React.useState(''),
|
|
21277
21277
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
21278
|
-
|
|
21279
|
-
|
|
21280
|
-
var _useState9 = React.useState(
|
|
21278
|
+
Choosenindex = _useState8[0],
|
|
21279
|
+
setChoosenindex = _useState8[1];
|
|
21280
|
+
var _useState9 = React.useState(''),
|
|
21281
21281
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
21282
|
-
|
|
21283
|
-
|
|
21284
|
-
var _useState11 = React.useState(
|
|
21282
|
+
Choosenname = _useState10[0],
|
|
21283
|
+
setChoosenname = _useState10[1];
|
|
21284
|
+
var _useState11 = React.useState({}),
|
|
21285
21285
|
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
21286
|
-
|
|
21287
|
-
|
|
21286
|
+
sectionproperties = _useState12[0],
|
|
21287
|
+
setsectionproperties = _useState12[1];
|
|
21288
21288
|
var _useState13 = React.useState([]),
|
|
21289
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
21290
|
-
_useState14[0]
|
|
21291
|
-
_useState14[1];
|
|
21289
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
21290
|
+
pcollarray = _useState14[0],
|
|
21291
|
+
setpcollarray = _useState14[1];
|
|
21292
|
+
var _useState15 = React.useState([]),
|
|
21293
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
21294
|
+
_useState16[0];
|
|
21295
|
+
_useState16[1];
|
|
21292
21296
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
21293
21297
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
21294
21298
|
React.useEffect(function () {
|
|
@@ -21478,33 +21482,53 @@ var Subheader = function Subheader(props) {
|
|
|
21478
21482
|
}
|
|
21479
21483
|
})), (props === null || props === void 0 || (_props$subheaderprope13 = props.subheaderpropertiesprops) === null || _props$subheaderprope13 === void 0 ? void 0 : _props$subheaderprope13.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$2 = templatepropcontext.pagesnprop) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.map(function (item, index) {
|
|
21480
21484
|
if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex > 0) {
|
|
21481
|
-
var
|
|
21482
|
-
|
|
21483
|
-
|
|
21484
|
-
|
|
21485
|
-
|
|
21486
|
-
|
|
21487
|
-
|
|
21488
|
-
|
|
21489
|
-
|
|
21490
|
-
|
|
21491
|
-
|
|
21492
|
-
|
|
21493
|
-
|
|
21494
|
-
|
|
21495
|
-
|
|
21496
|
-
|
|
21497
|
-
|
|
21485
|
+
var _authdetailsContext$i2;
|
|
21486
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '6745e12fb23b4' && item.pagename == 'Inquiry') {
|
|
21487
|
+
var _props$subheaderprope14, _props$subheaderprope15;
|
|
21488
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21489
|
+
onMouseEnter: function onMouseEnter() {
|
|
21490
|
+
setshowdownheadermenu(false);
|
|
21491
|
+
setinqmenushow(true);
|
|
21492
|
+
// alert('sad');
|
|
21493
|
+
// here
|
|
21494
|
+
},
|
|
21495
|
+
"class": "scrollhorizontalcard",
|
|
21496
|
+
style: {
|
|
21497
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope14 = props.subheaderpropertiesprops) === null || _props$subheaderprope14 === void 0 ? void 0 : _props$subheaderprope14.paddingLeftprops,
|
|
21498
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope15 = props.subheaderpropertiesprops) === null || _props$subheaderprope15 === void 0 ? void 0 : _props$subheaderprope15.paddingLeftprops
|
|
21499
|
+
}
|
|
21500
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21501
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
21502
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
21503
|
+
} else {
|
|
21504
|
+
var _props$subheaderprope16, _props$subheaderprope17;
|
|
21505
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21506
|
+
onClick: function onClick() {
|
|
21507
|
+
routingcountext(item.navigationroute);
|
|
21508
|
+
},
|
|
21509
|
+
onMouseEnter: function onMouseEnter() {
|
|
21510
|
+
setshowdownheadermenu(false);
|
|
21511
|
+
setChoosenindex('');
|
|
21512
|
+
},
|
|
21513
|
+
"class": "scrollhorizontalcard",
|
|
21514
|
+
style: {
|
|
21515
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope16 = props.subheaderpropertiesprops) === null || _props$subheaderprope16 === void 0 ? void 0 : _props$subheaderprope16.paddingLeftprops,
|
|
21516
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope17 = props.subheaderpropertiesprops) === null || _props$subheaderprope17 === void 0 ? void 0 : _props$subheaderprope17.paddingLeftprops
|
|
21517
|
+
}
|
|
21518
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21519
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
21520
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
21521
|
+
}
|
|
21498
21522
|
}
|
|
21499
21523
|
}))), sectionproperties.subheaderpositionfromhome != 'Right After Home' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21500
21524
|
"class": "".concat(headerstyles$f.nav__item) + ' scrollhorizontal flex-row align-items-center w-100 justify-content-md-center ',
|
|
21501
21525
|
style: {
|
|
21502
21526
|
zIndex: 1000,
|
|
21503
|
-
justifyContent: ((_props$
|
|
21527
|
+
justifyContent: ((_props$subheaderprope18 = props.subheaderpropertiesprops) === null || _props$subheaderprope18 === void 0 ? void 0 : _props$subheaderprope18.subheadercontentpositionprops) == 'center' ? 'center' : 'start'
|
|
21504
21528
|
}
|
|
21505
|
-
}, (props === null || props === void 0 || (_props$
|
|
21529
|
+
}, (props === null || props === void 0 || (_props$subheaderprope19 = props.subheaderpropertiesprops) === null || _props$subheaderprope19 === void 0 ? void 0 : _props$subheaderprope19.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
|
|
21506
21530
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
21507
|
-
var _props$
|
|
21531
|
+
var _props$subheaderprope20, _props$subheaderprope21;
|
|
21508
21532
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21509
21533
|
onClick: function onClick() {
|
|
21510
21534
|
routingcountext(item.navigationroute);
|
|
@@ -21515,8 +21539,8 @@ var Subheader = function Subheader(props) {
|
|
|
21515
21539
|
},
|
|
21516
21540
|
"class": "scrollhorizontalcard",
|
|
21517
21541
|
style: {
|
|
21518
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
21519
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
21542
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope20 = props.subheaderpropertiesprops) === null || _props$subheaderprope20 === void 0 ? void 0 : _props$subheaderprope20.paddingLeftprops,
|
|
21543
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope21 = props.subheaderpropertiesprops) === null || _props$subheaderprope21 === void 0 ? void 0 : _props$subheaderprope21.paddingLeftprops
|
|
21520
21544
|
}
|
|
21521
21545
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21522
21546
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
@@ -21524,7 +21548,7 @@ var Subheader = function Subheader(props) {
|
|
|
21524
21548
|
}
|
|
21525
21549
|
})), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : _fetchCategoriesQuery3.categories.map(function (item, index) {
|
|
21526
21550
|
if (item.isshowntocustomers == 1) {
|
|
21527
|
-
var _props$
|
|
21551
|
+
var _props$subheaderprope22, _props$subheaderprope23;
|
|
21528
21552
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21529
21553
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
21530
21554
|
onClick: function onClick() {
|
|
@@ -21535,14 +21559,14 @@ var Subheader = function Subheader(props) {
|
|
|
21535
21559
|
setChoosenindex(index);
|
|
21536
21560
|
},
|
|
21537
21561
|
style: {
|
|
21538
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
21539
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
21562
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope22 = props.subheaderpropertiesprops) === null || _props$subheaderprope22 === void 0 ? void 0 : _props$subheaderprope22.paddingLeftprops,
|
|
21563
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope23 = props.subheaderpropertiesprops) === null || _props$subheaderprope23 === void 0 ? void 0 : _props$subheaderprope23.paddingLeftprops
|
|
21540
21564
|
}
|
|
21541
21565
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
21542
21566
|
}
|
|
21543
21567
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
21544
21568
|
if (item.isshowntocustomers == 1) {
|
|
21545
|
-
var _props$
|
|
21569
|
+
var _props$subheaderprope24, _props$subheaderprope25;
|
|
21546
21570
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21547
21571
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
21548
21572
|
onClick: function onClick() {
|
|
@@ -21555,22 +21579,22 @@ var Subheader = function Subheader(props) {
|
|
|
21555
21579
|
setChoosenname(item.title_en);
|
|
21556
21580
|
},
|
|
21557
21581
|
style: {
|
|
21558
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
21559
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
21582
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope24 = props.subheaderpropertiesprops) === null || _props$subheaderprope24 === void 0 ? void 0 : _props$subheaderprope24.paddingLeftprops,
|
|
21583
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope25 = props.subheaderpropertiesprops) === null || _props$subheaderprope25 === void 0 ? void 0 : _props$subheaderprope25.paddingLeftprops
|
|
21560
21584
|
}
|
|
21561
21585
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
21562
21586
|
}
|
|
21563
|
-
}), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
21587
|
+
}), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcollections) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
21564
21588
|
if (item.isshowntocustomers == 1) {
|
|
21565
|
-
var _props$
|
|
21589
|
+
var _props$subheaderprope26, _props$subheaderprope27;
|
|
21566
21590
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21567
21591
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
21568
21592
|
onClick: function onClick() {
|
|
21569
21593
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
21570
21594
|
},
|
|
21571
21595
|
style: {
|
|
21572
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
21573
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
21596
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope26 = props.subheaderpropertiesprops) === null || _props$subheaderprope26 === void 0 ? void 0 : _props$subheaderprope26.paddingLeftprops,
|
|
21597
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope27 = props.subheaderpropertiesprops) === null || _props$subheaderprope27 === void 0 ? void 0 : _props$subheaderprope27.paddingLeftprops,
|
|
21574
21598
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
21575
21599
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
21576
21600
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -21597,7 +21621,7 @@ var Subheader = function Subheader(props) {
|
|
|
21597
21621
|
}
|
|
21598
21622
|
}, sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery4 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories.map(function (item, index) {
|
|
21599
21623
|
if (item.isshowntocustomers == 1) {
|
|
21600
|
-
var _props$
|
|
21624
|
+
var _props$subheaderprope28, _props$subheaderprope29;
|
|
21601
21625
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21602
21626
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
21603
21627
|
onClick: function onClick() {
|
|
@@ -21608,8 +21632,8 @@ var Subheader = function Subheader(props) {
|
|
|
21608
21632
|
setChoosenindex(index);
|
|
21609
21633
|
},
|
|
21610
21634
|
style: {
|
|
21611
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
21612
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
21635
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope28 = props.subheaderpropertiesprops) === null || _props$subheaderprope28 === void 0 ? void 0 : _props$subheaderprope28.paddingLeftprops,
|
|
21636
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.paddingLeftprops,
|
|
21613
21637
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
21614
21638
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
21615
21639
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -21619,7 +21643,7 @@ var Subheader = function Subheader(props) {
|
|
|
21619
21643
|
}
|
|
21620
21644
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
21621
21645
|
if (item.isshowntocustomers == 1) {
|
|
21622
|
-
var _props$
|
|
21646
|
+
var _props$subheaderprope30, _props$subheaderprope31;
|
|
21623
21647
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21624
21648
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
21625
21649
|
onClick: function onClick() {
|
|
@@ -21630,8 +21654,8 @@ var Subheader = function Subheader(props) {
|
|
|
21630
21654
|
setChoosenindex(index);
|
|
21631
21655
|
},
|
|
21632
21656
|
style: {
|
|
21633
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
21634
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
21657
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope30 = props.subheaderpropertiesprops) === null || _props$subheaderprope30 === void 0 ? void 0 : _props$subheaderprope30.paddingLeftprops,
|
|
21658
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope31 = props.subheaderpropertiesprops) === null || _props$subheaderprope31 === void 0 ? void 0 : _props$subheaderprope31.paddingLeftprops,
|
|
21635
21659
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
21636
21660
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
21637
21661
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -21639,17 +21663,17 @@ var Subheader = function Subheader(props) {
|
|
|
21639
21663
|
}
|
|
21640
21664
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
21641
21665
|
}
|
|
21642
|
-
}), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
21666
|
+
}), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcollections) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
|
|
21643
21667
|
if (item.isshowntocustomers == 1) {
|
|
21644
|
-
var _props$
|
|
21668
|
+
var _props$subheaderprope32, _props$subheaderprope33;
|
|
21645
21669
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21646
21670
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
21647
21671
|
onClick: function onClick() {
|
|
21648
21672
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
21649
21673
|
},
|
|
21650
21674
|
style: {
|
|
21651
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
21652
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
21675
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope32 = props.subheaderpropertiesprops) === null || _props$subheaderprope32 === void 0 ? void 0 : _props$subheaderprope32.paddingLeftprops,
|
|
21676
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope33 = props.subheaderpropertiesprops) === null || _props$subheaderprope33 === void 0 ? void 0 : _props$subheaderprope33.paddingLeftprops,
|
|
21653
21677
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
21654
21678
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
21655
21679
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -21666,8 +21690,8 @@ var Subheader = function Subheader(props) {
|
|
|
21666
21690
|
style: {
|
|
21667
21691
|
width: sectionproperties.subheader_width + '%',
|
|
21668
21692
|
zIndex: 2000,
|
|
21669
|
-
position: ((_props$
|
|
21670
|
-
top: ((_props$
|
|
21693
|
+
position: ((_props$subheaderprope34 = props.subheaderpropertiesprops) === null || _props$subheaderprope34 === void 0 ? void 0 : _props$subheaderprope34.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
21694
|
+
top: ((_props$subheaderprope35 = props.subheaderpropertiesprops) === null || _props$subheaderprope35 === void 0 ? void 0 : _props$subheaderprope35.headernameprops) == 'Stylish Header' && ((_props$subheaderprope36 = props.subheaderpropertiesprops) === null || _props$subheaderprope36 === void 0 ? void 0 : _props$subheaderprope36.subheaderpositionprops) == 'in nav' ? 50 : ((_props$subheaderprope37 = props.subheaderpropertiesprops) === null || _props$subheaderprope37 === void 0 ? void 0 : _props$subheaderprope37.subheaderpositionprops) == 'in nav' ? 30 : '',
|
|
21671
21695
|
// border:
|
|
21672
21696
|
// sectionproperties.subheader_width != 100
|
|
21673
21697
|
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
@@ -21694,9 +21718,9 @@ var Subheader = function Subheader(props) {
|
|
|
21694
21718
|
"class": "font-16 font-weight-500 m-0 p-0"
|
|
21695
21719
|
}, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery7 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery7 === void 0 || (_fetchCategoriesQuery7 = _fetchCategoriesQuery7.data) === null || _fetchCategoriesQuery7 === void 0 || (_fetchCategoriesQuery7 = _fetchCategoriesQuery7.categories[Choosenindex]) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : _fetchCategoriesQuery7.parentcolletions.map(function (item, index) {
|
|
21696
21720
|
if (item.isshowntocustomers == 1) {
|
|
21697
|
-
var _fetchCategoriesQuery8, _props$
|
|
21721
|
+
var _fetchCategoriesQuery8, _props$subheaderprope38, _props$subheaderprope39;
|
|
21698
21722
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21699
|
-
"class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery8 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.categories[Choosenindex]) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : ((_props$
|
|
21723
|
+
"class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery8 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.categories[Choosenindex]) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : ((_props$subheaderprope38 = props.subheaderpropertiesprops) === null || _props$subheaderprope38 === void 0 ? void 0 : _props$subheaderprope38.numofcolsinlistprops) != undefined ? ' pl-2 pr-2 col-md-6 col-sm-12 mb-md-4 col-lg-' + ((_props$subheaderprope39 = props.subheaderpropertiesprops) === null || _props$subheaderprope39 === void 0 ? void 0 : _props$subheaderprope39.numofcolsinlistprops) : 'col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4',
|
|
21700
21724
|
style: {
|
|
21701
21725
|
cursor: 'pointer'
|
|
21702
21726
|
}
|
|
@@ -21786,8 +21810,8 @@ var Subheader = function Subheader(props) {
|
|
|
21786
21810
|
style: {
|
|
21787
21811
|
width: sectionproperties.subheader_width + '%',
|
|
21788
21812
|
zIndex: 2000,
|
|
21789
|
-
position: ((_props$
|
|
21790
|
-
top: ((_props$
|
|
21813
|
+
position: ((_props$subheaderprope40 = props.subheaderpropertiesprops) === null || _props$subheaderprope40 === void 0 ? void 0 : _props$subheaderprope40.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
21814
|
+
top: ((_props$subheaderprope41 = props.subheaderpropertiesprops) === null || _props$subheaderprope41 === void 0 ? void 0 : _props$subheaderprope41.headernameprops) == 'Stylish Header' && ((_props$subheaderprope42 = props.subheaderpropertiesprops) === null || _props$subheaderprope42 === void 0 ? void 0 : _props$subheaderprope42.subheaderpositionprops) == 'in nav' ? 50 : ((_props$subheaderprope43 = props.subheaderpropertiesprops) === null || _props$subheaderprope43 === void 0 ? void 0 : _props$subheaderprope43.subheaderpositionprops) == 'in nav' ? 30 : '',
|
|
21791
21815
|
border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
|
|
21792
21816
|
paddingLeft: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingLeft + 'px' : sectionproperties.subheader_dropdown_paddingRight + 'px',
|
|
21793
21817
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
@@ -21846,7 +21870,53 @@ var Subheader = function Subheader(props) {
|
|
|
21846
21870
|
height: '100%',
|
|
21847
21871
|
objectFit: 'contain'
|
|
21848
21872
|
}
|
|
21849
|
-
})))))))),
|
|
21873
|
+
})))))))), inqmenushow == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21874
|
+
"class": "w-100"
|
|
21875
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
21876
|
+
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
|
|
21877
|
+
style: {
|
|
21878
|
+
left: langdetect == 'en' ? '70%' : '',
|
|
21879
|
+
right: langdetect == 'ar' ? '60%' : ''
|
|
21880
|
+
}
|
|
21881
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
21882
|
+
"class": "mt-2",
|
|
21883
|
+
sytle: {
|
|
21884
|
+
width: '200px'
|
|
21885
|
+
}
|
|
21886
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
21887
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
21888
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21889
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
21890
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21891
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
21892
|
+
onClick: function onClick() {
|
|
21893
|
+
routingcountext('ordering', false, '');
|
|
21894
|
+
}
|
|
21895
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21896
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
21897
|
+
}, langdetect == 'en' ? 'Ordering' : 'للطلبات')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
21898
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
21899
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21900
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
21901
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21902
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
21903
|
+
onClick: function onClick() {
|
|
21904
|
+
routingcountext('workshops', false, '');
|
|
21905
|
+
}
|
|
21906
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21907
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
21908
|
+
}, langdetect == 'en' ? 'Workshops' : 'الورش')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
21909
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
21910
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21911
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
21912
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21913
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
21914
|
+
onClick: function onClick() {
|
|
21915
|
+
routingcountext('appointments', false, '');
|
|
21916
|
+
}
|
|
21917
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21918
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
21919
|
+
}, langdetect == 'en' ? 'Appointments' : 'المواعيد'))))))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery10 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery10 === void 0 || (_fetchCategoriesQuery10 = _fetchCategoriesQuery10.data) === null || _fetchCategoriesQuery10 === void 0 || (_fetchCategoriesQuery10 = _fetchCategoriesQuery10.categories[Choosenindex]) === null || _fetchCategoriesQuery10 === void 0 || (_fetchCategoriesQuery10 = _fetchCategoriesQuery10.parentcolletions) === null || _fetchCategoriesQuery10 === void 0 ? void 0 : _fetchCategoriesQuery10.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21850
21920
|
"class": "w-100"
|
|
21851
21921
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
21852
21922
|
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
|
|
@@ -49107,7 +49177,7 @@ var Footer7 = function Footer7(props) {
|
|
|
49107
49177
|
function ownKeys$1x(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; }
|
|
49108
49178
|
function _objectSpread$1x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
49109
49179
|
var Footer8 = function Footer8(props) {
|
|
49110
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$
|
|
49180
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i29, _authdetailsContext$i32, _authdetailsContext$i35, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i41, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
49111
49181
|
var _useState = React.useState(''),
|
|
49112
49182
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
49113
49183
|
sectionproperties = _useState2[0],
|
|
@@ -49482,46 +49552,7 @@ var Footer8 = function Footer8(props) {
|
|
|
49482
49552
|
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
49483
49553
|
}
|
|
49484
49554
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49485
|
-
"class":
|
|
49486
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49487
|
-
"class": "row m-0 w-100"
|
|
49488
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49489
|
-
"class": langdetect == 'en' ? 'col-lg-12 pr-5 p-md-0 d-flex justify-content-start mt-2' : 'col-lg-12 pl-5 p-md-0 d-flex justify-content-start mt-2'
|
|
49490
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
49491
|
-
"class": langdetect == 'en' ? ' wordbreak pr-5 mb-4 p-md-0 ' : ' wordbreak pl-5 mb-4 p-md-0 ',
|
|
49492
|
-
style: {
|
|
49493
|
-
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
49494
|
-
fontWeight: sectionproperties.prodCatFontWeight,
|
|
49495
|
-
color: sectionproperties.prodCatColor,
|
|
49496
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49497
|
-
}
|
|
49498
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.description_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49499
|
-
"class": 'col-lg-6 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
49500
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49501
|
-
"class": "row m-0 w-100"
|
|
49502
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49503
|
-
"class": "col-lg-12 p-0"
|
|
49504
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
49505
|
-
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 p-0 mb-3 mb-md-2 wordbreak d-none ',
|
|
49506
|
-
style: {
|
|
49507
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49508
|
-
},
|
|
49509
|
-
onClick: function onClick() {
|
|
49510
|
-
var _authdetailsContext$i25;
|
|
49511
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.email), '_self');
|
|
49512
|
-
}
|
|
49513
|
-
}, langdetect == 'en' ? 'T: ' : 'الهاتف: ', " ", authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49514
|
-
"class": "col-lg-12 p-0"
|
|
49515
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
49516
|
-
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 p-0 mb-3 mb-md-2 wordbreak d-none ',
|
|
49517
|
-
style: {
|
|
49518
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49519
|
-
},
|
|
49520
|
-
onClick: function onClick() {
|
|
49521
|
-
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
49522
|
-
}
|
|
49523
|
-
}, langdetect == 'en' ? 'E: ' : 'الايميل: ', " ", authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.contactinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.email)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49524
|
-
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-start mt-3'
|
|
49555
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-start mb-5'
|
|
49525
49556
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49526
49557
|
"class": 'row m-0 w-100'
|
|
49527
49558
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -49535,13 +49566,13 @@ var Footer8 = function Footer8(props) {
|
|
|
49535
49566
|
}
|
|
49536
49567
|
}, langdetect == 'en' ? 'Follow Us' : 'تابعنا')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49537
49568
|
"class": "col-lg-12 text-start px-5 flex-column"
|
|
49538
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49569
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49539
49570
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
49540
49571
|
onClick: function onClick() {
|
|
49541
|
-
var _authdetailsContext$
|
|
49542
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49543
|
-
var _authdetailsContext$
|
|
49544
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49572
|
+
var _authdetailsContext$i24;
|
|
49573
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.facebooklink) != null) {
|
|
49574
|
+
var _authdetailsContext$i25;
|
|
49575
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.facebooklink, '_blank');
|
|
49545
49576
|
}
|
|
49546
49577
|
},
|
|
49547
49578
|
style: {
|
|
@@ -49552,13 +49583,13 @@ var Footer8 = function Footer8(props) {
|
|
|
49552
49583
|
fontWeight: 600,
|
|
49553
49584
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49554
49585
|
}
|
|
49555
|
-
}, "Facebook"), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49586
|
+
}, "Facebook"), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49556
49587
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
49557
49588
|
onClick: function onClick() {
|
|
49558
|
-
var _authdetailsContext$
|
|
49559
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49560
|
-
var _authdetailsContext$
|
|
49561
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49589
|
+
var _authdetailsContext$i27;
|
|
49590
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.instagramlink) != null) {
|
|
49591
|
+
var _authdetailsContext$i28;
|
|
49592
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instagramlink, '_blank');
|
|
49562
49593
|
}
|
|
49563
49594
|
},
|
|
49564
49595
|
style: {
|
|
@@ -49569,13 +49600,13 @@ var Footer8 = function Footer8(props) {
|
|
|
49569
49600
|
fontWeight: 600,
|
|
49570
49601
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49571
49602
|
}
|
|
49572
|
-
}, "Instagram"), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49603
|
+
}, "Instagram"), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49573
49604
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
49574
49605
|
onClick: function onClick() {
|
|
49575
|
-
var _authdetailsContext$
|
|
49576
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49577
|
-
var _authdetailsContext$
|
|
49578
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49606
|
+
var _authdetailsContext$i30;
|
|
49607
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.whatsappnumber) != null) {
|
|
49608
|
+
var _authdetailsContext$i31;
|
|
49609
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.whatsappnumber), '_blank');
|
|
49579
49610
|
}
|
|
49580
49611
|
},
|
|
49581
49612
|
style: {
|
|
@@ -49586,15 +49617,15 @@ var Footer8 = function Footer8(props) {
|
|
|
49586
49617
|
fontWeight: 600,
|
|
49587
49618
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49588
49619
|
}
|
|
49589
|
-
}, "WhatsApp"), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49620
|
+
}, "WhatsApp"), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49590
49621
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start '
|
|
49591
49622
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
49592
49623
|
,
|
|
49593
49624
|
onClick: function onClick() {
|
|
49594
|
-
var _authdetailsContext$
|
|
49595
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49596
|
-
var _authdetailsContext$
|
|
49597
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49625
|
+
var _authdetailsContext$i33;
|
|
49626
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.tiktoklink) != null) {
|
|
49627
|
+
var _authdetailsContext$i34;
|
|
49628
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.tiktoklink, '_blank');
|
|
49598
49629
|
}
|
|
49599
49630
|
},
|
|
49600
49631
|
style: {
|
|
@@ -49605,7 +49636,7 @@ var Footer8 = function Footer8(props) {
|
|
|
49605
49636
|
fontWeight: 600,
|
|
49606
49637
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49607
49638
|
}
|
|
49608
|
-
}, "Tiktok"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49639
|
+
}, "Tiktok"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49609
49640
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
49610
49641
|
style: {
|
|
49611
49642
|
width: 'auto',
|
|
@@ -49618,13 +49649,52 @@ var Footer8 = function Footer8(props) {
|
|
|
49618
49649
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
49619
49650
|
,
|
|
49620
49651
|
onClick: function onClick() {
|
|
49621
|
-
var _authdetailsContext$
|
|
49622
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49623
|
-
var _authdetailsContext$
|
|
49624
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49652
|
+
var _authdetailsContext$i36;
|
|
49653
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.tiktoklink) != null) {
|
|
49654
|
+
var _authdetailsContext$i37;
|
|
49655
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.linkedinlink, '_blank');
|
|
49625
49656
|
}
|
|
49626
49657
|
}
|
|
49627
|
-
}, "LinkedIn"))))
|
|
49658
|
+
}, "LinkedIn")))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49659
|
+
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-6 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-md-3' : 'col-lg-4 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-md-3'
|
|
49660
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49661
|
+
"class": "row m-0 w-100"
|
|
49662
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49663
|
+
"class": langdetect == 'en' ? 'col-lg-12 pr-5 p-md-0 d-flex justify-content-start mt-2' : 'col-lg-12 pl-5 p-md-0 d-flex justify-content-start mt-2'
|
|
49664
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
49665
|
+
"class": langdetect == 'en' ? ' wordbreak pr-5 mb-4 p-md-0 ' : ' wordbreak pl-5 mb-4 p-md-0 ',
|
|
49666
|
+
style: {
|
|
49667
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
49668
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
49669
|
+
color: sectionproperties.prodCatColor,
|
|
49670
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49671
|
+
}
|
|
49672
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.description_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49673
|
+
"class": 'col-lg-6 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
49674
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49675
|
+
"class": "row m-0 w-100"
|
|
49676
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49677
|
+
"class": "col-lg-12 p-0"
|
|
49678
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
49679
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 p-0 mb-3 mb-md-2 wordbreak d-none ',
|
|
49680
|
+
style: {
|
|
49681
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49682
|
+
},
|
|
49683
|
+
onClick: function onClick() {
|
|
49684
|
+
var _authdetailsContext$i40;
|
|
49685
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 || (_authdetailsContext$i40 = _authdetailsContext$i40.contactinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.email), '_self');
|
|
49686
|
+
}
|
|
49687
|
+
}, langdetect == 'en' ? 'T: ' : 'الهاتف: ', " ", authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49688
|
+
"class": "col-lg-12 p-0"
|
|
49689
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
49690
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 p-0 mb-3 mb-md-2 wordbreak d-none ',
|
|
49691
|
+
style: {
|
|
49692
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
49693
|
+
},
|
|
49694
|
+
onClick: function onClick() {
|
|
49695
|
+
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
49696
|
+
}
|
|
49697
|
+
}, langdetect == 'en' ? 'E: ' : 'الايميل: ', " ", authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 || (_authdetailsContext$i41 = _authdetailsContext$i41.contactinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.email))))), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49628
49698
|
"class": "row m-0 allcentered"
|
|
49629
49699
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49630
49700
|
"class": "".concat(footerStyles.divider) + ' '
|