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.esm.js CHANGED
@@ -2933,57 +2933,6 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
2933
2933
  var routingcountext = props.actions.routingcountext;
2934
2934
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
2935
2935
  var authdetailsContext = props.actions.authdetailsContext;
2936
- var _useState7 = useState([{
2937
- tabname: lang.accountinformation,
2938
- route: StaticPagesLinksContext.accountinfo,
2939
- ischecked: currentchecked == 'accountinfo' ? true : false,
2940
- icon: /*#__PURE__*/React.createElement("i", {
2941
- className: "h-100 d-flex align-items-center justify-content-center"
2942
- }, /*#__PURE__*/React.createElement(AiOutlineUser, {
2943
- size: 15
2944
- })),
2945
- Isvisible: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin,
2946
- shown: true
2947
- }, {
2948
- tabname: lang.previousorders,
2949
- route: StaticPagesLinksContext.Ordershistory,
2950
- ischecked: currentchecked == 'previousorders' ? true : false,
2951
- icon: /*#__PURE__*/React.createElement("i", {
2952
- className: "h-100 d-flex align-items-center justify-content-center"
2953
- }, /*#__PURE__*/React.createElement(FiShoppingCart, null)),
2954
- Isvisible: authdetailsContext.loggedin,
2955
- shown: true
2956
- }, {
2957
- tabname: lang.policies,
2958
- route: StaticPagesLinksContext.Policies,
2959
- ischecked: currentchecked == 'Policies' ? true : false,
2960
- icon: /*#__PURE__*/React.createElement("i", {
2961
- className: "h-100 d-flex align-items-center justify-content-center"
2962
- }, /*#__PURE__*/React.createElement(AiOutlineSecurityScan, null)),
2963
- Isvisible: true,
2964
- shown: true
2965
- }, {
2966
- route: StaticPagesLinksContext.Wishlist,
2967
- tabname: lang.wishlist,
2968
- ischecked: currentchecked == 'Wishlist' ? true : false,
2969
- icon: /*#__PURE__*/React.createElement("i", {
2970
- className: "h-100 d-flex align-items-center justify-content-center"
2971
- }, /*#__PURE__*/React.createElement(FaStar, null)),
2972
- Isvisible: true,
2973
- shown: true
2974
- }, {
2975
- route: StaticPagesLinksContext.viewcart,
2976
- tabname: lang.viewcart,
2977
- ischecked: currentchecked == 'Viewcart' ? true : false,
2978
- icon: /*#__PURE__*/React.createElement("i", {
2979
- className: "h-100 d-flex align-items-center justify-content-center"
2980
- }, /*#__PURE__*/React.createElement(FaStar, null)),
2981
- Isvisible: true,
2982
- shown: sectionproperties.cartBtnShow == 'Show' ? true : false
2983
- }]),
2984
- _useState8 = _slicedToArray(_useState7, 2),
2985
- tabsarray = _useState8[0];
2986
- _useState8[1];
2987
2936
  useEffect(function () {
2988
2937
  var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
2989
2938
  return x.staticpageid == '623dbf7ccdc8b';
@@ -3066,6 +3015,57 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
3066
3015
  color: sectionproperties.navigationtextactivecolor
3067
3016
  })
3068
3017
  };
3018
+ var _useState7 = useState([{
3019
+ tabname: lang.accountinformation,
3020
+ route: StaticPagesLinksContext.accountinfo,
3021
+ ischecked: currentchecked == 'accountinfo' ? true : false,
3022
+ icon: /*#__PURE__*/React.createElement("i", {
3023
+ className: "h-100 d-flex align-items-center justify-content-center"
3024
+ }, /*#__PURE__*/React.createElement(AiOutlineUser, {
3025
+ size: 15
3026
+ })),
3027
+ Isvisible: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin,
3028
+ shown: true
3029
+ }, {
3030
+ tabname: lang.previousorders,
3031
+ route: StaticPagesLinksContext.Ordershistory,
3032
+ ischecked: currentchecked == 'previousorders' ? true : false,
3033
+ icon: /*#__PURE__*/React.createElement("i", {
3034
+ className: "h-100 d-flex align-items-center justify-content-center"
3035
+ }, /*#__PURE__*/React.createElement(FiShoppingCart, null)),
3036
+ Isvisible: authdetailsContext.loggedin,
3037
+ shown: true
3038
+ }, {
3039
+ tabname: lang.policies,
3040
+ route: StaticPagesLinksContext.Policies,
3041
+ ischecked: currentchecked == 'Policies' ? true : false,
3042
+ icon: /*#__PURE__*/React.createElement("i", {
3043
+ className: "h-100 d-flex align-items-center justify-content-center"
3044
+ }, /*#__PURE__*/React.createElement(AiOutlineSecurityScan, null)),
3045
+ Isvisible: true,
3046
+ shown: true
3047
+ }, {
3048
+ route: StaticPagesLinksContext.Wishlist,
3049
+ tabname: lang.wishlist,
3050
+ ischecked: currentchecked == 'Wishlist' ? true : false,
3051
+ icon: /*#__PURE__*/React.createElement("i", {
3052
+ className: "h-100 d-flex align-items-center justify-content-center"
3053
+ }, /*#__PURE__*/React.createElement(FaStar, null)),
3054
+ Isvisible: true,
3055
+ shown: true
3056
+ }, {
3057
+ route: StaticPagesLinksContext.viewcart,
3058
+ tabname: lang.viewcart,
3059
+ ischecked: currentchecked == 'Viewcart' ? true : false,
3060
+ icon: /*#__PURE__*/React.createElement("i", {
3061
+ className: "h-100 d-flex align-items-center justify-content-center"
3062
+ }, /*#__PURE__*/React.createElement(FaStar, null)),
3063
+ Isvisible: true,
3064
+ shown: sectionproperties.cartBtnShow == 'Show' ? true : false
3065
+ }]),
3066
+ _useState8 = _slicedToArray(_useState7, 2),
3067
+ tabsarray = _useState8[0];
3068
+ _useState8[1];
3069
3069
  return /*#__PURE__*/React.createElement("div", {
3070
3070
  className: "row ml-0 mr-0 w-100"
3071
3071
  }, /*#__PURE__*/React.createElement("div", {
@@ -4363,7 +4363,7 @@ styleInject(css_248z$G);
4363
4363
  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; }
4364
4364
  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(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; }
4365
4365
  var Viewcart = function Viewcart(props) {
4366
- var _css, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
4366
+ var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
4367
4367
  var lang = props.actions.lang;
4368
4368
  var langdetect = props.actions.langdetect;
4369
4369
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -4482,23 +4482,6 @@ var Viewcart = function Viewcart(props) {
4482
4482
  }, lang.checkout)))));
4483
4483
  };
