tabexseriescomponents 0.2.1319 → 0.2.1320

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1820,8 +1820,16 @@ var Variantoptions = function Variantoptions(props) {
1820
1820
  }
1821
1821
  }
1822
1822
  if (item.optionname == 'color' || item.optionname == 'Color') {
1823
+ var _authdetailsContext$i0;
1823
1824
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
1824
- className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
1825
+ className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '69ce49ee861df' ? productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active) : issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
1826
+ // issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
1827
+ // sectionproperties.showoutofstockwithoutselection == 'Show'
1828
+ // ? productinfostyles.color_container +
1829
+ // ' mr-2 variabttcontainer showcrossiconcolor ' +
1830
+ // `${productinfostyles.color_container_active}`
1831
+ // : productinfostyles.color_container + ' mr-2 variabttcontainer ' + `${productinfostyles.color_container_active}`
1832
+
1825
1833
  // `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
1826
1834
  ,
1827
1835
  onClick: function onClick() {
@@ -1833,7 +1841,8 @@ var Variantoptions = function Variantoptions(props) {
1833
1841
  }
1834
1842
  },
1835
1843
  style: {
1836
- background: optionvaluesitem.valuename,
1844
+ background: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true ? optionvaluesitem.valuename == '#fff' || optionvaluesitem.valuename == '#ffffff' || optionvaluesitem.valuename == 'white' || optionvaluesitem.valuename == 'White' ? "linear-gradient(\n -45deg,\n transparent 47%,\n black 47%,\n black 53%,\n transparent 53%\n ), ".concat(optionvaluesitem.valuename) : optionvaluesitem.valuename == '#000' || optionvaluesitem.valuename == '#000000' || optionvaluesitem.valuename == 'black' || optionvaluesitem.valuename == 'Black' ? "linear-gradient(\n -45deg,\n transparent 47%,\n white 47%,\n white 53%,\n transparent 53%\n ), ".concat(optionvaluesitem.valuename) : optionvaluesitem.valuename : optionvaluesitem.valuename,
1845
+ // background: optionvaluesitem.valuename,
1837
1846
  border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : '1px solid #ccc'
1838
1847
 
1839
1848
  // borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
@@ -1844,7 +1853,7 @@ var Variantoptions = function Variantoptions(props) {
1844
1853
  } else if (item.optionname == 'size' || item.optionname == 'Size') {
1845
1854
  // if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
1846
1855
  if (is_value_permdisabled == 0) {
1847
- var _authdetailsContext$i0, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26;
1856
+ var _authdetailsContext$i1, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27;
1848
1857
  return /*#__PURE__*/React__default["default"].createElement("div", {
1849
1858
  // className={
1850
1859
  // issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
@@ -1856,53 +1865,53 @@ var Variantoptions = function Variantoptions(props) {
1856
1865
  // ' mr-2 variabttcontainer allcentered ' +
1857
1866
  // `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
1858
1867
  // }
1859
- className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1868
+ className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1860
1869
  onClick: function onClick() {
1861
1870
  if (isoptionvalueselected == 0) {
1862
- var _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
1863
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68d28fc494276') {
1871
+ var _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18;
1872
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276') {
1864
1873
  if (isValueinStock == 0) {
1865
1874
  return;
1866
1875
  }
1867
1876
  }
1868
1877
  // amiga
1869
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '670fc18477599') {
1878
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599') {
1870
1879
  if (isValueinStock == 0) {
1871
1880
  return;
1872
1881
  }
1873
1882
  }
1874
1883
  // vout
1875
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68f918a4ccb85') {
1884
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85') {
1876
1885
  if (isValueinStock == 0) {
1877
1886
  return;
1878
1887
  }
1879
1888
  }
1880
1889
  // puff
1881
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '6899e604db87f') {
1890
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
1882
1891
  if (isValueinStock == 0) {
1883
1892
  return;
1884
1893
  }
1885
1894
  }
1886
1895
  // angel
1887
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '67bda57bca71d') {
1896
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67bda57bca71d') {
1888
1897
  if (isValueinStock == 0) {
1889
1898
  return;
1890
1899
  }
1891
1900
  }
1892
1901
  // dija
1893
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '682cbb9bdcd57') {
1902
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682cbb9bdcd57') {
1894
1903
  if (isValueinStock == 0) {
1895
1904
  return;
1896
1905
  }
1897
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '69244cc88aa0a') {
1906
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69244cc88aa0a') {
1898
1907
  if (isValueinStock == 0) {
1899
1908
  return;
1900
1909
  }
1901
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '687ca57cc78e8') {
1910
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '687ca57cc78e8') {
1902
1911
  if (isValueinStock == 0) {
1903
1912
  return;
1904
1913
  }
1905
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f') {
1914
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6899e604db87f') {
1906
1915
  if (isValueinStock == 0) {
1907
1916
  return;
1908
1917
  }
@@ -1946,18 +1955,18 @@ var Variantoptions = function Variantoptions(props) {
1946
1955
  }, /*#__PURE__*/React__default["default"].createElement("i", {
1947
1956
  "class": "h-100 allcentered"
1948
1957
  }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1949
- className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1958
+ className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1950
1959
  // amiga
1951
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1960
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1952
1961
  // vout
1953
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1962
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1954
1963
  // puff
1955
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1964
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1956
1965
  // angel
1957
1966
 
1958
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1967
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1959
1968
  // dija
1960
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1969
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1961
1970
  style: {
1962
1971
  color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
1963
1972
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
@@ -1966,55 +1975,55 @@ var Variantoptions = function Variantoptions(props) {
1966
1975
  }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1967
1976
  }
1968
1977
  } else {
1969
- var _authdetailsContext$i27, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45;
1978
+ var _authdetailsContext$i28, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46;
1970
1979
  return /*#__PURE__*/React__default["default"].createElement("div", {
1971
- className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1980
+ className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1972
1981
  onClick: function onClick() {
1973
1982
  if (isoptionvalueselected == 0) {
1974
- var _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36;
1975
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '68d28fc494276') {
1983
+ var _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37;
1984
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68d28fc494276') {
1976
1985
  if (isValueinStock == 0) {
1977
1986
  return;
1978
1987
  }
1979
1988
  }
1980
1989
  // amiga
1981
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '670fc18477599') {
1990
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '670fc18477599') {
1982
1991
  if (isValueinStock == 0) {
1983
1992
  return;
1984
1993
  }
1985
1994
  }
1986
1995
  // vout
1987
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68f918a4ccb85') {
1996
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68f918a4ccb85') {
1988
1997
  if (isValueinStock == 0) {
1989
1998
  return;
1990
1999
  }
1991
2000
  }
1992
2001
  // puff n stuff
1993
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6899e604db87f') {
2002
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6899e604db87f') {
1994
2003
  if (isValueinStock == 0) {
1995
2004
  return;
1996
2005
  }
1997
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '69244cc88aa0a') {
2006
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '69244cc88aa0a') {
1998
2007
  if (isValueinStock == 0) {
1999
2008
  return;
2000
2009
  }
2001
2010
  }
2002
2011
  // angel
2003
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67bda57bca71d') {
2012
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67bda57bca71d') {
2004
2013
  if (isValueinStock == 0) {
2005
2014
  return;
2006
2015
  }
2007
2016
  }
2008
2017
  // dija
2009
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '682cbb9bdcd57') {
2018
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '682cbb9bdcd57') {
2010
2019
  if (isValueinStock == 0) {
2011
2020
  return;
2012
2021
  }
2013
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '687ca57cc78e8') {
2022
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '687ca57cc78e8') {
2014
2023
  if (isValueinStock == 0) {
2015
2024
  return;
2016
2025
  }
2017
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '6899e604db87f') {
2026
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '6899e604db87f') {
2018
2027
  if (isValueinStock == 0) {
2019
2028
  return;
2020
2029
  }
@@ -2038,17 +2047,17 @@ var Variantoptions = function Variantoptions(props) {
2038
2047
  border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
2039
2048
  }
2040
2049
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2041
- className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2050
+ className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2042
2051
  // amiga
2043
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2052
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2044
2053
  // vout
2045
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2054
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2046
2055
  // puff
2047
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2056
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2048
2057
  // angel
2049
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2058
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
2050
2059
  // dija
2051
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
2060
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
2052
2061
  style: {
2053
2062
  color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
2054
2063
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
@@ -4009,7 +4018,7 @@ React.useEffect(function(){var _fetchProductInfoQuer3;var totalprice='';if(varia
4009
4018
  // setcurrentshowingimageindex(currentshowingimageindex_pro);
4010
4019
  // }
4011
4020
  // }, [currentshowingimageindex_pro]);
4012
- React.useEffect(function(){if(currentshowingimageindex_pro==0){setcurrentshowingimageindex(currentshowingimageindex_pro);}else {if(currentshowingimageindex_pro!=undefined&&currentshowingimageindex_pro!=null&&currentshowingimageindex_pro!=''&&typeof currentshowingimageindex_pro==='number'&&isFinite(currentshowingimageindex_pro)&&currentshowingimageindex_pro>=0){setcurrentshowingimageindex(currentshowingimageindex_pro);}}},[currentshowingimageindex_pro]);var PDFContainer=function PDFContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},productpdfsarray.length!=0&&(productpdfsarray===null||productpdfsarray===void 0?void 0:productpdfsarray.map(function(pdfitem,pdfindex){var _authdetailsContext$i3,_authdetailsContext$i4;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){window.open((ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint)+pdfitem,'_blank');}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.contactinfo.instid)=='683c163d7f996'&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Download Pamphlet':'تحميل ال Pamphlet'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i4=authdetailsContext.instinfo)===null||_authdetailsContext$i4===void 0?void 0:_authdetailsContext$i4.contactinfo.instid)!='683c163d7f996'&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect==='ar'?'تحميل ال PDF':langdetect==='chin'?'下载 PDF':langdetect==='es'?'Descargar PDF':langdetect==='fr'?'Télécharger le PDF':langdetect==='rus'?'Скачать PDF':'Download PDF')));})));};var ProductsSKUContainer=function ProductsSKUContainer(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.skuColor,fontWeight:sectionproperties.skuFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?sectionproperties.skutitleEn:sectionproperties.skutitleAr,":",' '),/*#__PURE__*/React__default["default"].createElement("span",{"class":"ml-1 mr-1",style:{color:'#7e859b',fontWeight:sectionproperties.skuSecondaryFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},sectionproperties.showvariantsku=='Show'&&variantsku!=''?variantsku:fetchProductInfoQueryContext.data.data.productinfo.sku));};var MeasurementUnitSection=function MeasurementUnitSection(){return/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak d-flex justify-content-start ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.measurementunitfontweight,color:sectionproperties.measurementunitcolor,fontSize:sectionproperties.measurementunitcolor+'px'}},fetchProductInfoQueryContext.data.data.productinfo.measurmentunit));};var ProductNameSection=function ProductNameSection(){return/*#__PURE__*/React__default["default"].createElement("p",{className:props.actions.srcfromprops=='templatedraftrouter'?"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 wordbreak d-flex cursor-pointer ':"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex ',onClick:function onClick(){if(props.actions.srcfromprops=='templatedraftrouter'){routingcountext(StaticPagesLinksContext.productinfo,true,fetchProductInfoQueryContext.data.data.productinfo.productid);}},style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar);};var ShortDescriptionTitle=function ShortDescriptionTitle(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.shortdescriptiontitle_en:sectionproperties.shortdescriptiontitle_ar);};var ProductFeaturesTable=function ProductFeaturesTable(){var _fetchProductInfoQuer4;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer4=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.data)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productinfo)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productfeatures)===null||_fetchProductInfoQuer4===void 0?void 0:_fetchProductInfoQuer4.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex flex-row",style:{color:sectionproperties.featurecolor}},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))));};var DescriptionAccordion=function DescriptionAccordion(){return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'collap'}))));};var TotalSection=function TotalSection(){var _fetchProductInfoQuer5,_fetchProductInfoQuer6,_fetchProductInfoQuer7,_fetchProductInfoQuer8,_fetchProductInfoQuer9,_fetchProductInfoQuer0,_fetchProductInfoQuer1,_fetchProductInfoQuer10,_fetchProductInfoQuer11;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer5=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer5===void 0||(_fetchProductInfoQuer5=_fetchProductInfoQuer5.data)===null||_fetchProductInfoQuer5===void 0?void 0:_fetchProductInfoQuer5.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer6=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.productinfo)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.variants[variantindexcompleted])===null||_fetchProductInfoQuer6===void 0?void 0:_fetchProductInfoQuer6.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer7=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.data)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.productinfo)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.variants[variantindexcompleted])===null||_fetchProductInfoQuer7===void 0?void 0:_fetchProductInfoQuer7.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer8=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer8===void 0||(_fetchProductInfoQuer8=_fetchProductInfoQuer8.data)===null||_fetchProductInfoQuer8===void 0?void 0:_fetchProductInfoQuer8.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer9=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer9===void 0||(_fetchProductInfoQuer9=_fetchProductInfoQuer9.data)===null||_fetchProductInfoQuer9===void 0?void 0:_fetchProductInfoQuer9.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer0=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer0===void 0||(_fetchProductInfoQuer0=_fetchProductInfoQuer0.data)===null||_fetchProductInfoQuer0===void 0?void 0:_fetchProductInfoQuer0.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer1=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.productinfo)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.variants[variantindexcompleted])===null||_fetchProductInfoQuer1===void 0?void 0:_fetchProductInfoQuer1.hassale)==1&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer10=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer10===void 0||(_fetchProductInfoQuer10=_fetchProductInfoQuer10.data)===null||_fetchProductInfoQuer10===void 0?void 0:_fetchProductInfoQuer10.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer11=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer11===void 0||(_fetchProductInfoQuer11=_fetchProductInfoQuer11.data)===null||_fetchProductInfoQuer11===void 0?void 0:_fetchProductInfoQuer11.currencyname_ar))));};var QuantityButton=function QuantityButton(position){var _authdetailsContext$i5;return/*#__PURE__*/React__default["default"].createElement("button",{className:position=='fixedcontainer'?" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center inputrangedark ':" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center mb-sm-2 inputrangedark ',style:{height:sectionproperties.quantitybtneditable=='Slider'?'auto':sectionproperties.quantitybtn_height+'px',width:position=='fixedcontainer'?'100%':sectionproperties.quantitybtneditable=='Slider'?'100%':sectionproperties.quantitybtn_width+'px',flexDirection:'row',direction:'ltr',// background: 'transparent',
4021
+ React.useEffect(function(){if(currentshowingimageindex_pro==0){setcurrentshowingimageindex(currentshowingimageindex_pro);}else {if(currentshowingimageindex_pro!=undefined&&currentshowingimageindex_pro!=null&&currentshowingimageindex_pro!=''&&typeof currentshowingimageindex_pro==='number'&&isFinite(currentshowingimageindex_pro)&&currentshowingimageindex_pro>=0){setcurrentshowingimageindex(currentshowingimageindex_pro);}}},[currentshowingimageindex_pro]);var PDFContainer=function PDFContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},productpdfsarray.length!=0&&(productpdfsarray===null||productpdfsarray===void 0?void 0:productpdfsarray.map(function(pdfitem,pdfindex){var _authdetailsContext$i3,_authdetailsContext$i4;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){window.open((ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint)+pdfitem,'_blank');}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.contactinfo.instid)=='683c163d7f996'&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Download Pamphlet':'تحميل ال Pamphlet'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i4=authdetailsContext.instinfo)===null||_authdetailsContext$i4===void 0?void 0:_authdetailsContext$i4.contactinfo.instid)!='683c163d7f996'&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect==='ar'?'تحميل ال PDF':langdetect==='chin'?'下载 PDF':langdetect==='es'?'Descargar PDF':langdetect==='fr'?'Télécharger le PDF':langdetect==='rus'?'Скачать PDF':'Download PDF')));})));};var ProductsSKUContainer=function ProductsSKUContainer(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.skuColor,fontWeight:sectionproperties.skuFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?sectionproperties.skutitleEn:sectionproperties.skutitleAr,":",' '),/*#__PURE__*/React__default["default"].createElement("span",{"class":"ml-1 mr-1",style:{color:'#7e859b',fontWeight:sectionproperties.skuSecondaryFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},sectionproperties.showvariantsku=='Show'&&variantsku!=''?variantsku:fetchProductInfoQueryContext.data.data.productinfo.sku));};var MeasurementUnitSection=function MeasurementUnitSection(){return/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak d-flex justify-content-start ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.measurementunitfontweight,color:sectionproperties.measurementunitcolor,fontSize:sectionproperties.measurementunitcolor+'px'}},fetchProductInfoQueryContext.data.data.productinfo.measurmentunit));};var ProductNameSection=function ProductNameSection(){return/*#__PURE__*/React__default["default"].createElement("p",{className:props.actions.srcfromprops=='templatedraftrouter'?"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 wordbreak d-flex cursor-pointer ':"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex ',onClick:function onClick(){if(props.actions.srcfromprops=='templatedraftrouter'){routingcountext(StaticPagesLinksContext.productinfo,true,fetchProductInfoQueryContext.data.data.productinfo.productid);}},style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar);};var ShortDescriptionTitle=function ShortDescriptionTitle(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.shortdescriptiontitle_en:sectionproperties.shortdescriptiontitle_ar);};var ProductFeaturesTable=function ProductFeaturesTable(){var _fetchProductInfoQuer4;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer4=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.data)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productinfo)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productfeatures)===null||_fetchProductInfoQuer4===void 0?void 0:_fetchProductInfoQuer4.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex flex-row",style:{color:sectionproperties.featurecolor}},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize,textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))));};var DescriptionAccordion=function DescriptionAccordion(){return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'collap'}))));};var TotalSection=function TotalSection(){var _fetchProductInfoQuer5,_fetchProductInfoQuer6,_fetchProductInfoQuer7,_fetchProductInfoQuer8,_fetchProductInfoQuer9,_fetchProductInfoQuer0,_fetchProductInfoQuer1,_fetchProductInfoQuer10,_fetchProductInfoQuer11;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer5=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer5===void 0||(_fetchProductInfoQuer5=_fetchProductInfoQuer5.data)===null||_fetchProductInfoQuer5===void 0?void 0:_fetchProductInfoQuer5.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer6=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.productinfo)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.variants[variantindexcompleted])===null||_fetchProductInfoQuer6===void 0?void 0:_fetchProductInfoQuer6.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer7=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.data)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.productinfo)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.variants[variantindexcompleted])===null||_fetchProductInfoQuer7===void 0?void 0:_fetchProductInfoQuer7.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer8=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer8===void 0||(_fetchProductInfoQuer8=_fetchProductInfoQuer8.data)===null||_fetchProductInfoQuer8===void 0?void 0:_fetchProductInfoQuer8.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer9=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer9===void 0||(_fetchProductInfoQuer9=_fetchProductInfoQuer9.data)===null||_fetchProductInfoQuer9===void 0?void 0:_fetchProductInfoQuer9.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer0=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer0===void 0||(_fetchProductInfoQuer0=_fetchProductInfoQuer0.data)===null||_fetchProductInfoQuer0===void 0?void 0:_fetchProductInfoQuer0.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer1=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.productinfo)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.variants[variantindexcompleted])===null||_fetchProductInfoQuer1===void 0?void 0:_fetchProductInfoQuer1.hassale)==1&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer10=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer10===void 0||(_fetchProductInfoQuer10=_fetchProductInfoQuer10.data)===null||_fetchProductInfoQuer10===void 0?void 0:_fetchProductInfoQuer10.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer11=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer11===void 0||(_fetchProductInfoQuer11=_fetchProductInfoQuer11.data)===null||_fetchProductInfoQuer11===void 0?void 0:_fetchProductInfoQuer11.currencyname_ar))));};var QuantityButton=function QuantityButton(position){var _authdetailsContext$i5;return/*#__PURE__*/React__default["default"].createElement("button",{className:position=='fixedcontainer'?" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center inputrangedark ':" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center mb-sm-2 inputrangedark ',style:{height:sectionproperties.quantitybtneditable=='Slider'?'auto':sectionproperties.quantitybtn_height+'px',width:position=='fixedcontainer'?'100%':sectionproperties.quantitybtneditable=='Slider'?'100%':sectionproperties.quantitybtn_width+'px',flexDirection:'row',direction:'ltr',// background: 'transparent',
4013
4022
  borderRadius:sectionproperties.quantitybtneditable=='Slider'?0:''}},sectionproperties.quantitybtneditable=='Slider'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 px-3 px-sm-3 pt-3 pinfo-slider"},/*#__PURE__*/React__default["default"].createElement(InputRange__default["default"],{draggableTrack:true,formatLabel:function formatLabel(value){return "".concat(value);},maxValue:fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant,minValue:fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,value:parseInt(addtocardpayloadobj.quantity),step:1,onChange:function onChange(value){var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=value;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-4 col-md-12 mt-4 mt-md-5 pt-md-4 col-md-12 mx-auto allcentered"},/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.minus_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer12,_fetchProductInfoQuer13,_fetchProductInfoQuer14,_fetchProductInfoQuer15;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer12=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer12===void 0||(_fetchProductInfoQuer12=_fetchProductInfoQuer12.data)===null||_fetchProductInfoQuer12===void 0||(_fetchProductInfoQuer12=_fetchProductInfoQuer12.productinfo)===null||_fetchProductInfoQuer12===void 0?void 0:_fetchProductInfoQuer12.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer13=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer13===void 0||(_fetchProductInfoQuer13=_fetchProductInfoQuer13.data)===null||_fetchProductInfoQuer13===void 0||(_fetchProductInfoQuer13=_fetchProductInfoQuer13.productinfo)===null||_fetchProductInfoQuer13===void 0?void 0:_fetchProductInfoQuer13.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer14=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer14===void 0||(_fetchProductInfoQuer14=_fetchProductInfoQuer14.data)===null||_fetchProductInfoQuer14===void 0||(_fetchProductInfoQuer14=_fetchProductInfoQuer14.productinfo)===null||_fetchProductInfoQuer14===void 0?void 0:_fetchProductInfoQuer14.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer15=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer15===void 0||(_fetchProductInfoQuer15=_fetchProductInfoQuer15.data)===null||_fetchProductInfoQuer15===void 0||(_fetchProductInfoQuer15=_fetchProductInfoQuer15.productinfo)===null||_fetchProductInfoQuer15===void 0?void 0:_fetchProductInfoQuer15.quantitystepincrearse)!=''){var _fetchProductInfoQuer16;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer16=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer16===void 0||(_fetchProductInfoQuer16=_fetchProductInfoQuer16.data)===null||_fetchProductInfoQuer16===void 0||(_fetchProductInfoQuer16=_fetchProductInfoQuer16.productinfo)===null||_fetchProductInfoQuer16===void 0?void 0:_fetchProductInfoQuer16.quantitystepincrearse);}var finalquantity=tempaddtocardpayloadobj.quantity-quantitystepincrearse;if(finalquantity>=0){tempaddtocardpayloadobj.quantity=finalquantity;}setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-down':'h-100 allcentered',style:{fontSize:sectionproperties.remove_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus,{size:sectionproperties.remove_quantitybtn_textfontsize}))),/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.quantitybtn_text)},parseInt(addtocardpayloadobj.quantity)),/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.add_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer17,_fetchProductInfoQuer18,_fetchProductInfoQuer19,_fetchProductInfoQuer20;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer17=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer17===void 0||(_fetchProductInfoQuer17=_fetchProductInfoQuer17.data)===null||_fetchProductInfoQuer17===void 0||(_fetchProductInfoQuer17=_fetchProductInfoQuer17.productinfo)===null||_fetchProductInfoQuer17===void 0?void 0:_fetchProductInfoQuer17.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer18=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer18===void 0||(_fetchProductInfoQuer18=_fetchProductInfoQuer18.data)===null||_fetchProductInfoQuer18===void 0||(_fetchProductInfoQuer18=_fetchProductInfoQuer18.productinfo)===null||_fetchProductInfoQuer18===void 0?void 0:_fetchProductInfoQuer18.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer19=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer19===void 0||(_fetchProductInfoQuer19=_fetchProductInfoQuer19.data)===null||_fetchProductInfoQuer19===void 0||(_fetchProductInfoQuer19=_fetchProductInfoQuer19.productinfo)===null||_fetchProductInfoQuer19===void 0?void 0:_fetchProductInfoQuer19.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer20=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer20===void 0||(_fetchProductInfoQuer20=_fetchProductInfoQuer20.data)===null||_fetchProductInfoQuer20===void 0||(_fetchProductInfoQuer20=_fetchProductInfoQuer20.productinfo)===null||_fetchProductInfoQuer20===void 0?void 0:_fetchProductInfoQuer20.quantitystepincrearse)!=''){var _fetchProductInfoQuer21;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer21=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer21===void 0||(_fetchProductInfoQuer21=_fetchProductInfoQuer21.data)===null||_fetchProductInfoQuer21===void 0||(_fetchProductInfoQuer21=_fetchProductInfoQuer21.productinfo)===null||_fetchProductInfoQuer21===void 0?void 0:_fetchProductInfoQuer21.quantitystepincrearse);}tempaddtocardpayloadobj.quantity=tempaddtocardpayloadobj.quantity+quantitystepincrearse;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-up':'h-100 allcentered',style:{fontSize:sectionproperties.add_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus,{size:sectionproperties.add_quantitybtn_textfontsize})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-5 pt-1 my-3"},TotalSection())),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.minus_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer22,_fetchProductInfoQuer23,_fetchProductInfoQuer24,_fetchProductInfoQuer25;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer22=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer22===void 0||(_fetchProductInfoQuer22=_fetchProductInfoQuer22.data)===null||_fetchProductInfoQuer22===void 0||(_fetchProductInfoQuer22=_fetchProductInfoQuer22.productinfo)===null||_fetchProductInfoQuer22===void 0?void 0:_fetchProductInfoQuer22.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer23=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer23===void 0||(_fetchProductInfoQuer23=_fetchProductInfoQuer23.data)===null||_fetchProductInfoQuer23===void 0||(_fetchProductInfoQuer23=_fetchProductInfoQuer23.productinfo)===null||_fetchProductInfoQuer23===void 0?void 0:_fetchProductInfoQuer23.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer24=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer24===void 0||(_fetchProductInfoQuer24=_fetchProductInfoQuer24.data)===null||_fetchProductInfoQuer24===void 0||(_fetchProductInfoQuer24=_fetchProductInfoQuer24.productinfo)===null||_fetchProductInfoQuer24===void 0?void 0:_fetchProductInfoQuer24.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer25=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer25===void 0||(_fetchProductInfoQuer25=_fetchProductInfoQuer25.data)===null||_fetchProductInfoQuer25===void 0||(_fetchProductInfoQuer25=_fetchProductInfoQuer25.productinfo)===null||_fetchProductInfoQuer25===void 0?void 0:_fetchProductInfoQuer25.quantitystepincrearse)!=''){var _fetchProductInfoQuer26;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer26=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer26===void 0||(_fetchProductInfoQuer26=_fetchProductInfoQuer26.data)===null||_fetchProductInfoQuer26===void 0||(_fetchProductInfoQuer26=_fetchProductInfoQuer26.productinfo)===null||_fetchProductInfoQuer26===void 0?void 0:_fetchProductInfoQuer26.quantitystepincrearse);}var finalquantity=tempaddtocardpayloadobj.quantity-quantitystepincrearse;if(finalquantity>=0){tempaddtocardpayloadobj.quantity=finalquantity;}setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-down':'h-100 allcentered',style:{fontSize:sectionproperties.remove_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus,{size:sectionproperties.remove_quantitybtn_textfontsize}))),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.quantitybtn_text)},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i5=authdetailsContext.instinfo)===null||_authdetailsContext$i5===void 0?void 0:_authdetailsContext$i5.contactinfo.instid)=='66d6de1a1e04a'?parseFloat(addtocardpayloadobj.quantity).toFixed(3):parseInt(addtocardpayloadobj.quantity)),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.add_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer27,_fetchProductInfoQuer28,_fetchProductInfoQuer29,_fetchProductInfoQuer30;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer27=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer27===void 0||(_fetchProductInfoQuer27=_fetchProductInfoQuer27.data)===null||_fetchProductInfoQuer27===void 0||(_fetchProductInfoQuer27=_fetchProductInfoQuer27.productinfo)===null||_fetchProductInfoQuer27===void 0?void 0:_fetchProductInfoQuer27.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer28=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer28===void 0||(_fetchProductInfoQuer28=_fetchProductInfoQuer28.data)===null||_fetchProductInfoQuer28===void 0||(_fetchProductInfoQuer28=_fetchProductInfoQuer28.productinfo)===null||_fetchProductInfoQuer28===void 0?void 0:_fetchProductInfoQuer28.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer29=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer29===void 0||(_fetchProductInfoQuer29=_fetchProductInfoQuer29.data)===null||_fetchProductInfoQuer29===void 0||(_fetchProductInfoQuer29=_fetchProductInfoQuer29.productinfo)===null||_fetchProductInfoQuer29===void 0?void 0:_fetchProductInfoQuer29.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer30=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer30===void 0||(_fetchProductInfoQuer30=_fetchProductInfoQuer30.data)===null||_fetchProductInfoQuer30===void 0||(_fetchProductInfoQuer30=_fetchProductInfoQuer30.productinfo)===null||_fetchProductInfoQuer30===void 0?void 0:_fetchProductInfoQuer30.quantitystepincrearse)!=''){var _fetchProductInfoQuer31;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer31=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer31===void 0||(_fetchProductInfoQuer31=_fetchProductInfoQuer31.data)===null||_fetchProductInfoQuer31===void 0||(_fetchProductInfoQuer31=_fetchProductInfoQuer31.productinfo)===null||_fetchProductInfoQuer31===void 0?void 0:_fetchProductInfoQuer31.quantitystepincrearse);}tempaddtocardpayloadobj.quantity=tempaddtocardpayloadobj.quantity+quantitystepincrearse;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-up':'h-100 allcentered',style:{fontSize:sectionproperties.add_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus,{size:sectionproperties.add_quantitybtn_textfontsize}))),sectionproperties.quantitybtneditable=='Yes'&&/*#__PURE__*/React__default["default"].createElement("input",{type:"number",style:{width:100,height:40,background:sectionproperties.quantitybtn_bgcolor,fontWeight:sectionproperties.quantitybtn_textfontweight,color:sectionproperties.quantitybtn_textcolor,fontSize:sectionproperties.quantitybtn_textfontsize+'px',textAlign:'center'},value:addtocardpayloadobj.quantity,onChange:function onChange(event){if(event.target.value==NaN||event.target.value==undefined||event.target.value==null||event.target.value==''){var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=1;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}else {var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=parseInt(event.target.value);setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}}}));};var ProductFeaturesArray=function ProductFeaturesArray(){var _fetchProductInfoQuer32;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer32=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.data)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.productinfo)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.productfeatures)===null||_fetchProductInfoQuer32===void 0?void 0:_fetchProductInfoQuer32.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.featureimagewidthheight+'px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize+'px'}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize+'px'}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}));};return/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.productInformationType=='Portfolio'?' row m-0 w-100 p-0 ':sectionproperties.card_marginLeft!=0?' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ':' row m-0 w-100 p-sm-0 ',style:{// paddingLeft: sectionproperties.productInformationType == 'Portfolio' ? 0 : srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? 10 : 10) : 0,
4014
4023
  // paddingRight:
4015
4024
  // sectionproperties.productInformationType == 'Portfolio'
@@ -54268,7 +54277,7 @@ var Footer1 = function Footer1(props) {
54268
54277
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54269
54278
  "class": " col-lg-12 d-flex flex-row align-items-center justify-content-end justify-content-md-center p-md-0"
54270
54279
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
54271
- "class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
54280
+ "class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mx-1 ',
54272
54281
  onClick: function onClick() {
54273
54282
  var _authdetailsContext$i2;
54274
54283
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
@@ -54279,7 +54288,7 @@ var Footer1 = function Footer1(props) {
54279
54288
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
54280
54289
  size: sectionproperties.facebkbtnniconfontsize
54281
54290
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
54282
- "class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center mx-2 ',
54291
+ "class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center mx-1 ',
54283
54292
  onClick: function onClick() {
54284
54293
  var _authdetailsContext$i4;
54285
54294
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
@@ -54290,7 +54299,7 @@ var Footer1 = function Footer1(props) {
54290
54299
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
54291
54300
  size: sectionproperties.instgrambtniconfontsize
54292
54301
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
54293
- "class": "".concat(footerStyles.whatsappbtnn) + ' d-flex align-items-center justify-content-center mx-2 ',
54302
+ "class": "".concat(footerStyles.whatsappbtnn) + ' d-flex align-items-center justify-content-center mx-1 ',
54294
54303
  onClick: function onClick() {
54295
54304
  var _authdetailsContext$i6;
54296
54305
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
@@ -54301,7 +54310,7 @@ var Footer1 = function Footer1(props) {
54301
54310
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
54302
54311
  size: sectionproperties.youtubebtniconfontsize
54303
54312
  })), sectionproperties.youtube_btn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
54304
- "class": "".concat(footerStyles.youtubebtn) + ' d-flex align-items-center justify-content-center mx-2 ',
54313
+ "class": "".concat(footerStyles.youtubebtn) + ' d-flex align-items-center justify-content-center mx-1 ',
54305
54314
  onClick: function onClick() {
54306
54315
  var _authdetailsContext$i8;
54307
54316
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.youtubelink) != null) {
@@ -54312,7 +54321,7 @@ var Footer1 = function Footer1(props) {
54312
54321
  }, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
54313
54322
  size: sectionproperties.youtubeiconfontsize
54314
54323
  })), sectionproperties.tiktokshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
54315
- "class": "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mx-2 ',
54324
+ "class": "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mx-1 ',
54316
54325
  onClick: function onClick() {
54317
54326
  var _authdetailsContext$i0;
54318
54327
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.tiktoklink) != null) {
@@ -74968,11 +74977,15 @@ var Searchcomponent = function Searchcomponent(props) {
74968
74977
  _useState2 = _slicedToArray__default["default"](_useState, 2),
74969
74978
  sectionproperties = _useState2[0],
74970
74979
  setsectionproperties = _useState2[1];
74980
+ var _useState3 = React.useState(''),
74981
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
74982
+ searchinputvalue = _useState4[0],
74983
+ setsearchinputvalue = _useState4[1];
74971
74984
  props.actions.lang;
74972
74985
  var langdetect = props.actions.langdetect;
74973
74986
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
74974
74987
  var actions = props.actions;
74975
- props.actions.setSearchHeaderInputContext;
74988
+ var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
74976
74989
  React.useEffect(function () {
74977
74990
  var secpropobj = {};
74978
74991
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -75027,9 +75040,8 @@ var Searchcomponent = function Searchcomponent(props) {
75027
75040
  type: "text",
75028
75041
  placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
75029
75042
  onChange: function onChange(event) {
75030
- // var text = SearchHeaderInputContext;
75031
- // text = event.target.value;
75032
- // setSearchHeaderInputContext({ ...text });
75043
+ setSearchHeaderInputContext(event.target.value);
75044
+ setsearchinputvalue(event.target.value);
75033
75045
  },
75034
75046
  style: {
75035
75047
  background: 'transparent',
@@ -75041,7 +75053,8 @@ var Searchcomponent = function Searchcomponent(props) {
75041
75053
  }
75042
75054
  }), /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
75043
75055
  sectionpropertiesprops: sectionproperties,
75044
- srcfromprops: 'headerfullwidth',
75056
+ searchinputprops: searchinputvalue,
75057
+ srcfromprops: 'cardssection',
75045
75058
  actions: actions
75046
75059
  })))));
75047
75060
  };