tabexseriescomponents 0.0.122 → 0.0.124

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.umd.js CHANGED
@@ -2845,57 +2845,6 @@
2845
2845
  var routingcountext = props.actions.routingcountext;
2846
2846
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
2847
2847
  var authdetailsContext = props.actions.authdetailsContext;
2848
- var _useState7 = React.useState([{
2849
- tabname: lang.accountinformation,
2850
- route: StaticPagesLinksContext.accountinfo,
2851
- ischecked: currentchecked == 'accountinfo' ? true : false,
2852
- icon: /*#__PURE__*/React__default["default"].createElement("i", {
2853
- className: "h-100 d-flex align-items-center justify-content-center"
2854
- }, /*#__PURE__*/React__default["default"].createElement(AiOutlineUser.AiOutlineUser, {
2855
- size: 15
2856
- })),
2857
- Isvisible: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin,
2858
- shown: true
2859
- }, {
2860
- tabname: lang.previousorders,
2861
- route: StaticPagesLinksContext.Ordershistory,
2862
- ischecked: currentchecked == 'previousorders' ? true : false,
2863
- icon: /*#__PURE__*/React__default["default"].createElement("i", {
2864
- className: "h-100 d-flex align-items-center justify-content-center"
2865
- }, /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null)),
2866
- Isvisible: authdetailsContext.loggedin,
2867
- shown: true
2868
- }, {
2869
- tabname: lang.policies,
2870
- route: StaticPagesLinksContext.Policies,
2871
- ischecked: currentchecked == 'Policies' ? true : false,
2872
- icon: /*#__PURE__*/React__default["default"].createElement("i", {
2873
- className: "h-100 d-flex align-items-center justify-content-center"
2874
- }, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, null)),
2875
- Isvisible: true,
2876
- shown: true
2877
- }, {
2878
- route: StaticPagesLinksContext.Wishlist,
2879
- tabname: lang.wishlist,
2880
- ischecked: currentchecked == 'Wishlist' ? true : false,
2881
- icon: /*#__PURE__*/React__default["default"].createElement("i", {
2882
- className: "h-100 d-flex align-items-center justify-content-center"
2883
- }, /*#__PURE__*/React__default["default"].createElement(FaStar.FaStar, null)),
2884
- Isvisible: true,
2885
- shown: true
2886
- }, {
2887
- route: StaticPagesLinksContext.viewcart,
2888
- tabname: lang.viewcart,
2889
- ischecked: currentchecked == 'Viewcart' ? true : false,
2890
- icon: /*#__PURE__*/React__default["default"].createElement("i", {
2891
- className: "h-100 d-flex align-items-center justify-content-center"
2892
- }, /*#__PURE__*/React__default["default"].createElement(FaStar.FaStar, null)),
2893
- Isvisible: true,
2894
- shown: sectionproperties.cartBtnShow == 'Show' ? true : false
2895
- }]),
2896
- _useState8 = _slicedToArray__default["default"](_useState7, 2),
2897
- tabsarray = _useState8[0];
2898
- _useState8[1];
2899
2848
  React.useEffect(function () {
2900
2849
  var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
2901
2850
  return x.staticpageid == '623dbf7ccdc8b';
@@ -2978,6 +2927,57 @@
2978
2927
  color: sectionproperties.navigationtextactivecolor
2979
2928
  })
2980
2929
  };
2930
+ var _useState7 = React.useState([{
2931
+ tabname: lang.accountinformation,
2932
+ route: StaticPagesLinksContext.accountinfo,
2933
+ ischecked: currentchecked == 'accountinfo' ? true : false,
2934
+ icon: /*#__PURE__*/React__default["default"].createElement("i", {
2935
+ className: "h-100 d-flex align-items-center justify-content-center"
2936
+ }, /*#__PURE__*/React__default["default"].createElement(AiOutlineUser.AiOutlineUser, {
2937
+ size: 15
2938
+ })),
2939
+ Isvisible: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin,
2940
+ shown: true
2941
+ }, {
2942
+ tabname: lang.previousorders,
2943
+ route: StaticPagesLinksContext.Ordershistory,
2944
+ ischecked: currentchecked == 'previousorders' ? true : false,
2945
+ icon: /*#__PURE__*/React__default["default"].createElement("i", {
2946
+ className: "h-100 d-flex align-items-center justify-content-center"
2947
+ }, /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null)),
2948
+ Isvisible: authdetailsContext.loggedin,
2949
+ shown: true
2950
+ }, {
2951
+ tabname: lang.policies,
2952
+ route: StaticPagesLinksContext.Policies,
2953
+ ischecked: currentchecked == 'Policies' ? true : false,
2954
+ icon: /*#__PURE__*/React__default["default"].createElement("i", {
2955
+ className: "h-100 d-flex align-items-center justify-content-center"
2956
+ }, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, null)),
2957
+ Isvisible: true,
2958
+ shown: true
2959
+ }, {
2960
+ route: StaticPagesLinksContext.Wishlist,
2961
+ tabname: lang.wishlist,
2962
+ ischecked: currentchecked == 'Wishlist' ? true : false,
2963
+ icon: /*#__PURE__*/React__default["default"].createElement("i", {
2964
+ className: "h-100 d-flex align-items-center justify-content-center"
2965
+ }, /*#__PURE__*/React__default["default"].createElement(FaStar.FaStar, null)),
2966
+ Isvisible: true,
2967
+ shown: true
2968
+ }, {
2969
+ route: StaticPagesLinksContext.viewcart,
2970
+ tabname: lang.viewcart,
2971
+ ischecked: currentchecked == 'Viewcart' ? true : false,
2972
+ icon: /*#__PURE__*/React__default["default"].createElement("i", {
2973
+ className: "h-100 d-flex align-items-center justify-content-center"
2974
+ }, /*#__PURE__*/React__default["default"].createElement(FaStar.FaStar, null)),
2975
+ Isvisible: true,
2976
+ shown: sectionproperties.cartBtnShow == 'Show' ? true : false
2977
+ }]),
2978
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
2979
+ tabsarray = _useState8[0];
2980
+ _useState8[1];
2981
2981
  return /*#__PURE__*/React__default["default"].createElement("div", {
2982
2982
  className: "row ml-0 mr-0 w-100"
2983
2983
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -4275,7 +4275,7 @@
4275
4275
  function ownKeys$1J(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4276
4276
  function _objectSpread$1J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1J(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4277
4277
  var Viewcart = function Viewcart(props) {
4278
- var _css, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
4278
+ var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
4279
4279
  var lang = props.actions.lang;
4280
4280
  var langdetect = props.actions.langdetect;
4281
4281
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -4394,23 +4394,6 @@
4394
4394
  }, lang.checkout)))));
4395
4395
  };
4396
4396
  var viewcart_cssstyles = {
4397
- sectiontitlespan: glamor.css({
4398
- ':after': {
4399
- width: sectionproperties.sectitle_lineafterwidth + '%',
4400
- backgroundColor: sectionproperties.linebgcolor
4401
- }
4402
- }),
4403
- sectiontitlespan2: glamor.css({
4404
- ':after': {
4405
- width: sectionproperties.sectitle_lineafterwidth + 'px',
4406
- height: '100%',
4407
- backgroundColor: sectionproperties.linebgcolor
4408
- }
4409
- }),
4410
- pill: glamor.css((_css = {
4411
- width: sectionproperties.pillwidth + 'px',
4412
- height: sectionproperties.pillheight + 'px'
4413
- }, _defineProperty__default["default"](_css, "height", sectionproperties.pillheight + 'px'), _defineProperty__default["default"](_css, "backgroundColor", sectionproperties.pillbgcolor), _defineProperty__default["default"](_css, "color", sectionproperties.pillcolor), _defineProperty__default["default"](_css, "textTransform", sectionproperties.pilltextTransform), _defineProperty__default["default"](_css, "fontSize", sectionproperties.pillfontSize + 'px'), _defineProperty__default["default"](_css, "borderRadius", sectionproperties.pillborderBottomLeftRadius + 'px'), _css)),
4414
4397
  checkoutbtnstyles: glamor.css({
4415
4398
  background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
4416
4399
  width: sectionproperties.checkoutBtnWidth + 'px',
@@ -4444,22 +4427,6 @@
4444
4427
  fontWeight: sectionproperties.summary_textfontweight,
4445
4428
  textTransform: sectionproperties.summary_texttransform
4446
4429
  }),
4447
- applybtnstyles: glamor.css({
4448
- width: sectionproperties.applybtn_width + 'px',
4449
- height: sectionproperties.applybtn_height + 'px',
4450
- borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
4451
- textTransform: sectionproperties.applybtn_texttransform,
4452
- fontSize: sectionproperties.applybtn_fontsize + 'px',
4453
- color: sectionproperties.applybtn_textColor,
4454
- fontWeight: sectionproperties.applybtn_Textfontweight,
4455
- background: sectionproperties.applybtn_bgColor,
4456
- border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
4457
- transition: '.3s',
4458
- ':hover': {
4459
- background: sectionproperties.applybtn_bgColoronhover,
4460
- color: sectionproperties.applybtn_Textcoloronhover
4461
- }
4462
- }),
4463
4430
  Salepricestyless: glamor.css({
4464
4431
  fontSize: sectionproperties.prodsalepriceFontSize + 'px',
4465
4432
  fontWeight: sectionproperties.prodsalePriceFontWeight,
@@ -4492,23 +4459,6 @@
4492
4459
  opacity: sectionproperties.trashbtn_opacityonhover
4493
4460
  }
4494
4461
  }),
