tabexseriescomponents 0.2.1053 → 0.2.1054

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -4608,7 +4608,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
4608
4608
  };
4609
4609
 
4610
4610
  var Service_itemtype = function Service_itemtype(props) {
4611
- var _css, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i4, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _authdetailsContext$i5, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _authdetailsContext$i6, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _sizeguideimage$;
4611
+ var _css, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i5, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _authdetailsContext$i6, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _authdetailsContext$i7, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _authdetailsContext$i8, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _sizeguideimage$;
4612
4612
  var lang = props.actions.lang;
4613
4613
  var langdetect = props.actions.langdetect;
4614
4614
  var srcfromprops = props.actions.srcfromprops;
@@ -4648,6 +4648,8 @@ var Service_itemtype = function Service_itemtype(props) {
4648
4648
  opensizeguidemodal = _useState8[0],
4649
4649
  setopensizeguidemodal = _useState8[1];
4650
4650
  var sizeguideimage = props.actions.sizeguideimage;
4651
+ props.actions.selectproductoptionvalue;
4652
+ props.actions.clearchoosenvaluesbutkeepcurrentvalue;
4651
4653
  React.useEffect(function () {
4652
4654
  var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
4653
4655
  if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
@@ -4727,7 +4729,7 @@ var Service_itemtype = function Service_itemtype(props) {
4727
4729
  };
4728
4730
  return /*#__PURE__*/React__default["default"].createElement("div", {
4729
4731
  "class": ' col-lg-12 p-0 '
4730
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '68b59be871aaf' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != '68d9461ed6822' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) != '68c160414c162' && /*#__PURE__*/React__default["default"].createElement("div", {
4732
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '690a1090c2e9c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != '68b59be871aaf' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) != '68d9461ed6822' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) != '68c160414c162' && /*#__PURE__*/React__default["default"].createElement("div", {
4731
4733
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
4732
4734
  style: {
4733
4735
  minHeight: sectionproperties.height + 'vh'
@@ -5446,7 +5448,7 @@ var Service_itemtype = function Service_itemtype(props) {
5446
5448
  paddingLeft: langdetect == 'en' ? '.5em' : 0,
5447
5449
  paddingRight: langdetect == 'ar' ? '.5rem' : 0
5448
5450
  }
5449
- }, StoreInfoprops()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) == '68d9461ed6822' && /*#__PURE__*/React__default["default"].createElement("div", {
5451
+ }, StoreInfoprops()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '68d9461ed6822' && /*#__PURE__*/React__default["default"].createElement("div", {
5450
5452
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
5451
5453
  style: {
5452
5454
  minHeight: sectionproperties.height + 'vh',
@@ -5588,7 +5590,7 @@ var Service_itemtype = function Service_itemtype(props) {
5588
5590
  addtofavoritescontext: addtofavoritescontext,
5589
5591
  srcfrom: 'col-3'
5590
5592
  }
5591
- })))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '68b59be871aaf' && /*#__PURE__*/React__default["default"].createElement("div", {
5593
+ })))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '68b59be871aaf' && /*#__PURE__*/React__default["default"].createElement("div", {
5592
5594
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
5593
5595
  style: {
5594
5596
  minHeight: sectionproperties.height + 'vh',
@@ -5683,7 +5685,7 @@ var Service_itemtype = function Service_itemtype(props) {
5683
5685
  StaticPagesLinksContext: StaticPagesLinksContext,
5684
5686
  addtofavoritescontext: addtofavoritescontext
5685
5687
  }
5686
- })))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '68c160414c162' && /*#__PURE__*/React__default["default"].createElement("div", {
5688
+ })))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '68c160414c162' && /*#__PURE__*/React__default["default"].createElement("div", {
5687
5689
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
5688
5690
  style: {
5689
5691
  minHeight: sectionproperties.height + 'vh',
@@ -5820,6 +5822,143 @@ var Service_itemtype = function Service_itemtype(props) {
5820
5822
  StaticPagesLinksContext: StaticPagesLinksContext,
5821
5823
  addtofavoritescontext: addtofavoritescontext
5822
5824
  }
5825
+ })))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '690a1090c2e9c' && /*#__PURE__*/React__default["default"].createElement("div", {
5826
+ "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
5827
+ style: {
5828
+ minHeight: sectionproperties.height + 'vh',
5829
+ paddingLeft: '60px',
5830
+ paddingRight: '60px',
5831
+ paddingTop: '60px'
5832
+ }
5833
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5834
+ "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
5835
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5836
+ "class": 'row m-0 w-100'
5837
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productimages) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.productimages.map(function (item, index) {
5838
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5839
+ "class": "col-lg-3 col-md-4 col-md-6 mb-md-2"
5840
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5841
+ "class": ' w-100 h-100',
5842
+ style: {}
5843
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
5844
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
5845
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
5846
+ path: '/tr:w-500,h-500/' + item.path,
5847
+ style: {
5848
+ width: '100%',
5849
+ height: '100%',
5850
+ objectFit: 'contain',
5851
+ borderRadius: 20
5852
+ },
5853
+ loading: "lazy"
5854
+ })));
5855
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
5856
+ "class": "col-lg-8"
5857
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5858
+ "class": "row m-0 w-100",
5859
+ style: {
5860
+ paddingRight: langdetect == 'en' ? 70 : 0,
5861
+ paddingLeft: langdetect == 'ar' ? 70 : 0
5862
+ }
5863
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5864
+ "class": "col-lg-12 p-0 text-start mb-2"
5865
+ }, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
5866
+ "class": "col-lg-12 p-0 mb-3"
5867
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
5868
+ className: 'm-0 p-0 wordbreak',
5869
+ style: {
5870
+ textAlign: langdetect == 'en' ? 'left' : 'right',
5871
+ color: sectionproperties.prodCatColor
5872
+ },
5873
+ dangerouslySetInnerHTML: {
5874
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.short_description_ar
5875
+ }
5876
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
5877
+ "class": "col-lg-12 p-0 mb-3"
5878
+ }, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
5879
+ actions: props.actions,
5880
+ srcfromprops: 'servicestyle2'
5881
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
5882
+ "class": "col-lg-12 text-start p-md-0"
5883
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5884
+ className: "row m-0 w-100"
5885
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productfeatures) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.map(function (fitem, findex) {
5886
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5887
+ "class": "col-lg-12 col-md-12 p-0 mb-3 mt-2"
5888
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5889
+ "class": "row m-0 w-100 text-start"
5890
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5891
+ "class": "col-lg-12 text-start mb-3 text-uppercase p-0"
5892
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5893
+ style: {
5894
+ width: '30px'
5895
+ },
5896
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
5897
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
5898
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
5899
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
5900
+ path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
5901
+ loading: "lazy",
5902
+ style: {
5903
+ maxWidth: '100%',
5904
+ maxHeight: '100%'
5905
+ }
5906
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
5907
+ "class": "m-0 p-0",
5908
+ style: {
5909
+ color: sectionproperties.featurecolor,
5910
+ fontWeight: sectionproperties.featurefontweight,
5911
+ fontSize: sectionproperties.featurefontsize
5912
+ }
5913
+ }, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
5914
+ "class": "col-lg-12 text-start text-capitalize"
5915
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
5916
+ "class": "m-0 p-0",
5917
+ style: {
5918
+ color: sectionproperties.featurevaluecolor,
5919
+ fontWeight: sectionproperties.featurevaluefontweight,
5920
+ fontSize: sectionproperties.featurevaluefontsize
5921
+ }
5922
+ }, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
5923
+ }))))), /*#__PURE__*/React__default["default"].createElement("div", {
5924
+ "class": "col-lg-4"
5925
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5926
+ "class": "row m-0 w-100 p-3",
5927
+ style: {
5928
+ background: 'white',
5929
+ borderRadius: 10,
5930
+ boxShadow: '0 0 10px #ccc'
5931
+ }
5932
+ }, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
5933
+ actions: props.actions,
5934
+ srcfromprops: 'servicestyle2'
5935
+ }), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
5936
+ "class": "col-12 p-0"
5937
+ }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
5938
+ actions: props.actions
5939
+ }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
5940
+ actions: props.actions,
5941
+ srcfromprops: 'servicestyle2',
5942
+ addtocartfunc: addtocartfunc
5943
+ }), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
5944
+ actions: {
5945
+ fetchProductInfoQueryContext: fetchProductInfoQueryContext,
5946
+ sectionproperties: sectionproperties,
5947
+ lang: lang,
5948
+ langdetect: langdetect,
5949
+ productinfo_cssstyles: productinfo_cssstyles,
5950
+ AddtoCartMutationContext: AddtoCartMutationContext,
5951
+ GeneralAPIMutationContext: GeneralAPIMutationContext,
5952
+ addtocardpayloadobj: addtocardpayloadobj,
5953
+ setaddtocardpayloadobj: setaddtocardpayloadobj,
5954
+ NotificationManager: NotificationManager,
5955
+ addtocartfunc: addtocartfunc,
5956
+ getprice_discountpriceprops: getprice_discountpriceprops,
5957
+ authdetailsContext: authdetailsContext,
5958
+ routingcountext: routingcountext,
5959
+ StaticPagesLinksContext: StaticPagesLinksContext,
5960
+ addtofavoritescontext: addtofavoritescontext
5961
+ }
5823
5962
  })))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
