tabexseriescomponents 0.2.790 → 0.2.792

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -21368,7 +21368,7 @@ var InnerGroups = function InnerGroups(props) {
21368
21368
  function ownKeys$2d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21369
21369
  function _objectSpread$2d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2d(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21370
21370
  var PrivacyPolicy = function PrivacyPolicy(props) {
21371
- var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21371
+ var _bgimagesarray$, _bgimagesarray$2, _bgimagesarray$3, _bgimagesarray$4, _bgimagesarray$5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21372
21372
  var _useState = React.useState(''),
21373
21373
  _useState2 = _slicedToArray__default["default"](_useState, 2),
21374
21374
  sectionproperties = _useState2[0],
@@ -21390,7 +21390,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21390
21390
  _useState6 = _slicedToArray__default["default"](_useState5, 2);
21391
21391
  _useState6[0];
21392
21392
  var setCurrentPageId = _useState6[1];
21393
- var routingcountext = props.actions.routingcountext;
21393
+ props.actions.routingcountext;
21394
21394
  React.useEffect(function () {
21395
21395
  if (Object.keys(StatePagePropertiesContext).length != 0) {
21396
21396
  var _StatePagePropertiesC;
@@ -21475,15 +21475,13 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21475
21475
  cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
21476
21476
  },
21477
21477
  onClick: function onClick() {
21478
- var _bgimagesarray$2;
21479
- if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
21480
- var _bgimagesarray$3, _bgimagesarray$4;
21481
- if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
21482
- routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21483
- } else {
21484
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21485
- }
21486
- }
21478
+ // if (bgimagesarray[0]?.IsClickable == 'Yes') {
21479
+ // if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
21480
+ // routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21481
+ // } else {
21482
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21483
+ // }
21484
+ // }
21487
21485
  }
21488
21486
  }, /*#__PURE__*/React__default["default"].createElement("div", {
21489
21487
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
@@ -21496,7 +21494,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21496
21494
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
21497
21495
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21498
21496
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21499
- path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$6 = bgimagesarray[0]) === null || _bgimagesarray$6 === void 0 ? void 0 : _bgimagesarray$6.bgsection_image_ar) : '',
21497
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$3 = bgimagesarray[0]) === null || _bgimagesarray$3 === void 0 ? void 0 : _bgimagesarray$3.bgsection_image_ar) : '',
21500
21498
  "class": "d-flex d-sm-none",
21501
21499
  style: {
21502
21500
  height: '100%',
@@ -21510,7 +21508,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21510
21508
  }), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
21511
21509
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21512
21510
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21513
- path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$7 = bgimagesarray[0]) === null || _bgimagesarray$7 === void 0 ? void 0 : _bgimagesarray$7.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$8 = bgimagesarray[0]) === null || _bgimagesarray$8 === void 0 ? void 0 : _bgimagesarray$8.bgsection_imageresponsive_ar) : '',
21511
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_imageresponsive_ar) : '',
21514
21512
  "class": "d-none d-sm-flex",
21515
21513
  style: {
21516
21514
  height: '100%',
@@ -21551,7 +21549,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21551
21549
  function ownKeys$2c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21552
21550
  function _objectSpread$2c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2c(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21553
21551
  var RefundPolicy = function RefundPolicy(props) {
21554
- var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21552
+ var _bgimagesarray$, _bgimagesarray$2, _bgimagesarray$3, _bgimagesarray$4, _bgimagesarray$5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21555
21553
  var _useState = React.useState(''),
21556
21554
  _useState2 = _slicedToArray__default["default"](_useState, 2),
21557
21555
  sectionproperties = _useState2[0],
@@ -21573,7 +21571,7 @@ var RefundPolicy = function RefundPolicy(props) {
21573
21571
  _useState6 = _slicedToArray__default["default"](_useState5, 2);
21574
21572
  _useState6[0];
21575
21573
  var setCurrentPageId = _useState6[1];
21576
- var routingcountext = props.actions.routingcountext;
21574
+ props.actions.routingcountext;
21577
21575
  React.useEffect(function () {
21578
21576
  if (Object.keys(StatePagePropertiesContext).length != 0) {
21579
21577
  var _StatePagePropertiesC;
@@ -21658,15 +21656,13 @@ var RefundPolicy = function RefundPolicy(props) {
21658
21656
  cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
21659
21657
  },
21660
21658
  onClick: function onClick() {
21661
- var _bgimagesarray$2;
21662
- if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
21663
- var _bgimagesarray$3, _bgimagesarray$4;
21664
- if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
21665
- routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21666
- } else {
21667
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21668
- }
21669
- }
21659
+ // if (bgimagesarray[0]?.IsClickable == 'Yes') {
21660
+ // if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
21661
+ // routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21662
+ // } else {
21663
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21664
+ // }
21665
+ // }
21670
21666
  }
21671
21667
  }, /*#__PURE__*/React__default["default"].createElement("div", {
21672
21668
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
@@ -21679,7 +21675,7 @@ var RefundPolicy = function RefundPolicy(props) {
21679
21675
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
21680
21676
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21681
21677
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21682
- path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$6 = bgimagesarray[0]) === null || _bgimagesarray$6 === void 0 ? void 0 : _bgimagesarray$6.bgsection_image_ar) : '',
21678
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$3 = bgimagesarray[0]) === null || _bgimagesarray$3 === void 0 ? void 0 : _bgimagesarray$3.bgsection_image_ar) : '',
21683
21679
  "class": "d-flex d-sm-none",
21684
21680
  style: {
21685
21681
  height: '100%',
@@ -21693,7 +21689,7 @@ var RefundPolicy = function RefundPolicy(props) {
21693
21689
  }), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
21694
21690
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21695
21691
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21696
- path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$7 = bgimagesarray[0]) === null || _bgimagesarray$7 === void 0 ? void 0 : _bgimagesarray$7.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$8 = bgimagesarray[0]) === null || _bgimagesarray$8 === void 0 ? void 0 : _bgimagesarray$8.bgsection_imageresponsive_ar) : '',
21692
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_imageresponsive_ar) : '',
21697
21693
  "class": "d-none d-sm-flex",
21698
21694
  style: {
21699
21695
  height: '100%',
@@ -21734,7 +21730,7 @@ var RefundPolicy = function RefundPolicy(props) {
21734
21730
  function ownKeys$2b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21735
21731
  function _objectSpread$2b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2b(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21736
21732
  var ShippingPolicy = function ShippingPolicy(props) {
21737
- var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21733
+ var _bgimagesarray$, _bgimagesarray$2, _bgimagesarray$3, _bgimagesarray$4, _bgimagesarray$5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21738
21734
  var _useState = React.useState(''),
21739
21735
  _useState2 = _slicedToArray__default["default"](_useState, 2),
21740
21736
  sectionproperties = _useState2[0],
@@ -21750,7 +21746,7 @@ var ShippingPolicy = function ShippingPolicy(props) {
21750
21746
  props.actions.lang;
21751
21747
  var langdetect = props.actions.langdetect;
21752
21748
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
21753
- props.actions.ikimagecredcontext;
21749
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
21754
21750
  props.actions;
21755
21751
  var _useState5 = React.useState(''),
21756
21752
  _useState6 = _slicedToArray__default["default"](_useState5, 2);
@@ -21781,9 +21777,9 @@ var ShippingPolicy = function ShippingPolicy(props) {
21781
21777
  setFetchQueriesEngineContext(_objectSpread$2b({}, tempFetchQueriesEngineContext));
21782
21778
  }, []);
21783
21779
  var _useState7 = React.useState([]),
21784
- _useState8 = _slicedToArray__default["default"](_useState7, 2);
21785
- _useState8[0];
21786
- var setbgimagesarray = _useState8[1];
21780
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
21781
+ bgimagesarray = _useState8[0],
21782
+ setbgimagesarray = _useState8[1];
21787
21783
  React.useEffect(function () {
21788
21784
  if (sectionproperties.length != 0) {
21789
21785
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -21806,10 +21802,8 @@ var ShippingPolicy = function ShippingPolicy(props) {
21806
21802
  };
21807
21803
  var policies_cssstyles = {
21808
21804
  containerstyle: glamor.css({
21809
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
21810
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
21811
- paddingTop: sectionproperties.cardpaddingvertical + 'px',
21812
- paddingBottom: sectionproperties.cardpaddingvertical + 'px',
21805
+ paddingTop: sectionproperties.paddingTop + 'px',
21806
+ paddingBottom: sectionproperties.paddingBottom + 'px',
21813
21807
  backgroundColor: sectionproperties.backgroundColor,
21814
21808
  '@media (max-width: 800px)': {
21815
21809
  paddingTop: sectionproperties.paddingtopresponsive + 'px'
@@ -21826,49 +21820,134 @@ var ShippingPolicy = function ShippingPolicy(props) {
21826
21820
  }
21827
21821
  })
21828
21822
  };
21829
- return /*#__PURE__*/React__default["default"].createElement("div", {
21830
- className: ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
21831
- style: {
21832
- minHeight: '70vh',
21833
- backgroundColor: sectionproperties.backgroundColor
21834
- }
21835
- }, /*#__PURE__*/React__default["default"].createElement("div", {
21836
- className: ' col-lg-12 p-0 '
21837
- }, /*#__PURE__*/React__default["default"].createElement("div", {
21838
- className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '
21839
- }, /*#__PURE__*/React__default["default"].createElement("div", {
21840
- "class": ' col-lg-12 p-0 text-start '
21841
- }, /*#__PURE__*/React__default["default"].createElement("p", {
21842
- "class": policies_cssstyles.sectiontitle + ' p-0 '
21843
- }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
21844
- className: 'col-lg-12 p-0 text-start',
21845
- style: {
21846
- color: sectionproperties.prodCatColor,
21847
- fontSize: sectionproperties.prodCatFontSize + 'px',
21848
- fontWeight: sectionproperties.prodCatFontWeight
21849
- }
21850
- }, !fetchInstitutePoliciesQueryContext.isFetching && fetchInstitutePoliciesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("p", {
21851
- dangerouslySetInnerHTML: {
21852
- __html: langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policycontent_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policycontent_ar
21853
- },
21854
- style: {
21855
- textAlign: langdetect == 'en' ? 'left' : 'right'
21856
- }
21857
- })))));
21823
+ return (
21824
+ /*#__PURE__*/
21825
+ // <div className={' row ml-0 mr-0 w-100 d-flex justify-content-center '} style={{ minHeight: '70vh', backgroundColor: sectionproperties.backgroundColor }}>
21826
+ // <div className={' col-lg-12 p-0 '}>
21827
+ // <div className={policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '}>
21828
+ // <div class={' col-lg-12 p-0 text-start '}>
21829
+ // <p class={policies_cssstyles.sectiontitle + ' p-0 '}>
21830
+ // {langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar}
21831
+ // </p>
21832
+ // </div>
21833
+ // <div
21834
+ // className={'col-lg-12 p-0 text-start'}
21835
+ // style={{
21836
+ // color: sectionproperties.prodCatColor,
21837
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
21838
+ // fontWeight: sectionproperties.prodCatFontWeight,
21839
+ // }}
21840
+ // >
21841
+ // {!fetchInstitutePoliciesQueryContext.isFetching && fetchInstitutePoliciesQueryContext.isSuccess && (
21842
+ // <p
21843
+ // dangerouslySetInnerHTML={{
21844
+ // __html: langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policycontent_en : returnpolicyobj('Shipping Policy')?.policycontent_ar,
21845
+ // }}
21846
+ // style={{
21847
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
21848
+ // }}
21849
+ // ></p>
21850
+ // )}
21851
+ // </div>
21852
+ // </div>
21853
+ // </div>
21854
+ // </div>
21855
+ React__default["default"].createElement("div", {
21856
+ className: ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
21857
+ style: {
21858
+ minHeight: '70vh',
21859
+ backgroundColor: sectionproperties.backgroundColor
21860
+ }
21861
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
21862
+ className: ' col-lg-12 p-0 '
21863
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
21864
+ className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
21865
+ }, sectionproperties.image_height != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
21866
+ className: "col-lg-12 p-0 d-flex justify-content-center",
21867
+ style: {
21868
+ cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
21869
+ },
21870
+ onClick: function onClick() {
21871
+ // if (bgimagesarray[0]?.IsClickable == 'Yes') {
21872
+ // if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
21873
+ // routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21874
+ // } else {
21875
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21876
+ // }
21877
+ // }
21878
+ }
21879
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
21880
+ "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
21881
+ style: {
21882
+ width: sectionproperties.image_width + 'vw',
21883
+ height: 'auto',
21884
+ marginBottom: sectionproperties.image_mb + 'px',
21885
+ position: 'relative'
21886
+ }
21887
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
21888
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21889
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21890
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$3 = bgimagesarray[0]) === null || _bgimagesarray$3 === void 0 ? void 0 : _bgimagesarray$3.bgsection_image_ar) : '',
21891
+ "class": "d-flex d-sm-none",
21892
+ style: {
21893
+ height: '100%',
21894
+ width: '100%',
21895
+ margin: 0,
21896
+ padding: 0,
21897
+ borderRadius: sectionproperties.imageborderradius + 'px',
21898
+ zIndex: -1,
21899
+ objectFit: 'contain'
21900
+ }
21901
+ }), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
21902
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21903
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21904
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_imageresponsive_ar) : '',
21905
+ "class": "d-none d-sm-flex",
21906
+ style: {
21907
+ height: '100%',
21908
+ width: '100%',
21909
+ margin: 0,
21910
+ padding: 0,
21911
+ objectFit: sectionproperties.bgcovercontainresponsive,
21912
+ borderRadius: sectionproperties.imageborderradius + 'px',
21913
+ zIndex: -1
21914
+ }
21915
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
21916
+ "class": "row m-0 w-100 pl-md-4 pr-md-4",
21917
+ style: {
21918
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
21919
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
21920
+ }
21921
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
21922
+ "class": ' col-lg-12 p-0 text-start '
21923
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
21924
+ "class": policies_cssstyles.sectiontitle + ' p-0 '
21925
+ }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
21926
+ className: 'col-lg-12 p-0 text-start',
21927
+ style: {
21928
+ color: sectionproperties.prodCatColor,
21929
+ fontSize: sectionproperties.prodCatFontSize + 'px',
21930
+ fontWeight: sectionproperties.prodCatFontWeight
21931
+ }
21932
+ }, !fetchInstitutePoliciesQueryContext.isFetching && fetchInstitutePoliciesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("p", {
21933
+ dangerouslySetInnerHTML: {
21934
+ __html: langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policycontent_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policycontent_ar
21935
+ },
21936
+ style: {
21937
+ textAlign: langdetect == 'en' ? 'left' : 'right'
21938
+ }
21939
+ }))))))
21940
+ );
21858
21941
  };