4495
- imagecont: glamor.css({
4496
- width: sectionproperties.prodimage_width + 'px',
4497
- height: sectionproperties.prodimage_height + 'px',
4498
- border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
4499
- backgroundColor: sectionproperties.prodimage_bgcolor,
4500
- borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
4501
- borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
4502
- borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
4503
- borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
4504
- display: 'flex',
4505
- alignItems: 'center',
4506
- justifyContent: 'center',
4507
- backgroundRepeat: 'no-repeat',
4508
- backgroundSize: 'cover',
4509
- backgroundPosition: 'center',
4510
- position: 'relative'
4511
- }),
4512
4462
  quantitybtn: glamor.css({
4513
4463
  width: sectionproperties.quantitybtn_width + 'px',
4514
4464
  height: sectionproperties.quantitybtn_height + 'px',
@@ -4576,12 +4526,6 @@
4576
4526
  alignItems: 'center',
4577
4527
  justifyContent: 'center',
4578
4528
  position: 'relative'
4579
- }),
4580
- input_label_name: glamor.css({
4581
- color: sectionproperties.form_labelcolor,
4582
- textTransform: sectionproperties.form_labeltexttransform,
4583
- fontWeight: sectionproperties.form_labelfontweight,
4584
- fontSize: sectionproperties.form_labelfontsize + 'px'
4585
4529
  })
4586
4530
  };
4587
4531
  var _useState5 = React.useState([]),
@@ -4700,17 +4644,7 @@
4700
4644
  className: 'col-lg-12 p-0'
4701
4645
  }, /*#__PURE__*/React__default["default"].createElement(Staticpagesrouter, {
4702
4646
  currentpageprops: 'Viewcart',
4703
- actions: actions,
4704
- pillpropertiesprops: {
4705
- minWidth: sectionproperties.pillwidth + 'px',
4706
- height: sectionproperties.pillheight + 'px',
4707
- backgroundColor: sectionproperties.pillbgcolor,
4708
- color: sectionproperties.pillcolor,
4709
- textTransform: sectionproperties.pillcolor,
4710
- fontWeight: sectionproperties.pillfontWeight,
4711
- fontSize: sectionproperties.pillfontSize + 'px',
4712
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
4713
- }
4647
+ actions: actions
4714
4648
  })), /*#__PURE__*/React__default["default"].createElement("div", {
4715
4649
  className: 'col-lg-12 d-flex w-100 p-0'
4716
4650
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -8294,7 +8228,7 @@
8294
8228
  className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
8295
8229
  }, /*#__PURE__*/React__default["default"].createElement("p", {
8296
8230
  className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 '
8297
- }, valueitem.valuename)));
8231
+ }, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
8298
8232
  }))))));
8299
8233
  })), sectionproperties.filterdirection == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
8300
8234
  className: "".concat(filterstyles.filterslider_container),
@@ -8402,7 +8336,7 @@
8402
8336
  className: "col-lg-10 p-0"
8403
8337
  }, /*#__PURE__*/React__default["default"].createElement("p", {
8404
8338
  className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
8405
- }, item.optionname)), /*#__PURE__*/React__default["default"].createElement("div", {
8339
+ }, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8406
8340
  className: "col-lg-2 p-0"
8407
8341
  }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
8408
8342
  if (state.expanded == true) {
@@ -8439,7 +8373,7 @@
8439
8373
  style: {
8440
8374
  color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
8441
8375
  }
8442
- }, valueitem.valuename)));
8376
+ }, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
8443
8377
  })))))), /*#__PURE__*/React__default["default"].createElement("hr", {
8444
8378
  className: "mt-3 mb-3"
8445
8379
  }));
@@ -8849,7 +8783,7 @@
8849
8783
  }),
8850
8784
  viewmorebtn: glamor.css({
8851
8785
  width: sectionproperties.viewmorebtn_Width + 'px',
8852
- height: sectionproperties.viewmorebtn_Height + 'px',
8786
+ height: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'auto' : sectionproperties.viewmorebtn_Height + 'px',
8853
8787
  background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
8854
8788
  borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
8855
8789
  color: sectionproperties.viewmorebtn_Textcolor,
@@ -8962,12 +8896,12 @@
8962
8896
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), /*#__PURE__*/React__default["default"].createElement("div", {
8963
8897
  "class": sectionproperties.sectiontitleposition == 'Centered' ? sectionproperties.showFilter == 'show' ? 'col-lg-12 col-md-3 col-sm-3 d-flex align-item-center justify-content-center p-0' : 'col-lg-12 col-md-12 col-sm-12 d-flex align-item-center justify-content-center p-0' : 'col-lg-5 col-md-5 col-sm-3 d-flex align-item-center justify-content-end justify-content-sm-center p-0',
8964
8898
  style: {
8965
- marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '10px' : 0
8899
+ marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '5px' : 0
8966
8900
  }
8967
8901
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8968
8902
  "class": sectionproperties.sectiontitleposition == 'Centered' ? ' row m-0 w-100 d-flex align-item-center justify-content-center mt-auto mb-auto ' : ' row m-0 w-100 d-flex align-item-center justify-content-end mt-auto mb-auto '
8969
8903
  }, sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
8970
- "class": sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ',
8904
+ "class": sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ' : sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ',
8971
8905
  onClick: function onClick() {
8972
8906
  if (fetchingtype == 'products') {
8973
8907
  if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
@@ -9367,7 +9301,7 @@
9367
9301
  function ownKeys$1x(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9368
9302
  function _objectSpread$1x(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1x(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1x(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9369
9303
  var Subheader = function Subheader(props) {
9370
- var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery, _fetchCategoriesQuery2, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _props$subheaderprope10, _props$subheaderprope11, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15;
9304
+ var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _props$subheaderprope14, _props$subheaderprope15, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17;
9371
9305
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
9372
9306
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
9373
9307
  var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
@@ -9439,6 +9373,22 @@
9439
9373
  boxShadow: sectionproperties.subheader_dropdown_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.subheader_dropdown_shadowColor : ''
9440
9374
  })
9441
9375
  };
9376
+ var _useState7 = React.useState([]),
9377
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
9378
+ pcollarray = _useState8[0],
9379
+ setpcollarray = _useState8[1];
9380
+ React.useEffect(function () {
9381
+ if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
9382
+ var _fetchCategoriesQuery, _fetchCategoriesQuery2;
9383
+ var temppcollarray = _toConsumableArray__default["default"](pcollarray);
9384
+ fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : (_fetchCategoriesQuery2 = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.forEach(function (arrayItem) {
9385
+ arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.parentcolletions.forEach(function (item) {
9386
+ temppcollarray.push(item);
9387
+ });
9388
+ });
9389
+ setpcollarray(_toConsumableArray__default["default"](temppcollarray));
9390
+ }
9391
+ }, [fetchCategoriesQueryContext.isSuccess]);
9442
9392
  return /*#__PURE__*/React__default["default"].createElement("div", {
9443
9393
  "class": ((_props$subheaderprope = props.subheaderpropertiesprops) === null || _props$subheaderprope === void 0 ? void 0 : _props$subheaderprope.subheaderpositionprops) == 'in nav' ? "".concat(headerstyles$f.sub_outercontainer) + ' w-100 ml-0 mr-0 ' : "".concat(headerstyles$f.sub_outercontainer) + ' row ml-0 mr-0 w-100 ',
9444
9394
  style: {
@@ -9496,7 +9446,7 @@
9496
9446
  "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
9497
9447
  }, langdetect == 'en' ? item.pagename : item.pagename_ar));
9498
9448
  }
9499
- })), fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : (_fetchCategoriesQuery2 = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.map(function (item, index) {
9449
+ })), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : (_fetchCategoriesQuery4 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories.map(function (item, index) {
9500
9450
  var _props$subheaderprope6, _props$subheaderprope7;
9501
9451
  return /*#__PURE__*/React__default["default"].createElement("p", {
9502
9452
  "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
@@ -9512,6 +9462,22 @@
9512
9462
  marginRight: langdetect == 'en' ? (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingRightprops : 0
9513
9463
  }
9514
9464
  }, langdetect == 'en' ? item.title_en : item.title_ar);
9465
+ })), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
9466
+ var _props$subheaderprope8, _props$subheaderprope9;
9467
+ return /*#__PURE__*/React__default["default"].createElement("p", {
9468
+ "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
9469
+ onClick: function onClick() {
9470
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
9471
+ },
9472
+ onMouseEnter: function onMouseEnter() {
9473
+ setshowdownheadermenu(true);
9474
+ setChoosenindex(index);
9475
+ },
9476
+ style: {
9477
+ marginLeft: langdetect == 'ar' ? (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops : 0,
9478
+ marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0
9479
+ }
9480
+ }, langdetect == 'en' ? item.title_en : item.title_ar);
9515
9481
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
9516
9482
  "class": "col-lg-12 m-auto d-none d-md-flex flex-column align-items-center justify-content-center pt-md-3 pb-md-3 pl-sm-2 pr-sm-2",
9517
9483
  style: {
@@ -9527,8 +9493,8 @@
9527
9493
  justifyContent: 'center',
9528
9494
  textAlign: 'center'
9529
9495
  }
9530
- }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : (_fetchCategoriesQuery4 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories.map(function (item, index) {
9531
- var _props$subheaderprope8, _props$subheaderprope9;
9496
+ }, sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery5 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery5 === void 0 ? void 0 : (_fetchCategoriesQuery6 = _fetchCategoriesQuery5.data) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : _fetchCategoriesQuery6.categories.map(function (item, index) {
9497
+ var _props$subheaderprope10, _props$subheaderprope11;
9532
9498
  return /*#__PURE__*/React__default["default"].createElement("p", {
9533
9499
  "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
9534
9500
  onClick: function onClick() {
@@ -9539,15 +9505,35 @@
9539
9505
  setChoosenindex(index);
9540
9506
  },
9541
9507
  style: {
9542
- marginLeft: langdetect == 'ar' ? (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops : 0,
9543
- marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0,
9508
+ marginLeft: langdetect == 'ar' ? (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.paddingLeftprops : 0,
9509
+ marginRight: langdetect == 'en' ? (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingRightprops : 0,
9544
9510
  color: sectionproperties.subheader_categorytitle_fontColor_resp,
9545
9511
  fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
9546
9512
  textTransform: sectionproperties.subheader_categorytitle_textTransform,
9547
9513
  fontWeight: sectionproperties.subheader_categorytitle_textfontweight
9548
9514
  }
9549
9515
  }, langdetect == 'en' ? item.title_en : item.title_ar);
9550
- }))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery5 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery5 === void 0 ? void 0 : (_fetchCategoriesQuery6 = _fetchCategoriesQuery5.data) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : (_fetchCategoriesQuery7 = _fetchCategoriesQuery6.categories[Choosenindex]) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : (_fetchCategoriesQuery8 = _fetchCategoriesQuery7.parentcolletions) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
9516
+ })), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
9517
+ var _props$subheaderprope12, _props$subheaderprope13;
9518
+ return /*#__PURE__*/React__default["default"].createElement("p", {
9519
+ "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
9520
+ onClick: function onClick() {
9521
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
9522
+ },
9523
+ onMouseEnter: function onMouseEnter() {
9524
+ setshowdownheadermenu(true);
9525
+ setChoosenindex(index);
9526
+ },
9527
+ style: {
9528
+ marginLeft: langdetect == 'ar' ? (_props$subheaderprope12 = props.subheaderpropertiesprops) === null || _props$subheaderprope12 === void 0 ? void 0 : _props$subheaderprope12.paddingLeftprops : 0,
9529
+ marginRight: langdetect == 'en' ? (_props$subheaderprope13 = props.subheaderpropertiesprops) === null || _props$subheaderprope13 === void 0 ? void 0 : _props$subheaderprope13.paddingRightprops : 0,
9530
+ color: sectionproperties.subheader_categorytitle_fontColor_resp,
9531
+ fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
9532
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
9533
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight
9534
+ }
9535
+ }, langdetect == 'en' ? item.title_en : item.title_ar);
9536
+ }))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery7 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : (_fetchCategoriesQuery8 = _fetchCategoriesQuery7.data) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : (_fetchCategoriesQuery9 = _fetchCategoriesQuery8.categories[Choosenindex]) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : (_fetchCategoriesQuery10 = _fetchCategoriesQuery9.parentcolletions) === null || _fetchCategoriesQuery10 === void 0 ? void 0 : _fetchCategoriesQuery10.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
9551
9537
  "class": "".concat(headerstyles$f.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-12 ml-auto mr-auto flex-row justify-content-center align-items-center p-sm-0 position-md-relative ',
9552
9538
  onMouseLeave: function onMouseLeave() {
9553
9539
  setshowdownheadermenu(false);
@@ -9555,18 +9541,18 @@
9555
9541
  style: {
9556
9542
  width: '95%',
9557
9543
  zIndex: 2000,
9558
- position: ((_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
9559
- top: ((_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.subheaderpositionprops) == 'in nav' ? 20 : ''
9544
+ position: ((_props$subheaderprope14 = props.subheaderpropertiesprops) === null || _props$subheaderprope14 === void 0 ? void 0 : _props$subheaderprope14.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
9545
+ top: ((_props$subheaderprope15 = props.subheaderpropertiesprops) === null || _props$subheaderprope15 === void 0 ? void 0 : _props$subheaderprope15.subheaderpositionprops) == 'in nav' ? 30 : ''
9560
9546
  }
9561
9547
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9562
9548
  "class": "row m-0 w-100 d-flex pt-3 pb-3"
9563
- }, (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery9 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : (_fetchCategoriesQuery10 = _fetchCategoriesQuery9.data) === null || _fetchCategoriesQuery10 === void 0 ? void 0 : (_fetchCategoriesQuery11 = _fetchCategoriesQuery10.categories[Choosenindex]) === null || _fetchCategoriesQuery11 === void 0 ? void 0 : (_fetchCategoriesQuery12 = _fetchCategoriesQuery11.parentcolletions) === null || _fetchCategoriesQuery12 === void 0 ? void 0 : _fetchCategoriesQuery12.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
9549
+ }, (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery11 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery11 === void 0 ? void 0 : (_fetchCategoriesQuery12 = _fetchCategoriesQuery11.data) === null || _fetchCategoriesQuery12 === void 0 ? void 0 : (_fetchCategoriesQuery13 = _fetchCategoriesQuery12.categories[Choosenindex]) === null || _fetchCategoriesQuery13 === void 0 ? void 0 : (_fetchCategoriesQuery14 = _fetchCategoriesQuery13.parentcolletions) === null || _fetchCategoriesQuery14 === void 0 ? void 0 : _fetchCategoriesQuery14.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
9564
9550
  "class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
9565
9551
  }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
9566
9552
  size: 30
9567
9553
  }), /*#__PURE__*/React__default["default"].createElement("p", {
9568
9554
  "class": "font-16 font-weight-500 m-0 p-0"
9569
- }, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery13 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery13 === void 0 ? void 0 : (_fetchCategoriesQuery14 = _fetchCategoriesQuery13.data) === null || _fetchCategoriesQuery14 === void 0 ? void 0 : (_fetchCategoriesQuery15 = _fetchCategoriesQuery14.categories[Choosenindex]) === null || _fetchCategoriesQuery15 === void 0 ? void 0 : _fetchCategoriesQuery15.parentcolletions.map(function (item, index) {
9555
+ }, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery15 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery15 === void 0 ? void 0 : (_fetchCategoriesQuery16 = _fetchCategoriesQuery15.data) === null || _fetchCategoriesQuery16 === void 0 ? void 0 : (_fetchCategoriesQuery17 = _fetchCategoriesQuery16.categories[Choosenindex]) === null || _fetchCategoriesQuery17 === void 0 ? void 0 : _fetchCategoriesQuery17.parentcolletions.map(function (item, index) {
9570
9556
  return /*#__PURE__*/React__default["default"].createElement("div", {
9571
9557
  "class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
9572
9558
  style: {
@@ -9601,6 +9587,29 @@
9601
9587
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
9602
9588
  "class": "mt-3 mb-0"
9603
9589
  }))));
9590
+ })), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
9591
+ return /*#__PURE__*/React__default["default"].createElement("div", {
9592
+ "class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
9593
+ style: {
9594
+ cursor: 'pointer'
9595
+ }
9596
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
9597
+ "class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
9598
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
9599
+ "class": "col-lg-12 p-0 mb-2",
9600
+ onClick: function onClick() {
9601
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
9602
+ }
9603
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
9604
+ "class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
9605
+ style: {
9606
+ textAlign: langdetect == 'en' ? 'left' : 'right'
9607
+ }
9608
+ }, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
9609
+ "class": "col-lg-12 p-0 d-none d-sm-block"
9610
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
9611
+ "class": "mt-3 mb-0"
9612
+ }))));
9604
9613
  }))))));
9605
9614
  };
9606
9615
 
@@ -15997,7 +16006,7 @@
15997
16006
  fontSize: sectionproperties.badge_fontsize + 'px'
15998
16007
  }),
15999
16008
  languagecontainer: glamor.css({
16000
- fontWeight: 400,
16009
+ fontWeight: sectionproperties.footerinfotext_fontweight,
16001
16010
  color: sectionproperties.language_container_color,
16002
16011
  fontSize: sectionproperties.language_container_fontsize + 'px',
16003
16012
  cursor: 'pointer',
@@ -16007,42 +16016,30 @@
16007
16016
  }
16008
16017
  }),
16009
16018
  fbbtn: glamor.css({
16010
- width: sectionproperties.facebkbtnnWidth + 'px',
16011
- height: sectionproperties.facebkbtnnHeight + 'px',
16012
- backgroundColor: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
16013
16019
  color: sectionproperties.facebkbtnnTextcolor,
16014
16020
  borderLeft: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
16015
16021
  borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
16016
16022
  transition: '.3s',
16017
16023
  ':hover': {
16018
- color: sectionproperties.facebkbtnnTextcoloronhover,
16019
- backgroundColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColoronhover
16024
+ color: sectionproperties.facebkbtnnTextcoloronhover
16020
16025
  }
16021
16026
  }),