5824
5963
  show: opensizeguidemodal,
5825
5964
  onHide: function onHide() {
@@ -32429,7 +32568,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
32429
32568
  function ownKeys$1_(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; }
32430
32569
  function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
32431
32570
  var Simpleheader = function Simpleheader(props) {
32432
- var _authdetailsContext$i, _authdetailsContext$i2, _header_cssstyles, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i13, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$c, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _logoarrayofobjects$3, _logoarrayofobjects$4;
32571
+ var _authdetailsContext$i, _authdetailsContext$i2, _header_cssstyles, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i14, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$c, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _logoarrayofobjects$3, _logoarrayofobjects$4;
32433
32572
  var actions = props.actions;
32434
32573
  var _useState = React.useState(''),
32435
32574
  _useState2 = _slicedToArray__default["default"](_useState, 2),
@@ -32903,8 +33042,187 @@ var Simpleheader = function Simpleheader(props) {
32903
33042
  // activepagecolor
32904
33043
  // actibepagebgcolor
32905
33044
  if (item.isnavigation == 1 && item.isactive == 1) {
32906
- var _authdetailsContext$i6, _authdetailsContext$i7;
32907
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '68cad8f75489b') {
33045
+ var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
33046
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '6901f2154edb4') {
33047
+ if (item.pagename != 'Boutique Banquet' && item.pagename != 'Restaurant' && item.pagename != 'Events') {
33048
+ if (window.location.pathname == '/' + item.navigationroute) {
33049
+ return /*#__PURE__*/React__default["default"].createElement("div", {
33050
+ "class": 'cursor-pointer',
33051
+ onClick: function onClick() {
33052
+ routingcountext(item.navigationroute, false, '');
33053
+ }
33054
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33055
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 ',
33056
+ style: {
33057
+ color: sectionproperties.activepagecolor
33058
+ }
33059
+ }, langdetect == 'en' ? item.pagename : item.pagename_ar));
33060
+ } else {
33061
+ return /*#__PURE__*/React__default["default"].createElement("div", {
33062
+ "class": 'cursor-pointer',
33063
+ onClick: function onClick() {
33064
+ routingcountext(item.navigationroute, false, '');
33065
+ }
33066
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33067
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
33068
+ }, langdetect == 'en' ? item.pagename : item.pagename_ar));
33069
+ }
33070
+ } else if (item.pagename == 'Boutique Banquet') {
33071
+ return /*#__PURE__*/React__default["default"].createElement("div", {
33072
+ "class": 'cursor-pointer dropdownoutersecuritykey',
33073
+ onMouseEnter: function onMouseEnter() {
33074
+ setisolationmenu(true);
33075
+ }
33076
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33077
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
33078
+ }, langdetect == 'en' ? item.pagename : item.pagename_ar), isolationmenu == true && /*#__PURE__*/React__default["default"].createElement("div", {
33079
+ "class": "w-100"
33080
+ }, /*#__PURE__*/React__default["default"].createElement("li", {
33081
+ "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
33082
+ style: {
33083
+ left: langdetect == 'en' ? '10%' : '',
33084
+ right: langdetect == 'ar' ? '10%' : ''
33085
+ }
33086
+ }, /*#__PURE__*/React__default["default"].createElement("ul", {
33087
+ "class": "mt-2",
33088
+ sytle: {
33089
+ width: '200px'
33090
+ }
33091
+ }, /*#__PURE__*/React__default["default"].createElement("li", {
33092
+ "class": "dropdown d-flex align-items-center w-100"
33093
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33094
+ "class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
33095
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33096
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
33097
+ onClick: function onClick() {
33098
+ routingcountext('thegrandhall', false, '');
33099
+ }
33100
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33101
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
33102
+ }, langdetect == 'en' ? 'The Grand Hall' : 'القاعة الكبرى')))), /*#__PURE__*/React__default["default"].createElement("li", {
33103
+ "class": "dropdown d-flex align-items-center w-100"
33104
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33105
+ "class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
33106
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33107
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
33108
+ onClick: function onClick() {
33109
+ routingcountext('thelounge', false, '');
33110
+ }
33111
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33112
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
33113
+ }, langdetect == 'en' ? 'The Lounge' : 'الصالة')))), /*#__PURE__*/React__default["default"].createElement("li", {
33114
+ "class": "dropdown d-flex align-items-center w-100"
33115
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33116
+ "class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
33117
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33118
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
33119
+ onClick: function onClick() {
33120
+ routingcountext('thepatio', false, '');
33121
+ }
33122
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33123
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
33124
+ }, langdetect == 'en' ? 'The Patio' : 'الفناء'))))))));
33125
+ } else if (item.pagename == 'Restaurant') {
33126
+ return /*#__PURE__*/React__default["default"].createElement("div", {
33127
+ "class": 'cursor-pointer dropdownoutersecuritykey',
33128
+ onMouseEnter: function onMouseEnter() {
33129
+ setinqmenushowabout33(true);
33130
+ }
33131
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33132
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
33133
+ }, langdetect == 'en' ? item.pagename : item.pagename_ar), inqmenushowabout33 == true && /*#__PURE__*/React__default["default"].createElement("div", {
33134
+ "class": "w-100"
33135
+ }, /*#__PURE__*/React__default["default"].createElement("li", {
33136
+ "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
33137
+ style: {
33138
+ left: langdetect == 'en' ? '10%' : '',
33139
+ right: langdetect == 'ar' ? '10%' : ''
33140
+ }
33141
+ }, /*#__PURE__*/React__default["default"].createElement("ul", {
33142
+ "class": "mt-2",
33143
+ sytle: {
33144
+ width: '200px'
33145
+ }
33146
+ }, /*#__PURE__*/React__default["default"].createElement("li", {
33147
+ "class": "dropdown d-flex align-items-center w-100"
33148
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33149
+ "class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
33150
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33151
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
33152
+ onClick: function onClick() {
33153
+ routingcountext('lounge-patio', false, '');
33154
+ }
33155
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33156
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
33157
+ }, langdetect == 'en' ? 'Lounge & Patio' : 'الصالة والفناء')))), /*#__PURE__*/React__default["default"].createElement("li", {
33158
+ "class": "dropdown d-flex align-items-center w-100"
33159
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33160
+ "class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
33161
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33162
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
33163
+ onClick: function onClick() {
33164
+ routingcountext('menu', false, '');
33165
+ }
33166
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33167
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
33168
+ }, langdetect == 'en' ? 'Menu' : 'قائمة طعام'))))))));
33169
+ } else if (item.pagename == 'Events') {
33170
+ return /*#__PURE__*/React__default["default"].createElement("div", {
33171
+ "class": 'cursor-pointer dropdownoutersecuritykey',
33172
+ onMouseEnter: function onMouseEnter() {
33173
+ setinqmenushowabout34(true);
33174
+ }
33175
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33176
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
33177
+ }, langdetect == 'en' ? item.pagename : item.pagename_ar), inqmenushowabout34 == true && /*#__PURE__*/React__default["default"].createElement("div", {
33178
+ "class": "w-100"
33179
+ }, /*#__PURE__*/React__default["default"].createElement("li", {
33180
+ "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
33181
+ style: {
33182
+ left: langdetect == 'en' ? '10%' : '',
33183
+ right: langdetect == 'ar' ? '10%' : ''
33184
+ }
33185
+ }, /*#__PURE__*/React__default["default"].createElement("ul", {
33186
+ "class": "mt-2",
33187
+ sytle: {
33188
+ width: '200px'
33189
+ }
33190
+ }, /*#__PURE__*/React__default["default"].createElement("li", {
33191
+ "class": "dropdown d-flex align-items-center w-100"
33192
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33193
+ "class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
33194
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33195
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
33196
+ onClick: function onClick() {
33197
+ routingcountext('weddings', false, '');
33198
+ }
33199
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33200
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
33201
+ }, langdetect == 'en' ? 'Weddings' : 'حفلات الزفاف')))), /*#__PURE__*/React__default["default"].createElement("li", {
33202
+ "class": "dropdown d-flex align-items-center w-100"
33203
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33204
+ "class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
33205
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33206
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
33207
+ onClick: function onClick() {
33208
+ routingcountext('bespokemeetings', false, '');
33209
+ }
33210
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33211
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
33212
+ }, langdetect == 'en' ? 'Bespoke Meetings' : 'اجتماعات مخصصة')))), /*#__PURE__*/React__default["default"].createElement("li", {
33213
+ "class": "dropdown d-flex align-items-center w-100"
33214
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33215
+ "class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
33216
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
33217
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
33218
+ onClick: function onClick() {
33219
+ routingcountext('specialoccasions', false, '');
33220
+ }
33221
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
33222
+ "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
33223
+ }, langdetect == 'en' ? 'Special Occasions' : 'المناسبات الخاصة'))))))));
33224
+ }
33225
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '68cad8f75489b') {
32908
33226
  if (item.pagename != 'Our Services' && item.pagename != 'Detectors' && item.pagename != 'Leak Detection Test') {
32909
33227
  if (window.location.pathname == '/' + item.navigationroute) {
32910
33228
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -33400,7 +33718,7 @@ var Simpleheader = function Simpleheader(props) {
33400
33718
  "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 '
33401
33719
  }, "Vacuum Decay Test Or Pressure Rise Test"))))))));