21859
21942
 
21860
21943
  function ownKeys$2a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21861
21944
  function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21862
21945
  var TermsConditions = function TermsConditions(props) {
21863
- var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21946
+ var _bgimagesarray$, _bgimagesarray$2, _bgimagesarray$3, _bgimagesarray$4, _bgimagesarray$5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21864
21947
  var _useState = React.useState(''),
21865
21948
  _useState2 = _slicedToArray__default["default"](_useState, 2),
21866
21949
  sectionproperties = _useState2[0],
21867
21950
  setsectionproperties = _useState2[1];
21868
- var _useState3 = React.useState(''),
21869
- _useState4 = _slicedToArray__default["default"](_useState3, 2);
21870
- _useState4[0];
21871
- _useState4[1];
21872
21951
  var templatepropcontext = props.actions.templatepropcontext;
21873
21952
  var fetchInstitutePoliciesQueryContext = props.actions.fetchInstitutePoliciesQueryContext;
21874
21953
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
@@ -21876,12 +21955,12 @@ var TermsConditions = function TermsConditions(props) {
21876
21955
  props.actions.lang;
21877
21956
  var langdetect = props.actions.langdetect;
21878
21957
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
21879
- props.actions.ikimagecredcontext;
21958
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
21880
21959
  props.actions;
21881
- var _useState5 = React.useState(''),
21882
- _useState6 = _slicedToArray__default["default"](_useState5, 2);
21883
- _useState6[0];
21884
- var setCurrentPageId = _useState6[1];
21960
+ var _useState3 = React.useState(''),
21961
+ _useState4 = _slicedToArray__default["default"](_useState3, 2);
21962
+ _useState4[0];
21963
+ var setCurrentPageId = _useState4[1];
21885
21964
  React.useEffect(function () {
21886
21965
  if (Object.keys(StatePagePropertiesContext).length != 0) {
21887
21966
  var _StatePagePropertiesC;
@@ -21906,10 +21985,10 @@ var TermsConditions = function TermsConditions(props) {
21906
21985
  tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
21907
21986
  setFetchQueriesEngineContext(_objectSpread$2a({}, tempFetchQueriesEngineContext));
21908
21987
  }, []);
21909
- var _useState7 = React.useState([]),
21910
- _useState8 = _slicedToArray__default["default"](_useState7, 2);
21911
- _useState8[0];
21912
- var setbgimagesarray = _useState8[1];
21988
+ var _useState5 = React.useState([]),
21989
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
21990
+ bgimagesarray = _useState6[0],
21991
+ setbgimagesarray = _useState6[1];
21913
21992
  React.useEffect(function () {
21914
21993
  if (sectionproperties.length != 0) {
21915
21994
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -21932,10 +22011,8 @@ var TermsConditions = function TermsConditions(props) {
21932
22011
  };
21933
22012
  var policies_cssstyles = {
21934
22013
  containerstyle: glamor.css({
21935
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
21936
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
21937
- paddingTop: sectionproperties.cardpaddingvertical + 'px',
21938
- paddingBottom: sectionproperties.cardpaddingvertical + 'px',
22014
+ paddingTop: sectionproperties.paddingTop + 'px',
22015
+ paddingBottom: sectionproperties.paddingBottom + 'px',
21939
22016
  backgroundColor: sectionproperties.backgroundColor,
21940
22017
  '@media (max-width: 800px)': {
21941
22018
  paddingTop: sectionproperties.paddingtopresponsive + 'px'
@@ -21961,7 +22038,63 @@ var TermsConditions = function TermsConditions(props) {
21961
22038
  }, /*#__PURE__*/React__default["default"].createElement("div", {
21962
22039
  className: ' col-lg-12 p-0 '
21963
22040
  }, /*#__PURE__*/React__default["default"].createElement("div", {
21964
- className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '
22041
+ className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
22042
+ }, sectionproperties.image_height != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
22043
+ className: "col-lg-12 p-0 d-flex justify-content-center",
22044
+ style: {
22045
+ cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
22046
+ },
22047
+ onClick: function onClick() {
22048
+ // if (bgimagesarray[0]?.IsClickable == 'Yes') {
22049
+ // if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
22050
+ // routingcountext(bgimagesarray[0].clickable_page_route, false, '');
22051
+ // } else {
22052
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
22053
+ // }
22054
+ // }
22055
+ }
22056
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
22057
+ "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
22058
+ style: {
22059
+ width: sectionproperties.image_width + 'vw',
22060
+ height: 'auto',
22061
+ marginBottom: sectionproperties.image_mb + 'px',
22062
+ position: 'relative'
22063
+ }
22064
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
22065
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
22066
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
22067
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$3 = bgimagesarray[0]) === null || _bgimagesarray$3 === void 0 ? void 0 : _bgimagesarray$3.bgsection_image_ar) : '',
22068
+ "class": "d-flex d-sm-none",
22069
+ style: {
22070
+ height: '100%',
22071
+ width: '100%',
22072
+ margin: 0,
22073
+ padding: 0,
22074
+ borderRadius: sectionproperties.imageborderradius + 'px',
22075
+ zIndex: -1,
22076
+ objectFit: 'contain'
22077
+ }
22078
+ }), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
22079
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
22080
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
22081
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_imageresponsive_ar) : '',
22082
+ "class": "d-none d-sm-flex",
22083
+ style: {
22084
+ height: '100%',
22085
+ width: '100%',
22086
+ margin: 0,
22087
+ padding: 0,
22088
+ objectFit: sectionproperties.bgcovercontainresponsive,
22089
+ borderRadius: sectionproperties.imageborderradius + 'px',
22090
+ zIndex: -1
22091
+ }
22092
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
22093
+ "class": "row m-0 w-100 pl-md-4 pr-md-4",
22094
+ style: {
22095
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
22096
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
22097
+ }
21965
22098
  }, /*#__PURE__*/React__default["default"].createElement("div", {
21966
22099
  "class": ' col-lg-12 p-0 text-start '
21967
22100
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -21980,7 +22113,38 @@ var TermsConditions = function TermsConditions(props) {
21980
22113
  style: {
21981
22114
  textAlign: langdetect == 'en' ? 'left' : 'right'
21982
22115
  }
21983
- })))));
22116
+ }))))))
22117
+ // <div className={' row ml-0 mr-0 w-100 d-flex justify-content-center '} style={{ minHeight: '70vh', backgroundColor: sectionproperties.backgroundColor }}>
22118
+ // <div className={' col-lg-12 p-0 '}>
22119
+ // <div className={policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '}>
22120
+ // <div class={' col-lg-12 p-0 text-start '}>
22121
+ // <p class={policies_cssstyles.sectiontitle + ' p-0 '}>
22122
+ // {langdetect == 'en' ? returnpolicyobj('Terms & Conditions')?.policypagename_en : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
22123
+ // </p>
22124
+ // </div>
22125
+ // <div
22126
+ // className={'col-lg-12 p-0 text-start'}
22127
+ // style={{
22128
+ // color: sectionproperties.prodCatColor,
22129
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
22130
+ // fontWeight: sectionproperties.prodCatFontWeight,
22131
+ // }}
22132
+ // >
22133
+ // {!fetchInstitutePoliciesQueryContext.isFetching && fetchInstitutePoliciesQueryContext.isSuccess && (
22134
+ // <p
22135
+ // dangerouslySetInnerHTML={{
22136
+ // __html: langdetect == 'en' ? returnpolicyobj('Terms & Conditions')?.policycontent_en : returnpolicyobj('Terms & Conditions')?.policycontent_ar,
22137
+ // }}
22138
+ // style={{
22139
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
22140
+ // }}
22141
+ // ></p>
22142
+ // )}
22143
+ // </div>
22144
+ // </div>
22145
+ // </div>
22146
+ // </div>
22147
+ ;
21984
22148
  };
21985
22149
 
21986
22150
  function ownKeys$29(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -45532,6 +45696,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
45532
45696
  paddingBottom: sectionproperties.searchbarcont_paddingBottom + 'rem',
45533
45697
  outline: 'none',
45534
45698
  transition: '0.3s',
45699
+ backgroundColor: 'transparent',
45535
45700
  ':focus': {
45536
45701
  borderColor: sectionproperties.searchbarcontinput_bordercoloronfocus
45537
45702
  }
@@ -45994,7 +46159,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
45994
46159
  "class": "m-0 p-0",
45995
46160
  style: {
45996
46161
  fontSize: 20,
45997
- fontWeight: 500
46162
+ fontWeight: 500,
46163
+ color: sectionproperties.closeSlider_color
45998
46164
  }
45999
46165
  }, langdetect == 'en' ? 'Search' : 'البحث')), /*#__PURE__*/React__default["default"].createElement("div", {
46000
46166
  "class": "col-lg-6 p-0 d-flex align-items-center justify-content-end mb-3"
@@ -53896,8 +54062,9 @@ var Newsletterincenter = function Newsletterincenter(props) {
53896
54062
  "class": "col-lg-12 allcentered mb-5"
53897
54063
  }, /*#__PURE__*/React__default["default"].createElement("input", {
53898
54064
  type: "text",
53899
- className: "".concat(footerStyles.form_control),
53900
- value: event.target.value,
54065
+ className: "".concat(footerStyles.form_control)
54066
+ // value={event.target.value}
54067
+ ,
53901
54068
  placeholder: "your email",
53902
54069
  onChange: function onChange(event) {
53903
54070
  var newslettertemp = _objectSpread$1u({}, newsletter);
@@ -53994,10 +54161,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
53994
54161
  routingcountext(StaticPagesLinksContext.TermsConditions);
53995
54162
  }
53996
54163
  }, /*#__PURE__*/React__default["default"].createElement("p", {
53997
- "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start ',
53998
- style: {
53999
- textAlign: 'center'
54000
- }
54164
+ "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start '
54001
54165
  }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)))));
54002
54166
  };
54003
54167
  return /*#__PURE__*/React__default["default"].createElement("footer", {