tabexseriescomponents 0.0.236 → 0.0.238

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
@@ -51,6 +51,7 @@ import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
51
51
  import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
52
52
  import { HiOutlineTrash } from '@react-icons/all-files/hi/HiOutlineTrash';
53
53
  import { BiSad } from '@react-icons/all-files/bi/BiSad';
54
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
54
55
  import TextareaAutosize from 'react-textarea-autosize';
55
56
  import { HiUser } from '@react-icons/all-files/hi/HiUser';
56
57
  import { GrMail } from '@react-icons/all-files/gr/GrMail';
@@ -75,8 +76,6 @@ import { FiChevronLeft } from '@react-icons/all-files/fi/FiChevronLeft';
75
76
  import { FiChevronRight } from '@react-icons/all-files/fi/FiChevronRight';
76
77
  import ReactPaginate from 'react-paginate';
77
78
  import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
78
- import '@react-icons/all-files/hi/HiOutlinePlus';
79
- import '@react-icons/all-files/ai/AiOutlineMinus';
80
79
  import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
81
80
  import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
82
81
  import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
@@ -1690,7 +1689,7 @@ var Product_itemtype = function Product_itemtype(props) {
1690
1689
  function ownKeys$1Z(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; }
1691
1690
  function _objectSpread$1Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Z(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1692
1691
  var Serviceinfotabs = function Serviceinfotabs(props) {
1693
- var _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32;
1692
+ var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
1694
1693
  var langdetect = props.actions.langdetect;
1695
1694
  var lang = props.actions.lang;
1696
1695
  var sectionproperties = props.actions.sectionproperties;
@@ -1727,6 +1726,36 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
1727
1726
  _useState6 = _slicedToArray(_useState5, 2),
1728
1727
  slots = _useState6[0],
1729
1728
  setslots = _useState6[1];
1729
+ useEffect(function () {
1730
+ setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1731
+ item_type: 'service'
1732
+ }));
1733
+ }, [tabsarray]);
1734
+ useEffect(function () {
1735
+ var date1 = new Date(addtocardpayloadobj.from);
1736
+ var date2 = new Date(addtocardpayloadobj.to);
1737
+ var diffTime = Math.abs(date2 - date1);
1738
+ var diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
1739
+ if (diffDays.toString() != 'NaN') {
1740
+ if (date2 <= date1) {
1741
+ NotificationManager.warning('', 'Please choose another date.');
1742
+ setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1743
+ quantity: 0
1744
+ }));
1745
+ } else {
1746
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
1747
+ setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1748
+ quantity: diffDays
1749
+ }));
1750
+ } else {
1751
+ setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1752
+ quantity: 0
1753
+ }));
1754
+ NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
1755
+ }
1756
+ }
1757
+ }
1758
+ }, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
1730
1759
  var TabsStyles = {
1731
1760
  sidebar_item: css({
1732
1761
  background: sectionproperties.tabcontainerbgcolor,
@@ -1783,16 +1812,6 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
1783
1812
  booknow_btn_disabled: css({
1784
1813
  opacity: 0.3
1785
1814
  }),
1786
- timeLabel: css({
1787
- color: sectionproperties.time_laelColor,
1788
- fontWeight: sectionproperties.time_labelFonweight,
1789
- fontSize: sectionproperties.time_labelFontsize + 'px'
1790
- }),
1791
- time: css({
1792
- color: sectionproperties.time_timeColor,
1793
- fontWeight: sectionproperties.time_timeFontweight,
1794
- fontSize: sectionproperties.time_timeFontsize + 'px'
1795
- }),
1796
1815
  inputfield_label: css({
1797
1816
  color: sectionproperties.form_labelcolor,
1798
1817
  fontWeight: sectionproperties.form_labelfontweight,
@@ -1809,43 +1828,45 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
1809
1828
  ':focus': {
1810
1829
  borderColor: sectionproperties.inputfeildbordercoloronfocus
1811
1830
  }
1831
+ }),
1832
+ timeSlotContainer: css({
1833
+ minWidth: '6vh',
1834
+ height: '5vh',
1835
+ borderRadius: sectionproperties.time_borderRadius + 'px',
1836
+ backgroundColor: sectionproperties.time_bgcolor,
1837
+ border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_borderColor,
1838
+ color: sectionproperties.time_timeColor,
1839
+ fontWeight: sectionproperties.time_timeFontweight,
1840
+ fontSize: sectionproperties.time_timeFontsize + 'px',
1841
+ ':hover': {
1842
+ transition: '.3s',
1843
+ backgroundColor: sectionproperties.time_secondarybgcolor,
1844
+ color: sectionproperties.time_secondarycolor,
1845
+ borderColor: sectionproperties.time_secondarycolor
1846
+ }
1847
+ }),
1848
+ timeSlotContainer_active: css({
1849
+ minWidth: '6vh',
1850
+ height: '5vh',
1851
+ borderRadius: sectionproperties.time_borderRadius + 'px',
1852
+ backgroundColor: sectionproperties.time_activebgcolor,
1853
+ border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_timeactiveColor,
1854
+ color: sectionproperties.time_timeactiveColor,
1855
+ fontWeight: sectionproperties.time_timeFontweight,
1856
+ fontSize: sectionproperties.time_timeFontsize + 'px',
1857
+ ':hover': {
1858
+ transition: '.3s',
1859
+ backgroundColor: sectionproperties.time_secondarybgcolor,
1860
+ color: sectionproperties.time_secondarycolor,
1861
+ borderColor: sectionproperties.time_secondarycolor
1862
+ }
1812
1863
  })
1813
1864
  };
1814
- useEffect(function () {
1815
- setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1816
- item_type: 'service'
1817
- }));
1818
- }, [tabsarray]);
1819
- useEffect(function () {
1820
- var date1 = new Date(addtocardpayloadobj.from);
1821
- var date2 = new Date(addtocardpayloadobj.to);
1822
- var diffTime = Math.abs(date2 - date1);
1823
- var diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
1824
- if (diffDays.toString() != 'NaN') {
1825
- if (date2 <= date1) {
1826
- NotificationManager.warning('', 'Please choose another date.');
1827
- setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1828
- quantity: 0
1829
- }));
1830
- } else {
1831
- if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
1832
- setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1833
- quantity: diffDays
1834
- }));
1835
- } else {
1836
- setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1837
- quantity: 0
1838
- }));
1839
- NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
1840
- }
1841
- }
1842
- }
1843
- }, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
1844
1865
  return /*#__PURE__*/React.createElement("div", {
1845
- className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.scheduletype) == 'minutes' ? 'col-lg-12 mt-3 p-0' : 'col-lg-10 mt-3 p-0'
1866
+ className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : (_fetchProductInfoQuer4 = _fetchProductInfoQuer3.serviceinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.scheduletype) == 'minutes' ? 'col-lg-12 mt-3 p-0' : 'col-lg-10 mt-3 p-0'
1846
1867
  }, /*#__PURE__*/React.createElement("div", {
1847
1868
  "class": "row m-0 w-100"
1848
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.scheduletype) == 'days' && /*#__PURE__*/React.createElement("div", {
1869
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : (_fetchProductInfoQuer7 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.serviceinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.scheduletype) == 'days' && /*#__PURE__*/React.createElement("div", {
1849
1870
  "class": "row m-0 w-100"
1850
1871
  }, /*#__PURE__*/React.createElement("div", {
1851
1872
  "class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
@@ -1860,8 +1881,8 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
1860
1881
  }, /*#__PURE__*/React.createElement("input", {
1861
1882
  type: "date",
1862
1883
  "class": TabsStyles.inputfield + ' w-100 allcentered pl-1 pr-1 ',
1863
- min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : (_fetchProductInfoQuer19 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.serviceinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.reservationstarts,
1864
- max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : (_fetchProductInfoQuer22 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.serviceinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.reservationends,
1884
+ min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.reservationstarts,
1885
+ max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.reservationends,
1865
1886
  onChange: function onChange(event) {
1866
1887
  setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
1867
1888
  from: event.target.value
@@ -1887,7 +1908,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
1887
1908
  to: event.target.value
1888
1909
  }));
1889
1910
  }
1890
- }))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : (_fetchProductInfoQuer28 = _fetchProductInfoQuer27.serviceinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.scheduletype) == 'minutes' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
1911
+ }))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : (_fetchProductInfoQuer19 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.serviceinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.scheduletype) == 'minutes' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
1891
1912
  "class": "col-lg-12 col-md-12 col-sm-12 mb-2"
