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.esm.js CHANGED
@@ -21319,7 +21319,7 @@ var InnerGroups = function InnerGroups(props) {
21319
21319
  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; }
21320
21320
  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(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; }
21321
21321
  var PrivacyPolicy = function PrivacyPolicy(props) {
21322
- var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21322
+ var _bgimagesarray$, _bgimagesarray$2, _bgimagesarray$3, _bgimagesarray$4, _bgimagesarray$5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21323
21323
  var _useState = useState(''),
21324
21324
  _useState2 = _slicedToArray(_useState, 2),
21325
21325
  sectionproperties = _useState2[0],
@@ -21341,7 +21341,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21341
21341
  _useState6 = _slicedToArray(_useState5, 2);
21342
21342
  _useState6[0];
21343
21343
  var setCurrentPageId = _useState6[1];
21344
- var routingcountext = props.actions.routingcountext;
21344
+ props.actions.routingcountext;
21345
21345
  useEffect(function () {
21346
21346
  if (Object.keys(StatePagePropertiesContext).length != 0) {
21347
21347
  var _StatePagePropertiesC;
@@ -21426,15 +21426,13 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21426
21426
  cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
21427
21427
  },
21428
21428
  onClick: function onClick() {
21429
- var _bgimagesarray$2;
21430
- if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
21431
- var _bgimagesarray$3, _bgimagesarray$4;
21432
- 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) {
21433
- routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21434
- } else {
21435
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21436
- }
21437
- }
21429
+ // if (bgimagesarray[0]?.IsClickable == 'Yes') {
21430
+ // if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
21431
+ // routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21432
+ // } else {
21433
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21434
+ // }
21435
+ // }
21438
21436
  }
21439
21437
  }, /*#__PURE__*/React.createElement("div", {
21440
21438
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
@@ -21447,7 +21445,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21447
21445
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
21448
21446
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21449
21447
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21450
- 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) : '',
21448
+ 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) : '',
21451
21449
  "class": "d-flex d-sm-none",
21452
21450
  style: {
21453
21451
  height: '100%',
@@ -21461,7 +21459,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21461
21459
  }), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
21462
21460
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21463
21461
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21464
- 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) : '',
21462
+ 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) : '',
21465
21463
  "class": "d-none d-sm-flex",
21466
21464
  style: {
21467
21465
  height: '100%',
@@ -21502,7 +21500,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
21502
21500
  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; }
21503
21501
  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(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; }
21504
21502
  var RefundPolicy = function RefundPolicy(props) {
21505
- var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21503
+ var _bgimagesarray$, _bgimagesarray$2, _bgimagesarray$3, _bgimagesarray$4, _bgimagesarray$5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21506
21504
  var _useState = useState(''),
21507
21505
  _useState2 = _slicedToArray(_useState, 2),
21508
21506
  sectionproperties = _useState2[0],
@@ -21524,7 +21522,7 @@ var RefundPolicy = function RefundPolicy(props) {
21524
21522
  _useState6 = _slicedToArray(_useState5, 2);
21525
21523
  _useState6[0];
21526
21524
  var setCurrentPageId = _useState6[1];
21527
- var routingcountext = props.actions.routingcountext;
21525
+ props.actions.routingcountext;
21528
21526
  useEffect(function () {
21529
21527
  if (Object.keys(StatePagePropertiesContext).length != 0) {
21530
21528
  var _StatePagePropertiesC;
@@ -21609,15 +21607,13 @@ var RefundPolicy = function RefundPolicy(props) {
21609
21607
  cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
21610
21608
  },
21611
21609
  onClick: function onClick() {
21612
- var _bgimagesarray$2;
21613
- if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
21614
- var _bgimagesarray$3, _bgimagesarray$4;
21615
- 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) {
21616
- routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21617
- } else {
21618
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21619
- }
21620
- }
21610
+ // if (bgimagesarray[0]?.IsClickable == 'Yes') {
21611
+ // if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
21612
+ // routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21613
+ // } else {
21614
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21615
+ // }
21616
+ // }
21621
21617
  }
21622
21618
  }, /*#__PURE__*/React.createElement("div", {
21623
21619
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
@@ -21630,7 +21626,7 @@ var RefundPolicy = function RefundPolicy(props) {
21630
21626
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
21631
21627
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21632
21628
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21633
- 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) : '',
21629
+ 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) : '',
21634
21630
  "class": "d-flex d-sm-none",
21635
21631
  style: {
21636
21632
  height: '100%',
@@ -21644,7 +21640,7 @@ var RefundPolicy = function RefundPolicy(props) {
21644
21640
  }), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
21645
21641
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21646
21642
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21647
- 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) : '',
21643
+ 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) : '',
21648
21644
  "class": "d-none d-sm-flex",
21649
21645
  style: {
21650
21646
  height: '100%',
@@ -21685,7 +21681,7 @@ var RefundPolicy = function RefundPolicy(props) {
21685
21681
  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; }
21686
21682
  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(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; }
21687
21683
  var ShippingPolicy = function ShippingPolicy(props) {
21688
- var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21684
+ var _bgimagesarray$, _bgimagesarray$2, _bgimagesarray$3, _bgimagesarray$4, _bgimagesarray$5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21689
21685
  var _useState = useState(''),
21690
21686
  _useState2 = _slicedToArray(_useState, 2),
21691
21687
  sectionproperties = _useState2[0],
@@ -21701,7 +21697,7 @@ var ShippingPolicy = function ShippingPolicy(props) {
21701
21697
  props.actions.lang;
21702
21698
  var langdetect = props.actions.langdetect;
21703
21699
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
21704
- props.actions.ikimagecredcontext;
21700
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
21705
21701
  props.actions;
21706
21702
  var _useState5 = useState(''),
21707
21703
  _useState6 = _slicedToArray(_useState5, 2);
@@ -21732,9 +21728,9 @@ var ShippingPolicy = function ShippingPolicy(props) {
21732
21728
  setFetchQueriesEngineContext(_objectSpread$2b({}, tempFetchQueriesEngineContext));
21733
21729
  }, []);
21734
21730
  var _useState7 = useState([]),
21735
- _useState8 = _slicedToArray(_useState7, 2);
21736
- _useState8[0];
21737
- var setbgimagesarray = _useState8[1];
21731
+ _useState8 = _slicedToArray(_useState7, 2),
21732
+ bgimagesarray = _useState8[0],
21733
+ setbgimagesarray = _useState8[1];
21738
21734
  useEffect(function () {
21739
21735
  if (sectionproperties.length != 0) {
21740
21736
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -21757,10 +21753,8 @@ var ShippingPolicy = function ShippingPolicy(props) {
21757
21753
  };
21758
21754
  var policies_cssstyles = {
21759
21755
  containerstyle: css({
21760
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
21761
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
21762
- paddingTop: sectionproperties.cardpaddingvertical + 'px',
21763
- paddingBottom: sectionproperties.cardpaddingvertical + 'px',
21756
+ paddingTop: sectionproperties.paddingTop + 'px',
21757
+ paddingBottom: sectionproperties.paddingBottom + 'px',
21764
21758
  backgroundColor: sectionproperties.backgroundColor,
21765
21759
  '@media (max-width: 800px)': {
21766
21760
  paddingTop: sectionproperties.paddingtopresponsive + 'px'
@@ -21777,49 +21771,134 @@ var ShippingPolicy = function ShippingPolicy(props) {
21777
21771
  }
21778
21772
  })
21779
21773
  };
21780
- return /*#__PURE__*/React.createElement("div", {
21781
- className: ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
21782
- style: {
21783
- minHeight: '70vh',
21784
- backgroundColor: sectionproperties.backgroundColor
21785
- }
21786
- }, /*#__PURE__*/React.createElement("div", {
21787
- className: ' col-lg-12 p-0 '
21788
- }, /*#__PURE__*/React.createElement("div", {
21789
- className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '
21790
- }, /*#__PURE__*/React.createElement("div", {
21791
- "class": ' col-lg-12 p-0 text-start '
21792
- }, /*#__PURE__*/React.createElement("p", {
21793
- "class": policies_cssstyles.sectiontitle + ' p-0 '
21794
- }, 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.createElement("div", {
21795
- className: 'col-lg-12 p-0 text-start',
21796
- style: {
21797
- color: sectionproperties.prodCatColor,
21798
- fontSize: sectionproperties.prodCatFontSize + 'px',
21799
- fontWeight: sectionproperties.prodCatFontWeight
21800
- }
21801
- }, !fetchInstitutePoliciesQueryContext.isFetching && fetchInstitutePoliciesQueryContext.isSuccess && /*#__PURE__*/React.createElement("p", {
21802
- dangerouslySetInnerHTML: {
21803
- __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
21804
- },
21805
- style: {
21806
- textAlign: langdetect == 'en' ? 'left' : 'right'
21807
- }
21808
- })))));
21774
+ return (
21775
+ /*#__PURE__*/
21776
+ // <div className={' row ml-0 mr-0 w-100 d-flex justify-content-center '} style={{ minHeight: '70vh', backgroundColor: sectionproperties.backgroundColor }}>
21777
+ // <div className={' col-lg-12 p-0 '}>
21778
+ // <div className={policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '}>
21779
+ // <div class={' col-lg-12 p-0 text-start '}>
21780
+ // <p class={policies_cssstyles.sectiontitle + ' p-0 '}>
21781
+ // {langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar}
21782
+ // </p>
21783
+ // </div>
21784
+ // <div
21785
+ // className={'col-lg-12 p-0 text-start'}
21786
+ // style={{
21787
+ // color: sectionproperties.prodCatColor,
21788
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
21789
+ // fontWeight: sectionproperties.prodCatFontWeight,
21790
+ // }}
21791
+ // >
21792
+ // {!fetchInstitutePoliciesQueryContext.isFetching && fetchInstitutePoliciesQueryContext.isSuccess && (
21793
+ // <p
21794
+ // dangerouslySetInnerHTML={{
21795
+ // __html: langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policycontent_en : returnpolicyobj('Shipping Policy')?.policycontent_ar,
21796
+ // }}
21797
+ // style={{
21798
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
21799
+ // }}
21800
+ // ></p>
21801
+ // )}
21802
+ // </div>
21803
+ // </div>
21804
+ // </div>
21805
+ // </div>
21806
+ React.createElement("div", {
21807
+ className: ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
21808
+ style: {
21809
+ minHeight: '70vh',
21810
+ backgroundColor: sectionproperties.backgroundColor
21811
+ }
21812
+ }, /*#__PURE__*/React.createElement("div", {
21813
+ className: ' col-lg-12 p-0 '
21814
+ }, /*#__PURE__*/React.createElement("div", {
21815
+ className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
21816
+ }, sectionproperties.image_height != 0 && /*#__PURE__*/React.createElement("div", {
21817
+ className: "col-lg-12 p-0 d-flex justify-content-center",
21818
+ style: {
21819
+ cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
21820
+ },
21821
+ onClick: function onClick() {
21822
+ // if (bgimagesarray[0]?.IsClickable == 'Yes') {
21823
+ // if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
21824
+ // routingcountext(bgimagesarray[0].clickable_page_route, false, '');
21825
+ // } else {
21826
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
21827
+ // }
21828
+ // }
21829
+ }
21830
+ }, /*#__PURE__*/React.createElement("div", {
21831
+ "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
21832
+ style: {
21833
+ width: sectionproperties.image_width + 'vw',
21834
+ height: 'auto',
21835
+ marginBottom: sectionproperties.image_mb + 'px',
21836
+ position: 'relative'
21837
+ }
21838
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
21839
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21840
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21841
+ 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) : '',
21842
+ "class": "d-flex d-sm-none",
21843
+ style: {
21844
+ height: '100%',
21845
+ width: '100%',
21846
+ margin: 0,
21847
+ padding: 0,
21848
+ borderRadius: sectionproperties.imageborderradius + 'px',
21849
+ zIndex: -1,
21850
+ objectFit: 'contain'
21851
+ }
21852
+ }), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
21853
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
21854
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
21855
+ 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) : '',
21856
+ "class": "d-none d-sm-flex",
21857
+ style: {
21858
+ height: '100%',
21859
+ width: '100%',
21860
+ margin: 0,
21861
+ padding: 0,
21862
+ objectFit: sectionproperties.bgcovercontainresponsive,
21863
+ borderRadius: sectionproperties.imageborderradius + 'px',
21864
+ zIndex: -1
21865
+ }
21866
+ }))), /*#__PURE__*/React.createElement("div", {
21867
+ "class": "row m-0 w-100 pl-md-4 pr-md-4",
21868
+ style: {
21869
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
21870
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
21871
+ }
21872
+ }, /*#__PURE__*/React.createElement("div", {
21873
+ "class": ' col-lg-12 p-0 text-start '
21874
+ }, /*#__PURE__*/React.createElement("p", {
21875
+ "class": policies_cssstyles.sectiontitle + ' p-0 '
21876
+ }, 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.createElement("div", {
21877
+ className: 'col-lg-12 p-0 text-start',
21878
+ style: {
21879
+ color: sectionproperties.prodCatColor,
21880
+ fontSize: sectionproperties.prodCatFontSize + 'px',
21881
+ fontWeight: sectionproperties.prodCatFontWeight
21882
+ }
21883
+ }, !fetchInstitutePoliciesQueryContext.isFetching && fetchInstitutePoliciesQueryContext.isSuccess && /*#__PURE__*/React.createElement("p", {
21884
+ dangerouslySetInnerHTML: {
21885
+ __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
21886
+ },
21887
+ style: {
21888
+ textAlign: langdetect == 'en' ? 'left' : 'right'
21889
+ }
21890
+ }))))))
21891
+ );
21809
21892
  };
21810
21893
 
21811
21894
  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; }
21812
21895
  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(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; }
21813
21896
  var TermsConditions = function TermsConditions(props) {
21814
- var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21897
+ var _bgimagesarray$, _bgimagesarray$2, _bgimagesarray$3, _bgimagesarray$4, _bgimagesarray$5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
21815
21898
  var _useState = useState(''),
21816
21899
  _useState2 = _slicedToArray(_useState, 2),
21817
21900
  sectionproperties = _useState2[0],
21818
21901
  setsectionproperties = _useState2[1];
21819
- var _useState3 = useState(''),
21820
- _useState4 = _slicedToArray(_useState3, 2);
21821
- _useState4[0];
21822
- _useState4[1];
21823
21902
  var templatepropcontext = props.actions.templatepropcontext;
21824
21903
  var fetchInstitutePoliciesQueryContext = props.actions.fetchInstitutePoliciesQueryContext;
21825
21904
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
@@ -21827,12 +21906,12 @@ var TermsConditions = function TermsConditions(props) {
21827
21906
  props.actions.lang;
21828
21907
  var langdetect = props.actions.langdetect;
21829
21908
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
21830
- props.actions.ikimagecredcontext;
21909
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
21831
21910
  props.actions;
21832
- var _useState5 = useState(''),
21833
- _useState6 = _slicedToArray(_useState5, 2);
21834
- _useState6[0];
21835
- var setCurrentPageId = _useState6[1];
21911
+ var _useState3 = useState(''),
21912
+ _useState4 = _slicedToArray(_useState3, 2);
21913
+ _useState4[0];
21914
+ var setCurrentPageId = _useState4[1];
21836
21915
  useEffect(function () {
21837
21916
  if (Object.keys(StatePagePropertiesContext).length != 0) {
21838
21917
  var _StatePagePropertiesC;
@@ -21857,10 +21936,10 @@ var TermsConditions = function TermsConditions(props) {
21857
21936
  tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
21858
21937
  setFetchQueriesEngineContext(_objectSpread$2a({}, tempFetchQueriesEngineContext));
21859
21938
  }, []);
21860
- var _useState7 = useState([]),
21861
- _useState8 = _slicedToArray(_useState7, 2);
21862
- _useState8[0];
21863
- var setbgimagesarray = _useState8[1];
21939
+ var _useState5 = useState([]),
21940
+ _useState6 = _slicedToArray(_useState5, 2),
21941
+ bgimagesarray = _useState6[0],
21942
+ setbgimagesarray = _useState6[1];
21864
21943
  useEffect(function () {
21865
21944
  if (sectionproperties.length != 0) {
21866
21945
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -21883,10 +21962,8 @@ var TermsConditions = function TermsConditions(props) {
21883
21962
  };
21884
21963
  var policies_cssstyles = {
21885
21964
  containerstyle: css({
21886
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
21887
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
21888
- paddingTop: sectionproperties.cardpaddingvertical + 'px',
21889
- paddingBottom: sectionproperties.cardpaddingvertical + 'px',
21965
+ paddingTop: sectionproperties.paddingTop + 'px',
21966
+ paddingBottom: sectionproperties.paddingBottom + 'px',
21890
21967
  backgroundColor: sectionproperties.backgroundColor,
21891
21968
  '@media (max-width: 800px)': {
21892
21969
  paddingTop: sectionproperties.paddingtopresponsive + 'px'
@@ -21912,7 +21989,63 @@ var TermsConditions = function TermsConditions(props) {
21912
21989
  }, /*#__PURE__*/React.createElement("div", {
21913
21990
  className: ' col-lg-12 p-0 '
21914
21991
  }, /*#__PURE__*/React.createElement("div", {
21915
- className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '
21992
+ className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
21993
+ }, sectionproperties.image_height != 0 && /*#__PURE__*/React.createElement("div", {
21994
+ className: "col-lg-12 p-0 d-flex justify-content-center",
21995
+ style: {
21996
+ cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
21997
+ },
21998
+ onClick: function onClick() {
21999
+ // if (bgimagesarray[0]?.IsClickable == 'Yes') {
22000
+ // if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
22001
+ // routingcountext(bgimagesarray[0].clickable_page_route, false, '');
22002
+ // } else {
22003
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
22004
+ // }
22005
+ // }
22006
+ }
22007
+ }, /*#__PURE__*/React.createElement("div", {
22008
+ "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
22009
+ style: {
22010
+ width: sectionproperties.image_width + 'vw',
22011
+ height: 'auto',
22012
+ marginBottom: sectionproperties.image_mb + 'px',
22013
+ position: 'relative'
22014
+ }
22015
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
22016
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
22017
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
22018
+ 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) : '',
22019
+ "class": "d-flex d-sm-none",
22020
+ style: {
22021
+ height: '100%',
22022
+ width: '100%',
22023
+ margin: 0,
22024
+ padding: 0,
22025
+ borderRadius: sectionproperties.imageborderradius + 'px',
22026
+ zIndex: -1,
22027
+ objectFit: 'contain'
22028
+ }
22029
+ }), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
22030
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
22031
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
22032
+ 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) : '',
22033
+ "class": "d-none d-sm-flex",
22034
+ style: {
22035
+ height: '100%',
22036
+ width: '100%',
22037
+ margin: 0,
22038
+ padding: 0,
22039
+ objectFit: sectionproperties.bgcovercontainresponsive,
22040
+ borderRadius: sectionproperties.imageborderradius + 'px',
22041
+ zIndex: -1
22042
+ }
22043
+ }))), /*#__PURE__*/React.createElement("div", {
22044
+ "class": "row m-0 w-100 pl-md-4 pr-md-4",
22045
+ style: {
22046
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
22047
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
22048
+ }
21916
22049
  }, /*#__PURE__*/React.createElement("div", {
21917
22050
  "class": ' col-lg-12 p-0 text-start '
21918
22051
  }, /*#__PURE__*/React.createElement("p", {
@@ -21931,7 +22064,38 @@ var TermsConditions = function TermsConditions(props) {
21931
22064
  style: {
21932
22065
  textAlign: langdetect == 'en' ? 'left' : 'right'
21933
22066
  }
21934
- })))));
22067
+ }))))))
22068
+ // <div className={' row ml-0 mr-0 w-100 d-flex justify-content-center '} style={{ minHeight: '70vh', backgroundColor: sectionproperties.backgroundColor }}>
22069
+ // <div className={' col-lg-12 p-0 '}>
22070
+ // <div className={policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '}>
22071
+ // <div class={' col-lg-12 p-0 text-start '}>
22072
+ // <p class={policies_cssstyles.sectiontitle + ' p-0 '}>
22073
+ // {langdetect == 'en' ? returnpolicyobj('Terms & Conditions')?.policypagename_en : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
22074
+ // </p>
22075
+ // </div>
22076
+ // <div
22077
+ // className={'col-lg-12 p-0 text-start'}
22078
+ // style={{
22079
+ // color: sectionproperties.prodCatColor,
22080
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
22081
+ // fontWeight: sectionproperties.prodCatFontWeight,
22082
+ // }}
22083
+ // >
22084
+ // {!fetchInstitutePoliciesQueryContext.isFetching && fetchInstitutePoliciesQueryContext.isSuccess && (
22085
+ // <p
22086
+ // dangerouslySetInnerHTML={{
22087
+ // __html: langdetect == 'en' ? returnpolicyobj('Terms & Conditions')?.policycontent_en : returnpolicyobj('Terms & Conditions')?.policycontent_ar,
22088
+ // }}
22089
+ // style={{
22090
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
22091
+ // }}
22092
+ // ></p>
22093
+ // )}
22094
+ // </div>
22095
+ // </div>
22096
+ // </div>
22097
+ // </div>
22098
+ ;
21935
22099
  };
21936
22100
 
21937
22101
  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; }
@@ -45483,6 +45647,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
45483
45647
  paddingBottom: sectionproperties.searchbarcont_paddingBottom + 'rem',
45484
45648
  outline: 'none',
45485
45649
  transition: '0.3s',
45650
+ backgroundColor: 'transparent',
45486
45651
  ':focus': {
45487
45652
  borderColor: sectionproperties.searchbarcontinput_bordercoloronfocus
45488
45653
  }
@@ -45945,7 +46110,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
45945
46110
  "class": "m-0 p-0",
45946
46111
  style: {
45947
46112
  fontSize: 20,
45948
- fontWeight: 500
46113
+ fontWeight: 500,
46114
+ color: sectionproperties.closeSlider_color
45949
46115
  }
45950
46116
  }, langdetect == 'en' ? 'Search' : 'البحث')), /*#__PURE__*/React.createElement("div", {
45951
46117
  "class": "col-lg-6 p-0 d-flex align-items-center justify-content-end mb-3"
@@ -53847,8 +54013,9 @@ var Newsletterincenter = function Newsletterincenter(props) {
53847
54013
  "class": "col-lg-12 allcentered mb-5"
53848
54014
  }, /*#__PURE__*/React.createElement("input", {
53849
54015
  type: "text",
53850
- className: "".concat(footerStyles.form_control),
53851
- value: event.target.value,
54016
+ className: "".concat(footerStyles.form_control)
54017
+ // value={event.target.value}
54018
+ ,
53852
54019
  placeholder: "your email",
53853
54020
  onChange: function onChange(event) {
53854
54021
  var newslettertemp = _objectSpread$1u({}, newsletter);
@@ -53945,10 +54112,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
53945
54112
  routingcountext(StaticPagesLinksContext.TermsConditions);
53946
54113
  }
53947
54114
  }, /*#__PURE__*/React.createElement("p", {
53948
- "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start ',
53949
- style: {
53950
- textAlign: 'center'
53951
- }
54115
+ "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start '
53952
54116
  }, 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)))));
53953
54117
  };
53954
54118
  return /*#__PURE__*/React.createElement("footer", {