4484
4484
  var viewcart_cssstyles = {
4485
- sectiontitlespan: css({
4486
- ':after': {
4487
- width: sectionproperties.sectitle_lineafterwidth + '%',
4488
- backgroundColor: sectionproperties.linebgcolor
4489
- }
4490
- }),
4491
- sectiontitlespan2: css({
4492
- ':after': {
4493
- width: sectionproperties.sectitle_lineafterwidth + 'px',
4494
- height: '100%',
4495
- backgroundColor: sectionproperties.linebgcolor
4496
- }
4497
- }),
4498
- pill: css((_css = {
4499
- width: sectionproperties.pillwidth + 'px',
4500
- height: sectionproperties.pillheight + 'px'
4501
- }, _defineProperty(_css, "height", sectionproperties.pillheight + 'px'), _defineProperty(_css, "backgroundColor", sectionproperties.pillbgcolor), _defineProperty(_css, "color", sectionproperties.pillcolor), _defineProperty(_css, "textTransform", sectionproperties.pilltextTransform), _defineProperty(_css, "fontSize", sectionproperties.pillfontSize + 'px'), _defineProperty(_css, "borderRadius", sectionproperties.pillborderBottomLeftRadius + 'px'), _css)),
4502
4485
  checkoutbtnstyles: css({
4503
4486
  background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
4504
4487
  width: sectionproperties.checkoutBtnWidth + 'px',
@@ -4532,22 +4515,6 @@ var Viewcart = function Viewcart(props) {
4532
4515
  fontWeight: sectionproperties.summary_textfontweight,
4533
4516
  textTransform: sectionproperties.summary_texttransform
4534
4517
  }),
4535
- applybtnstyles: css({
4536
- width: sectionproperties.applybtn_width + 'px',
4537
- height: sectionproperties.applybtn_height + 'px',
4538
- borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
4539
- textTransform: sectionproperties.applybtn_texttransform,
4540
- fontSize: sectionproperties.applybtn_fontsize + 'px',
4541
- color: sectionproperties.applybtn_textColor,
4542
- fontWeight: sectionproperties.applybtn_Textfontweight,
4543
- background: sectionproperties.applybtn_bgColor,
4544
- border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
4545
- transition: '.3s',
4546
- ':hover': {
4547
- background: sectionproperties.applybtn_bgColoronhover,
4548
- color: sectionproperties.applybtn_Textcoloronhover
4549
- }
4550
- }),
4551
4518
  Salepricestyless: css({
4552
4519
  fontSize: sectionproperties.prodsalepriceFontSize + 'px',
4553
4520
  fontWeight: sectionproperties.prodsalePriceFontWeight,
@@ -4580,23 +4547,6 @@ var Viewcart = function Viewcart(props) {
4580
4547
  opacity: sectionproperties.trashbtn_opacityonhover
4581
4548
  }
4582
4549
  }),
4583
- imagecont: css({
4584
- width: sectionproperties.prodimage_width + 'px',
4585
- height: sectionproperties.prodimage_height + 'px',
4586
- border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
4587
- backgroundColor: sectionproperties.prodimage_bgcolor,
4588
- borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
4589
- borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
4590
- borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
4591
- borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
4592
- display: 'flex',
4593
- alignItems: 'center',
4594
- justifyContent: 'center',
4595
- backgroundRepeat: 'no-repeat',
4596
- backgroundSize: 'cover',
4597
- backgroundPosition: 'center',
4598
- position: 'relative'
4599
- }),
4600
4550
  quantitybtn: css({
4601
4551
  width: sectionproperties.quantitybtn_width + 'px',
4602
4552
  height: sectionproperties.quantitybtn_height + 'px',
@@ -4664,12 +4614,6 @@ var Viewcart = function Viewcart(props) {
4664
4614
  alignItems: 'center',
4665
4615
  justifyContent: 'center',
4666
4616
  position: 'relative'
4667
- }),
4668
- input_label_name: css({
4669
- color: sectionproperties.form_labelcolor,
4670
- textTransform: sectionproperties.form_labeltexttransform,
4671
- fontWeight: sectionproperties.form_labelfontweight,
4672
- fontSize: sectionproperties.form_labelfontsize + 'px'
4673
4617
  })
4674
4618
  };
4675
4619
  var _useState5 = useState([]),
@@ -4788,17 +4732,7 @@ var Viewcart = function Viewcart(props) {
4788
4732
  className: 'col-lg-12 p-0'
4789
4733
  }, /*#__PURE__*/React.createElement(Staticpagesrouter, {
4790
4734
  currentpageprops: 'Viewcart',
4791
- actions: actions,
4792
- pillpropertiesprops: {
4793
- minWidth: sectionproperties.pillwidth + 'px',
4794
- height: sectionproperties.pillheight + 'px',
4795
- backgroundColor: sectionproperties.pillbgcolor,
4796
- color: sectionproperties.pillcolor,
4797
- textTransform: sectionproperties.pillcolor,
4798
- fontWeight: sectionproperties.pillfontWeight,
4799
- fontSize: sectionproperties.pillfontSize + 'px',
4800
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
4801
- }
4735
+ actions: actions
4802
4736
  })), /*#__PURE__*/React.createElement("div", {
4803
4737
  className: 'col-lg-12 d-flex w-100 p-0'
4804
4738
  }, /*#__PURE__*/React.createElement("div", {
@@ -8382,7 +8316,7 @@ var Filter$1 = function Filter(props) {
8382
8316
  className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
8383
8317
  }, /*#__PURE__*/React.createElement("p", {
8384
8318
  className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 '
8385
- }, valueitem.valuename)));
8319
+ }, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
8386
8320
  }))))));
8387
8321
  })), sectionproperties.filterdirection == 'Vertical' && /*#__PURE__*/React.createElement("div", {
8388
8322
  className: "".concat(filterstyles.filterslider_container),
@@ -8490,7 +8424,7 @@ var Filter$1 = function Filter(props) {
8490
8424
  className: "col-lg-10 p-0"
8491
8425
  }, /*#__PURE__*/React.createElement("p", {
8492
8426
  className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
8493
- }, item.optionname)), /*#__PURE__*/React.createElement("div", {
8427
+ }, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React.createElement("div", {
8494
8428
  className: "col-lg-2 p-0"
8495
8429
  }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
8496
8430
  if (state.expanded == true) {
@@ -8527,7 +8461,7 @@ var Filter$1 = function Filter(props) {
8527
8461
  style: {
8528
8462
  color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
8529
8463
  }
8530
- }, valueitem.valuename)));
8464
+ }, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
8531
8465
  })))))), /*#__PURE__*/React.createElement("hr", {
8532
8466
  className: "mt-3 mb-3"
8533
8467
  }));
@@ -8937,7 +8871,7 @@ var CardsSection = function CardsSection(props) {
8937
8871
  }),