33402
33720
  }
33403
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '68c69dcc53e94') {
33721
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '68c69dcc53e94') {
33404
33722
  if (item.pagename != 'Services') {
33405
33723
  return /*#__PURE__*/React__default["default"].createElement("div", {
33406
33724
  "class": 'cursor-pointer',
@@ -33665,21 +33983,21 @@ var Simpleheader = function Simpleheader(props) {
33665
33983
  }, "\u0639\u0632\u0644 ANTNTI"))))))));
33666
33984
  }
33667
33985
  } else {
33668
- var _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i12;
33669
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '684aa79857878') {
33986
+ var _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i13;
33987
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '684aa79857878') {
33670
33988
  if (item.pagename != 'About' && item.pagename != 'Admission Policy' && item.pagename != 'Community ') {
33671
- var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
33989
+ var _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
33672
33990
  return /*#__PURE__*/React__default["default"].createElement("div", {
33673
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' : 'cursor-pointer',
33991
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' : 'cursor-pointer',
33674
33992
  onClick: function onClick() {
33675
33993
  routingcountext(item.navigationroute, false, '');
33676
33994
  },
33677
33995
  style: {
33678
- background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '67b1bb900a541' ? window.location.pathname == '/' + item.navigationroute ? '#36322c' : 'transparent' : 'transprent',
33996
+ background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '67b1bb900a541' ? window.location.pathname == '/' + item.navigationroute ? '#36322c' : 'transparent' : 'transprent',
33679
33997
  borderRadius: 100
33680
33998
  }
33681
33999
  }, /*#__PURE__*/React__default["default"].createElement("p", {
33682
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '67b1bb900a541' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) == '67d6bda67adf6' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
34000
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) == '67b1bb900a541' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '67d6bda67adf6' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
33683
34001
  }, langdetect == 'en' ? item.pagename : item.pagename_ar));