16022
16027
  instagrambtn: glamor.css({
16023
- width: sectionproperties.instgrambtnWidth + 'px',
16024
- height: sectionproperties.instgrambtnHeight + 'px',
16025
- backgroundColor: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
16026
16028
  color: sectionproperties.instgrambtnTextcolor,
16027
16029
  borderLeft: langdetect == 'en' ? 0 : sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
16028
16030
  borderRight: langdetect == 'en' ? sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg : 0,
16029
16031
  transition: '.3s',
16030
16032
  ':hover': {
16031
- color: sectionproperties.instgrambtnTextcoloronhover,
16032
- backgroundColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover
16033
+ color: sectionproperties.instgrambtnTextcoloronhover
16033
16034
  }
16034
16035
  }),
16035
16036
  whatsappbtn: glamor.css({
16036
- width: sectionproperties.youtubebtnWidth + 'px',
16037
- height: sectionproperties.youtubebtnHeight + 'px',
16038
- backgroundColor: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
16039
16037
  color: sectionproperties.youtubebtnTextcolor,
16040
16038
  transition: '.3s',
16041
16039
  borderLeft: langdetect == 'en' ? 0 : sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
16042
16040
  borderRight: langdetect == 'en' ? sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg : 0,
16043
16041
  ':hover': {
16044
- color: sectionproperties.youtubebtnTextcoloronhover,
16045
- backgroundColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover
16042
+ color: sectionproperties.youtubebtnTextcoloronhover
16046
16043
  }
16047
16044
  }),
16048
16045
  upperheadertext: glamor.css({
@@ -16120,7 +16117,7 @@
16120
16117
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16121
16118
  "class": "row m-0 w-100"
16122
16119
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
16123
- "class": header_cssstyles.fbbtn + ' p-0 allcentered cursor-pointer ',
16120
+ "class": header_cssstyles.fbbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
16124
16121
  onClick: function onClick() {
16125
16122
  var _authdetailsContext$i;
16126
16123
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
@@ -16131,7 +16128,7 @@
16131
16128
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
16132
16129
  size: sectionproperties.facebkbtnniconfontsize
16133
16130
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
16134
- "class": header_cssstyles.whatsappbtn + ' p-0 allcentered cursor-pointer ',
16131
+ "class": header_cssstyles.whatsappbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
16135
16132
  onClick: function onClick() {
16136
16133
  var _authdetailsContext$i3;
16137
16134
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber) != null) {
@@ -16142,7 +16139,7 @@
16142
16139
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
16143
16140
  size: sectionproperties.youtubebtniconfontsize
16144
16141
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
16145
- "class": header_cssstyles.instagrambtn + ' p-0 allcentered cursor-pointer ',
16142
+ "class": header_cssstyles.instagrambtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
16146
16143
  onClick: function onClick() {
16147
16144
  var _authdetailsContext$i5;
16148
16145
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
@@ -16341,7 +16338,7 @@
16341
16338
  "class": "".concat(header_cssstyles.searchbarcont) + ' d-flex justify-content-center align-items-center '
16342
16339
  }, /*#__PURE__*/React__default["default"].createElement("i", {
16343
16340
  "class": headerstyles$8.searchbaractive + ' h-100 d-flex align-items-center'
16344
- }, /*#__PURE__*/React__default["default"].createElement(GoSearch.GoSearch, {
16341
+ }, /*#__PURE__*/React__default["default"].createElement(BiSearch.BiSearch, {
16345
16342
  size: sectionproperties.searchbarcontfontsize,
16346
16343
  style: {
16347
16344
  transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
@@ -16595,23 +16592,17 @@
16595
16592
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16596
16593
  "class": "row m-0 w-100 d-flex align-items-center"
16597
16594
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16598
- "class": "col-lg-6"
16599
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16600
- style: {
16601
- width: '30vh',
16602
- height: '20vh'
16603
- }
16595
+ "class": "col-lg-6 d-flex align-items-center justify-content-start"
16604
16596
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
16605
16597
  urlEndpoint: IKurlEndpoint,
16606
16598
  publicKey: IKpublicKey,
16607
- "class": generalstyles.logo_image,
16608
16599
  path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
16609
16600
  style: {
16610
- width: '100%',
16611
- height: '100%',
16601
+ width: sectionproperties.searchlogowidth + 'vh',
16602
+ height: sectionproperties.searchlogoheight + 'vh',
16612
16603
  objectFit: 'contain'
16613
16604
  }
16614
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
16605
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
16615
16606
  "class": "col-lg-6 d-flex align-items-center justify-content-end"
16616
16607
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16617
16608
  "class": header_cssstyles.closeOverlayBtn + ' cursor-pointer ',
@@ -17814,7 +17805,8 @@
17814
17805
  className: "col-lg-12",
17815
17806
  style: {
17816
17807
  paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
17817
- paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px'
17808
+ paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
17809
+ background: sectionproperties.uppersection_bgcolor
17818
17810
  }
17819
17811
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17820
17812
  style: {
@@ -17826,7 +17818,7 @@
17826
17818
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17827
17819
  className: header_cssstyles.lowerHeaderSection + ' row m-0 w-100 d-flex align-items-center '
17828
17820
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17829
- className: "col-lg-8 d-flex align-items-center"
17821
+ className: "col-lg-9 d-flex align-items-center"
17830
17822
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17831
17823
  "class": ' scrollhorizontal w-100 align-items-center justify-content-start flex-row ',
17832
17824
  style: {
@@ -17853,7 +17845,7 @@
17853
17845
  subheadercontentpositionprops: 'start'
17854
17846
  }
17855
17847
  })), /*#__PURE__*/React__default["default"].createElement("div", {
17856
- className: "col-lg-4 d-flex align-items-center justify-content-end"
17848
+ className: "col-lg-3 d-flex align-items-center justify-content-end p-0"
17857
17849
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17858
17850
  className: "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center ',
17859
17851
  onClick: function onClick() {
@@ -18006,8 +17998,8 @@
18006
17998
  publicKey: IKpublicKey,
18007
17999
  path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
18008
18000
  style: {
18009
- width: '100%',
18010
- height: '100%',
18001
+ width: sectionproperties.searchlogowidth + '%',
18002
+ height: sectionproperties.searchlogoheight + '%',
18011
18003
  objectFit: 'contain'
18012
18004
  }
18013
18005
  })), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -21871,7 +21863,7 @@
21871
21863
  function ownKeys$1f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
21872
21864
  function _objectSpread$1f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1f(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
21873
21865
  var TwoTieredHeader = function TwoTieredHeader(props) {
21874
- var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$c, _authdetailsContext$i7, _authdetailsContext$i8, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
21866
+ var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
21875
21867
  var lang = props.actions.lang;
21876
21868
  var langdetect = props.actions.langdetect;
21877
21869
  var setlang = props.actions.setlang;
@@ -22153,10 +22145,12 @@
22153
22145
  width: sectionproperties.generalbtn_width + 'px',
22154
22146
  height: sectionproperties.generalbtn_height + 'px',
22155
22147
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
22156
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
22148
+ borderTopRightRadius: langdetect == 'en' ? 0 : sectionproperties.generalbtn_bordertopleftradius + 'px',
22157
22149
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
22158
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
22159
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor
22150
+ borderBottomRightRadius: langdetect == 'en' ? 0 : sectionproperties.generalbtn_borderbottomleftradius + 'px',
22151
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
22152
+ borderRight: langdetect == 'en' ? 0 : sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
22153
+ borderLeft: langdetect == 'ar' ? 0 : sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor
22160
22154
  }, _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, ':hover', {
22161
22155
  background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColoronhover,
22162
22156
  color: sectionproperties.generalbtn_textColoronhover
@@ -22173,10 +22167,10 @@
22173
22167
  languagecontainer: glamor.css({
22174
22168
  width: sectionproperties.language_container_width + 'px',
22175
22169
  height: sectionproperties.language_container_height + 'px',
22176
- cursor: 'pointer',
22177
- transition: '.3s',
22178
22170
  color: sectionproperties.language_container_color,
22179
22171
  fontSize: sectionproperties.language_container_fontsize + 'px',
22172
+ cursor: 'pointer',
22173
+ transition: '.3s',
22180
22174
  ':hover': {
22181
22175
  color: sectionproperties.language_container_coloronhover
22182
22176
  }
@@ -22238,7 +22232,7 @@
22238
22232
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22239
22233
  "class": "".concat(headerstyles$4.upperheadersection, " ").concat(header_cssstyles.upperheadersection) + ' row m-0 w-100 d-flex align-items-center plr-1025-1 ',
22240
22234
  style: {
22241
- zIndex: 2
22235
+ zIndex: 201
22242
22236
  }
22243
22237
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22244
22238
  "class": "col-lg-2 p-0 d-flex align-items-center justify-content-start"
@@ -22365,7 +22359,7 @@
22365
22359
  textAlign: langdetect == 'en' ? 'left' : 'right'
22366
22360
  }
22367
22361
  }, /*#__PURE__*/React__default["default"].createElement("p", {
22368
- "class": "m-0 p-0",
22362
+ "class": "m-0 p-0 mb-1",
22369
22363
  style: {
22370
22364
  fontSize: '15px',
22371
22365
  color: sectionproperties.footerinfotext_secondarycolor,
@@ -22373,7 +22367,8 @@
22373
22367
  }
22374
22368
  }, lang.callus2), /*#__PURE__*/React__default["default"].createElement("p", {
22375
22369
  style: {
22376
- lineHeight: sectionproperties.footerinfotext_fontsize + 'px'
22370
+ lineHeight: sectionproperties.footerinfotext_fontsize + 'px',
22371
+ letterSpacing: '2px'
22377
22372
  },
22378
22373
  "class": ' p-0 m-0 '
22379
22374
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : (_authdetailsContext$i6 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.mobile)))), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -22381,7 +22376,10 @@
22381
22376
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
22382
22377
  "class": ' d-flex justify-content-center align-items-center '
22383
22378
  }, /*#__PURE__*/React__default["default"].createElement("span", {
22384
- "class": " ".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center '
22379
+ "class": " ".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ',
22380
+ style: {
22381
+ fontWeight: sectionproperties.userBtnTextfontweight
22382
+ }
22385
22383
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22386
22384
  "class": ' ml-2 mr-2 '
22387
22385
  }, /*#__PURE__*/React__default["default"].createElement("i", {
@@ -22392,18 +22390,14 @@
22392
22390
  "class": "m-0 p-0 loggedinuserbtn flex-column",
22393
22391
  style: {
22394
22392
  textAlign: langdetect == 'en' ? 'left' : 'right',
22395
- fontSize: '13px'
22393
+ fontSize: sectionproperties.userbtn_logintextFontSize + 'px'
22396
22394
  }
22397
22395
  }, /*#__PURE__*/React__default["default"].createElement("p", {
22398
- sytle: {
22399
- fontSize: '13px'
22400
- },
22401
22396
  "class": "m-0 p-0"
22402
22397
  }, lang.account), /*#__PURE__*/React__default["default"].createElement("p", {
22403
22398
  "class": ' m-0 p-0 text-overflow ',
22404
22399
  style: {
22405
- maxWidth: '120px',
22406
- fontSize: '13px'
22400
+ maxWidth: '120px'
22407
22401
  }
22408
22402
  }, lang.loginregister)))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
22409
22403
  "class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
@@ -22469,7 +22463,7 @@
22469
22463
  onClick: function onClick() {
22470
22464
  routingcountext(StaticPagesLinksContext.accountinfo);
22471
22465
  }
22472
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.customerinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.name))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
22466
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.name))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
22473
22467
  onClick: function onClick() {
22474
22468
  routingcountext(StaticPagesLinksContext.Ordershistory);
22475
22469
  }
@@ -22610,7 +22604,7 @@
22610
22604
  },
22611
22605
  "class": "ml-2 mr-2"
22612
22606
  }), /*#__PURE__*/React__default["default"].createElement("p", {
22613
- "class": "m-0 p-0 font-weight-500"
22607
+ "class": "m-0 p-0 font-weight-600"
22614
22608
  }, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
22615
22609
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
22616
22610
  }, /*#__PURE__*/React__default["default"].createElement("img", {
@@ -22627,7 +22621,7 @@
22627
22621
  },
22628
22622
  "class": "ml-2 mr-2"
22629
22623
  }), /*#__PURE__*/React__default["default"].createElement("p", {
22630
- "class": "m-0 p-0 font-weight-500"
22624
+ "class": "m-0 p-0 font-weight-600"
22631
22625
  }, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
22632
22626
  "class": "".concat(header_cssstyles.dropdownitem),
22633
22627
  onClick: function onClick() {
@@ -26361,17 +26355,17 @@
26361
26355
  style: {
26362
26356
  zIndex: 10
26363
26357
  }
26364
- }, sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
26365
- className: "col-xl-5 col-lg-6 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 p-md-0"
26366
26358
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26359
+ className: "col-xl-5 col-lg-6 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 p-md-0"
26360
+ }, sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
26367
26361
  className: "".concat(footerStyles.footertitlestyles) + ' d-flex justify-content-start '
26368
- }, lang.openinghours), /*#__PURE__*/React__default["default"].createElement("div", {
26362
+ }, lang.openinghours), sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
26369
26363
  className: "row m-0 w-100 mt-3 mb-3"
26370
26364
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26371
26365
  className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
26372
26366
  }, " Monday-Friday"), /*#__PURE__*/React__default["default"].createElement("div", {
26373
26367
  className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
26374
- }, " 08.00 am - 10.00 pm")), /*#__PURE__*/React__default["default"].createElement("div", {
26368
+ }, " 08.00 am - 10.00 pm")), sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
26375
26369
  className: "row m-0 w-100 mb-3"
26376
26370
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26377
26371
  className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
@@ -28160,10 +28154,7 @@
28160
28154
  width: sectionproperties.viewmorebtn_Width + 'px',
28161
28155
  height: sectionproperties.viewmorebtn_Height + 'px',
28162
28156
  background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
28163
- borderBottomLeftRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
28164
- borderBottomRightRadius: sectionproperties.viewmorebtn_borderBottomRightRadius + 'px',
28165
- borderTopLeftRadius: sectionproperties.viewmorebtn_borderTopLeftRadius + 'px',
28166
- borderTopRightRadius: sectionproperties.viewmorebtn_borderTopRightRadius + 'px',
28157
+ borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
28167
28158
  color: sectionproperties.viewmorebtn_Textcolor,
28168
28159
  fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
28169
28160
  fontWeight: sectionproperties.viewmorebtn_fontWeight,
@@ -29516,7 +29507,8 @@
29516
29507
  var cardobj = {
29517
29508
  name: '',
29518
29509
  image: '',
29519
- index: arrayindex
29510
+ index: arrayindex,
29511
+ collectionid: ''
29520
29512
  };
29521
29513
  cardobj.collectionid = arrayItem.collectionid;
29522
29514
  if (langdetect == 'en') {
@@ -29527,6 +29519,7 @@
29527
29519
  cardobj.description = arrayItem.description_ar;
29528
29520
  }
29529
29521
  cardobj.image = arrayItem.collectionlogo;
29522
+ cardobj.collectionid = arrayItem.collectionid;
29530
29523
  temparray.push(cardobj);
29531
29524
  });
29532
29525
  setcardsarray([].concat(temparray));
@@ -29571,10 +29564,7 @@
29571
29564
  width: sectionproperties.viewmorebtn_Width + 'px',
29572
29565
  height: sectionproperties.viewmorebtn_Height + 'px',
29573
29566
  background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
29574
- borderBottomLeftRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
29575
- borderBottomRightRadius: sectionproperties.viewmorebtn_borderBottomRightRadius + 'px',
29576
- borderTopLeftRadius: sectionproperties.viewmorebtn_borderTopLeftRadius + 'px',
29577
- borderTopRightRadius: sectionproperties.viewmorebtn_borderTopRightRadius + 'px',
29567
+ borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
29578
29568
  color: sectionproperties.viewmorebtn_Textcolor,
29579
29569
  fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
29580
29570
  fontWeight: sectionproperties.viewmorebtn_fontWeight,
@@ -29609,10 +29599,33 @@
29609
29599
  background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
29610
29600
  color: sectionproperties.generalbtn_textColoronhover
29611
29601
  }
29602
+ }),
29603
+ cardcont: glamor.css({
29604
+ ':hover .collectioncardbutton': {
29605
+ color: sectionproperties.generalbtn_textColoronhover
29606
+ }
29607
+ }),
29608
+ bgcontainer: glamor.css({
29609
+ ':before': {
29610
+ content: 's',
29611
+ position: 'absolute',
29612
+ top: 0,
29613
+ right: 0,
29614
+ bottom: 0,
29615
+ left: 0,
29616
+ fontSize: 0,
29617
+ width: '100%',
29618
+ height: '100%',
29619
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
29620
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
29621
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
29622
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
29623
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px'
29624
+ }
29612
29625
  })
29613
29626
  };
29614
29627
  var cardsrender = function cardsrender() {
29615
- var _cardsarray$, _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$5, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$9, _cardsarray$10;
29628
+ var _cardsarray$2, _cardsarray$3, _cardsarray$5, _cardsarray$6, _cardsarray$8, _cardsarray$9, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15;
29616
29629
  return /*#__PURE__*/React__default["default"].createElement("div", {
29617
29630
  "class": 'row m-0 w-100'
29618
29631
  }, !fetchProductsQuery.isFetching && cardsarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -29708,8 +29721,12 @@
29708
29721
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29709
29722
  "class": "row m-0 w-100 "
29710
29723
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29711
- "class": langdetect == 'en' ? 'col-lg-6 pl-0 pr-0 p-md-0 mb-md-3' : 'col-lg-6 pr-0 pl-0 p-md-0 mb-md-3',
29712
- style: {}
29724
+ "class": langdetect == 'en' ? section_cssstyles.cardcont + ' col-lg-6 pl-0 pr-0 p-md-0 mb-md-3 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 pr-0 pl-0 p-md-0 mb-md-3 cursor-pointer ',
29725
+ style: {},
29726
+ onClick: function onClick() {
29727
+ var _cardsarray$;
29728
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray$.collectionid));
29729
+ }
29713
29730
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29714
29731
  "class": "row m-0 w-100",
29715
29732
  style: {
@@ -29717,13 +29734,13 @@
29717
29734
  height: '80vh'
29718
29735
  }