8938
8872
  viewmorebtn: css({
8939
8873
  width: sectionproperties.viewmorebtn_Width + 'px',
8940
- height: sectionproperties.viewmorebtn_Height + 'px',
8874
+ height: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'auto' : sectionproperties.viewmorebtn_Height + 'px',
8941
8875
  background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
8942
8876
  borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
8943
8877
  color: sectionproperties.viewmorebtn_Textcolor,
@@ -9050,12 +8984,12 @@ var CardsSection = function CardsSection(props) {
9050
8984
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), /*#__PURE__*/React.createElement("div", {
9051
8985
  "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',
9052
8986
  style: {
9053
- marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '10px' : 0
8987
+ marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '5px' : 0
9054
8988
  }
9055
8989
  }, /*#__PURE__*/React.createElement("div", {
9056
8990
  "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 '
9057
8991
  }, sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React.createElement("button", {
9058
- "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 ',
8992
+ "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 ',
9059
8993
  onClick: function onClick() {
9060
8994
  if (fetchingtype == 'products') {
9061
8995
  if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
@@ -9455,7 +9389,7 @@ styleInject(css_248z$z);
9455
9389
  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; }
9456
9390
  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(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; }
9457
9391
  var Subheader = function Subheader(props) {
9458
- 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;
9392
+ 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;
9459
9393
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
9460
9394
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
9461
9395
  var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
@@ -9527,6 +9461,22 @@ var Subheader = function Subheader(props) {
9527
9461
  boxShadow: sectionproperties.subheader_dropdown_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.subheader_dropdown_shadowColor : ''
9528
9462
  })
9529
9463
  };
9464
+ var _useState7 = useState([]),
9465
+ _useState8 = _slicedToArray(_useState7, 2),
9466
+ pcollarray = _useState8[0],
9467
+ setpcollarray = _useState8[1];
9468
+ useEffect(function () {
9469
+ if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
9470
+ var _fetchCategoriesQuery, _fetchCategoriesQuery2;
9471
+ var temppcollarray = _toConsumableArray(pcollarray);
9472
+ 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) {
9473
+ arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.parentcolletions.forEach(function (item) {
9474
+ temppcollarray.push(item);
9475
+ });
9476
+ });
9477
+ setpcollarray(_toConsumableArray(temppcollarray));
9478
+ }
9479
+ }, [fetchCategoriesQueryContext.isSuccess]);
9530
9480
  return /*#__PURE__*/React.createElement("div", {
9531
9481
  "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 ',
9532
9482
  style: {
@@ -9584,7 +9534,7 @@ var Subheader = function Subheader(props) {
9584
9534
  "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
9585
9535
  }, langdetect == 'en' ? item.pagename : item.pagename_ar));
9586
9536
  }
9587
- })), 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) {
9537
+ })), 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) {
9588
9538
  var _props$subheaderprope6, _props$subheaderprope7;
9589
9539
  return /*#__PURE__*/React.createElement("p", {
9590
9540
  "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
@@ -9600,6 +9550,22 @@ var Subheader = function Subheader(props) {
9600
9550
  marginRight: langdetect == 'en' ? (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingRightprops : 0
9601
9551
  }
9602
9552
  }, langdetect == 'en' ? item.title_en : item.title_ar);
9553
+ })), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
9554
+ var _props$subheaderprope8, _props$subheaderprope9;
9555
+ return /*#__PURE__*/React.createElement("p", {
9556
+ "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
9557
+ onClick: function onClick() {
9558
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
9559
+ },
9560
+ onMouseEnter: function onMouseEnter() {
9561
+ setshowdownheadermenu(true);
9562
+ setChoosenindex(index);
9563
+ },
9564
+ style: {
9565
+ marginLeft: langdetect == 'ar' ? (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops : 0,
9566
+ marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0
9567
+ }
9568
+ }, langdetect == 'en' ? item.title_en : item.title_ar);
9603
9569
  }))), /*#__PURE__*/React.createElement("div", {
9604
9570
  "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",
9605
9571
  style: {
@@ -9615,8 +9581,8 @@ var Subheader = function Subheader(props) {
9615
9581
  justifyContent: 'center',
9616
9582
  textAlign: 'center'
9617
9583
  }
9618
- }, 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) {
9619
- var _props$subheaderprope8, _props$subheaderprope9;
9584
+ }, 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) {
9585
+ var _props$subheaderprope10, _props$subheaderprope11;
9620
9586
  return /*#__PURE__*/React.createElement("p", {
9621
9587
  "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
9622
9588
  onClick: function onClick() {
@@ -9627,15 +9593,35 @@ var Subheader = function Subheader(props) {
9627
9593
  setChoosenindex(index);
9628
9594
  },
9629
9595
  style: {
9630
- marginLeft: langdetect == 'ar' ? (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops : 0,
9631
- marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0,
9596
+ marginLeft: langdetect == 'ar' ? (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.paddingLeftprops : 0,
9597
+ marginRight: langdetect == 'en' ? (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingRightprops : 0,
9632
9598
  color: sectionproperties.subheader_categorytitle_fontColor_resp,
9633
9599
  fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
9634
9600
  textTransform: sectionproperties.subheader_categorytitle_textTransform,
9635
9601
  fontWeight: sectionproperties.subheader_categorytitle_textfontweight
9636
9602
  }
9637
9603
  }, langdetect == 'en' ? item.title_en : item.title_ar);
9638
- }))), 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.createElement("div", {
9604
+ })), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
9605
+ var _props$subheaderprope12, _props$subheaderprope13;
9606
+ return /*#__PURE__*/React.createElement("p", {
9607
+ "class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
9608
+ onClick: function onClick() {
9609
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
9610
+ },
9611
+ onMouseEnter: function onMouseEnter() {
9612
+ setshowdownheadermenu(true);
9613
+ setChoosenindex(index);
9614
+ },
9615
+ style: {
9616
+ marginLeft: langdetect == 'ar' ? (_props$subheaderprope12 = props.subheaderpropertiesprops) === null || _props$subheaderprope12 === void 0 ? void 0 : _props$subheaderprope12.paddingLeftprops : 0,
9617
+ marginRight: langdetect == 'en' ? (_props$subheaderprope13 = props.subheaderpropertiesprops) === null || _props$subheaderprope13 === void 0 ? void 0 : _props$subheaderprope13.paddingRightprops : 0,
9618
+ color: sectionproperties.subheader_categorytitle_fontColor_resp,
9619
+ fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
9620
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
9621
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight
9622
+ }
9623
+ }, langdetect == 'en' ? item.title_en : item.title_ar);
9624
+ }))), 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.createElement("div", {
9639
9625
  "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 ',
9640
9626
  onMouseLeave: function onMouseLeave() {
9641
9627
  setshowdownheadermenu(false);
@@ -9643,18 +9629,18 @@ var Subheader = function Subheader(props) {
9643
9629
  style: {
9644
9630
  width: '95%',
9645
9631
  zIndex: 2000,
9646
- position: ((_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
9647
- top: ((_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.subheaderpositionprops) == 'in nav' ? 20 : ''
9632
+ position: ((_props$subheaderprope14 = props.subheaderpropertiesprops) === null || _props$subheaderprope14 === void 0 ? void 0 : _props$subheaderprope14.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
9633
+ top: ((_props$subheaderprope15 = props.subheaderpropertiesprops) === null || _props$subheaderprope15 === void 0 ? void 0 : _props$subheaderprope15.subheaderpositionprops) == 'in nav' ? 30 : ''
9648
9634
  }
9649
9635
  }, /*#__PURE__*/React.createElement("div", {
9650
9636
  "class": "row m-0 w-100 d-flex pt-3 pb-3"
9651
- }, (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.createElement("div", {
9637
+ }, (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.createElement("div", {
9652
9638
  "class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
9653
9639
  }, /*#__PURE__*/React.createElement(FiLayers, {
9654
9640
  size: 30
9655
9641
  }), /*#__PURE__*/React.createElement("p", {
9656
9642
  "class": "font-16 font-weight-500 m-0 p-0"
9657
- }, 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) {
9643
+ }, 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) {
9658
9644
  return /*#__PURE__*/React.createElement("div", {
9659
9645
  "class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
9660
9646
  style: {
@@ -9689,6 +9675,29 @@ var Subheader = function Subheader(props) {
9689
9675
  }, /*#__PURE__*/React.createElement("hr", {
9690
9676
  "class": "mt-3 mb-0"
9691
9677
  }))));
9678
+ })), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
9679
+ return /*#__PURE__*/React.createElement("div", {
9680
+ "class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
9681
+ style: {
9682
+ cursor: 'pointer'
9683
+ }
9684
+ }, /*#__PURE__*/React.createElement("div", {
9685
+ "class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
9686
+ }, /*#__PURE__*/React.createElement("div", {
9687
+ "class": "col-lg-12 p-0 mb-2",
9688
+ onClick: function onClick() {
9689
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
9690
+ }
9691
+ }, /*#__PURE__*/React.createElement("p", {
9692
+ "class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
9693
+ style: {
9694
+ textAlign: langdetect == 'en' ? 'left' : 'right'
9695
+ }
9696
+ }, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React.createElement("div", {
9697
+ "class": "col-lg-12 p-0 d-none d-sm-block"
9698
+ }, /*#__PURE__*/React.createElement("hr", {
9699
+ "class": "mt-3 mb-0"
9700
+ }))));
9692
9701
  }))))));
9693
9702
  };
9694
9703
 
@@ -16085,7 +16094,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16085
16094
  fontSize: sectionproperties.badge_fontsize + 'px'
16086
16095
  }),
16087
16096
  languagecontainer: css({
16088
- fontWeight: 400,
16097
+ fontWeight: sectionproperties.footerinfotext_fontweight,
16089
16098
  color: sectionproperties.language_container_color,
16090
16099
  fontSize: sectionproperties.language_container_fontsize + 'px',
16091
16100
  cursor: 'pointer',
@@ -16095,42 +16104,30 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16095
16104
  }
16096
16105
  }),
16097
16106
  fbbtn: css({
16098
- width: sectionproperties.facebkbtnnWidth + 'px',
16099
- height: sectionproperties.facebkbtnnHeight + 'px',
16100
- backgroundColor: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
16101
16107
  color: sectionproperties.facebkbtnnTextcolor,
16102
16108
  borderLeft: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
16103
16109
  borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
16104
16110
  transition: '.3s',
16105
16111
  ':hover': {
16106
- color: sectionproperties.facebkbtnnTextcoloronhover,
16107
- backgroundColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColoronhover
16112
+ color: sectionproperties.facebkbtnnTextcoloronhover
16108
16113
  }
16109
16114
  }),
16110
16115
  instagrambtn: css({
16111
- width: sectionproperties.instgrambtnWidth + 'px',
16112
- height: sectionproperties.instgrambtnHeight + 'px',
16113
- backgroundColor: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
16114
16116
  color: sectionproperties.instgrambtnTextcolor,
16115
16117
  borderLeft: langdetect == 'en' ? 0 : sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
16116
16118
  borderRight: langdetect == 'en' ? sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg : 0,
16117
16119
  transition: '.3s',
16118
16120
  ':hover': {
16119
- color: sectionproperties.instgrambtnTextcoloronhover,
16120
- backgroundColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover
16121
+ color: sectionproperties.instgrambtnTextcoloronhover
16121
16122
  }
16122
16123
  }),
16123
16124
  whatsappbtn: css({
16124
- width: sectionproperties.youtubebtnWidth + 'px',
16125
- height: sectionproperties.youtubebtnHeight + 'px',
16126
- backgroundColor: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
16127
16125
  color: sectionproperties.youtubebtnTextcolor,
16128
16126
  transition: '.3s',
16129
16127
  borderLeft: langdetect == 'en' ? 0 : sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
16130
16128
  borderRight: langdetect == 'en' ? sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg : 0,
16131
16129
  ':hover': {
16132
- color: sectionproperties.youtubebtnTextcoloronhover,
16133
- backgroundColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover
16130
+ color: sectionproperties.youtubebtnTextcoloronhover
16134
16131
  }
16135
16132
  }),