33684
34002
  } else if (item.pagename == 'About') {
33685
34003
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -33880,7 +34198,7 @@ var Simpleheader = function Simpleheader(props) {
33880
34198
  "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 '
33881
34199
  }, langdetect == 'en' ? 'Google Class Room' : 'غرفة جوجل كلاس'))))))));
33882
34200
  }
33883
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '67d6bda67adf6') {
34201
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '67d6bda67adf6') {
33884
34202
  if (window.location.pathname == '/' + item.navigationroute) {
33885
34203
  return /*#__PURE__*/React__default["default"].createElement("div", {
33886
34204
  "class": 'cursor-pointer p-2',
@@ -33938,7 +34256,7 @@ var Simpleheader = function Simpleheader(props) {
33938
34256
  "class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
33939
34257
  }, langdetect == 'en' ? item.pagename : item.pagename_ar));
33940
34258
  }
33941
- } else if (item.pagename == 'Our Solutions' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '683c55d780e0c') {
34259
+ } else if (item.pagename == 'Our Solutions' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '683c55d780e0c') {
33942
34260
  return /*#__PURE__*/React__default["default"].createElement("div", {
33943
34261
  "class": 'cursor-pointer dropdownoutersecuritykey',
33944
34262
  onMouseEnter: function onMouseEnter() {
@@ -34017,7 +34335,7 @@ var Simpleheader = function Simpleheader(props) {
34017
34335
  subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
34018
34336
  }
34019
34337
  })), /*#__PURE__*/React__default["default"].createElement("div", {
34020
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.instcurrencies) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end'
34338
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcurrencies) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end'
34021
34339
  }, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
34022
34340
  "class": sectionproperties.searchbaricon_fontsize == 0 ? header_cssstyles.searchicon + ' m-0 p-0 mx-2 ' : header_cssstyles.searchicon + ' m-0 p-0 mx-1 ',
34023
34341
  style: {
@@ -34149,7 +34467,7 @@ var Simpleheader = function Simpleheader(props) {
34149
34467
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
34150
34468
  }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
34151
34469
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
34152
- }), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
34470
+ }), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
34153
34471
  onClick: function onClick() {
34154
34472
  routingcountext(StaticPagesLinksContext.Ordershistory);
34155
34473
  }
@@ -34205,7 +34523,7 @@ var Simpleheader = function Simpleheader(props) {
34205
34523
  "class": ' h-100 d-flex align-items-center '
34206
34524
  }, /*#__PURE__*/React__default["default"].createElement(HiUserCircle.HiUserCircle, {
34207
34525
  size: sectionproperties.userBtnTextfontsize
34208
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("span", {
34526
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("span", {
34209
34527
  className: "mx-2",
34210
34528
  style: {
34211
34529
  fontSize: 18
@@ -34287,7 +34605,7 @@ var Simpleheader = function Simpleheader(props) {
34287
34605
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
34288
34606
  }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
34289
34607
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
34290
- }), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
34608
+ }), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
34291
34609
  onClick: function onClick() {
34292
34610
  routingcountext(StaticPagesLinksContext.Ordershistory);
34293
34611
  }
@@ -34427,7 +34745,7 @@ var Simpleheader = function Simpleheader(props) {
34427
34745
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
34428
34746
  }, /*#__PURE__*/React__default["default"].createElement("span", {
34429
34747
  "class": "ml-2 mr-2"
34430
- }, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcurrencies) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.length) > 1 && sectionproperties.showcurrency == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
34748
+ }, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.instcurrencies) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.length) > 1 && sectionproperties.showcurrency == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
34431
34749
  "class": ' d-flex align-items-center justify-content-end '
34432
34750
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
34433
34751
  "class": ' d-flex align-items-center justify-content-center '
@@ -34439,8 +34757,8 @@ var Simpleheader = function Simpleheader(props) {
34439
34757
  "class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
34440
34758
  }, /*#__PURE__*/React__default["default"].createElement("p", {
34441
34759
  "class": "m-0 p-0 ml-2 mr-2"
34442
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.instcurrencies) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.map(function (item, index) {
34443
- var _authdetailsContext$i20;
34760
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcurrencies) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.map(function (item, index) {
34761
+ var _authdetailsContext$i21;
34444
34762
  return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
34445
34763
  onClick: function onClick() {
34446
34764
  setcurrencyfunccontext(item);
@@ -34456,7 +34774,7 @@ var Simpleheader = function Simpleheader(props) {
34456
34774
  style: {}
34457
34775
  }, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
34458
34776
  "class": 'ml-2 mr-2'
34459
- }, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcurrencies) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
34777
+ }, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instcurrencies) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
34460
34778
  "class": "col-lg-12 p-0"
34461
34779
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
34462
34780
  "class": "m-0"