29719
29736
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29720
- "class": "col-lg-12 p-0",
29737
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29721
29738
  style: {
29722
29739
  width: '100%',
29723
29740
  height: '100%'
29724
29741
  }
29725
29742
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
29726
- path: (_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray$.image,
29743
+ path: (_cardsarray$2 = cardsarray[0]) === null || _cardsarray$2 === void 0 ? void 0 : _cardsarray$2.image,
29727
29744
  urlEndpoint: IKurlEndpoint,
29728
29745
  publicKey: IKpublicKey,
29729
29746
  loading: "lazy",
@@ -29738,39 +29755,32 @@
29738
29755
  zIndex: 1
29739
29756
  }
29740
29757
  })), /*#__PURE__*/React__default["default"].createElement("div", {
29741
- style: {
29758
+ style: _defineProperty__default["default"]({
29742
29759
  position: 'absolute',
29743
29760
  zIndex: 1000,
29744
29761
  height: '100%',
29745
29762
  width: '100%'
29746
- }
29763
+ }, "zIndex", 5)
29747
29764
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29748
29765
  "class": "row m-0 w-100 p-3"
29749
29766
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29750
29767
  "class": "col-lg-12 p-0 d-flex justify-content-start"
29751
29768
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29752
29769
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
29753
- }, (_cardsarray$2 = cardsarray[0]) === null || _cardsarray$2 === void 0 ? void 0 : _cardsarray$2.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29770
+ }, (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29754
29771
  "class": "col-lg-12 p-0 d-flex justify-content-start"
29755
29772
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29756
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
29757
- onClick: function onClick() {
29758
- if (fetchingtype == 'products') {
29759
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
29760
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
29761
- } else {
29762
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29763
- }
29764
- } else {
29765
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29766
- }
29767
- }
29773
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
29768
29774
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
29769
29775
  "class": 'col-lg-6 pl-0 pr-0'
29770
29776
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29771
29777
  "class": "row m-0 w-100"
29772
29778
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29773
- "class": langdetect == 'en' ? 'col-lg-6 pr-0 mb-2 p-md-0 mb-md-3' : 'col-lg-6 pl-0 mb-2 p-md-0 mb-md-3'
29779
+ "class": langdetect == 'en' ? section_cssstyles.cardcont + ' col-lg-6 pr-0 mb-2 p-md-0 mb-md-3 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 pl-0 mb-2 p-md-0 mb-md-3 cursor-pointer ',
29780
+ onClick: function onClick() {
29781
+ var _cardsarray$4;
29782
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$4 = cardsarray[1]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.collectionid));
29783
+ }
29774
29784
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29775
29785
  "class": "row m-0 w-100",
29776
29786
  style: {
@@ -29778,7 +29788,7 @@
29778
29788
  height: '40vh'
29779
29789
  }
29780
29790
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29781
- "class": "col-lg-12 p-0",
29791
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29782
29792
  style: {
29783
29793
  width: '100%',
29784
29794
  height: '100%'
@@ -29786,7 +29796,7 @@
29786
29796
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
29787
29797
  urlEndpoint: IKurlEndpoint,
29788
29798
  publicKey: IKpublicKey,
29789
- path: (_cardsarray$3 = cardsarray[1]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.image,
29799
+ path: (_cardsarray$5 = cardsarray[1]) === null || _cardsarray$5 === void 0 ? void 0 : _cardsarray$5.image,
29790
29800
  loading: "lazy",
29791
29801
  style: {
29792
29802
  width: '100%',
@@ -29799,40 +29809,33 @@
29799
29809
  zIndex: 1
29800
29810
  }
29801
29811
  })), /*#__PURE__*/React__default["default"].createElement("div", {
29802
- style: {
29812
+ style: _defineProperty__default["default"]({
29803
29813
  position: 'absolute',
29804
29814
  zIndex: 1000,
29805
29815
  bottom: 20,
29806
29816
  left: 0,
29807
29817
  right: 0,
29808
29818
  margin: 'auto'
29809
- }
29819
+ }, "zIndex", 5)
29810
29820
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29811
29821
  "class": "row m-0 w-100 p-3 mt-auto"
29812
29822
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29813
29823
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29814
29824
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29815
29825
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
29816
- }, (_cardsarray$4 = cardsarray[1]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29826
+ }, (_cardsarray$6 = cardsarray[1]) === null || _cardsarray$6 === void 0 ? void 0 : _cardsarray$6.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29817
29827
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29818
29828
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29819
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
29820
- onClick: function onClick() {
29821
- if (fetchingtype == 'products') {
29822
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
29823
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
29824
- } else {
29825
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29826
- }
29827
- } else {
29828
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29829
- }
29830
- }
29829
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
29831
29830
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
29832
- "class": "col-lg-6 mb-2 p-md-0 mb-md-3",
29831
+ "class": section_cssstyles.cardcont + ' col-lg-6 mb-2 p-md-0 mb-md-3 cursor-pointer ',
29833
29832
  style: {
29834
29833
  paddingRight: langdetect == 'en' ? 0 : '',
29835
29834
  paddingLeft: langdetect == 'ar' ? 0 : ''
29835
+ },
29836
+ onClick: function onClick() {
29837
+ var _cardsarray$7;
29838
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$7 = cardsarray[2]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.collectionid));
29836
29839
  }
29837
29840
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29838
29841
  "class": "row m-0 w-100",
@@ -29841,7 +29844,7 @@
29841
29844
  height: '40vh'
29842
29845
  }
29843
29846
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29844
- "class": "col-lg-12 p-0",
29847
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29845
29848
  style: {
29846
29849
  width: '100%',
29847
29850
  height: '100%'
@@ -29849,7 +29852,7 @@
29849
29852
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
29850
29853
  urlEndpoint: IKurlEndpoint,
29851
29854
  publicKey: IKpublicKey,
29852
- path: (_cardsarray$5 = cardsarray[2]) === null || _cardsarray$5 === void 0 ? void 0 : _cardsarray$5.image,
29855
+ path: (_cardsarray$8 = cardsarray[2]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.image,
29853
29856
  loading: "lazy",
29854
29857
  style: {
29855
29858
  width: '100%',
@@ -29862,37 +29865,30 @@
29862
29865
  zIndex: 1
29863
29866
  }
29864
29867
  })), /*#__PURE__*/React__default["default"].createElement("div", {
29865
- style: {
29868
+ style: _defineProperty__default["default"]({
29866
29869
  position: 'absolute',
29867
29870
  zIndex: 1000,
29868
29871
  bottom: 20,
29869
29872
  left: 0,
29870
29873
  right: 0,
29871
29874
  margin: 'auto'
29872
- }
29875
+ }, "zIndex", 5)
29873
29876
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29874
29877
  "class": "row m-0 w-100 p-3 mt-auto"
29875
29878
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29876
29879
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29877
29880
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29878
29881
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
29879
- }, (_cardsarray$6 = cardsarray[2]) === null || _cardsarray$6 === void 0 ? void 0 : _cardsarray$6.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29882
+ }, (_cardsarray$9 = cardsarray[2]) === null || _cardsarray$9 === void 0 ? void 0 : _cardsarray$9.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29880
29883
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29881
29884
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29882
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
29885
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
29886
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
29887
+ "class": langdetect == 'en' ? section_cssstyles.cardcont + ' col-lg-7 pr-0 p-md-0 mb-md-3 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 p-md-0 pl-0 mb-md-3 cursor-pointer ',
29883
29888
  onClick: function onClick() {
29884
- if (fetchingtype == 'products') {
29885
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
29886
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
29887
- } else {
29888
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29889
- }
29890
- } else {
29891
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29892
- }
29889
+ var _cardsarray$10;
29890
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$10 = cardsarray[3]) === null || _cardsarray$10 === void 0 ? void 0 : _cardsarray$10.collectionid));
29893
29891
  }
29894
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
29895
- "class": langdetect == 'en' ? 'col-lg-7 pr-0 p-md-0 mb-md-3' : 'col-lg-7 p-md-0 pl-0 mb-md-3'
29896
29892
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29897
29893
  "class": "row m-0 w-100",
29898
29894
  style: {
@@ -29900,7 +29896,7 @@
29900
29896
  height: '39vh'
29901
29897
  }
29902
29898
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29903
- "class": "col-lg-12 p-0",
29899
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29904
29900
  style: {
29905
29901
  width: '100%',
29906
29902
  height: '100%'
@@ -29908,7 +29904,7 @@
29908
29904
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
29909
29905
  urlEndpoint: IKurlEndpoint,
29910
29906
  publicKey: IKpublicKey,
29911
- path: (_cardsarray$7 = cardsarray[3]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.image,
29907
+ path: (_cardsarray$11 = cardsarray[3]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.image,
29912
29908
  loading: "lazy",
29913
29909
  style: {
29914
29910
  width: '100%',
@@ -29922,7 +29918,7 @@
29922
29918
  }
29923
29919
  })), /*#__PURE__*/React__default["default"].createElement("div", {
29924
29920
  "class": "allcentered",
29925
- style: {
29921
+ style: _defineProperty__default["default"]({
29926
29922
  position: 'absolute',
29927
29923
  zIndex: 1000,
29928
29924
  height: '100%',
@@ -29932,33 +29928,26 @@
29932
29928
  left: 0,
29933
29929
  right: 0,
29934
29930
  margin: 'auto'
29935
- }
29931
+ }, "zIndex", 5)
29936
29932
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29937
29933
  "class": "row m-0 w-100 p-3 mt-auto mb-auto"
29938
29934
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29939
29935
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29940
29936
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29941
29937
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
29942
- }, (_cardsarray$8 = cardsarray[3]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29938
+ }, (_cardsarray$12 = cardsarray[3]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29943
29939
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29944
29940
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29945
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
29946
- onClick: function onClick() {
29947
- if (fetchingtype == 'products') {
29948
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
29949
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
29950
- } else {
29951
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29952
- }
29953
- } else {
29954
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29955
- }
29956
- }
29941
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
29957
29942
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
29958
- "class": 'col-lg-5 p-md-0 mb-md-3',
29943
+ "class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
29959
29944
  style: {
29960
29945
  paddingRight: langdetect == 'en' ? 0 : '',
29961
29946
  paddingLeft: langdetect == 'ar' ? 0 : ''
29947
+ },
29948
+ onClick: function onClick() {
29949
+ var _cardsarray$13;
29950
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$13 = cardsarray[4]) === null || _cardsarray$13 === void 0 ? void 0 : _cardsarray$13.collectionid));
29962
29951
  }
29963
29952
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29964
29953
  "class": "row m-0 w-100",
@@ -29967,7 +29956,7 @@
29967
29956
  height: '39vh'
29968
29957
  }
29969
29958
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29970
- "class": "col-lg-12 p-0",
29959
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29971
29960
  style: {
29972
29961
  width: '100%',
29973
29962
  height: '100%'
@@ -29975,7 +29964,7 @@
29975
29964
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
29976
29965
  urlEndpoint: IKurlEndpoint,
29977
29966
  publicKey: IKpublicKey,
29978
- path: (_cardsarray$9 = cardsarray[4]) === null || _cardsarray$9 === void 0 ? void 0 : _cardsarray$9.image,
29967
+ path: (_cardsarray$14 = cardsarray[4]) === null || _cardsarray$14 === void 0 ? void 0 : _cardsarray$14.image,
29979
29968
  loading: "lazy",
29980
29969
  style: {
29981
29970
  width: '100%',
@@ -29988,37 +29977,26 @@
29988
29977
  zIndex: 1
29989
29978
  }
29990
29979
  })), /*#__PURE__*/React__default["default"].createElement("div", {
29991
- style: {
29980
+ style: _defineProperty__default["default"]({
29992
29981
  position: 'absolute',
29993
29982
  zIndex: 1000,
29994
29983
  width: '100%',
29995
29984
  bottom: 10
29996
- }
29985
+ }, "zIndex", 5)
29997
29986
  }, /*#__PURE__*/React__default["default"].createElement("div", {
29998
29987
  "class": "row m-0 w-100 p-3 d-flex justify-content-end"
29999
29988
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30000
29989
  "class": "col-lg-12 p-0 d-flex justify-content-start"
30001
29990
  }, /*#__PURE__*/React__default["default"].createElement("p", {
30002
29991
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
30003
- }, (_cardsarray$10 = cardsarray[4]) === null || _cardsarray$10 === void 0 ? void 0 : _cardsarray$10.name)), /*#__PURE__*/React__default["default"].createElement("div", {
29992
+ }, (_cardsarray$15 = cardsarray[4]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name)), /*#__PURE__*/React__default["default"].createElement("div", {
30004
29993
  "class": "col-lg-12 p-0 d-flex justify-content-start"
30005
29994
  }, /*#__PURE__*/React__default["default"].createElement("p", {
30006
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
30007
- onClick: function onClick() {
30008
- if (fetchingtype == 'products') {
30009
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
30010
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
30011
- } else {
30012
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
30013
- }
30014
- } else {
30015
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
30016
- }
30017
- }
29995
+ "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
30018
29996
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))))));
30019
29997
  };