16136
16133
  upperheadertext: css({
@@ -16208,7 +16205,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16208
16205
  }, /*#__PURE__*/React.createElement("div", {
16209
16206
  "class": "row m-0 w-100"
16210
16207
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
16211
- "class": header_cssstyles.fbbtn + ' p-0 allcentered cursor-pointer ',
16208
+ "class": header_cssstyles.fbbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
16212
16209
  onClick: function onClick() {
16213
16210
  var _authdetailsContext$i;
16214
16211
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
@@ -16219,7 +16216,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16219
16216
  }, /*#__PURE__*/React.createElement(FaFacebookF, {
16220
16217
  size: sectionproperties.facebkbtnniconfontsize
16221
16218
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
16222
- "class": header_cssstyles.whatsappbtn + ' p-0 allcentered cursor-pointer ',
16219
+ "class": header_cssstyles.whatsappbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
16223
16220
  onClick: function onClick() {
16224
16221
  var _authdetailsContext$i3;
16225
16222
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber) != null) {
@@ -16230,7 +16227,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16230
16227
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
16231
16228
  size: sectionproperties.youtubebtniconfontsize
16232
16229
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
16233
- "class": header_cssstyles.instagrambtn + ' p-0 allcentered cursor-pointer ',
16230
+ "class": header_cssstyles.instagrambtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
16234
16231
  onClick: function onClick() {
16235
16232
  var _authdetailsContext$i5;
16236
16233
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
@@ -16429,7 +16426,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16429
16426
  "class": "".concat(header_cssstyles.searchbarcont) + ' d-flex justify-content-center align-items-center '
16430
16427
  }, /*#__PURE__*/React.createElement("i", {
16431
16428
  "class": headerstyles$8.searchbaractive + ' h-100 d-flex align-items-center'
16432
- }, /*#__PURE__*/React.createElement(GoSearch, {
16429
+ }, /*#__PURE__*/React.createElement(BiSearch, {
16433
16430
  size: sectionproperties.searchbarcontfontsize,
16434
16431
  style: {
16435
16432
  transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
@@ -16683,23 +16680,17 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16683
16680
  }, /*#__PURE__*/React.createElement("div", {
16684
16681
  "class": "row m-0 w-100 d-flex align-items-center"
16685
16682
  }, /*#__PURE__*/React.createElement("div", {
16686
- "class": "col-lg-6"
16687
- }, /*#__PURE__*/React.createElement("div", {
16688
- style: {
16689
- width: '30vh',
16690
- height: '20vh'
16691
- }
16683
+ "class": "col-lg-6 d-flex align-items-center justify-content-start"
16692
16684
  }, /*#__PURE__*/React.createElement(IKImage, {
16693
16685
  urlEndpoint: IKurlEndpoint,
16694
16686
  publicKey: IKpublicKey,
16695
- "class": generalstyles.logo_image,
16696
16687
  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,
16697
16688
  style: {
16698
- width: '100%',
16699
- height: '100%',
16689
+ width: sectionproperties.searchlogowidth + 'vh',
16690
+ height: sectionproperties.searchlogoheight + 'vh',
16700
16691
  objectFit: 'contain'
16701
16692
  }
16702
- }))), /*#__PURE__*/React.createElement("div", {
16693
+ })), /*#__PURE__*/React.createElement("div", {
16703
16694
  "class": "col-lg-6 d-flex align-items-center justify-content-end"
16704
16695
  }, /*#__PURE__*/React.createElement("div", {
16705
16696
  "class": header_cssstyles.closeOverlayBtn + ' cursor-pointer ',
@@ -17902,7 +17893,8 @@ var StylishHeader = function StylishHeader(props) {
17902
17893
  className: "col-lg-12",
17903
17894
  style: {
17904
17895
  paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
17905
- paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px'
17896
+ paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
17897
+ background: sectionproperties.uppersection_bgcolor
17906
17898
  }
17907
17899
  }, /*#__PURE__*/React.createElement("div", {
17908
17900
  style: {
@@ -17914,7 +17906,7 @@ var StylishHeader = function StylishHeader(props) {
17914
17906
  }, /*#__PURE__*/React.createElement("div", {
17915
17907
  className: header_cssstyles.lowerHeaderSection + ' row m-0 w-100 d-flex align-items-center '
17916
17908
  }, /*#__PURE__*/React.createElement("div", {
17917
- className: "col-lg-8 d-flex align-items-center"
17909
+ className: "col-lg-9 d-flex align-items-center"
17918
17910
  }, /*#__PURE__*/React.createElement("div", {
17919
17911
  "class": ' scrollhorizontal w-100 align-items-center justify-content-start flex-row ',
17920
17912
  style: {
@@ -17941,7 +17933,7 @@ var StylishHeader = function StylishHeader(props) {
17941
17933
  subheadercontentpositionprops: 'start'
17942
17934
  }
17943
17935
  })), /*#__PURE__*/React.createElement("div", {
17944
- className: "col-lg-4 d-flex align-items-center justify-content-end"
17936
+ className: "col-lg-3 d-flex align-items-center justify-content-end p-0"
17945
17937
  }, /*#__PURE__*/React.createElement("div", {
17946
17938
  className: "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center ',
17947
17939
  onClick: function onClick() {
@@ -18094,8 +18086,8 @@ var StylishHeader = function StylishHeader(props) {
18094
18086
  publicKey: IKpublicKey,
18095
18087
  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,
18096
18088
  style: {
18097
- width: '100%',
18098
- height: '100%',
18089
+ width: sectionproperties.searchlogowidth + '%',
18090
+ height: sectionproperties.searchlogoheight + '%',
18099
18091
  objectFit: 'contain'
18100
18092
  }
18101
18093
  })), /*#__PURE__*/React.createElement("div", {
@@ -21959,7 +21951,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
21959
21951
  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; }
21960
21952
  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(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; }
21961
21953
  var TwoTieredHeader = function TwoTieredHeader(props) {
21962
- 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;
21954
+ 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;
21963
21955
  var lang = props.actions.lang;
21964
21956
  var langdetect = props.actions.langdetect;
21965
21957
  var setlang = props.actions.setlang;
@@ -22241,10 +22233,12 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22241
22233
  width: sectionproperties.generalbtn_width + 'px',
22242
22234
  height: sectionproperties.generalbtn_height + 'px',
22243
22235
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
22244
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
22236
+ borderTopRightRadius: langdetect == 'en' ? 0 : sectionproperties.generalbtn_bordertopleftradius + 'px',
22245
22237
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
22246
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
22247
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor
22238
+ borderBottomRightRadius: langdetect == 'en' ? 0 : sectionproperties.generalbtn_borderbottomleftradius + 'px',
22239
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
22240
+ borderRight: langdetect == 'en' ? 0 : sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
22241
+ borderLeft: langdetect == 'ar' ? 0 : sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor
22248
22242
  }, _defineProperty(_css, "width", '100%'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, ':hover', {
22249
22243
  background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColoronhover,
22250
22244
  color: sectionproperties.generalbtn_textColoronhover
@@ -22261,10 +22255,10 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22261
22255
  languagecontainer: css({
22262
22256
  width: sectionproperties.language_container_width + 'px',
22263
22257
  height: sectionproperties.language_container_height + 'px',
22264
- cursor: 'pointer',
22265
- transition: '.3s',
22266
22258
  color: sectionproperties.language_container_color,
22267
22259
  fontSize: sectionproperties.language_container_fontsize + 'px',
22260
+ cursor: 'pointer',
22261
+ transition: '.3s',
22268
22262
  ':hover': {
22269
22263
  color: sectionproperties.language_container_coloronhover
22270
22264
  }
@@ -22326,7 +22320,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22326
22320
  }, /*#__PURE__*/React.createElement("div", {
22327
22321
  "class": "".concat(headerstyles$4.upperheadersection, " ").concat(header_cssstyles.upperheadersection) + ' row m-0 w-100 d-flex align-items-center plr-1025-1 ',
22328
22322
  style: {
22329
- zIndex: 2
22323
+ zIndex: 201
22330
22324
  }
22331
22325
  }, /*#__PURE__*/React.createElement("div", {
22332
22326
  "class": "col-lg-2 p-0 d-flex align-items-center justify-content-start"
@@ -22453,7 +22447,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22453
22447
  textAlign: langdetect == 'en' ? 'left' : 'right'
22454
22448
  }
22455
22449
  }, /*#__PURE__*/React.createElement("p", {
22456
- "class": "m-0 p-0",
22450
+ "class": "m-0 p-0 mb-1",
22457
22451
  style: {
22458
22452
  fontSize: '15px',
22459
22453
  color: sectionproperties.footerinfotext_secondarycolor,
@@ -22461,7 +22455,8 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22461
22455
  }
22462
22456
  }, lang.callus2), /*#__PURE__*/React.createElement("p", {
22463
22457
  style: {
22464
- lineHeight: sectionproperties.footerinfotext_fontsize + 'px'
22458
+ lineHeight: sectionproperties.footerinfotext_fontsize + 'px',
22459
+ letterSpacing: '2px'
22465
22460
  },
22466
22461
  "class": ' p-0 m-0 '
22467
22462
  }, 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.createElement("div", {
@@ -22469,7 +22464,10 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22469
22464
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
22470
22465
  "class": ' d-flex justify-content-center align-items-center '
22471
22466
  }, /*#__PURE__*/React.createElement("span", {
22472
- "class": " ".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center '
22467
+ "class": " ".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ',
22468
+ style: {
22469
+ fontWeight: sectionproperties.userBtnTextfontweight
22470
+ }
22473
22471
  }, /*#__PURE__*/React.createElement("div", {
22474
22472
  "class": ' ml-2 mr-2 '
22475
22473
  }, /*#__PURE__*/React.createElement("i", {
@@ -22480,18 +22478,14 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22480
22478
  "class": "m-0 p-0 loggedinuserbtn flex-column",
22481
22479
  style: {
22482
22480
  textAlign: langdetect == 'en' ? 'left' : 'right',
22483
- fontSize: '13px'
22481
+ fontSize: sectionproperties.userbtn_logintextFontSize + 'px'
22484
22482
  }
22485
22483
  }, /*#__PURE__*/React.createElement("p", {
22486
- sytle: {
22487
- fontSize: '13px'
22488
- },
22489
22484
  "class": "m-0 p-0"
22490
22485
  }, lang.account), /*#__PURE__*/React.createElement("p", {
22491
22486
  "class": ' m-0 p-0 text-overflow ',
22492
22487
  style: {
22493
- maxWidth: '120px',
22494
- fontSize: '13px'
22488
+ maxWidth: '120px'
22495
22489
  }
22496
22490
  }, lang.loginregister)))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
22497
22491
  "class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
@@ -22557,7 +22551,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22557
22551
  onClick: function onClick() {
22558
22552
  routingcountext(StaticPagesLinksContext.accountinfo);
22559
22553
  }
22560
- }, 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.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
22554
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.name))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
22561
22555
  onClick: function onClick() {
22562
22556
  routingcountext(StaticPagesLinksContext.Ordershistory);
22563
22557
  }
@@ -22698,7 +22692,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22698
22692
  },
22699
22693
  "class": "ml-2 mr-2"
22700
22694
  }), /*#__PURE__*/React.createElement("p", {
22701
- "class": "m-0 p-0 font-weight-500"
22695
+ "class": "m-0 p-0 font-weight-600"
22702
22696
  }, "\u0639")), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
22703
22697
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
22704
22698
  }, /*#__PURE__*/React.createElement("img", {
@@ -22715,7 +22709,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
22715
22709
  },
22716
22710
  "class": "ml-2 mr-2"
22717
22711
  }), /*#__PURE__*/React.createElement("p", {
22718
- "class": "m-0 p-0 font-weight-500"
22712
+ "class": "m-0 p-0 font-weight-600"
22719
22713
  }, "En")))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
22720
22714
  "class": "".concat(header_cssstyles.dropdownitem),
22721
22715
  onClick: function onClick() {
@@ -26449,17 +26443,17 @@ var Footer7 = function Footer7(props) {
26449
26443
  style: {
26450
26444
  zIndex: 10
26451
26445
  }
26452
- }, sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React.createElement("div", {
26453
- className: "col-xl-5 col-lg-6 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 p-md-0"
26454
26446
  }, /*#__PURE__*/React.createElement("div", {
26447
+ className: "col-xl-5 col-lg-6 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 p-md-0"
26448
+ }, sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React.createElement("div", {
26455
26449
  className: "".concat(footerStyles.footertitlestyles) + ' d-flex justify-content-start '
26456
- }, lang.openinghours), /*#__PURE__*/React.createElement("div", {
26450
+ }, lang.openinghours), sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React.createElement("div", {
26457
26451
  className: "row m-0 w-100 mt-3 mb-3"
26458
26452
  }, /*#__PURE__*/React.createElement("div", {
26459
26453
  className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
26460
26454
  }, " Monday-Friday"), /*#__PURE__*/React.createElement("div", {
26461
26455
  className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
26462
- }, " 08.00 am - 10.00 pm")), /*#__PURE__*/React.createElement("div", {
26456
+ }, " 08.00 am - 10.00 pm")), sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React.createElement("div", {
26463
26457
  className: "row m-0 w-100 mb-3"
26464
26458
  }, /*#__PURE__*/React.createElement("div", {
26465
26459
  className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
@@ -28248,10 +28242,7 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
28248
28242
  width: sectionproperties.viewmorebtn_Width + 'px',
28249
28243
  height: sectionproperties.viewmorebtn_Height + 'px',
28250
28244
  background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
28251
- borderBottomLeftRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
28252
- borderBottomRightRadius: sectionproperties.viewmorebtn_borderBottomRightRadius + 'px',
28253
- borderTopLeftRadius: sectionproperties.viewmorebtn_borderTopLeftRadius + 'px',
28254
- borderTopRightRadius: sectionproperties.viewmorebtn_borderTopRightRadius + 'px',
28245
+ borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
28255
28246
  color: sectionproperties.viewmorebtn_Textcolor,
28256
28247
  fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
28257
28248
  fontWeight: sectionproperties.viewmorebtn_fontWeight,
@@ -29604,7 +29595,8 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29604
29595
  var cardobj = {
29605
29596
  name: '',
29606
29597
  image: '',
29607
- index: arrayindex
29598
+ index: arrayindex,
29599
+ collectionid: ''
29608
29600
  };
29609
29601
  cardobj.collectionid = arrayItem.collectionid;
29610
29602
  if (langdetect == 'en') {
@@ -29615,6 +29607,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29615
29607
  cardobj.description = arrayItem.description_ar;
29616
29608
  }
29617
29609
  cardobj.image = arrayItem.collectionlogo;
29610
+ cardobj.collectionid = arrayItem.collectionid;
29618
29611
  temparray.push(cardobj);
29619
29612
  });
29620
29613
  setcardsarray([].concat(temparray));
@@ -29659,10 +29652,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29659
29652
  width: sectionproperties.viewmorebtn_Width + 'px',
29660
29653
  height: sectionproperties.viewmorebtn_Height + 'px',
29661
29654
  background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
29662
- borderBottomLeftRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
29663
- borderBottomRightRadius: sectionproperties.viewmorebtn_borderBottomRightRadius + 'px',
29664
- borderTopLeftRadius: sectionproperties.viewmorebtn_borderTopLeftRadius + 'px',
29665
- borderTopRightRadius: sectionproperties.viewmorebtn_borderTopRightRadius + 'px',
29655
+ borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
29666
29656
  color: sectionproperties.viewmorebtn_Textcolor,
29667
29657
  fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
29668
29658
  fontWeight: sectionproperties.viewmorebtn_fontWeight,
@@ -29697,10 +29687,33 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29697
29687
  background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
29698
29688
  color: sectionproperties.generalbtn_textColoronhover
29699
29689
  }
29690
+ }),
29691
+ cardcont: css({
29692
+ ':hover .collectioncardbutton': {
29693
+ color: sectionproperties.generalbtn_textColoronhover
29694
+ }
29695
+ }),
29696
+ bgcontainer: css({
29697
+ ':before': {
29698
+ content: 's',
29699
+ position: 'absolute',
29700
+ top: 0,
29701
+ right: 0,
29702
+ bottom: 0,
29703
+ left: 0,
29704
+ fontSize: 0,
29705
+ width: '100%',
29706
+ height: '100%',
29707
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
29708
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
29709
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
29710
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
29711
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px'
29712
+ }
29700
29713
  })
29701
29714
  };
29702
29715
  var cardsrender = function cardsrender() {
29703
- var _cardsarray$, _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$5, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$9, _cardsarray$10;
29716
+ var _cardsarray$2, _cardsarray$3, _cardsarray$5, _cardsarray$6, _cardsarray$8, _cardsarray$9, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15;
29704
29717
  return /*#__PURE__*/React.createElement("div", {
29705
29718
  "class": 'row m-0 w-100'
29706
29719
  }, !fetchProductsQuery.isFetching && cardsarray.length == 0 && /*#__PURE__*/React.createElement("div", {
@@ -29796,8 +29809,12 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29796
29809
  }, /*#__PURE__*/React.createElement("div", {
29797
29810
  "class": "row m-0 w-100 "
29798
29811
  }, /*#__PURE__*/React.createElement("div", {
29799
- "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',
29800
- style: {}
29812
+ "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 ',
29813
+ style: {},
29814
+ onClick: function onClick() {
29815
+ var _cardsarray$;
29816
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray$.collectionid));
29817
+ }
29801
29818
  }, /*#__PURE__*/React.createElement("div", {
29802
29819
  "class": "row m-0 w-100",
29803
29820
  style: {
@@ -29805,13 +29822,13 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29805
29822
  height: '80vh'
29806
29823
  }
29807
29824
  }, /*#__PURE__*/React.createElement("div", {
29808
- "class": "col-lg-12 p-0",
29825
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29809
29826
  style: {
29810
29827
  width: '100%',
29811
29828
  height: '100%'
29812
29829
  }
29813
29830
  }, /*#__PURE__*/React.createElement(IKImage, {
29814
- path: (_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray$.image,
29831
+ path: (_cardsarray$2 = cardsarray[0]) === null || _cardsarray$2 === void 0 ? void 0 : _cardsarray$2.image,
29815
29832
  urlEndpoint: IKurlEndpoint,
29816
29833
  publicKey: IKpublicKey,
29817
29834
  loading: "lazy",
@@ -29826,39 +29843,32 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29826
29843
  zIndex: 1
29827
29844
  }
29828
29845
  })), /*#__PURE__*/React.createElement("div", {
29829
- style: {
29846
+ style: _defineProperty({
29830
29847
  position: 'absolute',
29831
29848
  zIndex: 1000,
29832
29849
  height: '100%',
29833
29850
  width: '100%'
29834
- }
29851
+ }, "zIndex", 5)
29835
29852
  }, /*#__PURE__*/React.createElement("div", {
29836
29853
  "class": "row m-0 w-100 p-3"
29837
29854
  }, /*#__PURE__*/React.createElement("div", {
29838
29855
  "class": "col-lg-12 p-0 d-flex justify-content-start"
29839
29856
  }, /*#__PURE__*/React.createElement("p", {
29840
29857
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
29841
- }, (_cardsarray$2 = cardsarray[0]) === null || _cardsarray$2 === void 0 ? void 0 : _cardsarray$2.name)), /*#__PURE__*/React.createElement("div", {
29858
+ }, (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name)), /*#__PURE__*/React.createElement("div", {
29842
29859
  "class": "col-lg-12 p-0 d-flex justify-content-start"
29843
29860
  }, /*#__PURE__*/React.createElement("p", {
29844
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
29845
- onClick: function onClick() {
29846
- if (fetchingtype == 'products') {
29847
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
29848
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
29849
- } else {
29850
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29851
- }
29852
- } else {
29853
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29854
- }
29855
- }
29861
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
29856
29862
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
29857
29863
  "class": 'col-lg-6 pl-0 pr-0'
29858
29864
  }, /*#__PURE__*/React.createElement("div", {
29859
29865
  "class": "row m-0 w-100"
29860
29866
  }, /*#__PURE__*/React.createElement("div", {
29861
- "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'
29867
+ "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 ',
29868
+ onClick: function onClick() {
29869
+ var _cardsarray$4;
29870
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$4 = cardsarray[1]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.collectionid));
29871
+ }
29862
29872
  }, /*#__PURE__*/React.createElement("div", {
29863
29873
  "class": "row m-0 w-100",
29864
29874
  style: {
@@ -29866,7 +29876,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29866
29876
  height: '40vh'
29867
29877
  }
29868
29878
  }, /*#__PURE__*/React.createElement("div", {
29869
- "class": "col-lg-12 p-0",
29879
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29870
29880
  style: {
29871
29881
  width: '100%',
29872
29882
  height: '100%'
@@ -29874,7 +29884,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29874
29884
  }, /*#__PURE__*/React.createElement(IKImage, {
29875
29885
  urlEndpoint: IKurlEndpoint,
29876
29886
  publicKey: IKpublicKey,
29877
- path: (_cardsarray$3 = cardsarray[1]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.image,
29887
+ path: (_cardsarray$5 = cardsarray[1]) === null || _cardsarray$5 === void 0 ? void 0 : _cardsarray$5.image,
29878
29888
  loading: "lazy",
29879
29889
  style: {
29880
29890
  width: '100%',
@@ -29887,40 +29897,33 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29887
29897
  zIndex: 1
29888
29898
  }
29889
29899
  })), /*#__PURE__*/React.createElement("div", {
29890
- style: {
29900
+ style: _defineProperty({
29891
29901
  position: 'absolute',
29892
29902
  zIndex: 1000,
29893
29903
  bottom: 20,
29894
29904
  left: 0,
29895
29905
  right: 0,
29896
29906
  margin: 'auto'
29897
- }
29907
+ }, "zIndex", 5)
29898
29908
  }, /*#__PURE__*/React.createElement("div", {
29899
29909
  "class": "row m-0 w-100 p-3 mt-auto"
29900
29910
  }, /*#__PURE__*/React.createElement("div", {
29901
29911
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29902
29912
  }, /*#__PURE__*/React.createElement("p", {
29903
29913
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
29904
- }, (_cardsarray$4 = cardsarray[1]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.name)), /*#__PURE__*/React.createElement("div", {
29914
+ }, (_cardsarray$6 = cardsarray[1]) === null || _cardsarray$6 === void 0 ? void 0 : _cardsarray$6.name)), /*#__PURE__*/React.createElement("div", {
29905
29915
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29906
29916
  }, /*#__PURE__*/React.createElement("p", {
29907
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
29908
- onClick: function onClick() {
29909
- if (fetchingtype == 'products') {
29910
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
29911
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
29912
- } else {
29913
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29914
- }
29915
- } else {
29916
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29917
- }
29918
- }
29917
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
29919
29918
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
29920
- "class": "col-lg-6 mb-2 p-md-0 mb-md-3",
29919
+ "class": section_cssstyles.cardcont + ' col-lg-6 mb-2 p-md-0 mb-md-3 cursor-pointer ',
29921
29920
  style: {
29922
29921
  paddingRight: langdetect == 'en' ? 0 : '',
29923
29922
  paddingLeft: langdetect == 'ar' ? 0 : ''
29923
+ },
29924
+ onClick: function onClick() {
29925
+ var _cardsarray$7;
29926
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$7 = cardsarray[2]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.collectionid));
29924
29927
  }
29925
29928
  }, /*#__PURE__*/React.createElement("div", {
29926
29929
  "class": "row m-0 w-100",
@@ -29929,7 +29932,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29929
29932
  height: '40vh'
29930
29933
  }
29931
29934
  }, /*#__PURE__*/React.createElement("div", {
29932
- "class": "col-lg-12 p-0",
29935
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29933
29936
  style: {
29934
29937
  width: '100%',
29935
29938
  height: '100%'
@@ -29937,7 +29940,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29937
29940
  }, /*#__PURE__*/React.createElement(IKImage, {
29938
29941
  urlEndpoint: IKurlEndpoint,
29939
29942
  publicKey: IKpublicKey,
29940
- path: (_cardsarray$5 = cardsarray[2]) === null || _cardsarray$5 === void 0 ? void 0 : _cardsarray$5.image,
29943
+ path: (_cardsarray$8 = cardsarray[2]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.image,
29941
29944
  loading: "lazy",
29942
29945
  style: {
29943
29946
  width: '100%',
@@ -29950,37 +29953,30 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29950
29953
  zIndex: 1
29951
29954
  }
29952
29955
  })), /*#__PURE__*/React.createElement("div", {
29953
- style: {
29956
+ style: _defineProperty({
29954
29957
  position: 'absolute',
29955
29958
  zIndex: 1000,
29956
29959
  bottom: 20,
29957
29960
  left: 0,
29958
29961
  right: 0,
29959
29962
  margin: 'auto'
29960
- }
29963
+ }, "zIndex", 5)
29961
29964
  }, /*#__PURE__*/React.createElement("div", {
29962
29965
  "class": "row m-0 w-100 p-3 mt-auto"
29963
29966
  }, /*#__PURE__*/React.createElement("div", {
29964
29967
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29965
29968
  }, /*#__PURE__*/React.createElement("p", {
29966
29969
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
29967
- }, (_cardsarray$6 = cardsarray[2]) === null || _cardsarray$6 === void 0 ? void 0 : _cardsarray$6.name)), /*#__PURE__*/React.createElement("div", {
29970
+ }, (_cardsarray$9 = cardsarray[2]) === null || _cardsarray$9 === void 0 ? void 0 : _cardsarray$9.name)), /*#__PURE__*/React.createElement("div", {
29968
29971
  "class": "col-lg-12 p-0 d-flex justify-content-center"
29969
29972
  }, /*#__PURE__*/React.createElement("p", {
29970
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
29973
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
29974
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
29975
+ "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 ',
29971
29976
  onClick: function onClick() {
29972
- if (fetchingtype == 'products') {
29973
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
29974
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
29975
- } else {
29976
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29977
- }
29978
- } else {
29979
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
29980
- }
29977
+ var _cardsarray$10;
29978
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$10 = cardsarray[3]) === null || _cardsarray$10 === void 0 ? void 0 : _cardsarray$10.collectionid));
29981
29979
  }
29982
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
29983
- "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'
29984
29980
  }, /*#__PURE__*/React.createElement("div", {
29985
29981
  "class": "row m-0 w-100",
29986
29982
  style: {
@@ -29988,7 +29984,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29988
29984
  height: '39vh'
29989
29985
  }
29990
29986
  }, /*#__PURE__*/React.createElement("div", {
29991
- "class": "col-lg-12 p-0",
29987
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
29992
29988
  style: {
29993
29989
  width: '100%',
29994
29990
  height: '100%'
@@ -29996,7 +29992,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
29996
29992
  }, /*#__PURE__*/React.createElement(IKImage, {
29997
29993
  urlEndpoint: IKurlEndpoint,
29998
29994
  publicKey: IKpublicKey,
29999
- path: (_cardsarray$7 = cardsarray[3]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.image,
29995
+ path: (_cardsarray$11 = cardsarray[3]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.image,
30000
29996
  loading: "lazy",
30001
29997
  style: {
30002
29998
  width: '100%',
@@ -30010,7 +30006,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
30010
30006
  }
30011
30007
  })), /*#__PURE__*/React.createElement("div", {
30012
30008
  "class": "allcentered",
30013
- style: {
30009
+ style: _defineProperty({
30014
30010
  position: 'absolute',
30015
30011
  zIndex: 1000,
30016
30012
  height: '100%',
@@ -30020,33 +30016,26 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
30020
30016
  left: 0,
30021
30017
  right: 0,
30022
30018
  margin: 'auto'
30023
- }
30019
+ }, "zIndex", 5)
30024
30020
  }, /*#__PURE__*/React.createElement("div", {
30025
30021
  "class": "row m-0 w-100 p-3 mt-auto mb-auto"
30026
30022
  }, /*#__PURE__*/React.createElement("div", {
30027
30023
  "class": "col-lg-12 p-0 d-flex justify-content-center"
30028
30024
  }, /*#__PURE__*/React.createElement("p", {
30029
30025
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
30030
- }, (_cardsarray$8 = cardsarray[3]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.name)), /*#__PURE__*/React.createElement("div", {
30026
+ }, (_cardsarray$12 = cardsarray[3]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name)), /*#__PURE__*/React.createElement("div", {
30031
30027
  "class": "col-lg-12 p-0 d-flex justify-content-center"
30032
30028
  }, /*#__PURE__*/React.createElement("p", {
30033
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
30034
- onClick: function onClick() {
30035
- if (fetchingtype == 'products') {
30036
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
30037
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
30038
- } else {
30039
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
30040
- }
30041
- } else {
30042
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
30043
- }
30044
- }
30029
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
30045
30030
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
30046
- "class": 'col-lg-5 p-md-0 mb-md-3',
30031
+ "class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
30047
30032
  style: {
30048
30033
  paddingRight: langdetect == 'en' ? 0 : '',
30049
30034
  paddingLeft: langdetect == 'ar' ? 0 : ''
30035
+ },
30036
+ onClick: function onClick() {
30037
+ var _cardsarray$13;
30038
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$13 = cardsarray[4]) === null || _cardsarray$13 === void 0 ? void 0 : _cardsarray$13.collectionid));
30050
30039
  }
30051
30040
  }, /*#__PURE__*/React.createElement("div", {
30052
30041
  "class": "row m-0 w-100",
@@ -30055,7 +30044,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
30055
30044
  height: '39vh'
30056
30045
  }
30057
30046
  }, /*#__PURE__*/React.createElement("div", {
30058
- "class": "col-lg-12 p-0",
30047
+ "class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
30059
30048
  style: {
30060
30049
  width: '100%',
30061
30050
  height: '100%'
@@ -30063,7 +30052,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
30063
30052
  }, /*#__PURE__*/React.createElement(IKImage, {
30064
30053
  urlEndpoint: IKurlEndpoint,
30065
30054
  publicKey: IKpublicKey,
30066
- path: (_cardsarray$9 = cardsarray[4]) === null || _cardsarray$9 === void 0 ? void 0 : _cardsarray$9.image,
30055
+ path: (_cardsarray$14 = cardsarray[4]) === null || _cardsarray$14 === void 0 ? void 0 : _cardsarray$14.image,
30067
30056
  loading: "lazy",
30068
30057
  style: {
30069
30058
  width: '100%',
@@ -30076,37 +30065,26 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
30076
30065
  zIndex: 1
30077
30066
  }
30078
30067
  })), /*#__PURE__*/React.createElement("div", {
30079
- style: {
30068
+ style: _defineProperty({
30080
30069
  position: 'absolute',
30081
30070
  zIndex: 1000,
30082
30071
  width: '100%',
30083
30072
  bottom: 10
30084
- }
30073
+ }, "zIndex", 5)
30085
30074
  }, /*#__PURE__*/React.createElement("div", {
30086
30075
  "class": "row m-0 w-100 p-3 d-flex justify-content-end"
30087
30076
  }, /*#__PURE__*/React.createElement("div", {
30088
30077
  "class": "col-lg-12 p-0 d-flex justify-content-start"
30089
30078
  }, /*#__PURE__*/React.createElement("p", {
30090
30079
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
30091
- }, (_cardsarray$10 = cardsarray[4]) === null || _cardsarray$10 === void 0 ? void 0 : _cardsarray$10.name)), /*#__PURE__*/React.createElement("div", {
30080
+ }, (_cardsarray$15 = cardsarray[4]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name)), /*#__PURE__*/React.createElement("div", {
30092
30081
  "class": "col-lg-12 p-0 d-flex justify-content-start"
30093
30082
  }, /*#__PURE__*/React.createElement("p", {
30094
- "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered ',
30095
- onClick: function onClick() {
30096
- if (fetchingtype == 'products') {
30097
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
30098
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
30099
- } else {
30100
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
30101
- }
30102
- } else {
30103
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
30104
- }
30105
- }
30083
+ "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
30106
30084
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))))));
30107
30085
  };
30108
30086
  return /*#__PURE__*/React.createElement("div", {
30109
- "class": "row m-0 d-flex w-100 justify-content-center mb-md-4",
30087
+ "class": "row m-0 d-flex w-100 justify-content-center",
30110
30088
  style: {
30111
30089
  zIndex: 2,
30112
30090
  background: sectionproperties.backgroundColor
@@ -38025,27 +38003,15 @@ var Card23 = function Card23(props) {
38025
38003
  fontSize: sectionproperties.favBtnTextfontsize + 'px',
38026
38004
  textTransform: sectionproperties.favBtnTexttransform,
38027
38005
  fontWeight: sectionproperties.favBtnTextfontweight,
38028
- transition: '.3s',
38029
38006
  border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
38030
- ':hover': {
38031
- background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
38032
- color: sectionproperties.favBtnTextcoloronhover
38033
- }
38034
- }),
38035
- view_btn: css({
38036
- width: sectionproperties.favBtnWidth + 'px',
38037
- height: sectionproperties.favBtnHeight + 'px',
38038
- background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
38039
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
38040
- color: sectionproperties.favBtniconcolor,
38041
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
38042
- textTransform: sectionproperties.favBtnTexttransform,
38043
- fontWeight: sectionproperties.favBtnTextfontweight,
38044
38007
  transition: '.3s',
38045
- border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
38046
38008
  ':hover': {
38047
38009
  background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
38048
38010
  color: sectionproperties.favBtnTextcoloronhover
38011
+ },
38012
+ ':hover .icon': {
38013
+ transition: 'all, 0.2s',
38014
+ transform: ' rotate(360deg)'
38049
38015
  }
38050
38016
  }),
38051
38017
  cart_btn: css({
@@ -38058,7 +38024,6 @@ var Card23 = function Card23(props) {
38058
38024
  textTransform: sectionproperties.cartBtnTexttransform,
38059
38025
  fontWeight: sectionproperties.cartBtnTextfontweight,
38060
38026
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
38061
- transition: '.3s',
38062
38027
  ':hover': {
38063
38028
  background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
38064
38029
  color: sectionproperties.cartBtnTextcoloronhover
@@ -38081,6 +38046,7 @@ var Card23 = function Card23(props) {
38081
38046
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
38082
38047
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
38083
38048
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
38049
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
38084
38050
  ':hover .iconsContainer': {
38085
38051
  opacity: 1,
38086
38052
  transition: 'all, 0.4s',
@@ -38116,7 +38082,7 @@ var Card23 = function Card23(props) {
38116
38082
  }, /*#__PURE__*/React.createElement(IKImage, {
38117
38083
  urlEndpoint: IKurlEndpoint,
38118
38084
  publicKey: IKpublicKey,
38119
- path: '/tr:w-300,h-300/' + item.image,
38085
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
38120
38086
  style: {
38121
38087
  width: '100%',
38122
38088
  height: '100%',
@@ -38153,7 +38119,7 @@ var Card23 = function Card23(props) {
38153
38119
  addtofavoritescontext(item.productid);
38154
38120
  }
38155
38121
  }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
38156
- "class": "h-100 d-flex align-items-center justify-content-center"
38122
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
38157
38123
  }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
38158
38124
  size: sectionproperties.favBtnIconfontsize,
38159
38125
  style: {
@@ -38174,8 +38140,7 @@ var Card23 = function Card23(props) {
38174
38140
  "class": " ".concat(cardsstyles2.showmodal),
38175
38141
  onClick: function onClick(e) {
38176
38142
  e.stopPropagation();
38177
- setShowProductInfoModalContext(true);
38178
- setProductIdProdutInfoModalContext(item.productid);
38143
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
38179
38144
  }
38180
38145
  }, /*#__PURE__*/React.createElement("i", {
38181
38146
  "class": "h-100 d-flex align-items-center justify-content-center"
@@ -38188,9 +38153,6 @@ var Card23 = function Card23(props) {
38188
38153
  paddingRight: '20px',
38189
38154
  paddingTop: '10px',
38190
38155
  paddingBottom: '10px'
38191
- // backgroundColor: 'white',
38192
- // borderBottomLeftRadius: '10px',
38193
- // borderBottomRightRadius: '10px',
38194
38156
  }
38195
38157
  }, /*#__PURE__*/React.createElement("div", {
38196
38158
  "class": "col-lg-12 p-0"
@@ -38207,7 +38169,7 @@ var Card23 = function Card23(props) {
38207
38169
  },
38208
38170
  "class": "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak1 m-0 '
38209
38171
  }, item.name))), /*#__PURE__*/React.createElement("div", {
38210
- "class": "row m-0 w-100 align-items-center mt-2 mb-1"
38172
+ "class": "row m-0 w-100 align-items-center mt-1 mb-2"
38211
38173
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
38212
38174
  "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 '
38213
38175
  }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
@@ -41236,6 +41198,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
41236
41198
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
41237
41199
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
41238
41200
  paddingBottom: sectionproperties.paddingBottom + 'px',
41201
+ paddingTop: sectionproperties.paddingTop + 'px',
41239
41202
  marginBottom: sectionproperties.marginBottom + 'px',
41240
41203
  border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
41241
41204
  transition: '.3s',
@@ -41392,36 +41355,12 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
41392
41355
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
41393
41356
  }
41394
41357
  }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
41395
- "class": "".concat(cardsstyles$3.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 '
41396
- }, /*#__PURE__*/React.createElement("div", {
41397
- "class": "".concat(cardsstyles2.img_container) + ' w-100 ',
41398
- onClick: function onClick() {
41399
- setShowProductInfoModalContext(true);
41400
- setProductIdProdutInfoModalContext(item.productid);
41401
- },
41358
+ "class": "".concat(cardsstyles$3.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 ',
41402
41359
  style: {
41403
- cursor: 'pointer',
41404
- overflow: 'hidden'
41360
+ position: 'relative'
41405
41361
  }
41406
- }, /*#__PURE__*/React.createElement(IKImage, {
41407
- urlEndpoint: IKurlEndpoint,
41408
- publicKey: IKpublicKey
41409
- // '/tr:w-300,h-300/' +
41410
- ,
41411
- path: item.image,
41412
- style: {
41413
- width: '100%',
41414
- objectFit: 'contain',
41415
- position: 'relative',
41416
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
41417
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
41418
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
41419
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
41420
- marginBottom: 'auto'
41421
- },
41422
- loading: "lazy"
41423
- }), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
41424
- "class": "".concat(cardsstyles$3.wishlistbtn, " ").concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
41362
+ }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
41363
+ "class": "".concat(cardsstyles$3.wishlistbtn, " ").concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ',
41425
41364
  onClick: function onClick(e) {
41426
41365
  e.stopPropagation();
41427
41366
  addtofavoritescontext(item.productid);
@@ -41464,7 +41403,41 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
41464
41403
  color: sectionproperties.badge_color,
41465
41404
  fontSize: sectionproperties.badge_fontsize + 'px'
41466
41405
  }
41467
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React.createElement("div", {
41406
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), /*#__PURE__*/React.createElement("div", {
41407
+ "class": "w-100",
41408
+ style: {
41409
+ cursor: 'pointer',
41410
+ overflow: 'hidden',
41411
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
41412
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px'
41413
+ }
41414
+ }, /*#__PURE__*/React.createElement("div", {
41415
+ "class": "".concat(cardsstyles2.img_container) + ' w-100 ',
41416
+ onClick: function onClick() {
41417
+ setShowProductInfoModalContext(true);
41418
+ setProductIdProdutInfoModalContext(item.productid);
41419
+ },
41420
+ style: {
41421
+ overflow: 'hidden'
41422
+ }
41423
+ }, /*#__PURE__*/React.createElement(IKImage, {
41424
+ urlEndpoint: IKurlEndpoint,
41425
+ publicKey: IKpublicKey
41426
+ // '/tr:w-300,h-300/' +
41427
+ ,
41428
+ path: item.image,
41429
+ style: {
41430
+ width: '100%',
41431
+ objectFit: 'contain',
41432
+ position: 'relative',
41433
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
41434
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
41435
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
41436
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
41437
+ marginBottom: 'auto'
41438
+ },
41439
+ loading: "lazy"
41440
+ }))), /*#__PURE__*/React.createElement("div", {
41468
41441
  "class": ' mt-3 '
41469
41442
  }, /*#__PURE__*/React.createElement("div", {
41470
41443
  "class": "col-lg-12"
@@ -42993,7 +42966,6 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
42993
42966
  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; }
42994
42967
  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(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; }
42995
42968
  var Productcard_with_variants = function Productcard_with_variants(props) {
42996
- var _css;
42997
42969
  var _useState = useState(''),
42998
42970
  _useState2 = _slicedToArray(_useState, 2),
42999
42971
  sectionproperties = _useState2[0],
@@ -43038,32 +43010,6 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
43038
43010
  height: sectionproperties.variantcontainer_height + 'vh',
43039
43011
  borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
43040
43012
  }),
43041
- productcard: css((_css = {
43042
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
43043
- opacity: sectionproperties.cardbg_opacity,
43044
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
43045
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
43046
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
43047
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
43048
- marginTop: sectionproperties.marginTop + 'px',
43049
- marginBottom: sectionproperties.marginBottom + 'px',
43050
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
43051
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
43052
- paddingTop: sectionproperties.paddingTop + 'px',
43053
- paddingBottom: sectionproperties.paddingBottom + 'px',
43054
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
43055
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
43056
- color: sectionproperties.prodNameColor
43057
- }, _defineProperty(_css, "opacity", sectionproperties.cardbg_opacity), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, ':hover', _defineProperty({
43058
- opacity: sectionproperties.bgopacityonhover,
43059
- color: sectionproperties.prodNameColorOnHover
43060
- }, "opacity", sectionproperties.bgopacityonhover)), _defineProperty(_css, ':hover .wishlist_btn', {
43061
- marginRight: langdetect == 'en' ? '10px' : 0,
43062
- marginLeft: langdetect == 'en' ? 0 : '10px'
43063
- }), _defineProperty(_css, ':hover .cart_btn', {
43064
- opacity: 1,
43065
- bottom: '10px'
43066
- }), _css)),
43067
43013
  productcard_imgcontainer: css({
43068
43014
  height: sectionproperties.image_height + 'px',
43069
43015
  background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
@@ -43116,11 +43062,55 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
43116
43062
  }),
43117
43063
  cart_btn: css({
43118
43064
  position: 'absolute',
43119
- bottom: '-50px',
43120
43065
  left: 0,
43121
43066
  right: 0,
43067
+ bottom: '10px',
43068
+ opacity: 1,
43122
43069
  margin: 'auto',
43070
+ transition: 'all, 0.3s',
43071
+ width: sectionproperties.cartBtnWidth + 'px',
43072
+ height: sectionproperties.cartBtnHeight + 'px',
43073
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43074
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
43075
+ color: sectionproperties.cart_iconcolor,
43076
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
43077
+ textTransform: sectionproperties.cartBtnTexttransform,
43078
+ fontWeight: sectionproperties.cartBtnTextfontweight,
43079
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
43080
+ ':hover': {
43081
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
43082
+ color: sectionproperties.cartBtnTextcoloronhover
43083
+ }
43084
+ }),
43085
+ cart_btn_bottom: css({
43086
+ position: 'absolute',
43087
+ left: 0,
43088
+ right: 0,
43089
+ bottom: '-50px',
43090
+ opacity: 0,
43091
+ margin: 'auto',
43092
+ transition: 'all, 0.3s',
43093
+ width: sectionproperties.cartBtnWidth + 'px',
43094
+ height: sectionproperties.cartBtnHeight + 'px',
43095
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43096
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
43097
+ color: sectionproperties.cart_iconcolor,
43098
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
43099
+ textTransform: sectionproperties.cartBtnTexttransform,
43100
+ fontWeight: sectionproperties.cartBtnTextfontweight,
43101
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
43102
+ ':hover': {
43103
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
43104
+ color: sectionproperties.cartBtnTextcoloronhover
43105
+ }
43106
+ }),
43107
+ cart_btn_center: css({
43108
+ position: 'absolute',
43109
+ left: 0,
43110
+ right: 0,
43111
+ bottom: '60px',
43123
43112
  opacity: 0,
43113
+ margin: 'auto',
43124
43114
  transition: 'all, 0.3s',
43125
43115
  width: sectionproperties.cartBtnWidth + 'px',
43126
43116
  height: sectionproperties.cartBtnHeight + 'px',
@@ -43136,6 +43126,37 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
43136
43126
  color: sectionproperties.cartBtnTextcoloronhover
43137
43127
  }
43138
43128
  }),
43129
+ productcard: css({
43130
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
43131
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
43132
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
43133
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
43134
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
43135
+ marginTop: sectionproperties.marginTop + 'px',
43136
+ marginBottom: sectionproperties.marginBottom + 'px',
43137
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
43138
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
43139
+ paddingTop: sectionproperties.paddingTop + 'px',
43140
+ paddingBottom: sectionproperties.paddingBottom + 'px',
43141
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
43142
+ color: sectionproperties.prodNameColor,
43143
+ transition: '.3s',
43144
+ ':hover': {
43145
+ color: sectionproperties.prodNameColorOnHover
43146
+ },
43147
+ ':hover .wishlist_btn': {
43148
+ marginRight: langdetect == 'en' ? '10px' : 0,
43149
+ marginLeft: langdetect == 'en' ? 0 : '10px'
43150
+ },
43151
+ ':hover .cart_btn_bottom': {
43152
+ opacity: 1,
43153
+ bottom: '10px'
43154
+ },
43155
+ ':hover .cart_btn_center': {
43156
+ opacity: 1,
43157
+ bottom: '40%'
43158
+ }
43159
+ }),
43139
43160
  cart_btnresponsive: css({
43140
43161
  position: 'absolute',
43141
43162
  opacity: 1,
@@ -43251,7 +43272,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
43251
43272
  direction: 'ltr'
43252
43273
  }
43253
43274
  }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
43254
- "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
43275
+ "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 ',
43255
43276
  onClick: function onClick(e) {
43256
43277
  e.stopPropagation();
43257
43278
  setShowProductInfoModalContext(true);
@@ -43267,15 +43288,12 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
43267
43288
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), /*#__PURE__*/React.createElement("div", {
43268
43289
  "class": 'row m-0 w-100 text-center mt-2'
43269
43290
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
43270
- "class": "col-lg-12 p-0",
43271
- style: {
43272
- minHeight: '5vh'
43273
- }
43291
+ "class": "col-lg-12 p-0"
43274
43292
  }, /*#__PURE__*/React.createElement("p", {
43275
43293
  onClick: function onClick() {
43276
43294
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
43277
43295
  },
43278
- "class": "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 font-md-15 text-center '
43296
+ "class": "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
43279
43297
  }, item.name)), /*#__PURE__*/React.createElement("div", {
43280
43298
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0"
43281
43299
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {