tabexseriescomponents 0.2.1292 → 0.2.1293
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 +487 -209
- package/dist/index.esm.js +487 -209
- package/dist/index.umd.js +487 -209
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1787,29 +1787,33 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1787
1787
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1788
1788
|
var is_value_permdisabled = 0;
|
|
1789
1789
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1790
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
1790
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
1791
1791
|
// if()
|
|
1792
1792
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1793
1793
|
is_value_permdisabled = 1;
|
|
1794
1794
|
}
|
|
1795
|
+
// amiga
|
|
1796
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '670fc18477599') {
|
|
1797
|
+
is_value_permdisabled = 1;
|
|
1798
|
+
}
|
|
1795
1799
|
// vout
|
|
1796
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1800
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68f918a4ccb85') {
|
|
1797
1801
|
is_value_permdisabled = 1;
|
|
1798
1802
|
}
|
|
1799
1803
|
// puff
|
|
1800
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1804
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6899e604db87f') {
|
|
1801
1805
|
is_value_permdisabled = 1;
|
|
1802
1806
|
}
|
|
1803
1807
|
// dija
|
|
1804
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1808
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1805
1809
|
is_value_permdisabled = 1;
|
|
1806
1810
|
}
|
|
1807
1811
|
// angel
|
|
1808
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1812
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '67bda57bca71d') {
|
|
1809
1813
|
is_value_permdisabled = 1;
|
|
1810
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1814
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '69244cc88aa0a') {
|
|
1811
1815
|
is_value_permdisabled = 1;
|
|
1812
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1816
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '687ca57cc78e8') {
|
|
1813
1817
|
is_value_permdisabled = 1;
|
|
1814
1818
|
}
|
|
1815
1819
|
}
|
|
@@ -1838,7 +1842,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1838
1842
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1839
1843
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1840
1844
|
if (is_value_permdisabled == 0) {
|
|
1841
|
-
var _authdetailsContext$
|
|
1845
|
+
var _authdetailsContext$i9, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
1842
1846
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1843
1847
|
// className={
|
|
1844
1848
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1850,47 +1854,53 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1850
1854
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1851
1855
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1852
1856
|
// }
|
|
1853
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1857
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.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 : ''),
|
|
1854
1858
|
onClick: function onClick() {
|
|
1855
1859
|
if (isoptionvalueselected == 0) {
|
|
1856
|
-
var _authdetailsContext$
|
|
1857
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1860
|
+
var _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
1861
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68d28fc494276') {
|
|
1862
|
+
if (isValueinStock == 0) {
|
|
1863
|
+
return;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
// amiga
|
|
1867
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '670fc18477599') {
|
|
1858
1868
|
if (isValueinStock == 0) {
|
|
1859
1869
|
return;
|
|
1860
1870
|
}
|
|
1861
1871
|
}
|
|
1862
1872
|
// vout
|
|
1863
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1873
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68f918a4ccb85') {
|
|
1864
1874
|
if (isValueinStock == 0) {
|
|
1865
1875
|
return;
|
|
1866
1876
|
}
|
|
1867
1877
|
}
|
|
1868
1878
|
// puff
|
|
1869
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1879
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
|
|
1870
1880
|
if (isValueinStock == 0) {
|
|
1871
1881
|
return;
|
|
1872
1882
|
}
|
|
1873
1883
|
}
|
|
1874
1884
|
// angel
|
|
1875
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1885
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67bda57bca71d') {
|
|
1876
1886
|
if (isValueinStock == 0) {
|
|
1877
1887
|
return;
|
|
1878
1888
|
}
|
|
1879
1889
|
}
|
|
1880
1890
|
// dija
|
|
1881
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1891
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1882
1892
|
if (isValueinStock == 0) {
|
|
1883
1893
|
return;
|
|
1884
1894
|
}
|
|
1885
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1895
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '69244cc88aa0a') {
|
|
1886
1896
|
if (isValueinStock == 0) {
|
|
1887
1897
|
return;
|
|
1888
1898
|
}
|
|
1889
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1899
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '687ca57cc78e8') {
|
|
1890
1900
|
if (isValueinStock == 0) {
|
|
1891
1901
|
return;
|
|
1892
1902
|
}
|
|
1893
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1903
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6899e604db87f') {
|
|
1894
1904
|
if (isValueinStock == 0) {
|
|
1895
1905
|
return;
|
|
1896
1906
|
}
|
|
@@ -1934,16 +1944,18 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1934
1944
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1935
1945
|
"class": "h-100 allcentered"
|
|
1936
1946
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1937
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1947
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1948
|
+
// amiga
|
|
1949
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1938
1950
|
// vout
|
|
1939
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1951
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1940
1952
|
// puff
|
|
1941
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1953
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1942
1954
|
// angel
|
|
1943
1955
|
|
|
1944
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1956
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1945
1957
|
// dija
|
|
1946
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1958
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.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$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.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$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.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$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.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',
|
|
1947
1959
|
style: {
|
|
1948
1960
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1949
1961
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1952,49 +1964,55 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1952
1964
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1953
1965
|
}
|
|
1954
1966
|
} else {
|
|
1955
|
-
var _authdetailsContext$
|
|
1967
|
+
var _authdetailsContext$i26, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44;
|
|
1956
1968
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1957
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1969
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.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 : ''),
|
|
1958
1970
|
onClick: function onClick() {
|
|
1959
1971
|
if (isoptionvalueselected == 0) {
|
|
1960
|
-
var _authdetailsContext$
|
|
1961
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1972
|
+
var _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35;
|
|
1973
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68d28fc494276') {
|
|
1974
|
+
if (isValueinStock == 0) {
|
|
1975
|
+
return;
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
// amiga
|
|
1979
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '670fc18477599') {
|
|
1962
1980
|
if (isValueinStock == 0) {
|
|
1963
1981
|
return;
|
|
1964
1982
|
}
|
|
1965
1983
|
}
|
|
1966
1984
|
// vout
|
|
1967
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1985
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68f918a4ccb85') {
|
|
1968
1986
|
if (isValueinStock == 0) {
|
|
1969
1987
|
return;
|
|
1970
1988
|
}
|
|
1971
1989
|
}
|
|
1972
1990
|
// puff n stuff
|
|
1973
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1991
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '6899e604db87f') {
|
|
1974
1992
|
if (isValueinStock == 0) {
|
|
1975
1993
|
return;
|
|
1976
1994
|
}
|
|
1977
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1995
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '69244cc88aa0a') {
|
|
1978
1996
|
if (isValueinStock == 0) {
|
|
1979
1997
|
return;
|
|
1980
1998
|
}
|
|
1981
1999
|
}
|
|
1982
2000
|
// angel
|
|
1983
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2001
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67bda57bca71d') {
|
|
1984
2002
|
if (isValueinStock == 0) {
|
|
1985
2003
|
return;
|
|
1986
2004
|
}
|
|
1987
2005
|
}
|
|
1988
2006
|
// dija
|
|
1989
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2007
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1990
2008
|
if (isValueinStock == 0) {
|
|
1991
2009
|
return;
|
|
1992
2010
|
}
|
|
1993
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2011
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '687ca57cc78e8') {
|
|
1994
2012
|
if (isValueinStock == 0) {
|
|
1995
2013
|
return;
|
|
1996
2014
|
}
|
|
1997
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2015
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '6899e604db87f') {
|
|
1998
2016
|
if (isValueinStock == 0) {
|
|
1999
2017
|
return;
|
|
2000
2018
|
}
|
|
@@ -2018,15 +2036,17 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2018
2036
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
2019
2037
|
}
|
|
2020
2038
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2021
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2039
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2040
|
+
// amiga
|
|
2041
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2022
2042
|
// vout
|
|
2023
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2043
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2024
2044
|
// puff
|
|
2025
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2045
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2026
2046
|
// angel
|
|
2027
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2047
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2028
2048
|
// dija
|
|
2029
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2049
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.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$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.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$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.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$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.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',
|
|
2030
2050
|
style: {
|
|
2031
2051
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
2032
2052
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7666,7 +7686,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7666
7686
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7667
7687
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7668
7688
|
var Productinfo = function Productinfo(props) {
|
|
7669
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7689
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i37, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i38, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i49, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i50, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i51, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54;
|
|
7670
7690
|
var _useState = React.useState({}),
|
|
7671
7691
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7672
7692
|
ProductInfoObj = _useState2[0],
|
|
@@ -8169,7 +8189,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8169
8189
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8170
8190
|
// };
|
|
8171
8191
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8172
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
8192
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
|
|
8173
8193
|
// lord
|
|
8174
8194
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8175
8195
|
var _ProductInfoObj$data;
|
|
@@ -8258,8 +8278,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8258
8278
|
});
|
|
8259
8279
|
return inStock ? 1 : 0;
|
|
8260
8280
|
}
|
|
8261
|
-
//
|
|
8262
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '
|
|
8281
|
+
// amiga
|
|
8282
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '670fc18477599') {
|
|
8263
8283
|
var _ProductInfoObj$data2;
|
|
8264
8284
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8265
8285
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8346,8 +8366,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8346
8366
|
});
|
|
8347
8367
|
return _inStock ? 1 : 0;
|
|
8348
8368
|
}
|
|
8349
|
-
//
|
|
8350
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8369
|
+
// vout
|
|
8370
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '68f918a4ccb85') {
|
|
8351
8371
|
var _ProductInfoObj$data3;
|
|
8352
8372
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8353
8373
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8434,8 +8454,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8434
8454
|
});
|
|
8435
8455
|
return _inStock2 ? 1 : 0;
|
|
8436
8456
|
}
|
|
8437
|
-
//
|
|
8438
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8457
|
+
// puff n stuff
|
|
8458
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6899e604db87f') {
|
|
8439
8459
|
var _ProductInfoObj$data4;
|
|
8440
8460
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8441
8461
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8522,8 +8542,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8522
8542
|
});
|
|
8523
8543
|
return _inStock3 ? 1 : 0;
|
|
8524
8544
|
}
|
|
8525
|
-
//
|
|
8526
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '
|
|
8545
|
+
// dija
|
|
8546
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8527
8547
|
var _ProductInfoObj$data5;
|
|
8528
8548
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8529
8549
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8609,7 +8629,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8609
8629
|
}) && variantValueIds.includes(Currvalueid);
|
|
8610
8630
|
});
|
|
8611
8631
|
return _inStock4 ? 1 : 0;
|
|
8612
|
-
}
|
|
8632
|
+
}
|
|
8633
|
+
// angel secrets
|
|
8634
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '67bda57bca71d') {
|
|
8613
8635
|
var _ProductInfoObj$data6;
|
|
8614
8636
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8615
8637
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8695,7 +8717,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8695
8717
|
}) && variantValueIds.includes(Currvalueid);
|
|
8696
8718
|
});
|
|
8697
8719
|
return _inStock5 ? 1 : 0;
|
|
8698
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '
|
|
8720
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '69244cc88aa0a') {
|
|
8699
8721
|
var _ProductInfoObj$data7;
|
|
8700
8722
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8701
8723
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -8781,13 +8803,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8781
8803
|
}) && variantValueIds.includes(Currvalueid);
|
|
8782
8804
|
});
|
|
8783
8805
|
return _inStock6 ? 1 : 0;
|
|
8806
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '687ca57cc78e8') {
|
|
8807
|
+
var _ProductInfoObj$data8;
|
|
8808
|
+
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
8809
|
+
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
8810
|
+
var _variants7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.variants) || [];
|
|
8811
|
+
|
|
8812
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8813
|
+
var _selectedValues7 = [];
|
|
8814
|
+
_options7.forEach(function (option) {
|
|
8815
|
+
option.optionvalues.forEach(function (value) {
|
|
8816
|
+
if (value.isselected === 1) {
|
|
8817
|
+
_selectedValues7.push({
|
|
8818
|
+
optionid: option.optionid,
|
|
8819
|
+
valueid: value.valueid
|
|
8820
|
+
});
|
|
8821
|
+
}
|
|
8822
|
+
});
|
|
8823
|
+
});
|
|
8824
|
+
_options7.length;
|
|
8825
|
+
var _selectedCount7 = _selectedValues7.length;
|
|
8826
|
+
var _inStockVariants7 = _variants7.filter(function (v) {
|
|
8827
|
+
return v.current_quantity > 0;
|
|
8828
|
+
});
|
|
8829
|
+
|
|
8830
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8831
|
+
if (_selectedCount7 === 0) {
|
|
8832
|
+
return _inStockVariants7.some(function (variant) {
|
|
8833
|
+
return variant.variantoptions.some(function (opt) {
|
|
8834
|
+
return opt.valueid === Currvalueid;
|
|
8835
|
+
});
|
|
8836
|
+
}) ? 1 : 0;
|
|
8837
|
+
}
|
|
8838
|
+
|
|
8839
|
+
// 🧠 Case 2: Only one option selected
|
|
8840
|
+
if (_selectedCount7 === 1) {
|
|
8841
|
+
var _selected7 = _selectedValues7[0];
|
|
8842
|
+
var _selectedOptionId7 = _selected7.optionid;
|
|
8843
|
+
|
|
8844
|
+
// Find which option this Currvalueid belongs to
|
|
8845
|
+
var _currentOptionId7 = null;
|
|
8846
|
+
_options7.forEach(function (option) {
|
|
8847
|
+
option.optionvalues.forEach(function (v) {
|
|
8848
|
+
if (v.valueid === Currvalueid) _currentOptionId7 = option.optionid;
|
|
8849
|
+
});
|
|
8850
|
+
});
|
|
8851
|
+
|
|
8852
|
+
// Same option (e.g., selecting only size)
|
|
8853
|
+
if (_selectedOptionId7 === _currentOptionId7) {
|
|
8854
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8855
|
+
return _inStockVariants7.some(function (variant) {
|
|
8856
|
+
return variant.variantoptions.some(function (opt) {
|
|
8857
|
+
return opt.valueid === Currvalueid;
|
|
8858
|
+
});
|
|
8859
|
+
}) ? 1 : 0;
|
|
8860
|
+
}
|
|
8861
|
+
|
|
8862
|
+
// Different option (e.g., color)
|
|
8863
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8864
|
+
return _inStockVariants7.some(function (variant) {
|
|
8865
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8866
|
+
return v.valueid;
|
|
8867
|
+
});
|
|
8868
|
+
return variantValueIds.includes(_selected7.valueid) && variantValueIds.includes(Currvalueid);
|
|
8869
|
+
}) ? 1 : 0;
|
|
8870
|
+
}
|
|
8871
|
+
|
|
8872
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8873
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8874
|
+
var _inStock7 = _inStockVariants7.some(function (variant) {
|
|
8875
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8876
|
+
return v.valueid;
|
|
8877
|
+
});
|
|
8878
|
+
// Must match all selected except the one that belongs to same option
|
|
8879
|
+
return _selectedValues7.every(function (sel) {
|
|
8880
|
+
if (_options7.some(function (opt) {
|
|
8881
|
+
return opt.optionvalues.some(function (v) {
|
|
8882
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8883
|
+
});
|
|
8884
|
+
})) {
|
|
8885
|
+
// Skip same option
|
|
8886
|
+
return true;
|
|
8887
|
+
}
|
|
8888
|
+
return variantValueIds.includes(sel.valueid);
|
|
8889
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8890
|
+
});
|
|
8891
|
+
return _inStock7 ? 1 : 0;
|
|
8784
8892
|
} else {
|
|
8785
8893
|
return 1;
|
|
8786
8894
|
}
|
|
8787
8895
|
};
|
|
8788
8896
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8789
|
-
var _authdetailsContext$
|
|
8790
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8897
|
+
var _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18;
|
|
8898
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68d28fc494276') {
|
|
8791
8899
|
var _productarr$data, _productarr$data$prod;
|
|
8792
8900
|
var _productarr = ProductInfoObj;
|
|
8793
8901
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8841,7 +8949,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8841
8949
|
}
|
|
8842
8950
|
}
|
|
8843
8951
|
// vout
|
|
8844
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8952
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68f918a4ccb85') {
|
|
8845
8953
|
var _productarr2$data, _productarr2$data$pro;
|
|
8846
8954
|
var _productarr2 = ProductInfoObj;
|
|
8847
8955
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8895,7 +9003,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8895
9003
|
}
|
|
8896
9004
|
}
|
|
8897
9005
|
// puff n stuff
|
|
8898
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9006
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
8899
9007
|
var _productarr3$data, _productarr3$data$pro;
|
|
8900
9008
|
var _productarr3 = ProductInfoObj;
|
|
8901
9009
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8949,7 +9057,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8949
9057
|
}
|
|
8950
9058
|
}
|
|
8951
9059
|
// dija
|
|
8952
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9060
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8953
9061
|
var _productarr4$data, _productarr4$data$pro;
|
|
8954
9062
|
var _productarr4 = ProductInfoObj;
|
|
8955
9063
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9003,7 +9111,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9003
9111
|
}
|
|
9004
9112
|
}
|
|
9005
9113
|
// angel
|
|
9006
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9114
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67bda57bca71d') {
|
|
9007
9115
|
var _productarr5$data, _productarr5$data$pro;
|
|
9008
9116
|
var _productarr5 = ProductInfoObj;
|
|
9009
9117
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9055,7 +9163,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9055
9163
|
// optional: show user message or disable click
|
|
9056
9164
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9057
9165
|
}
|
|
9058
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9166
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '69244cc88aa0a') {
|
|
9059
9167
|
var _productarr6$data, _productarr6$data$pro;
|
|
9060
9168
|
var _productarr6 = ProductInfoObj;
|
|
9061
9169
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -9107,7 +9215,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9107
9215
|
// optional: show user message or disable click
|
|
9108
9216
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9109
9217
|
}
|
|
9110
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9218
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '687ca57cc78e8') {
|
|
9111
9219
|
var _productarr7$data, _productarr7$data$pro;
|
|
9112
9220
|
var _productarr7 = ProductInfoObj;
|
|
9113
9221
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9640,10 +9748,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9640
9748
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9641
9749
|
runfunc = true;
|
|
9642
9750
|
} else {
|
|
9643
|
-
var _authdetailsContext$
|
|
9751
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
|
|
9644
9752
|
// here
|
|
9645
9753
|
setvariantnotchosendisclaimer('This field is required');
|
|
9646
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9754
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9647
9755
|
}
|
|
9648
9756
|
} else {
|
|
9649
9757
|
runfunc = true;
|
|
@@ -9727,9 +9835,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9727
9835
|
};
|
|
9728
9836
|
};
|
|
9729
9837
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9730
|
-
var _authdetailsContext$
|
|
9838
|
+
var _authdetailsContext$i22;
|
|
9731
9839
|
var policyobj = {};
|
|
9732
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9840
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instpolicies) === null || _authdetailsContext$i22 === void 0 || _authdetailsContext$i22.forEach(function (item, index) {
|
|
9733
9841
|
if (item.policytype == policytype) {
|
|
9734
9842
|
policyobj = item;
|
|
9735
9843
|
}
|
|
@@ -9738,7 +9846,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9738
9846
|
};
|
|
9739
9847
|
var relatedproducts = function relatedproducts() {
|
|
9740
9848
|
if (Relatedproducts.length != 0) {
|
|
9741
|
-
var _authdetailsContext$
|
|
9849
|
+
var _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27;
|
|
9742
9850
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9743
9851
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
9744
9852
|
style: {
|
|
@@ -9760,9 +9868,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9760
9868
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9761
9869
|
className: "row m-0 w-100",
|
|
9762
9870
|
style: {
|
|
9763
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9871
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9764
9872
|
}
|
|
9765
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9873
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9766
9874
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9767
9875
|
style: {
|
|
9768
9876
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9781,7 +9889,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9781
9889
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9782
9890
|
borderRadius: 5
|
|
9783
9891
|
}
|
|
9784
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9892
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9785
9893
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9786
9894
|
style: {
|
|
9787
9895
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9802,8 +9910,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9802
9910
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
9803
9911
|
transitionBehavior: 'auto',
|
|
9804
9912
|
wrapperClassName: '',
|
|
9805
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9806
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9913
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9914
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9807
9915
|
}, Relatedproducts.map(function (item, index) {
|
|
9808
9916
|
if (item.productinfo != null) {
|
|
9809
9917
|
var _fetchProductInfoQuer49;
|
|
@@ -9873,10 +9981,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9873
9981
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9874
9982
|
runfunc = true;
|
|
9875
9983
|
} else {
|
|
9876
|
-
var _authdetailsContext$
|
|
9984
|
+
var _authdetailsContext$i28;
|
|
9877
9985
|
// here
|
|
9878
9986
|
setvariantnotchosendisclaimer('This field is required');
|
|
9879
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9987
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9880
9988
|
}
|
|
9881
9989
|
} else {
|
|
9882
9990
|
runfunc = true;
|
|
@@ -9919,8 +10027,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9919
10027
|
isVarianturlLoaded = _useState58[0],
|
|
9920
10028
|
setisVarianturlLoaded = _useState58[1];
|
|
9921
10029
|
React.useEffect(function () {
|
|
9922
|
-
var _authdetailsContext$
|
|
9923
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10030
|
+
var _authdetailsContext$i29;
|
|
10031
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68f918a4ccb85') {
|
|
9924
10032
|
var params = new URLSearchParams(window.location.search);
|
|
9925
10033
|
var variantId = params.get('variant');
|
|
9926
10034
|
if (isVarianturlLoaded == false) {
|
|
@@ -10719,7 +10827,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10719
10827
|
})));
|
|
10720
10828
|
};
|
|
10721
10829
|
var StoreInfo = function StoreInfo(position) {
|
|
10722
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10830
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i31, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i32, _authdetailsContext$i34;
|
|
10723
10831
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10724
10832
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10725
10833
|
style: {
|
|
@@ -10798,8 +10906,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10798
10906
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10799
10907
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10800
10908
|
onClick: function onClick() {
|
|
10801
|
-
var _authdetailsContext$
|
|
10802
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10909
|
+
var _authdetailsContext$i30;
|
|
10910
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.contactinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.email), '_self');
|
|
10803
10911
|
}
|
|
10804
10912
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10805
10913
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10819,7 +10927,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10819
10927
|
style: {
|
|
10820
10928
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10821
10929
|
}
|
|
10822
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10930
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.contactinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10823
10931
|
"class": "col-lg-12 my-2",
|
|
10824
10932
|
style: {
|
|
10825
10933
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10871,25 +10979,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10871
10979
|
}
|
|
10872
10980
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10873
10981
|
"class": "m-0 p-0"
|
|
10874
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10982
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 || (_authdetailsContext$i32 = _authdetailsContext$i32.contactinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10875
10983
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10876
10984
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10877
10985
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10878
10986
|
onClick: function onClick() {
|
|
10879
|
-
var _authdetailsContext$
|
|
10880
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10987
|
+
var _authdetailsContext$i33;
|
|
10988
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 || (_authdetailsContext$i33 = _authdetailsContext$i33.contactinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.email), '_self');
|
|
10881
10989
|
}
|
|
10882
10990
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10883
10991
|
"class": "m-0 p-0"
|
|
10884
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10992
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10885
10993
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10886
10994
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10887
10995
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10888
10996
|
onClick: function onClick() {
|
|
10889
|
-
var _authdetailsContext$
|
|
10890
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10891
|
-
var _authdetailsContext$
|
|
10892
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10997
|
+
var _authdetailsContext$i35;
|
|
10998
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber) != null) {
|
|
10999
|
+
var _authdetailsContext$i36;
|
|
11000
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.whatsappnumber), '_blank');
|
|
10893
11001
|
}
|
|
10894
11002
|
}
|
|
10895
11003
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -10985,7 +11093,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10985
11093
|
lang: lang,
|
|
10986
11094
|
srcfromprops: props.srcfromprops
|
|
10987
11095
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10988
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11096
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10989
11097
|
actions: (_ref2 = {
|
|
10990
11098
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10991
11099
|
setisoutofstock: setisoutofstock,
|
|
@@ -10995,7 +11103,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10995
11103
|
lang: lang,
|
|
10996
11104
|
srcfromprops: props.srcfromprops
|
|
10997
11105
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10998
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11106
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10999
11107
|
actions: (_ref3 = {
|
|
11000
11108
|
isOptionInStock: isOptionInStock,
|
|
11001
11109
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11021,7 +11129,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11021
11129
|
lang: lang,
|
|
11022
11130
|
srcfromprops: props.srcfromprops
|
|
11023
11131
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11024
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11132
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11025
11133
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11026
11134
|
style: {
|
|
11027
11135
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11212,7 +11320,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11212
11320
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11213
11321
|
sectionproperties: sectionproperties
|
|
11214
11322
|
})
|
|
11215
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11323
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11216
11324
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11217
11325
|
style: {
|
|
11218
11326
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11362,7 +11470,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11362
11470
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11363
11471
|
sectionproperties: sectionproperties
|
|
11364
11472
|
})
|
|
11365
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11473
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11366
11474
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11367
11475
|
style: {
|
|
11368
11476
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11504,7 +11612,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11504
11612
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11505
11613
|
sectionproperties: sectionproperties
|
|
11506
11614
|
})
|
|
11507
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11615
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11508
11616
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11509
11617
|
style: {
|
|
11510
11618
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11655,7 +11763,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11655
11763
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11656
11764
|
sectionproperties: sectionproperties
|
|
11657
11765
|
})
|
|
11658
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11766
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11659
11767
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
11660
11768
|
}, productVideos.map(function (item, index) {
|
|
11661
11769
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11672,12 +11780,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11672
11780
|
loop: true,
|
|
11673
11781
|
muted: true
|
|
11674
11782
|
}));
|
|
11675
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11783
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11676
11784
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11677
11785
|
style: {
|
|
11678
11786
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11679
11787
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11680
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11788
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
11681
11789
|
}
|
|
11682
11790
|
}, relatedproducts()))));
|
|
11683
11791
|
};
|
|
@@ -37176,42 +37284,45 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37176
37284
|
setChoosenindex(index);
|
|
37177
37285
|
}
|
|
37178
37286
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37179
|
-
className: ' row m-0 p-0 mb-
|
|
37180
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37181
|
-
className: ' row m-0 w-100 px-3 '
|
|
37287
|
+
className: header_cssstyles.catcontainer + ' row m-0 p-0 mb-3 px-3 '
|
|
37182
37288
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37183
|
-
className: "col-10
|
|
37184
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
37185
|
-
|
|
37289
|
+
className: "col-10 d-flex justify-content-start align-items-center"
|
|
37290
|
+
}, sectionproperties.catslidershowpcollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37291
|
+
"class": header_cssstyles.pcollimage,
|
|
37292
|
+
style: {}
|
|
37293
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
37294
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
37295
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
37296
|
+
path: '/tr:w-500,h-500/' + item.parentcollectionlogo,
|
|
37297
|
+
style: {
|
|
37298
|
+
width: '100%',
|
|
37299
|
+
height: '100%',
|
|
37300
|
+
objectFit: 'cover',
|
|
37301
|
+
borderRadius: sectionproperties.catsliderpcollimageborderradius + 'px',
|
|
37302
|
+
border: sectionproperties.catsliderpcollimageborderwidth + 'px solid ' + sectionproperties.catsliderpcollimagebordercolor
|
|
37303
|
+
}
|
|
37304
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37305
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext mb-0 p-0 mx-3 '
|
|
37186
37306
|
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37187
|
-
className: "col-lg-2 col-md-2 col-sm-2
|
|
37307
|
+
className: "col-lg-2 col-md-2 col-sm-2 text-end"
|
|
37188
37308
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
37189
37309
|
if (state.expanded == true) {
|
|
37190
37310
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
37191
|
-
className: "".concat(header_cssstyles.
|
|
37311
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext h-100 d-flex align-items-center justify-content-end '
|
|
37192
37312
|
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
37193
37313
|
style: {
|
|
37194
|
-
// color: '#000',
|
|
37195
37314
|
fontSize: 15
|
|
37196
37315
|
}
|
|
37197
37316
|
}));
|
|
37198
37317
|
} else {
|
|
37199
37318
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
37200
|
-
className: "".concat(header_cssstyles.
|
|
37319
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext h-100 d-flex align-items-center justify-content-end '
|
|
37201
37320
|
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
37202
37321
|
style: {
|
|
37203
|
-
// color: '#000',
|
|
37204
37322
|
fontSize: 15
|
|
37205
37323
|
}
|
|
37206
37324
|
}));
|
|
37207
37325
|
}
|
|
37208
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37209
|
-
className: "col-lg-12 p-0"
|
|
37210
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
37211
|
-
className: "mt-4 mb-4",
|
|
37212
|
-
style: {
|
|
37213
|
-
borderColor: sectionproperties.resp_header_separatorbg
|
|
37214
|
-
}
|
|
37215
37326
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
37216
37327
|
className: "p-0"
|
|
37217
37328
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -37219,26 +37330,51 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37219
37330
|
}, Choosenindex.length != 0 && (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && (item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (collitem, collindex) {
|
|
37220
37331
|
if (collitem.isshowntocustomers == 1) {
|
|
37221
37332
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37222
|
-
|
|
37223
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37224
|
-
className: ' row m-0 p-0 mb-2 '
|
|
37333
|
+
className: header_cssstyles.collcontainer + ' row m-0 p-0 mb-4 px-4 '
|
|
37225
37334
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37226
37335
|
className: ' row m-0 w-100 px-5 '
|
|
37227
37336
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37228
|
-
className: "col-
|
|
37337
|
+
className: "col-12 d-flex justify-content-start align-items-center p-0",
|
|
37229
37338
|
onClick: function onClick() {
|
|
37230
37339
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37231
37340
|
}
|
|
37232
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
37233
|
-
|
|
37234
|
-
|
|
37235
|
-
|
|
37236
|
-
|
|
37237
|
-
|
|
37341
|
+
}, sectionproperties.catslidershowcollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37342
|
+
"class": header_cssstyles.collimage,
|
|
37343
|
+
style: {}
|
|
37344
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
37345
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
37346
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
37347
|
+
path: '/tr:w-500,h-500/' + collitem.collectionlogo,
|
|
37238
37348
|
style: {
|
|
37239
|
-
|
|
37349
|
+
width: '100%',
|
|
37350
|
+
height: '100%',
|
|
37351
|
+
objectFit: 'contain',
|
|
37352
|
+
borderRadius: sectionproperties.catslidercollimageborderradius + 'px',
|
|
37353
|
+
border: sectionproperties.catslidercollimageborderwidth + 'px solid ' + sectionproperties.catslidercollimagebordercolor
|
|
37240
37354
|
}
|
|
37241
|
-
}))
|
|
37355
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37356
|
+
className: "".concat(header_cssstyles.closeslidercoll) + ' colltext mb-0 p-0 mx-3 '
|
|
37357
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar))))
|
|
37358
|
+
// <div class="col-lg-12 p-0">
|
|
37359
|
+
// <div className={' row m-0 p-0 mb-2 '}>
|
|
37360
|
+
// <div className={' row m-0 w-100 px-5 '}>
|
|
37361
|
+
// <div
|
|
37362
|
+
// className="col-10 p-0 text-start"
|
|
37363
|
+
// onClick={() => {
|
|
37364
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37365
|
+
// }}
|
|
37366
|
+
// >
|
|
37367
|
+
// <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
|
|
37368
|
+
// {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
|
|
37369
|
+
// </p>
|
|
37370
|
+
// </div>
|
|
37371
|
+
// </div>
|
|
37372
|
+
// <div className="col-lg-12 p-0">
|
|
37373
|
+
// <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
|
|
37374
|
+
// </div>
|
|
37375
|
+
// </div>
|
|
37376
|
+
// </div>
|
|
37377
|
+
;
|
|
37242
37378
|
}
|
|
37243
37379
|
})))));
|
|
37244
37380
|
}
|
|
@@ -37274,23 +37410,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37274
37410
|
}
|
|
37275
37411
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37276
37412
|
className: "".concat(header_cssstyles.closeslidercoll) + ' colltext mb-0 p-0 mx-3 '
|
|
37277
|
-
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar)))
|
|
37278
|
-
|
|
37279
|
-
// <div className={' row m-0 p-0 mb-2 w-100 '}>
|
|
37280
|
-
// <div
|
|
37281
|
-
// className="col-12 p-0 text-start px-3"
|
|
37282
|
-
// onClick={() => {
|
|
37283
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37284
|
-
// }}
|
|
37285
|
-
// >
|
|
37286
|
-
// <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{langdetect == 'en' ? collitem.title_en : collitem.title_ar}</p>
|
|
37287
|
-
// </div>
|
|
37288
|
-
|
|
37289
|
-
// <div className="col-lg-12 p-0">
|
|
37290
|
-
// <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
|
|
37291
|
-
// </div>
|
|
37292
|
-
// </div>
|
|
37293
|
-
;
|
|
37413
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar)));
|
|
37294
37414
|
}
|
|
37295
37415
|
}));
|
|
37296
37416
|
};
|
|
@@ -37426,7 +37546,7 @@ if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex>0){if(window.loca
|
|
|
37426
37546
|
function ownKeys$1_(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
37427
37547
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37428
37548
|
var Header8 = function Header8(props) {
|
|
37429
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$
|
|
37549
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i24, _authdetailsContext$i26, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
37430
37550
|
var actions = props.actions;
|
|
37431
37551
|
props.actions.history;
|
|
37432
37552
|
var lang = props.actions.lang;
|
|
@@ -37521,6 +37641,10 @@ var Header8 = function Header8(props) {
|
|
|
37521
37641
|
flooringmenu2 = _useState36[0],
|
|
37522
37642
|
setflooringmenu2 = _useState36[1];
|
|
37523
37643
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
37644
|
+
var _useState37 = React.useState(false),
|
|
37645
|
+
_useState38 = _slicedToArray__default["default"](_useState37, 2),
|
|
37646
|
+
menuactive = _useState38[0],
|
|
37647
|
+
setmenuactive = _useState38[1];
|
|
37524
37648
|
React.useEffect(function () {
|
|
37525
37649
|
var _StatePagePropertiesC;
|
|
37526
37650
|
var secpropobj = {};
|
|
@@ -37671,6 +37795,21 @@ var Header8 = function Header8(props) {
|
|
|
37671
37795
|
})));
|
|
37672
37796
|
};
|
|
37673
37797
|
var header_cssstyles = {
|
|
37798
|
+
menuiconn: glamor.css({
|
|
37799
|
+
backgroundColor: sectionproperties.menuiconbgcolor,
|
|
37800
|
+
width: sectionproperties.menuiconwidth,
|
|
37801
|
+
height: sectionproperties.menuiconheight,
|
|
37802
|
+
marginRight: langdetect == 'en' ? 30 : 0,
|
|
37803
|
+
marginLeft: langdetect == 'en' ? 0 : 30,
|
|
37804
|
+
borderRadius: 100,
|
|
37805
|
+
color: sectionproperties.menuiconcolor,
|
|
37806
|
+
':hover': {
|
|
37807
|
+
transition: '.3s',
|
|
37808
|
+
cursor: 'pointer',
|
|
37809
|
+
backgroundColor: sectionproperties.menuiconbgcoloronhover,
|
|
37810
|
+
color: sectionproperties.menuiconcoloronhover
|
|
37811
|
+
}
|
|
37812
|
+
}),
|
|
37674
37813
|
floatingwaicon: glamor.css({
|
|
37675
37814
|
position: 'fixed',
|
|
37676
37815
|
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
@@ -38059,11 +38198,13 @@ var Header8 = function Header8(props) {
|
|
|
38059
38198
|
sectionpropertiesprops: sectionproperties,
|
|
38060
38199
|
templateproperties_contextprops: templateproperties_context,
|
|
38061
38200
|
actions: actions
|
|
38062
|
-
})), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(
|
|
38201
|
+
})), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38202
|
+
"class": "col-12 p-0 d-flex d-md-none"
|
|
38203
|
+
}, /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
38063
38204
|
sectionpropertiesprops: sectionproperties,
|
|
38064
38205
|
templateproperties_contextprops: templateproperties_context,
|
|
38065
38206
|
actions: actions
|
|
38066
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38207
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38067
38208
|
"class": "".concat(header_cssstyles.headercontainer) + ' row ml-0 mr-0 d-flex d-md-none align-items-center ',
|
|
38068
38209
|
style: {
|
|
38069
38210
|
position: sectionproperties.headerstyles_position,
|
|
@@ -38074,8 +38215,20 @@ var Header8 = function Header8(props) {
|
|
|
38074
38215
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38075
38216
|
"class": header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center px-1025-1 '
|
|
38076
38217
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38077
|
-
"class": "col-lg-2 p-0"
|
|
38078
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38218
|
+
"class": "col-lg-2 p-0 d-flex align-items-center"
|
|
38219
|
+
}, sectionproperties.showmenuicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38220
|
+
style: {},
|
|
38221
|
+
"class": header_cssstyles.menuiconn + ' allcentered ',
|
|
38222
|
+
onClick: function onClick() {
|
|
38223
|
+
if (menuactive == true) {
|
|
38224
|
+
setmenuactive(false);
|
|
38225
|
+
} else {
|
|
38226
|
+
setmenuactive(true);
|
|
38227
|
+
}
|
|
38228
|
+
}
|
|
38229
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMenu.FiMenu, {
|
|
38230
|
+
size: sectionproperties.menuiconfontsize
|
|
38231
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38079
38232
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
38080
38233
|
style: {
|
|
38081
38234
|
cursor: 'pointer'
|
|
@@ -38174,7 +38327,7 @@ var Header8 = function Header8(props) {
|
|
|
38174
38327
|
}
|
|
38175
38328
|
}), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
38176
38329
|
"class": " ".concat(header_cssstyles.searchbar_icon_cont) + ' d-flex align-items-center justify-content-center '
|
|
38177
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsSearch.BsSearch, {
|
|
38330
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '683c163d7f996' && langdetect == 'en' ? 'Search' : 'ابحث', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '683c163d7f996' && /*#__PURE__*/React__default["default"].createElement(BsSearch.BsSearch, {
|
|
38178
38331
|
color: sectionproperties.searchbaricon_color,
|
|
38179
38332
|
size: sectionproperties.searchbaricon_fontsize
|
|
38180
38333
|
})), /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
|
|
@@ -38199,7 +38352,7 @@ var Header8 = function Header8(props) {
|
|
|
38199
38352
|
"class": "d-flex align-items-center flex-column"
|
|
38200
38353
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38201
38354
|
"class": header_cssstyles.storeinfotext + ' m-0 storeinfotext '
|
|
38202
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38355
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.mobile), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38203
38356
|
"class": "mb-0 w-100",
|
|
38204
38357
|
style: {
|
|
38205
38358
|
textAlign: langdetect == 'en' ? 'right' : 'left',
|
|
@@ -38215,7 +38368,7 @@ var Header8 = function Header8(props) {
|
|
|
38215
38368
|
paddingLeft: langdetect == 'en' ? sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '.3rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem' : 0,
|
|
38216
38369
|
paddingRight: langdetect == 'en' ? 0 : sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '1rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem'
|
|
38217
38370
|
}
|
|
38218
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38371
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '696e02860f043' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
38219
38372
|
onClick: function onClick() {
|
|
38220
38373
|
routingcountext(StaticPagesLinksContext.Compare);
|
|
38221
38374
|
},
|
|
@@ -38224,7 +38377,7 @@ var Header8 = function Header8(props) {
|
|
|
38224
38377
|
"class": header_cssstyles.wishlist_btn + ' allcentered p-0 '
|
|
38225
38378
|
}, /*#__PURE__*/React__default["default"].createElement(MdCompareArrows.MdCompareArrows, {
|
|
38226
38379
|
size: sectionproperties.userBtniconfontsize
|
|
38227
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38380
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
38228
38381
|
onClick: function onClick() {
|
|
38229
38382
|
routingcountext(StaticPagesLinksContext.Compare);
|
|
38230
38383
|
},
|
|
@@ -38332,9 +38485,9 @@ var Header8 = function Header8(props) {
|
|
|
38332
38485
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
38333
38486
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38334
38487
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38335
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38488
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38336
38489
|
"class": "ml-2 mr-2"
|
|
38337
|
-
}, " ", langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38490
|
+
}, " ", langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38338
38491
|
"class": "ml-2 mr-2"
|
|
38339
38492
|
}, lang.wishlist)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38340
38493
|
onClick: function onClick() {
|
|
@@ -38387,7 +38540,7 @@ var Header8 = function Header8(props) {
|
|
|
38387
38540
|
"class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center '
|
|
38388
38541
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38389
38542
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
38390
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38543
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0), sectionproperties.carticonstyle != "I'll use my own SVG" && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38391
38544
|
"class": "h-100 allcentered"
|
|
38392
38545
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
38393
38546
|
size: sectionproperties.cartBtn_iconFontSize
|
|
@@ -38403,7 +38556,51 @@ var Header8 = function Header8(props) {
|
|
|
38403
38556
|
size: sectionproperties.cartBtn_iconFontSize
|
|
38404
38557
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
38405
38558
|
size: sectionproperties.cartBtn_iconFontSize
|
|
38406
|
-
}))
|
|
38559
|
+
})), sectionproperties.carticonstyle == "I'll use my own SVG" && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38560
|
+
"class": "h-100 allcentered ",
|
|
38561
|
+
style: {
|
|
38562
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
38563
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
38564
|
+
}
|
|
38565
|
+
// dangerouslySetInnerHTML={{ __html: sectionproperties.cartsvg }}
|
|
38566
|
+
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
38567
|
+
viewBox: "0 0 24 24",
|
|
38568
|
+
fill: "none",
|
|
38569
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
38570
|
+
stroke: "#ffffff"
|
|
38571
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
38572
|
+
id: "SVGRepo_bgCarrier",
|
|
38573
|
+
"stroke-width": "0"
|
|
38574
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
38575
|
+
id: "SVGRepo_tracerCarrier",
|
|
38576
|
+
"stroke-linecap": "round",
|
|
38577
|
+
"stroke-linejoin": "round"
|
|
38578
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
38579
|
+
id: "SVGRepo_iconCarrier"
|
|
38580
|
+
}, ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38581
|
+
d: "M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",
|
|
38582
|
+
stroke: "#ffffff",
|
|
38583
|
+
"stroke-width": "1.5"
|
|
38584
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38585
|
+
d: "M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",
|
|
38586
|
+
stroke: "#ffffff",
|
|
38587
|
+
"stroke-width": "1.5"
|
|
38588
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38589
|
+
d: "M9.5 9L10.0282 12.1179",
|
|
38590
|
+
stroke: "#ffffff",
|
|
38591
|
+
"stroke-width": "1.5",
|
|
38592
|
+
"stroke-linecap": "round"
|
|
38593
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38594
|
+
d: "M15.5283 9L15.0001 12.1179",
|
|
38595
|
+
stroke: "#ffffff",
|
|
38596
|
+
"stroke-width": "1.5",
|
|
38597
|
+
"stroke-linecap": "round"
|
|
38598
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38599
|
+
d: "M2 3L2.26121 3.09184C3.5628 3.54945 4.2136 3.77826 4.58584 4.32298C4.95808 4.86771 4.95808 5.59126 4.95808 7.03836V9.76C4.95808 12.7016 5.02132 13.6723 5.88772 14.5862C6.75412 15.5 8.14857 15.5 10.9375 15.5H12M16.2404 15.5C17.8014 15.5 18.5819 15.5 19.1336 15.0504C19.6853 14.6008 19.8429 13.8364 20.158 12.3075L20.6578 9.88275C21.0049 8.14369 21.1784 7.27417 20.7345 6.69708C20.2906 6.12 18.7738 6.12 17.0888 6.12H11.0235M4.95808 6.12H7",
|
|
38600
|
+
stroke: "#ffffff",
|
|
38601
|
+
"stroke-width": "1.5",
|
|
38602
|
+
"stroke-linecap": "round"
|
|
38603
|
+
}), ' ')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38407
38604
|
"class": langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'
|
|
38408
38605
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38409
38606
|
"class": "row m-0 w-100 d-flex align-items-center flex-column justify-content-start"
|
|
@@ -38426,7 +38623,7 @@ var Header8 = function Header8(props) {
|
|
|
38426
38623
|
fontWeight: sectionproperties.secondaryfontweight,
|
|
38427
38624
|
cursor: 'pointer'
|
|
38428
38625
|
}
|
|
38429
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38626
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '68c69dcc53e94' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) != '696691293c2a6' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38430
38627
|
"class": "d-flex flex-row justify-content-end align-items-center",
|
|
38431
38628
|
onClick: function onClick() {
|
|
38432
38629
|
if (langdetect == 'en') {
|
|
@@ -38447,7 +38644,7 @@ var Header8 = function Header8(props) {
|
|
|
38447
38644
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38448
38645
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38449
38646
|
"class": "mx-2"
|
|
38450
|
-
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38647
|
+
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '696691293c2a6' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38451
38648
|
"class": "".concat(header_cssstyles.header_menu2) + ' allcentered mx-2 '
|
|
38452
38649
|
}, langdetect == 'ar' &&
|
|
38453
38650
|
/*#__PURE__*/
|
|
@@ -38485,7 +38682,7 @@ var Header8 = function Header8(props) {
|
|
|
38485
38682
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38486
38683
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38487
38684
|
"class": "ml-2 mr-2"
|
|
38488
|
-
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38685
|
+
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38489
38686
|
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-2 '
|
|
38490
38687
|
}, /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, {
|
|
38491
38688
|
size: 23
|
|
@@ -38511,7 +38708,7 @@ var Header8 = function Header8(props) {
|
|
|
38511
38708
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38512
38709
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38513
38710
|
"class": "ml-2 mr-2"
|
|
38514
|
-
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38711
|
+
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68c69dcc53e94' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38515
38712
|
"class": "".concat(header_cssstyles.header_menu) + ' allcentered mx-2 '
|
|
38516
38713
|
}, langdetect == 'ar' &&
|
|
38517
38714
|
/*#__PURE__*/
|
|
@@ -38549,7 +38746,7 @@ var Header8 = function Header8(props) {
|
|
|
38549
38746
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38550
38747
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38551
38748
|
"class": "ml-2 mr-2"
|
|
38552
|
-
}, 'English')))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38749
|
+
}, 'English')))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instcurrencies) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38553
38750
|
"class": langdetect == 'en' ? 'col-lasdg-2 d-flex align-items-center justify-content-end ml-2 ' : 'col-lasdg-2 d-flex align-items-center justify-content-end mr-2 '
|
|
38554
38751
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38555
38752
|
"class": ' d-flex align-items-center justify-content-center ',
|
|
@@ -38564,8 +38761,8 @@ var Header8 = function Header8(props) {
|
|
|
38564
38761
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
38565
38762
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38566
38763
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
38567
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38568
|
-
var _authdetailsContext$
|
|
38764
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instcurrencies) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.map(function (item, index) {
|
|
38765
|
+
var _authdetailsContext$i23;
|
|
38569
38766
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38570
38767
|
onClick: function onClick() {
|
|
38571
38768
|
setcurrencyfunccontext(item);
|
|
@@ -38585,7 +38782,7 @@ var Header8 = function Header8(props) {
|
|
|
38585
38782
|
}
|
|
38586
38783
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38587
38784
|
"class": 'ml-2 mr-2'
|
|
38588
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38785
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 || (_authdetailsContext$i23 = _authdetailsContext$i23.instcurrencies) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38589
38786
|
"class": "col-lg-12 p-0"
|
|
38590
38787
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
38591
38788
|
"class": "m-0"
|
|
@@ -38617,9 +38814,9 @@ var Header8 = function Header8(props) {
|
|
|
38617
38814
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
38618
38815
|
"class": "w-100 mt-2",
|
|
38619
38816
|
style: {}
|
|
38620
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38621
|
-
var _authdetailsContext$
|
|
38622
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38817
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.instcategories) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.map(function (item, index) {
|
|
38818
|
+
var _authdetailsContext$i25;
|
|
38819
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instcategories;
|
|
38623
38820
|
if (item.isshowntocustomers == 1) {
|
|
38624
38821
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38625
38822
|
"class": "w-100"
|
|
@@ -38632,9 +38829,9 @@ var Header8 = function Header8(props) {
|
|
|
38632
38829
|
"class": "w-100"
|
|
38633
38830
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
38634
38831
|
}
|
|
38635
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38636
|
-
var _authdetailsContext$
|
|
38637
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38832
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.instcollections) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.map(function (item, index) {
|
|
38833
|
+
var _authdetailsContext$i27;
|
|
38834
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.instcollections;
|
|
38638
38835
|
if (item.isshowntocustomers == 1) {
|
|
38639
38836
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38640
38837
|
"class": "w-100"
|
|
@@ -38650,15 +38847,15 @@ var Header8 = function Header8(props) {
|
|
|
38650
38847
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
38651
38848
|
}
|
|
38652
38849
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
38653
|
-
var _authdetailsContext$
|
|
38850
|
+
var _authdetailsContext$i28;
|
|
38654
38851
|
var activeclass = '';
|
|
38655
38852
|
if (item.isselected) {
|
|
38656
38853
|
activeclass = header_cssstyles.navbar_item_active;
|
|
38657
38854
|
}
|
|
38658
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38855
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '68c69dcc53e94') {
|
|
38659
38856
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
38660
38857
|
if (item.pagename != 'Services' && item.pagename != 'Isolation' && item.pagename != 'Flooring' && item.pagename != 'Projects') {
|
|
38661
|
-
var _authdetailsContext$
|
|
38858
|
+
var _authdetailsContext$i29, _authdetailsContext$i30;
|
|
38662
38859
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38663
38860
|
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
38664
38861
|
onClick: function onClick() {
|
|
@@ -38667,21 +38864,21 @@ var Header8 = function Header8(props) {
|
|
|
38667
38864
|
style: {
|
|
38668
38865
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38669
38866
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38670
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38671
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38867
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
38868
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38672
38869
|
}
|
|
38673
38870
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38674
38871
|
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
38675
38872
|
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
38676
38873
|
} else if (item.pagename == 'Services') {
|
|
38677
|
-
var _authdetailsContext$
|
|
38874
|
+
var _authdetailsContext$i31, _authdetailsContext$i32;
|
|
38678
38875
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38679
38876
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
38680
38877
|
style: {
|
|
38681
38878
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38682
38879
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38683
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38684
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38880
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
38881
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38685
38882
|
},
|
|
38686
38883
|
onMouseEnter: function onMouseEnter() {
|
|
38687
38884
|
setservicesmenu(true);
|
|
@@ -38857,14 +39054,14 @@ var Header8 = function Header8(props) {
|
|
|
38857
39054
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
38858
39055
|
}, langdetect == 'en' ? 'Soil drying' : 'تجفيف التربة'))))))));
|
|
38859
39056
|
} else if (item.pagename == 'Isolation') {
|
|
38860
|
-
var _authdetailsContext$
|
|
39057
|
+
var _authdetailsContext$i33, _authdetailsContext$i34;
|
|
38861
39058
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38862
39059
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
38863
39060
|
style: {
|
|
38864
39061
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38865
39062
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38866
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38867
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39063
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39064
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38868
39065
|
},
|
|
38869
39066
|
onMouseEnter: function onMouseEnter() {
|
|
38870
39067
|
setisolationmenu(true);
|
|
@@ -39268,14 +39465,14 @@ var Header8 = function Header8(props) {
|
|
|
39268
39465
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39269
39466
|
}, "\u0641\u064A\u0646\u064A\u0644")))))))))))));
|
|
39270
39467
|
} else if (item.pagename == 'Flooring') {
|
|
39271
|
-
var _authdetailsContext$
|
|
39468
|
+
var _authdetailsContext$i35, _authdetailsContext$i36;
|
|
39272
39469
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39273
39470
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39274
39471
|
style: {
|
|
39275
39472
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39276
39473
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39277
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39278
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39474
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39475
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39279
39476
|
},
|
|
39280
39477
|
onMouseEnter: function onMouseEnter() {
|
|
39281
39478
|
setflooringmenu(true);
|
|
@@ -39612,14 +39809,14 @@ var Header8 = function Header8(props) {
|
|
|
39612
39809
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39613
39810
|
}, "\u0627\u0631\u0636\u064A\u0627\u062A \u0627\u0644\u0635\u0627\u0644\u0627\u062A \u0627\u0644\u0631\u064A\u0627\u0636\u064A\u0629"))))))));
|
|
39614
39811
|
} else if (item.pagename == 'Projects') {
|
|
39615
|
-
var _authdetailsContext$
|
|
39812
|
+
var _authdetailsContext$i37, _authdetailsContext$i38;
|
|
39616
39813
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39617
39814
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39618
39815
|
style: {
|
|
39619
39816
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39620
39817
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39621
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39622
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39818
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39819
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39623
39820
|
},
|
|
39624
39821
|
onMouseEnter: function onMouseEnter() {
|
|
39625
39822
|
setflooringmenu2(true);
|
|
@@ -39770,7 +39967,57 @@ var Header8 = function Header8(props) {
|
|
|
39770
39967
|
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader Only' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
39771
39968
|
sectionpropertiesprops: sectionproperties,
|
|
39772
39969
|
actions: actions
|
|
39773
|
-
})
|
|
39970
|
+
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
39971
|
+
show: menuactive,
|
|
39972
|
+
onHide: function onHide() {
|
|
39973
|
+
setmenuactive(false);
|
|
39974
|
+
},
|
|
39975
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
39976
|
+
scroll: true,
|
|
39977
|
+
style: {
|
|
39978
|
+
width: sectionproperties.categoriessliderwidth + '%',
|
|
39979
|
+
background: sectionproperties.categoriessliderbgcolor
|
|
39980
|
+
},
|
|
39981
|
+
backdrop: true
|
|
39982
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39983
|
+
className: "row m-0 w-100 mb-4 pt-4 pl-3 pr-3",
|
|
39984
|
+
style: {}
|
|
39985
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39986
|
+
className: 'col-9 d-flex align-items-center '
|
|
39987
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39988
|
+
className: "m-0 p-0",
|
|
39989
|
+
style: {
|
|
39990
|
+
fontWeight: sectionproperties.categoriesslidertitlefontweight,
|
|
39991
|
+
fontSize: sectionproperties.categoriesslidertitlefontsize + 'px',
|
|
39992
|
+
color: sectionproperties.categoriesslidertitlecolor
|
|
39993
|
+
}
|
|
39994
|
+
}, langdetect == 'en' ? sectionproperties.categoriesslidertitleenglish : sectionproperties.categoriesslidertitlearabic)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39995
|
+
"class": "col-3 text-end",
|
|
39996
|
+
onClick: function onClick() {
|
|
39997
|
+
setmenuactive(false);
|
|
39998
|
+
}
|
|
39999
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40000
|
+
"class": "allcentered",
|
|
40001
|
+
style: {
|
|
40002
|
+
width: sectionproperties.categoriesslidercloseiconwidth,
|
|
40003
|
+
height: sectionproperties.categoriesslidercloseiconheight,
|
|
40004
|
+
background: sectionproperties.categoriesslidercloseiconbgcolor,
|
|
40005
|
+
cursor: 'pointer'
|
|
40006
|
+
}
|
|
40007
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
40008
|
+
color: sectionproperties.categoriesslidercloseiconcolor,
|
|
40009
|
+
size: sectionproperties.categoriesslidercloseiconsize
|
|
40010
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40011
|
+
"class": "col-12 mt-3"
|
|
40012
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40013
|
+
style: {
|
|
40014
|
+
borderBottom: sectionproperties.categoriesslidertitleborderwidth + 'px solid ' + sectionproperties.categoriesslidertitlebordercolor
|
|
40015
|
+
}
|
|
40016
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, /*#__PURE__*/React__default["default"].createElement(SubheaderDropdown, {
|
|
40017
|
+
sectionpropertiesprops: sectionproperties,
|
|
40018
|
+
actions: actions,
|
|
40019
|
+
setmenuactive: setmenuactive
|
|
40020
|
+
}))));
|
|
39774
40021
|
};
|
|
39775
40022
|
|
|
39776
40023
|
var css_248z$u = ".headerresturant-module_header_innercontainer__K3I1g {\r\n display: flex;\r\n align-items: center;\r\n align-content: center;\r\n z-index: 10;\r\n}\r\n/* .header_innercontainer .navbar ul {\r\n margin: 0;\r\n padding: 0;\r\n display: flex;\r\n list-style: none;\r\n align-items: center;\r\n}\r\n.header_innercontainer .navbar ul li {\r\n position: relative !important;\r\n} */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b {\r\n position: relative;\r\n cursor: pointer;\r\n white-space: nowrap;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b .headerresturant-module_navbar_item_text__psv09 {\r\n transition: transform 0.3s cubic-bezier(0.2, 1, 0.8, 1);\r\n transition: 0.3s;\r\n padding: 0;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b .headerresturant-module_navbar_item_text__psv09:after {\r\n content: '';\r\n width: 7px;\r\n height: 7px;\r\n position: absolute;\r\n left: -12px !important;\r\n bottom: 0;\r\n top:0;\r\n margin: auto !important;\r\n border-radius: 50%;\r\n margin: 0 auto;\r\n opacity: 0;\r\n -webkit-transition: all, 0.3s;\r\n -moz-transition: all, 0.3s;\r\n -ms-transition: all, 0.3s;\r\n -o-transition: all, 0.3s;\r\n transition: all, 0.3s;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b:hover .headerresturant-module_navbar_item_text__psv09:after {\r\n opacity: 1;\r\n}\r\n.headerresturant-module_navbar_item_active__8BCbD .headerresturant-module_navbar_item_text__psv09:after{\r\n opacity: 1 !important;\r\n}\r\n/* Side Nav Active */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item_active__8BCbD .headerresturant-module_navbar_item_text__psv09:after {\r\n opacity: 1;\r\n}\r\n\r\n/* Search Bar */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_searchbarcont__4VPWj input::placeholder {\r\n color: #8c8c8c;\r\n font-weight: normal;\r\n}\r\n\r\n/* Language Container */\r\n.headerresturant-module_language_cont__LwHIK {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n text-align: center;\r\n width: 3.5vh;\r\n height: 3.5vh;\r\n border-radius: 5px;\r\n /* color: #022648; */\r\n /* background-color: white; */\r\n font-size: 13px;\r\n line-height: 4vh;\r\n transition: 0.3s ease, color 0.3s ease;\r\n font-weight: 600;\r\n}\r\n\r\n/* Badge */\r\n.headerresturant-module_badge_counter_header_notifications__mGA2- {\r\n position: absolute;\r\n transform: scale(0.3);\r\n transform-origin: top right;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}";
|
|
@@ -77004,16 +77251,31 @@ var Servicesection = function Servicesection(props) {
|
|
|
77004
77251
|
}
|
|
77005
77252
|
}),
|
|
77006
77253
|
sectiontitlespan: glamor.css({
|
|
77254
|
+
color: sectionproperties.sectionTitleColor,
|
|
77255
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77256
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77257
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
77258
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
77007
77259
|
':after': {
|
|
77008
77260
|
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
77009
77261
|
backgroundColor: sectionproperties.linebgcolor
|
|
77262
|
+
},
|
|
77263
|
+
'@media (max-width: 800px)': {
|
|
77264
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
77010
77265
|
}
|
|
77011
77266
|
}),
|
|
77012
77267
|
sectiontitlespan2: glamor.css({
|
|
77268
|
+
color: sectionproperties.sectionTitleColor,
|
|
77269
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77270
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77271
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
77013
77272
|
':after': {
|
|
77014
77273
|
width: sectionproperties.sectitle_lineafterwidth + 'px',
|
|
77015
77274
|
height: '100%',
|
|
77016
77275
|
backgroundColor: sectionproperties.linebgcolor
|
|
77276
|
+
},
|
|
77277
|
+
'@media (max-width: 800px)': {
|
|
77278
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
77017
77279
|
}
|
|
77018
77280
|
})
|
|
77019
77281
|
};
|
|
@@ -77086,13 +77348,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
77086
77348
|
}
|
|
77087
77349
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
77088
77350
|
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_styles.sectiontitlespan) + ' PacificoFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_styles.sectiontitlespan) + ' PlayfairFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_styles.sectiontitlespan) + ' GreatvibesFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_styles.sectiontitlespan) + ' QuicksandFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_styles.sectiontitlespan) + ' SatisfyFont mb-0 pb-0 wordbreak ' : "".concat(section_styles.sectiontitlespan) + ' mb-0 pb-0 wordbreak ',
|
|
77089
|
-
style: {
|
|
77090
|
-
color: sectionproperties.sectionTitleColor,
|
|
77091
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77092
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77093
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
77094
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
77095
|
-
}
|
|
77351
|
+
style: {}
|
|
77096
77352
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.sectiontitleshow == 'Show' && sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77097
77353
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
77098
77354
|
style: {
|
|
@@ -77106,12 +77362,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
77106
77362
|
}
|
|
77107
77363
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
77108
77364
|
"class": "".concat(section_styles.sectiontitlespan2),
|
|
77109
|
-
style: {
|
|
77110
|
-
color: sectionproperties.sectionTitleColor,
|
|
77111
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77112
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77113
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
77114
|
-
}
|
|
77365
|
+
style: {}
|
|
77115
77366
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77116
77367
|
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex d-md-none align-items-center p-0 ',
|
|
77117
77368
|
style: {
|
|
@@ -93252,14 +93503,15 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93252
93503
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
93253
93504
|
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
93254
93505
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
93255
|
-
color: sectionproperties.
|
|
93506
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
93256
93507
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
93257
93508
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
93258
93509
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
93259
93510
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
93260
93511
|
':hover': {
|
|
93261
93512
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93262
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93513
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93514
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93263
93515
|
}
|
|
93264
93516
|
}),
|
|
93265
93517
|
cart_btn_bottom: glamor.css((_css = {
|
|
@@ -93271,9 +93523,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93271
93523
|
margin: 'auto',
|
|
93272
93524
|
transition: 'all, 0.3s',
|
|
93273
93525
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93274
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93526
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css, ':hover', {
|
|
93275
93527
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93276
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93528
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93529
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93277
93530
|
}))),
|
|
93278
93531
|
cart_btn_center: glamor.css((_css2 = {
|
|
93279
93532
|
position: 'absolute',
|
|
@@ -93284,9 +93537,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93284
93537
|
margin: 'auto',
|
|
93285
93538
|
transition: 'all, 0.3s',
|
|
93286
93539
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93287
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93540
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css2, ':hover', {
|
|
93288
93541
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93289
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93542
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93543
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93290
93544
|
}))),
|
|
93291
93545
|
productcard: glamor.css({
|
|
93292
93546
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -93325,9 +93579,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93325
93579
|
margin: 'auto',
|
|
93326
93580
|
transition: 'all, 0.3s',
|
|
93327
93581
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93328
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css3, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93582
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css3, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css3, ':hover', {
|
|
93329
93583
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93330
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93584
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93585
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93331
93586
|
}))),
|
|
93332
93587
|
imageContainer: glamor.css({
|
|
93333
93588
|
backgroundColor: sectionproperties.image_bgcolor,
|
|
@@ -93505,13 +93760,36 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93505
93760
|
"class": "m-0 p-0"
|
|
93506
93761
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93507
93762
|
"class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
|
|
93508
|
-
},
|
|
93763
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93764
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center justify-content-center",
|
|
93765
|
+
style: {
|
|
93766
|
+
visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
93767
|
+
}
|
|
93768
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93769
|
+
"class": "m-0 p-0",
|
|
93770
|
+
style: {
|
|
93771
|
+
width: 8,
|
|
93772
|
+
height: 8,
|
|
93773
|
+
borderRadius: 100,
|
|
93774
|
+
background: 'green'
|
|
93775
|
+
}
|
|
93776
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93777
|
+
"class": 'm-0 mx-2 p-0',
|
|
93778
|
+
style: {
|
|
93779
|
+
color: 'green',
|
|
93780
|
+
fontSize: 13,
|
|
93781
|
+
fontWeight: 400
|
|
93782
|
+
}
|
|
93783
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93509
93784
|
"class": "col-lg-12 p-0"
|
|
93510
93785
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93511
93786
|
onClick: function onClick() {
|
|
93512
93787
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
93513
93788
|
},
|
|
93514
|
-
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center '
|
|
93789
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center ',
|
|
93790
|
+
style: {
|
|
93791
|
+
// height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto',
|
|
93792
|
+
}
|
|
93515
93793
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93516
93794
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
93517
93795
|
style: {
|