30020
29998
  return /*#__PURE__*/React__default["default"].createElement("div", {
30021
- "class": "row m-0 d-flex w-100 justify-content-center mb-md-4",
29999
+ "class": "row m-0 d-flex w-100 justify-content-center",
30022
30000
  style: {
30023
30001
  zIndex: 2,
30024
30002
  background: sectionproperties.backgroundColor
@@ -37937,27 +37915,15 @@
37937
37915
  fontSize: sectionproperties.favBtnTextfontsize + 'px',
37938
37916
  textTransform: sectionproperties.favBtnTexttransform,
37939
37917
  fontWeight: sectionproperties.favBtnTextfontweight,
37940
- transition: '.3s',
37941
37918
  border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
37942
- ':hover': {
37943
- background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
37944
- color: sectionproperties.favBtnTextcoloronhover
37945
- }
37946
- }),
37947
- view_btn: glamor.css({
37948
- width: sectionproperties.favBtnWidth + 'px',
37949
- height: sectionproperties.favBtnHeight + 'px',
37950
- background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
37951
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
37952
- color: sectionproperties.favBtniconcolor,
37953
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
37954
- textTransform: sectionproperties.favBtnTexttransform,
37955
- fontWeight: sectionproperties.favBtnTextfontweight,
37956
37919
  transition: '.3s',
37957
- border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
37958
37920
  ':hover': {
37959
37921
  background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
37960
37922
  color: sectionproperties.favBtnTextcoloronhover
37923
+ },
37924
+ ':hover .icon': {
37925
+ transition: 'all, 0.2s',
37926
+ transform: ' rotate(360deg)'
37961
37927
  }
37962
37928
  }),
37963
37929
  cart_btn: glamor.css({
@@ -37970,7 +37936,6 @@
37970
37936
  textTransform: sectionproperties.cartBtnTexttransform,
37971
37937
  fontWeight: sectionproperties.cartBtnTextfontweight,
37972
37938
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
37973
- transition: '.3s',
37974
37939
  ':hover': {
37975
37940
  background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
37976
37941
  color: sectionproperties.cartBtnTextcoloronhover
@@ -37993,6 +37958,7 @@
37993
37958
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
37994
37959
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
37995
37960
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
37961
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
37996
37962
  ':hover .iconsContainer': {
37997
37963
  opacity: 1,
37998
37964
  transition: 'all, 0.4s',
@@ -38028,7 +37994,7 @@
38028
37994
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
38029
37995
  urlEndpoint: IKurlEndpoint,
38030
37996
  publicKey: IKpublicKey,
38031
- path: '/tr:w-300,h-300/' + item.image,
37997
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
38032
37998
  style: {
38033
37999
  width: '100%',
38034
38000
  height: '100%',
@@ -38065,7 +38031,7 @@
38065
38031
  addtofavoritescontext(item.productid);
38066
38032
  }
38067
38033
  }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
38068
- "class": "h-100 d-flex align-items-center justify-content-center"
38034
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
38069
38035
  }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
38070
38036
  size: sectionproperties.favBtnIconfontsize,
38071
38037
  style: {
@@ -38086,8 +38052,7 @@
38086
38052
  "class": " ".concat(cardsstyles2.showmodal),
38087
38053
  onClick: function onClick(e) {
38088
38054
  e.stopPropagation();
38089
- setShowProductInfoModalContext(true);
38090
- setProductIdProdutInfoModalContext(item.productid);
38055
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
38091
38056
  }
38092
38057
  }, /*#__PURE__*/React__default["default"].createElement("i", {
38093
38058
  "class": "h-100 d-flex align-items-center justify-content-center"
@@ -38100,9 +38065,6 @@
38100
38065
  paddingRight: '20px',
38101
38066
  paddingTop: '10px',
38102
38067
  paddingBottom: '10px'
38103
- // backgroundColor: 'white',
38104
- // borderBottomLeftRadius: '10px',
38105
- // borderBottomRightRadius: '10px',
38106
38068
  }
38107
38069
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38108
38070
  "class": "col-lg-12 p-0"
@@ -38119,7 +38081,7 @@
38119
38081
  },
38120
38082
  "class": "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak1 m-0 '
38121
38083
  }, item.name))), /*#__PURE__*/React__default["default"].createElement("div", {
38122
- "class": "row m-0 w-100 align-items-center mt-2 mb-1"
38084
+ "class": "row m-0 w-100 align-items-center mt-1 mb-2"
38123
38085
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
38124
38086
  "class": langdetect == 'en' ? "".concat(cardsstyles2.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(cardsstyles2.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
38125
38087
  }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
@@ -41148,6 +41110,7 @@
41148
41110
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
41149
41111
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
41150
41112
  paddingBottom: sectionproperties.paddingBottom + 'px',
41113
+ paddingTop: sectionproperties.paddingTop + 'px',
41151
41114
  marginBottom: sectionproperties.marginBottom + 'px',
41152
41115
  border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
41153
41116
  transition: '.3s',
@@ -41304,36 +41267,12 @@
41304
41267
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
41305
41268
  }
41306
41269
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
41307
- "class": "".concat(cardsstyles$3.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 '
41308
- }, /*#__PURE__*/React__default["default"].createElement("div", {
41309
- "class": "".concat(cardsstyles2.img_container) + ' w-100 ',
41310
- onClick: function onClick() {
41311
- setShowProductInfoModalContext(true);
41312
- setProductIdProdutInfoModalContext(item.productid);
41313
- },
41270
+ "class": "".concat(cardsstyles$3.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 ',
41314
41271
  style: {
41315
- cursor: 'pointer',
41316
- overflow: 'hidden'
41272
+ position: 'relative'
41317
41273
  }
41318
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
41319
- urlEndpoint: IKurlEndpoint,
41320
- publicKey: IKpublicKey
41321
- // '/tr:w-300,h-300/' +
41322
- ,
41323
- path: item.image,
41324
- style: {
41325
- width: '100%',
41326
- objectFit: 'contain',
41327
- position: 'relative',
41328
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
41329
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
41330
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
41331
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
41332
- marginBottom: 'auto'
41333
- },
41334
- loading: "lazy"
41335
- }), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
41336
- "class": "".concat(cardsstyles$3.wishlistbtn, " ").concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
41274
+ }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
41275
+ "class": "".concat(cardsstyles$3.wishlistbtn, " ").concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ',
41337
41276
  onClick: function onClick(e) {
41338
41277
  e.stopPropagation();
41339
41278
  addtofavoritescontext(item.productid);
@@ -41376,7 +41315,41 @@
41376
41315
  color: sectionproperties.badge_color,
41377
41316
  fontSize: sectionproperties.badge_fontsize + 'px'
41378
41317
  }
41379
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
41318
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
41319
+ "class": "w-100",
41320
+ style: {
41321
+ cursor: 'pointer',
41322
+ overflow: 'hidden',
41323
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
41324
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px'
41325
+ }
41326
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
41327
+ "class": "".concat(cardsstyles2.img_container) + ' w-100 ',
41328
+ onClick: function onClick() {
41329
+ setShowProductInfoModalContext(true);
41330
+ setProductIdProdutInfoModalContext(item.productid);
41331
+ },
41332
+ style: {
41333
+ overflow: 'hidden'
41334
+ }
41335
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
41336
+ urlEndpoint: IKurlEndpoint,
41337
+ publicKey: IKpublicKey
41338
+ // '/tr:w-300,h-300/' +
41339
+ ,
41340
+ path: item.image,
41341
+ style: {
41342
+ width: '100%',
41343
+ objectFit: 'contain',
41344
+ position: 'relative',
41345
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
41346
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
41347
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
41348
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
41349
+ marginBottom: 'auto'
41350
+ },
41351
+ loading: "lazy"
41352
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
41380
41353
  "class": ' mt-3 '
41381
41354
  }, /*#__PURE__*/React__default["default"].createElement("div", {
41382
41355
  "class": "col-lg-12"
@@ -42905,7 +42878,6 @@
42905
42878
  function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
42906
42879
  function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
42907
42880
  var Productcard_with_variants = function Productcard_with_variants(props) {
42908
- var _css;
42909
42881
  var _useState = React.useState(''),
42910
42882
  _useState2 = _slicedToArray__default["default"](_useState, 2),
42911
42883
  sectionproperties = _useState2[0],
@@ -42950,32 +42922,6 @@
42950
42922
  height: sectionproperties.variantcontainer_height + 'vh',
42951
42923
  borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
42952
42924
  }),
42953
- productcard: glamor.css((_css = {
42954
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
42955
- opacity: sectionproperties.cardbg_opacity,
42956
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
42957
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
42958
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
42959
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
42960
- marginTop: sectionproperties.marginTop + 'px',
42961
- marginBottom: sectionproperties.marginBottom + 'px',
42962
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
42963
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
42964
- paddingTop: sectionproperties.paddingTop + 'px',
42965
- paddingBottom: sectionproperties.paddingBottom + 'px',
42966
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
42967
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
42968
- color: sectionproperties.prodNameColor
42969
- }, _defineProperty__default["default"](_css, "opacity", sectionproperties.cardbg_opacity), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, ':hover', _defineProperty__default["default"]({
42970
- opacity: sectionproperties.bgopacityonhover,
42971
- color: sectionproperties.prodNameColorOnHover
42972
- }, "opacity", sectionproperties.bgopacityonhover)), _defineProperty__default["default"](_css, ':hover .wishlist_btn', {
42973
- marginRight: langdetect == 'en' ? '10px' : 0,
42974
- marginLeft: langdetect == 'en' ? 0 : '10px'
42975
- }), _defineProperty__default["default"](_css, ':hover .cart_btn', {
42976
- opacity: 1,
42977
- bottom: '10px'
42978
- }), _css)),
42979
42925
  productcard_imgcontainer: glamor.css({
42980
42926
  height: sectionproperties.image_height + 'px',
42981
42927
  background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
@@ -43028,11 +42974,55 @@
43028
42974
  }),
43029
42975
  cart_btn: glamor.css({
43030
42976
  position: 'absolute',
43031
- bottom: '-50px',
43032
42977
  left: 0,
43033
42978
  right: 0,
42979
+ bottom: '10px',
42980
+ opacity: 1,
43034
42981
  margin: 'auto',
42982
+ transition: 'all, 0.3s',
42983
+ width: sectionproperties.cartBtnWidth + 'px',
42984
+ height: sectionproperties.cartBtnHeight + 'px',
42985
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
42986
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
42987
+ color: sectionproperties.cart_iconcolor,
42988
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
42989
+ textTransform: sectionproperties.cartBtnTexttransform,
42990
+ fontWeight: sectionproperties.cartBtnTextfontweight,
42991
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
42992
+ ':hover': {
42993
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
42994
+ color: sectionproperties.cartBtnTextcoloronhover
42995
+ }
42996
+ }),
42997
+ cart_btn_bottom: glamor.css({
42998
+ position: 'absolute',
42999
+ left: 0,
43000
+ right: 0,
43001
+ bottom: '-50px',
43002
+ opacity: 0,
43003
+ margin: 'auto',
43004
+ transition: 'all, 0.3s',
43005
+ width: sectionproperties.cartBtnWidth + 'px',
43006
+ height: sectionproperties.cartBtnHeight + 'px',
43007
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43008
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
43009
+ color: sectionproperties.cart_iconcolor,
43010
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
43011
+ textTransform: sectionproperties.cartBtnTexttransform,
43012
+ fontWeight: sectionproperties.cartBtnTextfontweight,
43013
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
43014
+ ':hover': {
43015
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
43016
+ color: sectionproperties.cartBtnTextcoloronhover
43017
+ }
43018
+ }),
43019
+ cart_btn_center: glamor.css({
43020
+ position: 'absolute',
43021
+ left: 0,
43022
+ right: 0,
43023
+ bottom: '60px',
43035
43024
  opacity: 0,
43025
+ margin: 'auto',
43036
43026
  transition: 'all, 0.3s',
43037
43027
  width: sectionproperties.cartBtnWidth + 'px',
43038
43028
  height: sectionproperties.cartBtnHeight + 'px',
@@ -43048,6 +43038,37 @@
43048
43038
  color: sectionproperties.cartBtnTextcoloronhover
43049
43039
  }
43050
43040
  }),
43041
+ productcard: glamor.css({
43042
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
43043
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
43044
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
43045
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
43046
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
43047
+ marginTop: sectionproperties.marginTop + 'px',
43048
+ marginBottom: sectionproperties.marginBottom + 'px',
43049
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
43050
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
43051
+ paddingTop: sectionproperties.paddingTop + 'px',
43052
+ paddingBottom: sectionproperties.paddingBottom + 'px',
43053
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
43054
+ color: sectionproperties.prodNameColor,
43055
+ transition: '.3s',
43056
+ ':hover': {
43057
+ color: sectionproperties.prodNameColorOnHover
43058
+ },
43059
+ ':hover .wishlist_btn': {
43060
+ marginRight: langdetect == 'en' ? '10px' : 0,
43061
+ marginLeft: langdetect == 'en' ? 0 : '10px'
43062
+ },
43063
+ ':hover .cart_btn_bottom': {
43064
+ opacity: 1,
43065
+ bottom: '10px'
43066
+ },
43067
+ ':hover .cart_btn_center': {
43068
+ opacity: 1,
43069
+ bottom: '40%'
43070
+ }
43071
+ }),
43051
43072
  cart_btnresponsive: glamor.css({
43052
43073
  position: 'absolute',
43053
43074
  opacity: 1,
@@ -43163,7 +43184,7 @@
43163
43184
  direction: 'ltr'
43164
43185
  }
43165
43186
  }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
43166
- "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
43187
+ "class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
43167
43188
  onClick: function onClick(e) {
43168
43189
  e.stopPropagation();
43169
43190
  setShowProductInfoModalContext(true);
@@ -43179,15 +43200,12 @@
43179
43200
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), /*#__PURE__*/React__default["default"].createElement("div", {
43180
43201
  "class": 'row m-0 w-100 text-center mt-2'
43181
43202
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43182
- "class": "col-lg-12 p-0",
43183
- style: {
43184
- minHeight: '5vh'
43185
- }
43203
+ "class": "col-lg-12 p-0"
43186
43204
  }, /*#__PURE__*/React__default["default"].createElement("p", {
43187
43205
  onClick: function onClick() {
43188
43206
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
43189
43207
  },
43190
- "class": "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 font-md-15 text-center '
43208
+ "class": "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
43191
43209
  }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
43192
43210
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0"
43193
43211
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {