tabexseriescomponents 0.2.1318 → 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 +63 -50
- package/dist/index.esm.js +63 -50
- package/dist/index.umd.js +63 -50
- package/package.json +1 -1
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$
|
|
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$
|
|
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$
|
|
1863
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1975
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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&¤tshowingimageindex_pro!=null&¤tshowingimageindex_pro!=''&&typeof currentshowingimageindex_pro==='number'&&isFinite(currentshowingimageindex_pro)&¤tshowingimageindex_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&¤tshowingimageindex_pro!=null&¤tshowingimageindex_pro!=''&&typeof currentshowingimageindex_pro==='number'&&isFinite(currentshowingimageindex_pro)&¤tshowingimageindex_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'
|
|
@@ -4057,7 +4066,7 @@ borderRadius:sectionproperties.showthumbnail=='Hide'?sectionproperties.imagebord
|
|
|
4057
4066
|
// : 'col-xl-6 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
|
|
4058
4067
|
// : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
|
|
4059
4068
|
// }
|
|
4060
|
-
},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&§ionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React__default["default"].createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&§ionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.productcanrate)==1&§ionproperties.showrating=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"],{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer39=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.productinfo)===null||_fetchProductInfoQuer39===void 0?void 0:_fetchProductInfoQuer39.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Top'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer41=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productinfo)===null||_fetchProductInfoQuer41===void 0?void 0:_fetchProductInfoQuer41.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Name'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer42=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productinfo)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productfeatures)===null||_fetchProductInfoQuer42===void 0?void 0:_fetchProductInfoQuer42.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:'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%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},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}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.descriptionposition=='Under Name'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer43=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.productinfo)===null||_fetchProductInfoQuer43===void 0?void 0:_fetchProductInfoQuer43.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer44=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.productinfo)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.short_description_ar}})))),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Name'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Pricing'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer45=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.productinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.short_description_en)!=null&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer46=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.productinfo)===null||_fetchProductInfoQuer46===void 0?void 0:_fetchProductInfoQuer46.short_description_en}}))),langdetect=='ar'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.short_description_ar)!=null&§ionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer48=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.productinfo)===null||_fetchProductInfoQuer48===void 0?void 0:_fetchProductInfoQuer48.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer49=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.productinfo)===null||_fetchProductInfoQuer49===void 0?void 0:_fetchProductInfoQuer49.vendorinfo)!=null&§ionproperties.showvendor=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start align-items-center mt-2 mb-3"},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)=='683c163d7f996'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.vendorinfo.vendorlogourl)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":productinfo_cssstyles.vendorlogo,style:{}},/*#__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:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.vendorinfo.vendorlogourl,loading:"lazy",style:{width:'100%',height:'100%',objectFit:'contain',border:'1px solid #ccc',borderRadius:100}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 ',style:{cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':'',fontSize:14},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer52;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer52=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.productinfo)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.vendorinfo)===null||_fetchProductInfoQuer52===void 0?void 0:_fetchProductInfoQuer52.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i13=authdetailsContext.instinfo)===null||_authdetailsContext$i13===void 0?void 0:_authdetailsContext$i13.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i14=authdetailsContext.instinfo)===null||_authdetailsContext$i14===void 0?void 0:_authdetailsContext$i14.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i15=authdetailsContext.instinfo)===null||_authdetailsContext$i15===void 0?void 0:_authdetailsContext$i15.contactinfo.instid)!='6805437ab0f3b'&&/*#__PURE__*/React__default["default"].createElement("span",null," ",langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,": "),/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600,textDecoration:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i16=authdetailsContext.instinfo)===null||_authdetailsContext$i16===void 0?void 0:_authdetailsContext$i16.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.vendorinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer54=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.productinfo)===null||_fetchProductInfoQuer54===void 0?void 0:_fetchProductInfoQuer54.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.currentquantity)<1&§ionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer56=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.productinfo)===null||_fetchProductInfoQuer56===void 0?void 0:_fetchProductInfoQuer56.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer57=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.productinfo)===null||_fetchProductInfoQuer57===void 0?void 0:_fetchProductInfoQuer57.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer58=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.deliverydatetext)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React__default["default"].createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.deliverydatetext)),sectionproperties.descriptionposition!='Under Name'&§ionproperties.descriptionposition=='Top'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.prodCatShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})),sectionproperties.defaultpricingposition=='Under Description'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer60=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.productinfo)===null||_fetchProductInfoQuer60===void 0?void 0:_fetchProductInfoQuer60.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&§ionproperties.prodCatShow=='Show'&§ionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)=='68ada0669b7c7'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(ProductFileUploader,{actions:props.actions})),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition=='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0 mb-3"},ProductFeaturesArray()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{// display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
|
|
4069
|
+
},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&§ionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React__default["default"].createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&§ionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.productcanrate)==1&§ionproperties.showrating=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"],{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer39=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.productinfo)===null||_fetchProductInfoQuer39===void 0?void 0:_fetchProductInfoQuer39.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Top'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer41=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productinfo)===null||_fetchProductInfoQuer41===void 0?void 0:_fetchProductInfoQuer41.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Name'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer42=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productinfo)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productfeatures)===null||_fetchProductInfoQuer42===void 0?void 0:_fetchProductInfoQuer42.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:'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%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},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}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.descriptionposition=='Under Name'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer43=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.productinfo)===null||_fetchProductInfoQuer43===void 0?void 0:_fetchProductInfoQuer43.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer44=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.productinfo)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.short_description_ar}})))),sectionproperties.showvendor=='Hide'&§ionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Name'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Pricing'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer45=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.productinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.short_description_en)!=null&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer46=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.productinfo)===null||_fetchProductInfoQuer46===void 0?void 0:_fetchProductInfoQuer46.short_description_en}}))),langdetect=='ar'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.short_description_ar)!=null&§ionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer48=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.productinfo)===null||_fetchProductInfoQuer48===void 0?void 0:_fetchProductInfoQuer48.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer49=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.productinfo)===null||_fetchProductInfoQuer49===void 0?void 0:_fetchProductInfoQuer49.vendorinfo)!=null&§ionproperties.showvendor=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start align-items-center mt-2 mb-3"},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)=='683c163d7f996'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.vendorinfo.vendorlogourl)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":productinfo_cssstyles.vendorlogo,style:{}},/*#__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:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.vendorinfo.vendorlogourl,loading:"lazy",style:{width:'100%',height:'100%',objectFit:'contain',border:'1px solid #ccc',borderRadius:100}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 ',style:{cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':'',fontSize:14},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer52;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer52=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.productinfo)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.vendorinfo)===null||_fetchProductInfoQuer52===void 0?void 0:_fetchProductInfoQuer52.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i13=authdetailsContext.instinfo)===null||_authdetailsContext$i13===void 0?void 0:_authdetailsContext$i13.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i14=authdetailsContext.instinfo)===null||_authdetailsContext$i14===void 0?void 0:_authdetailsContext$i14.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i15=authdetailsContext.instinfo)===null||_authdetailsContext$i15===void 0?void 0:_authdetailsContext$i15.contactinfo.instid)!='6805437ab0f3b'&&/*#__PURE__*/React__default["default"].createElement("span",null," ",langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,": "),/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600,textDecoration:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i16=authdetailsContext.instinfo)===null||_authdetailsContext$i16===void 0?void 0:_authdetailsContext$i16.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.vendorinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer54=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.productinfo)===null||_fetchProductInfoQuer54===void 0?void 0:_fetchProductInfoQuer54.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.showvendor=='Show'&§ionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Name'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.currentquantity)<1&§ionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer56=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.productinfo)===null||_fetchProductInfoQuer56===void 0?void 0:_fetchProductInfoQuer56.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer57=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.productinfo)===null||_fetchProductInfoQuer57===void 0?void 0:_fetchProductInfoQuer57.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer58=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.deliverydatetext)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React__default["default"].createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.deliverydatetext)),sectionproperties.descriptionposition!='Under Name'&§ionproperties.descriptionposition=='Top'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.prodCatShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})),sectionproperties.defaultpricingposition=='Under Description'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer60=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.productinfo)===null||_fetchProductInfoQuer60===void 0?void 0:_fetchProductInfoQuer60.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&§ionproperties.prodCatShow=='Show'&§ionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)=='68ada0669b7c7'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(ProductFileUploader,{actions:props.actions})),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition=='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0 mb-3"},ProductFeaturesArray()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{// display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
|
|
4061
4070
|
}},/*#__PURE__*/React__default["default"].createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer61=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.productinfo)===null||_fetchProductInfoQuer61===void 0?void 0:_fetchProductInfoQuer61.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer62=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.isproducthasquantitychange)==1&§ionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer64=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.productinfo)===null||_fetchProductInfoQuer64===void 0?void 0:_fetchProductInfoQuer64.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer65=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth==100?'auto':sectionproperties.cartBtnWidth+'%',flex:sectionproperties.cartBtnWidth==100?1:''},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer66;window.open('tel:'+((_fetchProductInfoQuer66=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer68=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&§ionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&§ionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i18=authdetailsContext.instinfo)===null||_authdetailsContext$i18===void 0?void 0:_authdetailsContext$i18.contactinfo.instid)=='694befd291698'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
|
|
4062
4071
|
var key='comparedProducts';// Get current list from localStorage
|
|
4063
4072
|
var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
75031
|
-
|
|
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
|
-
|
|
75056
|
+
searchinputprops: searchinputvalue,
|
|
75057
|
+
srcfromprops: 'cardssection',
|
|
75045
75058
|
actions: actions
|
|
75046
75059
|
})))));
|
|
75047
75060
|
};
|