1892
1913
  }, /*#__PURE__*/React.createElement("div", {
1893
1914
  "class": "row m-0 w-100"
@@ -1920,7 +1941,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
1920
1941
  "class": "col-lg-12 col-md-12 col-sm-12"
1921
1942
  }, /*#__PURE__*/React.createElement("p", {
1922
1943
  "class": TabsStyles.inputfield_label + ' p-0 d-flex justify-content-start m-0 '
1923
- }, lang.reservationtime, ":"), GeneralAPIMutationContext.isLoading && GeneralAPIMutationContext.variables.endpointurl == '/fetchserviceslots' && /*#__PURE__*/React.createElement("div", {
1944
+ }, langdetect == 'en' ? sectionproperties.reservationslot_titleen : sectionproperties.reservationslot_titlear), GeneralAPIMutationContext.isLoading && GeneralAPIMutationContext.variables.endpointurl == '/fetchserviceslots' && /*#__PURE__*/React.createElement("div", {
1924
1945
  className: 'row ml-0 mr-0 w-100 allcentered',
1925
1946
  style: {
1926
1947
  height: 200
@@ -1930,7 +1951,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
1930
1951
  width: "10px",
1931
1952
  height: "10px",
1932
1953
  duration: "1s"
1933
- })), slots.map(function (item, index) {
1954
+ })), sectionproperties.slots_style == 'Horizontal' && /*#__PURE__*/React.createElement("div", {
1955
+ "class": "w-100"
1956
+ }, slots.map(function (item, index) {
1934
1957
  var ischoosed = false;
1935
1958
  if (item.slot == addtocardpayloadobj.time) {
1936
1959
  ischoosed = true;
@@ -1990,11 +2013,31 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
1990
2013
  }, /*#__PURE__*/React.createElement("hr", {
1991
2014
  "class": "m-0 mb-3 mt-3"
1992
2015
  })));
1993
- }))), /*#__PURE__*/React.createElement("div", {
2016
+ })), sectionproperties.slots_style == 'Vertical' && /*#__PURE__*/React.createElement("div", {
2017
+ "class": "row m-0 w-100 mb-4 mt-3"
2018
+ }, slots.map(function (item, index) {
2019
+ var ischoosed = false;
2020
+ if (item.slot == addtocardpayloadobj.time) {
2021
+ ischoosed = true;
2022
+ }
2023
+ return /*#__PURE__*/React.createElement("div", {
2024
+ "class": "col-lg-2 col-md-2 col-sm-4 pl-1 pr-1 mb-2"
2025
+ }, /*#__PURE__*/React.createElement("div", {
2026
+ "class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
2027
+ style: {},
2028
+ onClick: function onClick() {
2029
+ setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
2030
+ time: item.slot
2031
+ }));
2032
+ }
2033
+ }, /*#__PURE__*/React.createElement("p", {
2034
+ "class": ' p-0 m-0 '
2035
+ }, item.slot)));
2036
+ })))), /*#__PURE__*/React.createElement("div", {
1994
2037
  className: "col-lg-12 p-0 mb-3"
1995
2038
  }, /*#__PURE__*/React.createElement("div", {
1996
2039
  className: "row m-0 w-100"
1997
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : (_fetchProductInfoQuer31 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : (_fetchProductInfoQuer32 = _fetchProductInfoQuer31.serviceinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.scheduletype) == 'days' && /*#__PURE__*/React.createElement("div", {
2040
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : (_fetchProductInfoQuer22 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.serviceinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.scheduletype) == 'days' && /*#__PURE__*/React.createElement("div", {
1998
2041
  className: "col-lg-12 p-0"
1999
2042
  }, /*#__PURE__*/React.createElement("div", {
2000
2043
  className: "row m-0 w-100"
@@ -2054,12 +2097,12 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2054
2097
  }, /*#__PURE__*/React.createElement("button", {
2055
2098
  className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
2056
2099
  onClick: function onClick() {
2057
- var _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
2058
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : (_fetchProductInfoQuer34 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : (_fetchProductInfoQuer35 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.serviceinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.scheduletype) == 'days') {
2100
+ var _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32;
2101
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : (_fetchProductInfoQuer28 = _fetchProductInfoQuer27.serviceinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.scheduletype) == 'days') {
2059
2102
  if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
2060
2103
  addtocartfunc();
2061
2104
  }
2062
- } else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : (_fetchProductInfoQuer38 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : (_fetchProductInfoQuer40 = _fetchProductInfoQuer39.serviceinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.scheduletype) == 'minutes') {
2105
+ } else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : (_fetchProductInfoQuer31 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : (_fetchProductInfoQuer32 = _fetchProductInfoQuer31.serviceinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.scheduletype) == 'minutes') {
2063
2106
  if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
2064
2107
  addtocartfunc();
2065
2108
  }
@@ -2131,12 +2174,12 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2131
2174
  }, /*#__PURE__*/React.createElement("button", {
2132
2175
  className: "".concat(productinfo_cssstyles.cart_btn) + ' w-100 d-flex align-items-center justify-content-center ',
2133
2176
  onClick: function onClick() {
2134
- var _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48;
2135
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : (_fetchProductInfoQuer43 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.serviceinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.scheduletype) == 'days') {
2177
+ var _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
2178
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : (_fetchProductInfoQuer34 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : (_fetchProductInfoQuer35 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.serviceinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.scheduletype) == 'days') {
2136
2179
  if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
2137
2180
  addtocartfunc();
2138
2181
  }
2139
- } else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : (_fetchProductInfoQuer46 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : (_fetchProductInfoQuer47 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : (_fetchProductInfoQuer48 = _fetchProductInfoQuer47.serviceinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.scheduletype) == 'minutes') {
2182
+ } else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : (_fetchProductInfoQuer38 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : (_fetchProductInfoQuer40 = _fetchProductInfoQuer39.serviceinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.scheduletype) == 'minutes') {
2140
2183
  if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
2141
2184
  addtocartfunc();
2142
2185
  }
@@ -2210,13 +2253,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2210
2253
  }, /*#__PURE__*/React.createElement("button", {
2211
2254
  className: "".concat(productinfo_cssstyles.checkoutbtn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
2212
2255
  onClick: function onClick() {
2213
- var _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56;
2214
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : (_fetchProductInfoQuer50 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : (_fetchProductInfoQuer51 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : (_fetchProductInfoQuer52 = _fetchProductInfoQuer51.serviceinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.scheduletype) == 'days') {
2256
+ var _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48;
2257
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : (_fetchProductInfoQuer43 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.serviceinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.scheduletype) == 'days') {
2215
2258
  if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
2216
2259
  addtocartfunc();
2217
2260
  routingcountext(StaticPagesLinksContext.Checkout);
2218
2261
  }
2219
- } else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : (_fetchProductInfoQuer54 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : (_fetchProductInfoQuer55 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : (_fetchProductInfoQuer56 = _fetchProductInfoQuer55.serviceinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.scheduletype) == 'minutes') {
2262
+ } else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : (_fetchProductInfoQuer46 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : (_fetchProductInfoQuer47 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : (_fetchProductInfoQuer48 = _fetchProductInfoQuer47.serviceinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.scheduletype) == 'minutes') {
2220
2263
  if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
2221
2264
  addtocartfunc();
2222
2265
  routingcountext(StaticPagesLinksContext.Checkout);
@@ -2234,11 +2277,8 @@ var Service_itemtype = function Service_itemtype(props) {
2234
2277
  var lang = props.actions.lang;
2235
2278
  var langdetect = props.actions.langdetect;
2236
2279
  var srcfromprops = props.actions.srcfromprops;
2237
- props.actions.returnpolicyobj;
2238
2280
  var productinfo_cssstyles = props.actions.productinfo_cssstyles;
2239
2281
  var addtocartfunc = props.actions.addtocartfunc;
2240
- props.actions.selectproductoptionvalue;
2241
- props.actions.relatedproducts;
2242
2282
  var productimagesarray = props.actions.productimagesarray;
2243
2283
  var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
2244
2284
  var sectionproperties = props.actions.sectionproperties;
@@ -2248,29 +2288,24 @@ var Service_itemtype = function Service_itemtype(props) {
2248
2288
  var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
2249
2289
  var authdetailsContext = props.actions.authdetailsContext;
2250
2290
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
2251
- props.actions.addtofavoritescontext;
2291
+ var addtofavoritescontext = props.actions.addtofavoritescontext;
2252
2292
  var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
2253
2293
  var NotificationManager = props.actions.NotificationManager;
2254
2294
  var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
2255
2295
  var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
2256
- props.actions.getQuantityCondition;
2257
2296
  var StoreInfoprops = props.actions.StoreInfoprops;
2258
- var _useState = useState(0),
2259
- _useState2 = _slicedToArray(_useState, 2);
2260
- _useState2[0];
2261
- _useState2[1];
2297
+ var _useState = useState(''),
2298
+ _useState2 = _slicedToArray(_useState, 2),
2299
+ shareUrl = _useState2[0],
2300
+ setshareUrl = _useState2[1];
2262
2301
  var _useState3 = useState(''),
2263
- _useState4 = _slicedToArray(_useState3, 2);
2264
- _useState4[0];
2265
- var setshareUrl = _useState4[1];
2266
- var _useState5 = useState(''),
2302
+ _useState4 = _slicedToArray(_useState3, 2),
2303
+ title = _useState4[0],
2304
+ settitle = _useState4[1];
2305
+ var _useState5 = useState(fetchProductInfoQueryContext.data.data.productinfo),
2267
2306
  _useState6 = _slicedToArray(_useState5, 2);
2268
2307
  _useState6[0];
2269
- var settitle = _useState6[1];
2270
- var _useState7 = useState(fetchProductInfoQueryContext.data.data.productinfo),
2271
- _useState8 = _slicedToArray(_useState7, 2);
2272
- _useState8[0];
2273
- var setitem = _useState8[1];
2308
+ var setitem = _useState6[1];
2274
2309
  useEffect(function () {
2275
2310
  var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
2276
2311
  if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
@@ -2335,7 +2370,46 @@ var Service_itemtype = function Service_itemtype(props) {
2335
2370
  showNav: false,
2336
2371
  showPlayButton: false,
2337
2372
  showFullscreenButton: true
2373
+ })), sectionproperties.showShareButton == 'Show' && /*#__PURE__*/React.createElement("div", {
2374
+ "class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0 mt-2"
2375
+ }, /*#__PURE__*/React.createElement("p", {
2376
+ "class": "m-0 p-0",
2377
+ style: {
2378
+ fontWeight: sectionproperties.sharebtn_FontWeight,
2379
+ color: sectionproperties.sharebtn_color,
2380
+ fontSize: sectionproperties.sharebtn_fontSize + 'px'
2381
+ }
2382
+ }, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React.createElement("div", {
2383
+ className: "Demo__container w-100 m-0 allcentered mt-3"
2384
+ }, /*#__PURE__*/React.createElement("div", {
2385
+ className: "Demo__some-network ml-2 mr-2"
2386
+ }, /*#__PURE__*/React.createElement(FacebookShareButton, {
2387
+ url: shareUrl,
2388
+ quote: title,
2389
+ className: "Demo__some-network__share-button"
2390
+ }, /*#__PURE__*/React.createElement(FacebookIcon, {
2391
+ size: 40,
2392
+ round: true
2338
2393
  }))), /*#__PURE__*/React.createElement("div", {
2394
+ className: "Demo__some-network ml-2 mr-2"
2395
+ }, /*#__PURE__*/React.createElement(TwitterShareButton, {
2396
+ url: shareUrl,
2397
+ title: title,
2398
+ className: "Demo__some-network__share-button"
2399
+ }, /*#__PURE__*/React.createElement(TwitterIcon, {
2400
+ size: 40,
2401
+ round: true
2402
+ }))), /*#__PURE__*/React.createElement("div", {
2403
+ className: "Demo__some-network ml-2 mr-2"
2404
+ }, /*#__PURE__*/React.createElement(WhatsappShareButton, {
2405
+ url: shareUrl,
2406
+ title: title,
2407
+ separator: ":: ",
2408
+ className: "Demo__some-network__share-button"
2409
+ }, /*#__PURE__*/React.createElement(WhatsappIcon, {
2410
+ size: 40,
2411
+ round: true
2412
+ })))))), /*#__PURE__*/React.createElement("div", {
2339
2413
  className: langdetect == 'en' ? sectionproperties.galleryNumberOfCols == 4 ? 'col-xl-8 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : sectionproperties.galleryNumberOfCols == 4 ? 'col-xl-8 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
2340
2414
  }, /*#__PURE__*/React.createElement("div", {
2341
2415
  "class": "row m-0 w-100"
@@ -2535,7 +2609,8 @@ var Service_itemtype = function Service_itemtype(props) {
2535
2609
  getprice_discountpriceprops: getprice_discountpriceprops,
2536
2610
  authdetailsContext: authdetailsContext,
2537
2611
  routingcountext: routingcountext,
2538
- StaticPagesLinksContext: StaticPagesLinksContext
2612
+ StaticPagesLinksContext: StaticPagesLinksContext,
2613
+ addtofavoritescontext: addtofavoritescontext
2539
2614
  }
2540
2615
  })))))), /*#__PURE__*/React.createElement("div", {
2541
2616
  className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0' : 'col-lg-3 pl-0 border-md-none p-md-0',
@@ -3057,6 +3132,11 @@ var Productinfo = function Productinfo(props) {
3057
3132
  textAlign: 'start'
3058
3133
  }),
3059
3134
  cart_btn: css({
3135
+ position: 'relative',
3136
+ display: 'flex',
3137
+ alignItems: 'center',
3138
+ justifyContent: 'center',
3139
+ overflow: 'hidden',
3060
3140
  width: sectionproperties.cartBtnWidth + 'px',
3061
3141
  height: sectionproperties.cartBtnHeight + 'px',
3062
3142
  background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
@@ -3066,18 +3146,12 @@ var Productinfo = function Productinfo(props) {
3066
3146
  textTransform: sectionproperties.cartBtnTexttransform,
3067
3147
  fontWeight: sectionproperties.cartBtnTextfontweight,
3068
3148
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
3069
- transition: '.3s',
3070
- opacity: sectionproperties.cartbtn_opacity,
3071
- display: 'flex',
3072
- alignItems: 'center',
3073
- justifyContent: 'center',
3074
- overflow: 'hidden',
3075
3149
  margin: 0,
3076
- position: 'relative',
3150
+ transition: '.3s',
3077
3151
  ':hover': {
3078
3152
  background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
3079
3153
  color: sectionproperties.cartBtnTextcoloronhover,
3080
- opacity: sectionproperties.cartbtn_opacityonhover
3154
+ borderColor: sectionproperties.cartBtnTextcoloronhover
3081
3155
  }
3082
3156
  }),
3083
3157
  quantitybtn: css({
@@ -3509,7 +3583,7 @@ var Productinfo = function Productinfo(props) {
3509
3583
  srcfromprops: props.srcfromprops
3510
3584
  }, _defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref2, "addtocartfunc", addtocartfunc), _defineProperty(_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref2, "productimagesarray", productimagesarray), _defineProperty(_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref2, "sectionproperties", sectionproperties), _defineProperty(_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref2, "routingcountext", routingcountext), _defineProperty(_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref2, "authdetailsContext", authdetailsContext), _defineProperty(_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_ref2, "NotificationManager", NotificationManager), _defineProperty(_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref2, "relatedproducts", relatedproducts), _defineProperty(_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty(_ref2, "StoreInfoprops", StoreInfo), _ref2)
3511
3585
  }), /*#__PURE__*/React.createElement("div", {
3512
- className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
3586
+ className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
3513
3587
  style: {
3514
3588
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
3515
3589
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
@@ -3776,6 +3850,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
3776
3850
  fontWeight: sectionproperties.cartBtnTextfontweight,
3777
3851
  transition: '.3s',
3778
3852
  ':hover': {
3853
+ transition: '.3s',
3779
3854
  background: sectionproperties.cartBtnbgColoronhover,
3780
3855
  color: sectionproperties.cartBtnTextcoloronhover
3781
3856
  }
@@ -3785,6 +3860,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
3785
3860
  background: sectionproperties.navcontbg_color,
3786
3861
  borderRadius: sectionproperties.navcontborderbl + 'px',
3787
3862
  ':hover': {
3863
+ transition: '.3s',
3788
3864
  color: sectionproperties.navigationtextcoloronhover,
3789
3865
  background: sectionproperties.navcontbgcoloronhover
3790
3866
  },
@@ -3793,6 +3869,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
3793
3869
  right: langdetect == 'en' ? 0 : ''
3794
3870
  },
3795
3871
  ':hover:after': {
3872
+ transition: '.3s',
3796
3873
  background: sectionproperties.navigationtextcoloronhover,
3797
3874
  left: langdetect == 'en' ? '' : 0,
3798
3875
  right: langdetect == 'en' ? 0 : ''
@@ -4038,14 +4115,12 @@ var Ordershistory = function Ordershistory(props) {
4038
4115
  borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
4039
4116
  borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
4040
4117
  fontWeight: sectionproperties.generalbtn_fontweight,
4041
- boxShadow: sectionproperties.generalbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.generalbtn_shadowcolor : '',
4042
- opacity: sectionproperties.generalbtn_opacity,
4043
4118
  border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
4044
4119
  transition: '.3s',
4045
4120
  ':hover': {
4046
4121
  background: sectionproperties.generalbtn_bgColoronhover,
4047
4122
  color: sectionproperties.generalbtn_textColoronhover,
4048
- opacity: sectionproperties.generalbtn_opacityonhover
4123
+ borderColor: sectionproperties.generalbtn_textColoronhover
4049
4124
  }
4050
4125
  }),
4051
4126
  tableimagecont: css({
@@ -4278,7 +4353,10 @@ var Ordershistory = function Ordershistory(props) {
4278
4353
  }, orderindex.length == 0 && /*#__PURE__*/React.createElement("div", {
4279
4354
  className: "row m-0 w-100"
4280
4355
  }, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React.createElement("div", {
4281
- className: "row m-0 w-100"
4356
+ className: "row m-0 w-100 mt-3",
4357
+ style: {
4358
+ minHeight: '70vh'
4359
+ }
4282
4360
  }, fetchorderhistoryQueryContext.data.data.ordershistory.map(function (item, index) {
4283
4361
  return /*#__PURE__*/React.createElement("div", {
4284
4362
  className: ' col-lg-4 col-md-6 col-sm-12 mb-4 pl-md-2 pr-md-2 pr-0 '
@@ -4304,7 +4382,7 @@ var Ordershistory = function Ordershistory(props) {
4304
4382
  fontWeight: sectionproperties.generaltext_fontWeight,
4305
4383
  textTransform: sectionproperties.generaltext_textTransform
4306
4384
  }
4307
- }, lang.orderid, ":", ' ', /*#__PURE__*/React.createElement("span", {
4385
+ }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' ', /*#__PURE__*/React.createElement("span", {
4308
4386
  style: {
4309
4387
  color: sectionproperties.text_secondarycolor
4310
4388
  }
@@ -4316,22 +4394,7 @@ var Ordershistory = function Ordershistory(props) {
4316
4394
  setorderindex(index);
4317
4395
  setopenorderitemsmodalshow(true);
4318
4396
  }
4319
- }, langdetect == 'en' ? 'View Order' : 'عرض الطلب')), /*#__PURE__*/React.createElement("div", {
4320
- className: "col-lg-12 p-0 d-flex align-items-center justify-content-start"
4321
- }, /*#__PURE__*/React.createElement("p", {
4322
- className: ' m-0 p-0 d-flex justify-content-start module line-clamp ',
4323
- style: {
4324
- color: sectionproperties.generaltext_fontColor,
4325
- fontSize: sectionproperties.generaltext_fontSize + 'px',
4326
- fontWeight: sectionproperties.generaltext_fontWeight,
4327
- textTransform: sectionproperties.generaltext_textTransform
4328
- }
4329
- }, lang.numberofproducts, ":", ' ', /*#__PURE__*/React.createElement("span", {
4330
- className: "ml-1 mr-1",
4331
- style: {
4332
- color: sectionproperties.text_secondarycolor
4333
- }
4334
- }, item.orderitems.length))), /*#__PURE__*/React.createElement("div", {
4397
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("div", {
4335
4398
  className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-2"
4336
4399
  }, /*#__PURE__*/React.createElement("span", {
4337
4400
  className: "".concat(generalstyles.pill, " ") + ' pl-2 pr-2 ',
@@ -4352,18 +4415,19 @@ var Ordershistory = function Ordershistory(props) {
4352
4415
  }
4353
4416
  }, /*#__PURE__*/React.createElement("div", {
4354
4417
  className: generalstyles.card + ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
4355
- }, /*#__PURE__*/React.createElement("img", {
4356
- src: shoppingcart,
4418
+ }, /*#__PURE__*/React.createElement(FiLayers, {
4357
4419
  style: {
4358
- maxWidth: '250px',
4359
- maxHeight: '250px'
4420
+ fontSize: sectionproperties.noprod_iconfontSize + 'px',
4421
+ color: sectionproperties.noprod_iconcolor
4360
4422
  }
4361
4423
  }), /*#__PURE__*/React.createElement("p", {
4362
- className: "font-weight-500",
4424
+ "class": "m-0 p-0 mt-2",
4363
4425
  style: {
4364
- fontSize: '20px'
4426
+ fontWeight: sectionproperties.noprod_fontWeight,
4427
+ color: sectionproperties.noprod_color,
4428
+ fontSize: sectionproperties.noprod_fontSize + 'px'
4365
4429
  }
4366
- }, langdetect == 'en' ? 'No Previous Orders' : 'لا توجد طلبات سابقة')))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React.createElement("div", {
4430
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React.createElement("div", {
4367
4431
  className: "w-100",
4368
4432
  style: {
4369
4433
  background: 'white',
@@ -4470,7 +4534,7 @@ var Ordershistory = function Ordershistory(props) {
4470
4534
  textTransform: sectionproperties.sectionTitleTextTransform,
4471
4535
  fontWeight: sectionproperties.sectionTitleFontWeight
4472
4536
  }
4473
- }, lang.orderid, ":", ' ', /*#__PURE__*/React.createElement("span", {
4537
+ }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', /*#__PURE__*/React.createElement("span", {
4474
4538
  style: {
4475
4539
  color: sectionproperties.sectiontitlesecondarycolor,
4476
4540
  direction: 'ltr'
@@ -4494,7 +4558,7 @@ var Ordershistory = function Ordershistory(props) {
4494
4558
  style: {
4495
4559
  textAlign: langdetect == 'en' ? 'left' : 'right'
4496
4560
  }
4497
- }, lang.orderdetails)), /*#__PURE__*/React.createElement("div", {
4561
+ }, langdetect == 'en' ? 'Details' : 'التفاصيل')), /*#__PURE__*/React.createElement("div", {
4498
4562
  className: "col-lg-3 col-md-3 col-sm-3 p-0 d-flex align-items-center justify-content-end"
4499
4563
  }, /*#__PURE__*/React.createElement("p", {
4500
4564
  style: {
@@ -4678,7 +4742,7 @@ var Ordershistory = function Ordershistory(props) {
4678
4742
  style: {
4679
4743
  color: sectionproperties.userinfotextsecondarycolor
4680
4744
  }
4681
- }, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].state))), /*#__PURE__*/React.createElement("div", {
4745
+ }, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].state))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
4682
4746
  className: "col-lg-12 d-flex fontfamilymedium text-focus mb-2"
4683
4747
  }, /*#__PURE__*/React.createElement("i", {
4684
4748
  className: "h-100 d-flex align-items-center justify-content-center"
@@ -4774,7 +4838,7 @@ var Ordershistory = function Ordershistory(props) {
4774
4838
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
4775
4839
  }, /*#__PURE__*/React.createElement("p", {
4776
4840
  className: "".concat(orderhistory_cssstyles.summarysectionstyles) + ' m-0 p-0 '
4777
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].discountprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), /*#__PURE__*/React.createElement("div", {
4841
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].discountprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
4778
4842
  className: "row m-0 w-100 mb-2"
4779
4843
  }, /*#__PURE__*/React.createElement("div", {
4780
4844
  className: "col-lg-6 col-md-6 col-sm-6 d-flex p-0"
@@ -4860,7 +4924,7 @@ var Ordershistory = function Ordershistory(props) {
4860
4924
  color: sectionproperties.paymenttextcolor,
4861
4925
  fontWeight: sectionproperties.paymenttextfontweight
4862
4926
  }
4863
- }, lang.cod)))))))), /*#__PURE__*/React.createElement(Modal, {
4927
+ }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar)))))))), /*#__PURE__*/React.createElement(Modal, {
4864
4928
  show: openreviewmodal,
4865
4929
  onHide: function onHide() {
4866
4930
  return setopenreviewmodal(false);
@@ -5018,11 +5082,10 @@ var Wishlist = function Wishlist(props) {
5018
5082
  fontWeight: sectionproperties.cartBtnTextfontweight,
5019
5083
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
5020
5084
  transition: '.3s',
5021
- opacity: sectionproperties.cartbtn_opacity,
5022
5085
  ':hover': {
5023
5086
  background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
5024
5087
  color: sectionproperties.cartBtnTextcoloronhover,
5025
- opacity: sectionproperties.cartbtn_opacityonhover
5088
+ borderColor: sectionproperties.cartBtnTextcoloronhover
5026
5089
  }
5027
5090
  }),
5028
5091
  trash_btn: css({
@@ -5232,7 +5295,7 @@ var Wishlist = function Wishlist(props) {
5232
5295
  }, /*#__PURE__*/React.createElement(HiOutlineTrash, {
5233
5296
  size: sectionproperties.trashbtn_Textfontsize
5234
5297
  })))), /*#__PURE__*/React.createElement("div", {
5235
- className: "col-lg-12 d-flex align-items-center justify-content-center mt-3"
5298
+ className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3"
5236
5299
  }, /*#__PURE__*/React.createElement("p", {
5237
5300
  className: "".concat(wishlist_cssstyles.productNameStyles) + ' wordbreak text-center m-0 p-0 d-flex align-items-center justify-content-center '
5238
5301
  }, langdetect == 'en' ? item.name_en : item.name_ar)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
@@ -5246,7 +5309,7 @@ var Wishlist = function Wishlist(props) {
5246
5309
  style: {
5247
5310
  fontSize: sectionproperties.cartBtnTextfontsize + 'px'
5248
5311
  }
5249
- }, lang.addtocart))));
5312
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
5250
5313
  })), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
5251
5314
  className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
5252
5315
  style: {
@@ -5483,7 +5546,7 @@ var Viewcart = function Viewcart(props) {
5483
5546
  className: "col-lg-12 p-0 d-flex justify-content-end "
5484
5547
  }, /*#__PURE__*/React.createElement("p", {
5485
5548
  className: "".concat(viewcart_cssstyles.totalstyless) + ' p-0 m-0 '
5486
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : (_fetchcustomercartQue17 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : (_fetchcustomercartQue18 = _fetchcustomercartQue17.customercart) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.totalpriceafterdiscount_noshipping, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("div", {
5549
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : (_fetchcustomercartQue17 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : (_fetchcustomercartQue18 = _fetchcustomercartQue17.customercart) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.totalpriceafterdiscount_noshipping, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
5487
5550
  className: "col-lg-12 p-0 d-flex justify-content-end "
5488
5551
  }, /*#__PURE__*/React.createElement("p", {
5489
5552
  className: 'font-13 text-light text-capitalize p-0 m-0 '
@@ -5618,13 +5681,9 @@ var Viewcart = function Viewcart(props) {
5618
5681
  }),
5619
5682
  tableimagecont: css({
5620
5683
  width: '70px',
5621
- height: '60px',
5684
+ height: sectionproperties.prodimage__borderBottomLeftRadius == 100 ? '70px' : '60px',
5622
5685
  border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
5623
5686
  backgroundColor: sectionproperties.prodimage_bgcolor,
5624
- borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
5625
- borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
5626
- borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
5627
- borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
5628
5687
  display: 'flex',
5629
5688
  alignItems: 'center',
5630
5689
  justifyContent: 'center',
@@ -5774,14 +5833,14 @@ var Viewcart = function Viewcart(props) {
5774
5833
  }
5775
5834
  }, /*#__PURE__*/React.createElement("th", {
5776
5835
  className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
5777
- }, lang.productname), /*#__PURE__*/React.createElement("th", {
5778
- className: "text-center font-weight-500 font-14 text-uppercase text-light",
5836
+ }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React.createElement("th", {
5837
+ className: "text-center font-weight-500 font-14 text-capitalize text-light",
5779
5838
  style: {
5780
5839
  minWidth: '200px'
5781
5840
  }
5782
5841
  }, lang.price), /*#__PURE__*/React.createElement("th", {
5783
5842
  className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
5784
- }, lang.quantity), /*#__PURE__*/React.createElement("th", {
5843
+ }, sectionproperties.producttype == 'Product' ? lang.quantity : langdetect == 'en' ? 'Reservation Time' : 'ميعاد الحجز'), /*#__PURE__*/React.createElement("th", {
5785
5844
  className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light",
5786
5845
  style: {
5787
5846
  minWidth: '100px'
@@ -5804,11 +5863,15 @@ var Viewcart = function Viewcart(props) {
5804
5863
  style: {
5805
5864
  width: '100%',
5806
5865
  height: '100%',
5807
- objectFit: 'contain'
5866
+ objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
5867
+ borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
5808
5868
  },
5809
5869
  loading: "lazy"
5810
5870
  })), /*#__PURE__*/React.createElement("div", {
5811
- className: "col-lg-8 col-sm-8 col-md-8"
5871
+ className: "col-lg-8 col-sm-8 col-md-8 d-flex",
5872
+ style: {
5873
+ alignItems: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'center' : 'start'
5874
+ }
5812
5875
  }, /*#__PURE__*/React.createElement("p", {
5813
5876
  className: "".concat(viewcart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start ',
5814
5877
  style: {
@@ -5858,7 +5921,7 @@ var Viewcart = function Viewcart(props) {
5858
5921
  className: "".concat(viewcart_cssstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-center '
5859
5922
  }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), /*#__PURE__*/React.createElement("td", {
5860
5923
  className: "text-center"
5861
- }, /*#__PURE__*/React.createElement("div", {
5924
+ }, sectionproperties.producttype == 'Product' && /*#__PURE__*/React.createElement("div", {
5862
5925
  className: "row m-0 w-100 d-flex align-items-center justify-content-center"
5863
5926
  }, /*#__PURE__*/React.createElement("button", {
5864
5927
  className: " ".concat(viewcart_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
@@ -5890,7 +5953,23 @@ var Viewcart = function Viewcart(props) {
5890
5953
  style: {
5891
5954
  fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
5892
5955
  }
5893
- }))))), /*#__PURE__*/React.createElement("td", {
5956
+ })))), sectionproperties.producttype == 'Service' && /*#__PURE__*/React.createElement("div", {
5957
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center flex-row text-light"
5958
+ }, /*#__PURE__*/React.createElement("i", {
5959
+ className: langdetect == 'en' ? 'text-light opacity-6 fa fa-clock mr-1 ' : ' text-light opacity-6 fa fa-clock ml-1 '
5960
+ }), /*#__PURE__*/React.createElement("div", {
5961
+ "class": "flex-column d-flex justify-content-start font_15"
5962
+ }, /*#__PURE__*/React.createElement("p", {
5963
+ "class": "m-0 p-0",
5964
+ style: {
5965
+ textAlign: langdetect == 'en' ? 'left' : 'right'
5966
+ }
5967
+ }, item.reserv_fixeddate), /*#__PURE__*/React.createElement("p", {
5968
+ "class": "m-0 p-0",
5969
+ style: {
5970
+ textAlign: langdetect == 'en' ? 'left' : 'right'
5971
+ }
5972
+ }, item.reserv_time)))), /*#__PURE__*/React.createElement("td", {
5894
5973
  className: "text-center",
5895
5974
  style: {
5896
5975
  minWidth: '100px'
@@ -5912,18 +5991,27 @@ var Viewcart = function Viewcart(props) {
5912
5991
  }
5913
5992
  }, /*#__PURE__*/React.createElement("div", {
5914
5993
  className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
5915
- }, /*#__PURE__*/React.createElement("img", {
5994
+ }, /*#__PURE__*/React.createElement("div", {
5995
+ className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
5996
+ }, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React.createElement("img", {
5916
5997
  src: shoppingcart,
5917
5998
  style: {
5918
5999
  maxWidth: '250px',
5919
6000
  maxHeight: '250px'
5920
6001
  }
6002
+ }), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React.createElement(FiCalendar, {
6003
+ style: {
6004
+ fontSize: sectionproperties.noprod_iconfontSize + 'px',
6005
+ color: sectionproperties.noprod_iconcolor
6006
+ }
5921
6007
  }), /*#__PURE__*/React.createElement("p", {
5922
- className: "m-0 p-0 wordbreak",
6008
+ "class": "m-0 p-0 mt-2",
5923
6009
  style: {
5924
- fontSize: '15px'
6010
+ fontWeight: sectionproperties.noprod_fontWeight,
6011
+ color: sectionproperties.noprod_color,
6012
+ fontSize: sectionproperties.noprod_fontSize + 'px'
5925
6013
  }
5926
- }, lang.emptyshoppingcart))))), /*#__PURE__*/React.createElement("div", {
6014
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))))), /*#__PURE__*/React.createElement("div", {
5927
6015
  className: langdetect == 'en' ? ' col-lg-3 pr-0 ' : ' col-lg-3 pl-0 '
5928
6016
  }, Summary()))))));
5929
6017
  };
@@ -8440,7 +8528,7 @@ styleInject(css_248z$C);
8440
8528
  function ownKeys$1N(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; }
8441
8529
  function _objectSpread$1N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1N(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
8442
8530
  var CartSlider = function CartSlider(props) {
8443
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24;
8531
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22;
8444
8532
  var lang = props.actions.lang;
8445
8533
  var langdetect = props.actions.langdetect;
8446
8534
  var authdetailsContext = props.actions.authdetailsContext;
@@ -8554,7 +8642,8 @@ var CartSlider = function CartSlider(props) {
8554
8642
  transition: '.3s',
8555
8643
  ':hover': {
8556
8644
  background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
8557
- color: sectionproperties.cartBtnTextcoloronhover
8645
+ color: sectionproperties.cartBtnTextcoloronhover,
8646
+ borderColor: sectionproperties.cartBtnTextcoloronhover
8558
8647
  }
8559
8648
  }),
8560
8649
  checkoutbtn: css({
@@ -8646,11 +8735,9 @@ var CartSlider = function CartSlider(props) {
8646
8735
  marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
8647
8736
  marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
8648
8737
  marginRight: sectionproperties.sectionTitleMarginRight + 'px',
8649
- textTransform: sectionproperties.sectionTitleTextTransform,
8650
8738
  fontWeight: sectionproperties.sectionTitleFontWeight
8651
- // justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
8652
8739
  }
8653
- }, langdetect == 'en' ? 'My Cart' : 'حقيبة التسوق'), /*#__PURE__*/React.createElement("div", {
8740
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), /*#__PURE__*/React.createElement("div", {
8654
8741
  className: "col-lg-12"
8655
8742
  }, /*#__PURE__*/React.createElement("hr", {
8656
8743
  className: "mt-2 mb-2"
@@ -8701,30 +8788,35 @@ var CartSlider = function CartSlider(props) {
8701
8788
  className: "col-lg-12 pt-4"
8702
8789
  }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.customercart) != null && /*#__PURE__*/React.createElement("div", {
8703
8790
  className: "row m-0 w-100"
8704
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null && /*#__PURE__*/React.createElement("div", {
8705
- className: "row m-0 w-100"
8706
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.cartitems) == 0 && /*#__PURE__*/React.createElement("div", {
8791
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.cartitems) == 0 && /*#__PURE__*/React.createElement("div", {
8792
+ className: "col-lg-12 p-0"
8793
+ }, /*#__PURE__*/React.createElement("div", {
8707
8794
  className: "row m-0 w-100 d-flex align-items-center justify-content-center",
8708
8795
  style: {
8709
8796
  height: '40vh'
8710
8797
  }
8711
8798
  }, /*#__PURE__*/React.createElement("div", {
8712
8799
  className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
8713
- }, /*#__PURE__*/React.createElement("img", {
8800
+ }, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React.createElement("img", {
8714
8801
  src: shoppingcart,
8715
8802
  style: {
8716
8803
  maxWidth: '200px',
8717
8804
  maxHeight: '200px'
8718
8805
  }
8806
+ }), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React.createElement(FiCalendar, {
8807
+ style: {
8808
+ fontSize: sectionproperties.noprod_iconfontSize + 'px',
8809
+ color: sectionproperties.noprod_iconcolor
8810
+ }
8719
8811
  }), /*#__PURE__*/React.createElement("p", {
8720
- className: "font-weight-500",
8812
+ "class": "m-0 p-0 mt-2",
8721
8813
  style: {
8722
- fontSize: '15px'
8814
+ fontWeight: sectionproperties.noprod_fontWeight,
8815
+ color: sectionproperties.noprod_color,
8816
+ fontSize: sectionproperties.noprod_fontSize + 'px'
8723
8817
  }
8724
- }, lang.emptyshoppingcart)), /*#__PURE__*/React.createElement("div", {
8725
- className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
8726
- }, /*#__PURE__*/React.createElement("button", {
8727
- className: " ".concat(cart_cssstyles.cart_btn) + ' mr-1 ml-1 d-flex align-items-center justify-content-center ',
8818
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React.createElement("button", {
8819
+ className: "".concat(cart_cssstyles.cart_btn) + ' mt-3 d-flex align-items-center justify-content-center ',
8728
8820
  onClick: function onClick() {
8729
8821
  if (fetchingtype == 'products') {
8730
8822
  if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
@@ -8736,11 +8828,7 @@ var CartSlider = function CartSlider(props) {
8736
8828
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
8737
8829
  }
8738
8830
  }
8739
- }, /*#__PURE__*/React.createElement("i", {
8740
- className: langdetect == 'en' ? 'h-100 d-flex align-items-center mr-2' : 'h-100 d-flex align-items-center ml-2'
8741
- }, /*#__PURE__*/React.createElement(FiShoppingCart, {
8742
- size: sectionproperties.cartBtn_iconFontSize
8743
- })), lang.shopnow))), fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.map(function (item, index) {
8831
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.cartitems) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.map(function (item, index) {
8744
8832
  return /*#__PURE__*/React.createElement("div", {
8745
8833
  className: "col-lg-12 mb-3 p-0"
8746
8834
  }, /*#__PURE__*/React.createElement("div", {
@@ -8770,7 +8858,7 @@ var CartSlider = function CartSlider(props) {
8770
8858
  style: {
8771
8859
  textAlign: langdetect == 'en' ? 'left' : 'right'
8772
8860
  }
8773
- }, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), /*#__PURE__*/React.createElement("div", {
8861
+ }, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("div", {
8774
8862
  className: "".concat(cart_cssstyles.productPricestyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex '
8775
8863
  }, item.quantity, " x", /*#__PURE__*/React.createElement("span", {
8776
8864
  className: 'ml-1 mr-1 wordbreak'
@@ -8791,7 +8879,7 @@ var CartSlider = function CartSlider(props) {
8791
8879
  }, /*#__PURE__*/React.createElement("hr", {
8792
8880
  className: "m-0"
8793
8881
  })));
8794
- }), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue14 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue14 === void 0 ? void 0 : (_fetchcustomercartQue15 = _fetchcustomercartQue14.data) === null || _fetchcustomercartQue15 === void 0 ? void 0 : (_fetchcustomercartQue16 = _fetchcustomercartQue15.customercart) === null || _fetchcustomercartQue16 === void 0 ? void 0 : (_fetchcustomercartQue17 = _fetchcustomercartQue16.cartitems) === null || _fetchcustomercartQue17 === void 0 ? void 0 : _fetchcustomercartQue17.length) != 0 && /*#__PURE__*/React.createElement("div", {
8882
+ }), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue13 === void 0 ? void 0 : (_fetchcustomercartQue14 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue14 === void 0 ? void 0 : (_fetchcustomercartQue15 = _fetchcustomercartQue14.cartitems) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.length) != 0 && /*#__PURE__*/React.createElement("div", {
8795
8883
  className: "col-lg-12 mb-3 p-0"
8796
8884
  }, /*#__PURE__*/React.createElement("div", {
8797
8885
  className: "row m-0 w-100"
@@ -8815,14 +8903,14 @@ var CartSlider = function CartSlider(props) {
8815
8903
  textTransform: sectionproperties.total_texttransform,
8816
8904
  color: sectionproperties.total_color
8817
8905
  }
8818
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue18 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue18 === void 0 ? void 0 : (_fetchcustomercartQue19 = _fetchcustomercartQue18.data) === null || _fetchcustomercartQue19 === void 0 ? void 0 : (_fetchcustomercartQue20 = _fetchcustomercartQue19.customercart) === null || _fetchcustomercartQue20 === void 0 ? void 0 : _fetchcustomercartQue20.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue21 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue21 === void 0 ? void 0 : (_fetchcustomercartQue22 = _fetchcustomercartQue21.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : (_fetchcustomercartQue23 = _fetchcustomercartQue22.customercart) === null || _fetchcustomercartQue23 === void 0 ? void 0 : (_fetchcustomercartQue24 = _fetchcustomercartQue23.cartitems) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.length) != 0 && /*#__PURE__*/React.createElement("div", {
8906
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : (_fetchcustomercartQue17 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : (_fetchcustomercartQue18 = _fetchcustomercartQue17.customercart) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue19 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue19 === void 0 ? void 0 : (_fetchcustomercartQue20 = _fetchcustomercartQue19.data) === null || _fetchcustomercartQue20 === void 0 ? void 0 : (_fetchcustomercartQue21 = _fetchcustomercartQue20.customercart) === null || _fetchcustomercartQue21 === void 0 ? void 0 : (_fetchcustomercartQue22 = _fetchcustomercartQue21.cartitems) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.length) != 0 && /*#__PURE__*/React.createElement("div", {
8819
8907
  className: "col-lg-12 d-flex align-items-center justify-content-center"
8820
8908
  }, /*#__PURE__*/React.createElement("button", {
8821
8909
  className: " ".concat(cart_cssstyles.cart_btn) + ' mr-1 ml-1 d-flex align-items-center justify-content-center ',
8822
8910
  onClick: function onClick() {
8823
8911
  routingcountext(StaticPagesLinksContext.viewcart);
8824
8912
  }
8825
- }, /*#__PURE__*/React.createElement("i", {
8913
+ }, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React.createElement("i", {
8826
8914
  className: langdetect == 'en' ? 'h-100 d-flex align-items-center mr-2' : 'h-100 d-flex align-items-center ml-2'
8827
8915
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
8828
8916
  className: "",
@@ -8841,7 +8929,7 @@ var CartSlider = function CartSlider(props) {
8841
8929
  size: sectionproperties.cartBtn_iconFontSize
8842
8930
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
8843
8931
  size: sectionproperties.cartBtn_iconFontSize
8844
- })), lang.viewcart), /*#__PURE__*/React.createElement("button", {
8932
+ })), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React.createElement("button", {
8845
8933
  className: " ".concat(cart_cssstyles.checkoutbtn) + ' ml-1 mr-1 ',
8846
8934
  onClick: function onClick() {
8847
8935
  // if (fetchAuthorizationQueryContext.data.data.loggedin == true) {
@@ -9024,7 +9112,7 @@ function ownKeys$1M(object, enumerableOnly) { var keys = Object.keys(object); if
9024
9112
  function _objectSpread$1M(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1M(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1M(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9025
9113
  var OrderSuccess = function OrderSuccess(props) {
9026
9114
  var _props$actions2;
9027
- var lang = props.actions.lang;
9115
+ props.actions.lang;
9028
9116
  var langdetect = props.actions.langdetect;
9029
9117
  var routingcountext = props.actions.routingcountext;
9030
9118
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
@@ -9128,7 +9216,7 @@ var OrderSuccess = function OrderSuccess(props) {
9128
9216
  onClick: function onClick() {
9129
9217
  routingcountext(StaticPagesLinksContext.Ordershistory);
9130
9218
  }
9131
- }, lang.checkyourorder)), !IsOrderSuccess && /*#__PURE__*/React.createElement("div", {
9219
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), !IsOrderSuccess && /*#__PURE__*/React.createElement("div", {
9132
9220
  className: "col-lg-12 allcentered flex-column",
9133
9221
  style: {
9134
9222
  minHeight: '50vh',
@@ -11093,12 +11181,19 @@ var Searchlist$1 = function Searchlist(props) {
11093
11181
  style: {
11094
11182
  height: '100%',
11095
11183
  width: '100%',
11096
- objectFit: 'contain'
11184
+ objectFit: 'contain',
11185
+ borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
11097
11186
  }
11098
11187
  })), /*#__PURE__*/React.createElement("div", {
11099
- "class": props.srcfromprops == 'StylishHeader' ? 'col-lg-11 col-md-11 col-sm-9 pl-1 pr-0' : 'col-lg-10 col-md-11 col-sm-9 pl-1 pr-0'
11188
+ "class": props.srcfromprops == 'StylishHeader' ? 'col-lg-11 col-md-11 col-sm-9 pl-1 pr-0 d-flex' : 'col-lg-10 col-md-11 col-sm-9 pl-1 pr-0 d-flex',
11189
+ style: {
11190
+ alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
11191
+ }
11100
11192
  }, /*#__PURE__*/React.createElement("div", {
11101
- "class": "row m-0 w-100 d-flex align-items-start"
11193
+ "class": "row m-0 w-100 d-flex",
11194
+ style: {
11195
+ alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
11196
+ }
11102
11197
  }, /*#__PURE__*/React.createElement("div", {
11103
11198
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-start"
11104
11199
  }, /*#__PURE__*/React.createElement("p", {
@@ -11922,9 +12017,9 @@ var Headerresponsive = function Headerresponsive(props) {
11922
12017
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
11923
12018
  }, /*#__PURE__*/React.createElement("p", {
11924
12019
  className: ' d-flex align-items-center m-0 p-0 '
11925
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
12020
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
11926
12021
  className: langdetect == 'en' ? 'ml-2' : 'mr-2'
11927
- }, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
12022
+ }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
11928
12023
  style: {
11929
12024
  marginBottom: 0,
11930
12025
  marginTop: 0
@@ -12017,6 +12112,8 @@ var Headerresponsive = function Headerresponsive(props) {
12017
12112
  size: sectionproperties.cartBtniconresp_size
12018
12113
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
12019
12114
  size: sectionproperties.cartBtniconresp_size
12115
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
12116
+ size: sectionproperties.cartBtniconresp_size
12020
12117
  }))), /*#__PURE__*/React.createElement("div", {
12021
12118
  className: "".concat(header_cssstyles.badge_counter_header_notifications),
12022
12119
  style: {
@@ -12044,8 +12141,10 @@ var Headerresponsive = function Headerresponsive(props) {
12044
12141
  }, /*#__PURE__*/React.createElement(RiSearchLine, {
12045
12142
  size: 15
12046
12143
  }))), /*#__PURE__*/React.createElement("input", {
12047
- type: "text",
12048
- placeholder: langdetect == 'en' ? 'What are you looking for?' : 'بحث...',
12144
+ type: "text"
12145
+ // placeholder={langdetect == 'en' ? 'What are you looking for?' : 'بحث...'}
12146
+ ,
12147
+ placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
12049
12148
  className: "".concat(header_cssstyles.searchbarcont_input),
12050
12149
  onChange: function onChange(event) {
12051
12150
  setSearchHeaderInputContext(event.target.value);
@@ -15176,12 +15275,7 @@ var CTAHeader = function CTAHeader(props) {
15176
15275
  style: {
15177
15276
  color: '#8fa0bd'
15178
15277
  }
15179
- }, lang.hello, ","), /*#__PURE__*/React.createElement("span", {
15180
- "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem font-weight-600 text-overflow text-capitalize p-0 ml-1 mr-1 ',
15181
- onClick: function onClick() {
15182
- routingcountext(StaticPagesLinksContext.accountinfo);
15183
- }
15184
- }, authdetailsContext.customerinfo.name))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
15278
+ }, lang.hello, ","))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
15185
15279
  onClick: function onClick() {
15186
15280
  routingcountext(StaticPagesLinksContext.Ordershistory);
15187
15281
  }
@@ -15189,9 +15283,9 @@ var CTAHeader = function CTAHeader(props) {
15189
15283
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
15190
15284
  }, /*#__PURE__*/React.createElement("p", {
15191
15285
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
15192
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
15286
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
15193
15287
  "class": "ml-2 mr-2"
15194
- }, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
15288
+ }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
15195
15289
  onClick: function onClick() {
15196
15290
  routingcountext(StaticPagesLinksContext.Wishlist);
15197
15291
  }
@@ -15261,6 +15355,8 @@ var CTAHeader = function CTAHeader(props) {
15261
15355
  size: sectionproperties.cartBtn_iconFontSize
15262
15356
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
15263
15357
  size: sectionproperties.cartBtn_iconFontSize
15358
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
15359
+ size: sectionproperties.cartBtn_iconFontSize
15264
15360
  })))), /*#__PURE__*/React.createElement("div", {
15265
15361
  "class": "col-lg-12 p-0 allcentered",
15266
15362
  style: {
@@ -15828,7 +15924,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
15828
15924
  window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink, '_blank');
15829
15925
  }
15830
15926
  },
15831
- size: sectionproperties.instgrambtniconfontsize
15927
+ size: sectionproperties.facebkbtnniconfontsize
15832
15928
  }), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement(AiOutlineInstagram, {
15833
15929
  "class": header_cssstyles.instagrambtn + ' cursor-pointer ml-3 mr-3 ',
15834
15930
  onClick: function onClick() {
@@ -19552,6 +19648,7 @@ var Modernheader = function Modernheader(props) {
19552
19648
  searchbarcont: css({
19553
19649
  position: 'relative',
19554
19650
  width: sectionproperties.searchbarcont_width + '%',
19651
+ height: sectionproperties.searchbarcont_height + 'px',
19555
19652
  border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
19556
19653
  background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
19557
19654
  borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
@@ -19584,6 +19681,7 @@ var Modernheader = function Modernheader(props) {
19584
19681
  borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_borderBottomcolor,
19585
19682
  paddingLeft: langdetect == 'en' ? sectionproperties.searchbarcont_paddingLeft + 'px' : sectionproperties.searchbarcont_paddingRight + 'px',
19586
19683
  paddingRight: langdetect == 'en' ? sectionproperties.searchbarcont_paddingRight + 'px' : sectionproperties.searchbarcont_paddingLeft + 'px',
19684
+ paddingBottom: sectionproperties.searchbarcont_paddingBottom + 'rem',
19587
19685
  outline: 'none',
19588
19686
  transition: '0.3s',
19589
19687
  ':focus': {
@@ -19641,8 +19739,8 @@ var Modernheader = function Modernheader(props) {
19641
19739
  "class": header_cssstyles.searchbarcont
19642
19740
  }, /*#__PURE__*/React.createElement("input", {
19643
19741
  type: "text",
19644
- placeholder: lang.searchproducts,
19645
- "class": "".concat(header_cssstyles.searchbarcont_input) + ' pb-1 ',
19742
+ placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
19743
+ "class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
19646
19744
  onChange: function onChange(event) {
19647
19745
  setSearchHeaderInputContext(event.target.value);
19648
19746
  }
@@ -19765,9 +19863,11 @@ var Modernheader = function Modernheader(props) {
19765
19863
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
19766
19864
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
19767
19865
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
19866
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
19867
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
19768
19868
  })), /*#__PURE__*/React.createElement("p", {
19769
19869
  "class": ' allcenetered m-0 p-0 '
19770
- }, lang.orderhistory))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
19870
+ }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
19771
19871
  onClick: function onClick() {
19772
19872
  routingcountext(StaticPagesLinksContext.Wishlist);
19773
19873
  }
@@ -19868,6 +19968,8 @@ var Modernheader = function Modernheader(props) {
19868
19968
  size: sectionproperties.cartBtn_iconFontSize
19869
19969
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
19870
19970
  size: sectionproperties.cartBtn_iconFontSize
19971
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
19972
+ size: sectionproperties.cartBtn_iconFontSize
19871
19973
  })), /*#__PURE__*/React.createElement("div", {
19872
19974
  className: "".concat(headerstyles$7.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
19873
19975
  style: {
@@ -23368,6 +23470,10 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
23368
23470
  }
23369
23471
  }
23370
23472
  }, [sectionproperties]);
23473
+ var _useState7 = useState(false),
23474
+ _useState8 = _slicedToArray(_useState7, 2);
23475
+ _useState8[0];
23476
+ _useState8[1];
23371
23477
  var header_cssstyles = {
23372
23478
  headercontainer: css({
23373
23479
  position: sectionproperties.headerstyles_position,
@@ -23618,7 +23724,16 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
23618
23724
  lineHeight: sectionproperties.greetingtextfontsize + 'px',
23619
23725
  fontWeight: 400
23620
23726
  })
23727
+ // searchicon: css({
23728
+ // color: sectionproperties.searchbaricon_color,
23729
+ // cursor: 'pointer',
23730
+ // transition: '.3s',
23731
+ // ':hover': {
23732
+ // color: sectionproperties.searchbariconcoloronhover,
23733
+ // },
23734
+ // }),
23621
23735
  };
23736
+
23622
23737
  return /*#__PURE__*/React.createElement("div", {
23623
23738
  "class": "row ml-0 mr-0 w-100 d-flex align-items-center justify-content-center ",
23624
23739
  style: {
@@ -23632,7 +23747,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
23632
23747
  }, /*#__PURE__*/React.createElement("div", {
23633
23748
  "class": ' col-lg-12 d-flex align-items-center p-0 '
23634
23749
  }, /*#__PURE__*/React.createElement("div", {
23635
- "class": header_cssstyles.upperheadersection + ' w-100 plr-1025-0 '
23750
+ "class": header_cssstyles.upperheadersection + ' w-100 plr-1025-1 '
23636
23751
  }, /*#__PURE__*/React.createElement("div", {
23637
23752
  "class": "row m-0 w-100"
23638
23753
  }, /*#__PURE__*/React.createElement("div", {
@@ -23756,7 +23871,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
23756
23871
  })), /*#__PURE__*/React.createElement("div", {
23757
23872
  "class": "col-lg-12 p-0"
23758
23873
  }, /*#__PURE__*/React.createElement("div", {
23759
- "class": " ".concat(header_cssstyles.lowerSection) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
23874
+ "class": " ".concat(header_cssstyles.lowerSection) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 plr-1025-1 '
23760
23875
  }, /*#__PURE__*/React.createElement("div", {
23761
23876
  "class": "col-lg-2 p-0 justify-content-start"
23762
23877
  }, /*#__PURE__*/React.createElement("div", {
@@ -23894,7 +24009,9 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
23894
24009
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
23895
24010
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
23896
24011
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
23897
- }), lang.orderhistory))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
24012
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
24013
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
24014
+ }), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
23898
24015
  onClick: function onClick() {
23899
24016
  routingcountext(StaticPagesLinksContext.Wishlist);
23900
24017
  }
@@ -23973,6 +24090,8 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
23973
24090
  size: sectionproperties.cartBtn_iconFontSize
23974
24091
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
23975
24092
  size: sectionproperties.cartBtn_iconFontSize
24093
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
24094
+ size: sectionproperties.cartBtn_iconFontSize
23976
24095
  }))))), /*#__PURE__*/React.createElement("div", {
23977
24096
  "class": "col-lg-12 p-0"
23978
24097
  }, sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement(Subheader, {
@@ -26050,9 +26169,9 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
26050
26169
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
26051
26170
  }, /*#__PURE__*/React.createElement("p", {
26052
26171
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
26053
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
26172
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
26054
26173
  "class": "ml-2 mr-2"
26055
- }, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
26174
+ }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
26056
26175
  style: {
26057
26176
  marginBottom: 0,
26058
26177
  marginTop: 0
@@ -26291,6 +26410,8 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
26291
26410
  size: sectionproperties.cartBtn_iconFontSize
26292
26411
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
26293
26412
  size: sectionproperties.cartBtn_iconFontSize
26413
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
26414
+ size: sectionproperties.cartBtn_iconFontSize
26294
26415
  }))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement("div", {
26295
26416
  "class": "row m-0 w-100 justify-content-center align-items-center",
26296
26417
  style: {
@@ -26681,14 +26802,11 @@ var Allinonefooter = function Allinonefooter(props) {
26681
26802
  }, /*#__PURE__*/React.createElement("div", {
26682
26803
  "class": "col-lg-12 p-0 mb-2"
26683
26804
  }, /*#__PURE__*/React.createElement("p", {
26684
- "class": "m-0 p-0",
26805
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 wordbreak ',
26685
26806
  style: {
26686
- fontSize: sectionproperties.generaltext_fontSize + 'px',
26687
- fontWeight: sectionproperties.generaltext_fontWeight,
26688
- color: sectionproperties.generaltext_fontColor,
26689
26807
  textAlign: langdetect == 'en' ? 'left' : 'right'
26690
26808
  }
26691
- }, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), /*#__PURE__*/React.createElement("div", {
26809
+ }, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), /*#__PURE__*/React.createElement("div", {
26692
26810
  "class": langdetect == 'en' ? 'col-lg-6 col-md-4 col-sm-6 p-0 pr-2' : 'col-lg-6 col-md-4 col-sm-6 p-0 pl-2'
26693
26811
  }, /*#__PURE__*/React.createElement("img", {
26694
26812
  "class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
@@ -26713,7 +26831,7 @@ var Allinonefooter = function Allinonefooter(props) {
26713
26831
  style: {
26714
26832
  textAlign: langdetect == 'en' ? 'left' : 'right'
26715
26833
  }
26716
- }, langdetect == 'en' ? 'Social Media' : 'تواصل معنا')), /*#__PURE__*/React.createElement("div", {
26834
+ }, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), /*#__PURE__*/React.createElement("div", {
26717
26835
  "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
26718
26836
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
26719
26837
  "class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
@@ -36850,7 +36968,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
36850
36968
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
36851
36969
  }
36852
36970
  }, /*#__PURE__*/React.createElement("div", {
36853
- "class": sectionproperties.width == 100 ? 'row m-0 w-md-100' : 'row m-0 w-md-95',
36971
+ "class": sectionproperties.width == 100 ? 'row m-0 w-md-100 px-1025-1 pl-md-2 pr-md-2' : 'row m-0 w-md-95 px-1025-1 pl-md-2 pr-md-2',
36854
36972
  style: {
36855
36973
  width: sectionproperties.width + 'vw',
36856
36974
  position: 'relative',
@@ -36888,10 +37006,10 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
36888
37006
  style: {
36889
37007
  zIndex: 1
36890
37008
  }
36891
- }, /*#__PURE__*/React.createElement("div", {
37009
+ }, sectionproperties.cardsdirection == 'Vertical' && /*#__PURE__*/React.createElement("div", {
36892
37010
  "class": "row m-0 w-100"
36893
37011
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
36894
- "class": "col-lg-12 p-0 d-flex align-items-center",
37012
+ "class": 'col-lg-12 p-0 d-flex align-items-center',
36895
37013
  style: {
36896
37014
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
36897
37015
  }
@@ -36912,7 +37030,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
36912
37030
  textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
36913
37031
  }
36914
37032
  }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
36915
- "class": "col-lg-12 p-0 d-flex align-items-center",
37033
+ "class": 'col-lg-12 p-0 d-flex align-items-center',
36916
37034
  style: {
36917
37035
  justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
36918
37036
  }
@@ -36933,7 +37051,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
36933
37051
  textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
36934
37052
  }
36935
37053
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))), /*#__PURE__*/React.createElement("div", {
36936
- "class": "col-lg-12 p-0 d-flex align-items-center",
37054
+ "class": 'col-lg-12 p-0 d-flex align-items-center mt-md-3',
36937
37055
  style: {
36938
37056
  justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
36939
37057
  }
@@ -36950,6 +37068,72 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
36950
37068
  window.open(sectionproperties.btnlink, '_blank');
36951
37069
  }
36952
37070
  }
37071
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.cardsdirection == 'Horizontal' && /*#__PURE__*/React.createElement("div", {
37072
+ "class": "row m-0 w-100 d-flex align-items-center"
37073
+ }, /*#__PURE__*/React.createElement("div", {
37074
+ "class": "col-lg-9 col-md-12 p-0"
37075
+ }, /*#__PURE__*/React.createElement("div", {
37076
+ "class": "row m-0 w-100"
37077
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
37078
+ "class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
37079
+ style: {
37080
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
37081
+ }
37082
+ }, /*#__PURE__*/React.createElement("div", {
37083
+ "class": sectionstyles.sectionTitleStyles + ' p-0 d-flex d-sm-none '
37084
+ }, /*#__PURE__*/React.createElement("p", {
37085
+ "class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
37086
+ style: {
37087
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
37088
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
37089
+ }
37090
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
37091
+ "class": sectionstyles.sectionTitleStyles + ' p-0 d-none d-sm-flex '
37092
+ }, /*#__PURE__*/React.createElement("p", {
37093
+ "class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
37094
+ style: {
37095
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
37096
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
37097
+ }
37098
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
37099
+ "class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
37100
+ style: {
37101
+ justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
37102
+ }
37103
+ }, /*#__PURE__*/React.createElement("div", {
37104
+ "class": sectionstyles.descriptionStyles + ' p-0 d-flex d-sm-none '
37105
+ }, /*#__PURE__*/React.createElement("p", {
37106
+ "class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
37107
+ style: {
37108
+ fontSize: sectionproperties.prodCatFontSize + 'px',
37109
+ textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
37110
+ }
37111
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
37112
+ "class": sectionstyles.descriptionStyles + ' p-0 d-none d-sm-flex '
37113
+ }, /*#__PURE__*/React.createElement("p", {
37114
+ "class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
37115
+ style: {
37116
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
37117
+ textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
37118
+ }
37119
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))))), /*#__PURE__*/React.createElement("div", {
37120
+ "class": 'col-lg-3 col-md-12 p-0 d-flex align-items-center mt-md-3 justify-content-md-center',
37121
+ style: {
37122
+ justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
37123
+ }
37124
+ }, /*#__PURE__*/React.createElement("button", {
37125
+ "class": sectionstyles.btnStyles,
37126
+ onClick: function onClick() {
37127
+ if (sectionproperties.btntype == 'WhatsApp') {
37128
+ var _authdetailsContext$i3;
37129
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber) != null) {
37130
+ var _authdetailsContext$i4;
37131
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber), '_blank');
37132
+ }
37133
+ } else {
37134
+ window.open(sectionproperties.btnlink, '_blank');
37135
+ }
37136
+ }
36953
37137
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
36954
37138
  };
36955
37139
 
@@ -37150,7 +37334,7 @@ var AboutSection = function AboutSection(props) {
37150
37334
  }
37151
37335
  })), cardsarray.map(function (cardinfoitem, cardinfoindex) {
37152
37336
  return /*#__PURE__*/React.createElement("div", {
37153
- "class": sectionproperties.numberOfColsvertical == '6' ? 'col-lg-2 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '1' ? 'col-lg-12 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '2' ? 'col-lg-6 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '3' ? 'col-lg-4 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '4' ? 'col-lg-3 col-md-6 col-sm-12 d-flex mb-3' : 'col-lg-6 col-md-6 col-sm-12 d-flex mb-3'
37337
+ "class": sectionproperties.numberOfColsvertical == '6' ? 'col-lg-2 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '1' ? 'col-lg-12 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '2' ? 'col-lg-6 col-md-6 col-sm-12 d-flex mb-4' : sectionproperties.numberOfColsvertical == '3' ? 'col-lg-4 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '4' ? 'col-lg-3 col-md-6 col-sm-12 d-flex mb-3' : 'col-lg-6 col-md-6 col-sm-12 d-flex mb-3'
37154
37338
  }, /*#__PURE__*/React.createElement("div", {
37155
37339
  "class": sectionproperties.cardsdirection == 'Horizontal' ? 'row m-0 w-100 d-flex flex-column' : 'row m-0 w-100 d-flex flex-row allcentered'
37156
37340
  }, cardsarray[cardinfoindex].cardobj_img == null && /*#__PURE__*/React.createElement("p", {
@@ -37161,10 +37345,12 @@ var AboutSection = function AboutSection(props) {
37161
37345
  whiteSpace: 'nowrap'
37162
37346
  }
37163
37347
  }, "0", cardinfoindex + 1), cardsarray[cardinfoindex].cardobj_img != '' && cardsarray[cardinfoindex].cardobj_img != null && /*#__PURE__*/React.createElement("div", {
37164
- "class": sectionproperties.cardsdirection == 'Horizontal' ? 'p-0 m-0' : 'p-0 m-0 mb-5',
37348
+ "class": sectionproperties.cardsdirection == 'Horizontal' ? 'p-0 m-0 allcentered' : 'p-0 m-0 mb-2 allcentered',
37165
37349
  style: {
37166
37350
  width: sectionproperties.iconcontainerwidth + 'vh',
37167
- height: sectionproperties.iconcontainerheight + 'vh'
37351
+ height: sectionproperties.iconcontainerheight + 'vh',
37352
+ background: sectionproperties.iconcontainerbg,
37353
+ borderRadius: sectionproperties.iconcontainerborderbl + 'px'
37168
37354
  }
37169
37355
  }, /*#__PURE__*/React.createElement(IKImage, {
37170
37356
  "class": "h-sm-auto",
@@ -37172,8 +37358,8 @@ var AboutSection = function AboutSection(props) {
37172
37358
  publicKey: IKpublicKey,
37173
37359
  path: cardsarray[cardinfoindex].cardobj_img,
37174
37360
  style: {
37175
- width: '100%',
37176
- height: '100%',
37361
+ width: sectionproperties.icontextfontsize + '%',
37362
+ height: sectionproperties.icontextfontsize + '%',
37177
37363
  objectFit: 'contain'
37178
37364
  }
37179
37365
  })), /*#__PURE__*/React.createElement("div", {
@@ -38571,7 +38757,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
38571
38757
  }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
38572
38758
  "class": sectionStyles.line_right
38573
38759
  })))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
38574
- "class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 d-md-none ',
38760
+ "class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 ',
38575
38761
  style: {
38576
38762
  justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
38577
38763
  marginBottom: sectionproperties.descriptionMarginBottom + 'px',
@@ -38611,7 +38797,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
38611
38797
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
38612
38798
  }
38613
38799
  }, /*#__PURE__*/React.createElement("div", {
38614
- "class": "d-flex align-items-center",
38800
+ "class": 'd-flex align-items-center',
38615
38801
  style: {
38616
38802
  width: sectionproperties.image_width + 'px',
38617
38803
  height: sectionproperties.image_height + 'px',
@@ -38620,15 +38806,15 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
38620
38806
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
38621
38807
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
38622
38808
  background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
38623
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
38809
+ justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center'
38624
38810
  }
38625
38811
  }, /*#__PURE__*/React.createElement(IKImage, {
38626
38812
  urlEndpoint: IKurlEndpoint,
38627
38813
  publicKey: IKpublicKey,
38628
38814
  path: cardsarray.length != 0 ? cardsarray[cardinfoindex].cardobj_img : '',
38629
38815
  style: {
38630
- maxHeight: '100%',
38631
- maxWidth: '100%',
38816
+ maxHeight: sectionproperties.iconcontainerwidth + '%',
38817
+ maxWidth: sectionproperties.iconcontainerwidth + '%',
38632
38818
  objectFit: 'contain'
38633
38819
  }
38634
38820
  }))), /*#__PURE__*/React.createElement("div", {
@@ -41746,6 +41932,110 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
41746
41932
  }
41747
41933
  })
41748
41934
  };
41935
+ var Buttons = function Buttons() {
41936
+ return /*#__PURE__*/React.createElement("div", {
41937
+ "class": "w-100 allcentered"
41938
+ }, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
41939
+ "class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.button_styles) + ' ml-2 mr-2 ' : "".concat(card_cssstyles.button_styles) + ' ',
41940
+ onClick: function onClick(e) {
41941
+ e.stopPropagation();
41942
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
41943
+ }
41944
+ }, /*#__PURE__*/React.createElement("i", {
41945
+ "class": "h-100 d-flex align-items-center justify-content-center"
41946
+ }, /*#__PURE__*/React.createElement(FaRegEye, {
41947
+ size: sectionproperties.generalbtn_fontsize
41948
+ }))), sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
41949
+ "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
41950
+ onClick: function onClick(e) {
41951
+ e.stopPropagation();
41952
+ setShowProductInfoModalContext(true);
41953
+ setProductIdProdutInfoModalContext(item.productid);
41954
+ }
41955
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("div", null, sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React.createElement("button", {
41956
+ "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
41957
+ onClick: function onClick(e) {
41958
+ e.stopPropagation();
41959
+ setshowquantity(true);
41960
+ }
41961
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), showquantity == true && /*#__PURE__*/React.createElement("div", {
41962
+ "class": "".concat(card_cssstyles.quantitybtn) + ' w-sm-100px p-0 d-flex align-items-center justify-content-center ml-2 mr-2 ml-sm-1 mr-sm-1 ',
41963
+ style: {
41964
+ direction: 'ltr'
41965
+ }
41966
+ }, /*#__PURE__*/React.createElement("button", {
41967
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
41968
+ onClick: function onClick(e) {
41969
+ e.stopPropagation();
41970
+ if (item.hasvariants == 0) {
41971
+ var tempitem = _objectSpread$C({}, item);
41972
+ tempitem.quantity = parseInt(tempitem.quantity);
41973
+ tempitem.quantity = tempitem.quantity - 1;
41974
+ if (tempitem.quantity <= 0) {
41975
+ tempitem.quantity = 0;
41976
+ }
41977
+ setitem(_objectSpread$C({}, tempitem));
41978
+ addtocartfunc('add', tempitem.quantity);
41979
+ } else {
41980
+ setShowProductInfoModalContext(true);
41981
+ setProductIdProdutInfoModalContext(item.productid);
41982
+ }
41983
+ },
41984
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
41985
+ }, /*#__PURE__*/React.createElement("i", {
41986
+ "class": "h-100 allcentered minusbtn"
41987
+ }, /*#__PURE__*/React.createElement(FiMinus, null))), /*#__PURE__*/React.createElement("span", {
41988
+ "class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
41989
+ }, addtocartbuttonrender()), /*#__PURE__*/React.createElement("button", {
41990
+ "class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
41991
+ onClick: function onClick(e) {
41992
+ e.stopPropagation();
41993
+ if (item.hasvariants == 0) {
41994
+ var tempitem = _objectSpread$C({}, item);
41995
+ tempitem.quantity = parseInt(tempitem.quantity);
41996
+ tempitem.quantity = tempitem.quantity + 1;
41997
+ if (tempitem.quantity <= 0) {
41998
+ tempitem.quantity = 0;
41999
+ }
42000
+ setitem(_objectSpread$C({}, tempitem));
42001
+ addtocartfunc('add', tempitem.quantity);
42002
+ } else {
42003
+ setShowProductInfoModalContext(true);
42004
+ setProductIdProdutInfoModalContext(item.productid);
42005
+ }
42006
+ },
42007
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
42008
+ }, /*#__PURE__*/React.createElement("i", {
42009
+ "class": "h-100 allcentered addbtn"
42010
+ }, /*#__PURE__*/React.createElement(FiPlus, null))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
42011
+ "class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.wishlist_btn) + ' ml-2 mr-2 ' : "".concat(card_cssstyles.wishlist_btn) + ' ',
42012
+ onClick: function onClick(e) {
42013
+ e.stopPropagation();
42014
+ addtofavoritescontext(item.productid);
42015
+ },
42016
+ style: {
42017
+ background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.activebgcolor : ''
42018
+ }
42019
+ }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
42020
+ "class": "h-100 d-flex align-items-center justify-content-center"
42021
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
42022
+ size: sectionproperties.favBtnIconfontsize,
42023
+ style: {
42024
+ color: sectionproperties.activefaviconcolor
42025
+ }
42026
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
42027
+ size: sectionproperties.favBtnIconfontsize,
42028
+ style: {
42029
+ color: sectionproperties.activefaviconcolor
42030
+ }
42031
+ })), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
42032
+ "class": "h-100 d-flex align-items-center justify-content-center"
42033
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
42034
+ size: sectionproperties.favBtnIconfontsize
42035
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
42036
+ size: sectionproperties.favBtnIconfontsize
42037
+ }))));
42038
+ };
41749
42039
  return /*#__PURE__*/React.createElement("div", {
41750
42040
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard2) + ' w-100 ' : " ".concat(card_cssstyles.productcard, " ").concat(generalCardsStyles.productcard),
41751
42041
  style: {
@@ -41835,104 +42125,10 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
41835
42125
  fontSize: sectionproperties.badge_fontsize + 'px'
41836
42126
  }
41837
42127
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), /*#__PURE__*/React.createElement("div", {
41838
- "class": sectionproperties.transition == 'Show By Default' ? "".concat(card_cssstyles.floating_content_show) + ' row m-0 align-items-center justify-content-center ' : "".concat(card_cssstyles.floating_content) + ' row m-0 align-items-center justify-content-center floating_content '
41839
- }, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
41840
- "class": "".concat(card_cssstyles.button_styles) + '',
41841
- onClick: function onClick(e) {
41842
- e.stopPropagation();
41843
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
41844
- }
41845
- }, /*#__PURE__*/React.createElement("i", {
41846
- "class": "h-100 d-flex align-items-center justify-content-center"
41847
- }, /*#__PURE__*/React.createElement(FaRegEye, {
41848
- size: sectionproperties.generalbtn_fontsize
41849
- }))), sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
41850
- "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
41851
- onClick: function onClick(e) {
41852
- e.stopPropagation();
41853
- setShowProductInfoModalContext(true);
41854
- setProductIdProdutInfoModalContext(item.productid);
41855
- }
41856
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("div", null, sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React.createElement("button", {
41857
- "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
41858
- onClick: function onClick(e) {
41859
- e.stopPropagation();
41860
- setshowquantity(true);
41861
- }
41862
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), showquantity == true && /*#__PURE__*/React.createElement("div", {
41863
- "class": "".concat(card_cssstyles.quantitybtn) + ' w-sm-100px p-0 d-flex align-items-center justify-content-center ml-2 mr-2 ml-sm-1 mr-sm-1 ',
41864
- style: {
41865
- direction: 'ltr'
41866
- }
41867
- }, /*#__PURE__*/React.createElement("button", {
41868
- "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
41869
- onClick: function onClick(e) {
41870
- e.stopPropagation();
41871
- if (item.hasvariants == 0) {
41872
- var tempitem = _objectSpread$C({}, item);
41873
- tempitem.quantity = parseInt(tempitem.quantity);
41874
- tempitem.quantity = tempitem.quantity - 1;
41875
- if (tempitem.quantity <= 0) {
41876
- tempitem.quantity = 0;
41877
- }
41878
- setitem(_objectSpread$C({}, tempitem));
41879
- addtocartfunc('add', tempitem.quantity);
41880
- } else {
41881
- setShowProductInfoModalContext(true);
41882
- setProductIdProdutInfoModalContext(item.productid);
41883
- }
41884
- },
41885
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
41886
- }, /*#__PURE__*/React.createElement("i", {
41887
- "class": "h-100 allcentered minusbtn"
41888
- }, /*#__PURE__*/React.createElement(FiMinus, null))), /*#__PURE__*/React.createElement("span", {
41889
- "class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
41890
- }, addtocartbuttonrender()), /*#__PURE__*/React.createElement("button", {
41891
- "class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
41892
- onClick: function onClick(e) {
41893
- e.stopPropagation();
41894
- if (item.hasvariants == 0) {
41895
- var tempitem = _objectSpread$C({}, item);
41896
- tempitem.quantity = parseInt(tempitem.quantity);
41897
- tempitem.quantity = tempitem.quantity + 1;
41898
- if (tempitem.quantity <= 0) {
41899
- tempitem.quantity = 0;
41900
- }
41901
- setitem(_objectSpread$C({}, tempitem));
41902
- addtocartfunc('add', tempitem.quantity);
41903
- } else {
41904
- setShowProductInfoModalContext(true);
41905
- setProductIdProdutInfoModalContext(item.productid);
41906
- }
41907
- },
41908
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
41909
- }, /*#__PURE__*/React.createElement("i", {
41910
- "class": "h-100 allcentered addbtn"
41911
- }, /*#__PURE__*/React.createElement(FiPlus, null))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
41912
- "class": " ".concat(card_cssstyles.wishlist_btn) + '',
41913
- onClick: function onClick(e) {
41914
- e.stopPropagation();
41915
- addtofavoritescontext(item.productid);
41916
- }
41917
- }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
41918
- "class": "h-100 d-flex align-items-center justify-content-center"
41919
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
41920
- size: sectionproperties.favBtnIconfontsize,
41921
- style: {
41922
- color: sectionproperties.activefaviconcolor
41923
- }
41924
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
41925
- size: sectionproperties.favBtnIconfontsize,
41926
- style: {
41927
- color: sectionproperties.activefaviconcolor
41928
- }
41929
- })), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
41930
- "class": "h-100 d-flex align-items-center justify-content-center"
41931
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
41932
- size: sectionproperties.favBtnIconfontsize
41933
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
41934
- size: sectionproperties.favBtnIconfontsize
41935
- }))))), /*#__PURE__*/React.createElement("div", {
42128
+ "class": sectionproperties.transition == 'Show By Default' ? "".concat(card_cssstyles.floating_content_show) + ' row m-0 align-items-center justify-content-center d-flex d-md-none ' : "".concat(card_cssstyles.floating_content) + ' row m-0 align-items-center justify-content-center floating_content d-flex d-md-none '
42129
+ }, Buttons()), /*#__PURE__*/React.createElement("div", {
42130
+ "class": "".concat(card_cssstyles.floating_content_show) + ' row m-0 align-items-center justify-content-center d-none d-md-flex '
42131
+ }, Buttons())), /*#__PURE__*/React.createElement("div", {
41936
42132
  "class": "col-lg-12",
41937
42133
  style: {
41938
42134
  paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
@@ -44402,7 +44598,11 @@ var Card23 = function Card23(props) {
44402
44598
  style: {
44403
44599
  width: '100%',
44404
44600
  height: '100%',
44405
- objectFit: 'contain'
44601
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
44602
+ borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
44603
+ borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
44604
+ borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
44605
+ borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
44406
44606
  },
44407
44607
  loading: "lazy",
44408
44608
  onClick: function onClick() {
@@ -46642,7 +46842,7 @@ var Categorycard_withtext = function Categorycard_withtext(props) {
46642
46842
  }, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar))))));
46643
46843
  };
46644
46844
 
46645
- var css_248z$6 = ".categorycard-module_img__3WuXu{\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: all .4s ease;\n overflow: hidden !important;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_img__3WuXu{\n transform: scale(1.2);\n overflow: hidden;\n}\n.categorycard-module_buttons_container__tZolu {\n position: absolute;\n left: 0;\n bottom: 20px;\n opacity: 0;\n width: 100%;\n text-align: start;\n transition: all, 0.3s;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n}\n.categorycard-module_buttons_container__tZolu li {\n list-style: none;\n display: inline-block;\n position: relative;\n transition: all 0.4s ease 0.1s;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n}\n.categorycard-module_buttons_container__tZolu li span {\n display: block;\n transition: all, 0.3s;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_buttons_container__tZolu {\n bottom: 40px !important;\n opacity: 1;\n}\n.categorycard-module_text__lXtJq {\n position: absolute;\n bottom: 60px;\n opacity: 1;\n width: 100%;\n text-align: start;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n transition: all, 0.3s;\n}\n.categorycard-module_text__lXtJq li {\n list-style: none;\n display: inline-block;\n position: relative;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n.categorycard-module_text__lXtJq li span {\n display: block;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n transition: all, 0.3s;\n}\n.categorycard-module_text__lXtJq li span i {\n position: relative;\n transform: rotate(0);\n -webkit-transition: all, 0.2s;\n -moz-transition: all, 0.2s;\n -ms-transition: all, 0.2s;\n -o-transition: all, 0.2s;\n transition: all, 0.2s;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_text__lXtJq {\n bottom: 80px !important;\n opacity: 1;\n}\n";
46845
+ var css_248z$6 = ".categorycard-module_img__3WuXu{\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: all .4s ease;\n overflow: hidden !important;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_img__3WuXu{\n transform: scale(1.2);\n overflow: hidden;\n}\n.categorycard-module_buttons_container__tZolu {\n position: absolute;\n left: 0;\n bottom: 20px;\n opacity: 0;\n width: 100%;\n text-align: start;\n transition: all, 0.3s;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n}\n.categorycard-module_buttons_container__tZolu li {\n list-style: none;\n display: inline-block;\n position: relative;\n transition: all 0.4s ease 0.1s;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n}\n.categorycard-module_buttons_container__tZolu li span {\n display: block;\n transition: all, 0.3s;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_buttons_container__tZolu {\n bottom: 40px !important;\n opacity: 1;\n}\n.categorycard-module_text__lXtJq {\n position: absolute;\n opacity: 1;\n width: 100%;\n text-align: start;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n transition: all, 0.3s;\n}\n.categorycard-module_text__lXtJq li {\n list-style: none;\n display: inline-block;\n position: relative;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n.categorycard-module_text__lXtJq li span {\n display: block;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n transition: all, 0.3s;\n}\n.categorycard-module_text__lXtJq li span i {\n position: relative;\n transform: rotate(0);\n -webkit-transition: all, 0.2s;\n -moz-transition: all, 0.2s;\n -ms-transition: all, 0.2s;\n -o-transition: all, 0.2s;\n transition: all, 0.2s;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_text__lXtJq {\n /* bottom: 80px !important; */\n opacity: 1;\n}\n";
46646
46846
  var cardstyles$1 = {"img":"categorycard-module_img__3WuXu","container":"categorycard-module_container__pJHqx","buttons_container":"categorycard-module_buttons_container__tZolu","text":"categorycard-module_text__lXtJq"};
46647
46847
  styleInject(css_248z$6);
46648
46848
 
@@ -46671,23 +46871,15 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
46671
46871
  _useState6[0];
46672
46872
  _useState6[1];
46673
46873
  useEffect(function () {
46674
- if (props.srcfrom == 'addsectionform') {
46675
- var secpropobj = {};
46676
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
46677
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
46678
- });
46679
- setsectionproperties(_objectSpread$k({}, secpropobj));
46680
- } else {
46681
- var secpropobj = {};
46682
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
46683
- if (sectionitem.sectionid == props.sectionidprops) {
46684
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
46685
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
46686
- });
46687
- }
46688
- });
46689
- setsectionproperties(_objectSpread$k({}, secpropobj));
46690
- }
46874
+ var secpropobj = {};
46875
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
46876
+ if (sectionitem.sectionid == props.sectionidprops) {
46877
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
46878
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
46879
+ });
46880
+ }
46881
+ });
46882
+ setsectionproperties(_objectSpread$k({}, secpropobj));
46691
46883
  }, [StatePagePropertiesContext]);
46692
46884
  useEffect(function () {
46693
46885
  setitem(props.cardinfoitemprops);
@@ -46733,6 +46925,9 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
46733
46925
  opacity: sectionproperties.cardtransitionbgopacityonhover
46734
46926
  }
46735
46927
  }),
46928
+ text: css({
46929
+ bottom: sectionproperties.generaltext_topposition + 'px'
46930
+ }),
46736
46931
  categoryname: css({
46737
46932
  color: sectionproperties.generaltext_fontColor,
46738
46933
  textTransform: sectionproperties.generaltext_textTransform,
@@ -46756,10 +46951,15 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
46756
46951
  ':hover': {
46757
46952
  color: sectionproperties.generalbtn_textColoronhover
46758
46953
  }
46954
+ }),
46955
+ container: css({
46956
+ ':hover .text': {
46957
+ bottom: parseFloat(parseInt(sectionproperties.generaltext_topposition) + 20) + 'px'
46958
+ }
46759
46959
  })
46760
46960
  };
46761
46961
  return /*#__PURE__*/React.createElement("div", {
46762
- "class": cardstyles$1.container + ' row m-0 w-100 ',
46962
+ "class": "".concat(cardstyles$1.container, " ").concat(card_cssstyles.container) + ' row m-0 w-100 ',
46763
46963
  style: {
46764
46964
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
46765
46965
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
@@ -46784,19 +46984,22 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
46784
46984
  loading: "lazy"
46785
46985
  }), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("ul", {
46786
46986
  style: {
46787
- width: '90%'
46987
+ width: sectionproperties.generaltext_position == 'Centered' ? '100%' : '90%'
46788
46988
  },
46789
- "class": "".concat(cardstyles$1.text) + ' m-0 p-0 '
46989
+ "class": "".concat(cardstyles$1.text, " ").concat(card_cssstyles.text) + ' text m-0 p-0 '
46790
46990
  }, /*#__PURE__*/React.createElement("li", {
46991
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'cursor-pointer' : langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer ',
46791
46992
  style: {
46993
+ display: 'flex',
46994
+ justifyContent: sectionproperties.generaltext_position == 'Centered' ? 'center' : 'start',
46792
46995
  zIndex: 10000
46793
- },
46794
- "class": langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer '
46795
- }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("i", {
46796
- "class": "h-100 d-flex align-items-center justify-content-center"
46996
+ }
46797
46997
  }, /*#__PURE__*/React.createElement("p", {
46798
- "class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 '
46799
- }, item.name))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("ul", {
46998
+ "class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 ',
46999
+ style: {
47000
+ fontStyle: sectionproperties.generaltext_position == 'Centered' ? 'normal' : 'italic'
47001
+ }
47002
+ }, item.name))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("ul", {
46800
47003
  "class": "".concat(cardstyles$1.buttons_container) + ' m-0 p-0 '
46801
47004
  }, /*#__PURE__*/React.createElement("li", {
46802
47005
  style: {
@@ -46824,19 +47027,22 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
46824
47027
  loading: "lazy"
46825
47028
  }), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("ul", {
46826
47029
  style: {
46827
- width: '90%'
47030
+ width: sectionproperties.generaltext_position == 'Centered' ? '100%' : '90%'
46828
47031
  },
46829
- "class": "".concat(cardstyles$1.text) + ' m-0 p-0 '
47032
+ "class": "".concat(cardstyles$1.text, " ").concat(card_cssstyles.text) + ' text m-0 p-0 '
46830
47033
  }, /*#__PURE__*/React.createElement("li", {
47034
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'cursor-pointer' : langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer ',
46831
47035
  style: {
47036
+ display: 'flex',
47037
+ justifyContent: sectionproperties.generaltext_position == 'Centered' ? 'center' : 'start',
46832
47038
  zIndex: 10000
46833
- },
46834
- "class": langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer '
46835
- }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("i", {
46836
- "class": "h-100 d-flex align-items-center justify-content-center"
47039
+ }
46837
47040
  }, /*#__PURE__*/React.createElement("p", {
46838
- "class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 '
46839
- }, item.name))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("ul", {
47041
+ "class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 ',
47042
+ style: {
47043
+ fontStyle: sectionproperties.generaltext_position == 'Centered' ? 'normal' : 'italic'
47044
+ }
47045
+ }, item.name))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("ul", {
46840
47046
  "class": "".concat(cardstyles$1.buttons_container) + ' m-0 p-0 '
46841
47047
  }, /*#__PURE__*/React.createElement("li", {
46842
47048
  style: {
@@ -47087,7 +47293,8 @@ var Horizontalcard = function Horizontalcard(props) {
47087
47293
  transition: '.3s',
47088
47294
  ':hover': {
47089
47295
  background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
47090
- color: sectionproperties.cartBtnTextcoloronhover
47296
+ color: sectionproperties.cartBtnTextcoloronhover,
47297
+ borderColor: sectionproperties.cartBtnTextcoloronhover
47091
47298
  }
47092
47299
  }),
47093
47300
  productDescStyles: css({
@@ -47114,7 +47321,7 @@ var Horizontalcard = function Horizontalcard(props) {
47114
47321
  paddingTop: sectionproperties.paddingTop + 'px',
47115
47322
  paddingBottom: sectionproperties.paddingBottom + 'px'
47116
47323
  }
47117
- }, /*#__PURE__*/React.createElement("div", {
47324
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
47118
47325
  "class": "col-lg-4 col-md-4 col-sm-4 p-0 h-100"
47119
47326
  }, /*#__PURE__*/React.createElement("div", {
47120
47327
  "class": "d-flex d-md-none",
@@ -47180,7 +47387,7 @@ var Horizontalcard = function Horizontalcard(props) {
47180
47387
  fontSize: sectionproperties.badge_fontsize + 'px'
47181
47388
  }
47182
47389
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React.createElement("div", {
47183
- "class": 'col-lg-8 col-md-8 col-sm-8 pt-2',
47390
+ "class": sectionproperties.image_show == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 pt-2' : 'col-lg-12 col-md-12 col-sm-12 pt-2',
47184
47391
  style: {
47185
47392
  paddingRight: langdetect == 'en' ? 0 : '',
47186
47393
  paddingLeft: langdetect == 'ar' ? 0 : '',
@@ -47244,12 +47451,12 @@ var Horizontalcard = function Horizontalcard(props) {
47244
47451
  "class": "col-lg-12 p-0 d-flex align-items-center"
47245
47452
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
47246
47453
  "class": card_cssstyles.productPricestyles + ' m-0 p-0 '
47247
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("p", {
47454
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("p", {
47248
47455
  "class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
47249
47456
  style: {
47250
47457
  textDecoration: 'line-through'
47251
47458
  }
47252
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React.createElement("div", {
47459
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
47253
47460
  "class": "col-lg-12 p-0 d-flex align-items-center mt-2"
47254
47461
  }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
47255
47462
  "class": card_cssstyles.cart_btn,
@@ -51292,6 +51499,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
51292
51499
  paddingBottom: sectionproperties.paddingBottom + 'px',
51293
51500
  border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
51294
51501
  color: sectionproperties.generaltext_fontColor,
51502
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
51295
51503
  transition: '.3s',
51296
51504
  cursor: 'pointer',
51297
51505
  ':hover .categoryname': {
@@ -51358,20 +51566,23 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
51358
51566
  }, /*#__PURE__*/React.createElement("div", {
51359
51567
  "class": " row m-0 w-100 allcentered"
51360
51568
  }, /*#__PURE__*/React.createElement("div", {
51361
- "class": card_cssstyles.imagecontainer + ' d-flex d-sm-none '
51569
+ "class": card_cssstyles.imagecontainer + ' d-flex d-sm-none align-items-center justify-content-center ',
51570
+ style: {
51571
+ width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : '100%'
51572
+ }
51362
51573
  }, /*#__PURE__*/React.createElement(IKImage, {
51363
51574
  urlEndpoint: IKurlEndpoint,
51364
51575
  publicKey: IKpublicKey,
51365
51576
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
51366
51577
  style: {
51367
- width: '100%',
51368
- height: '100%',
51578
+ width: sectionproperties.image_width + '%',
51579
+ height: sectionproperties.image_width + '%',
51369
51580
  objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
51370
51581
  background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
51371
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
51372
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
51373
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
51374
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
51582
+ borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
51583
+ borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0,
51584
+ borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
51585
+ borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0
51375
51586
  },
51376
51587
  loading: "lazy"
51377
51588
  })), /*#__PURE__*/React.createElement("div", {