tabexseriescomponents 0.2.1223 → 0.2.1225
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 +288 -110
- package/dist/index.esm.js +288 -110
- package/dist/index.umd.js +288 -110
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1787,25 +1787,29 @@ 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;
|
|
1790
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
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
|
+
// vout
|
|
1796
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68f918a4ccb85') {
|
|
1797
|
+
is_value_permdisabled = 1;
|
|
1798
|
+
}
|
|
1795
1799
|
// puff
|
|
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) == '6899e604db87f') {
|
|
1797
1801
|
is_value_permdisabled = 1;
|
|
1798
1802
|
}
|
|
1799
1803
|
// dija
|
|
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) == '682cbb9bdcd57') {
|
|
1801
1805
|
is_value_permdisabled = 1;
|
|
1802
1806
|
}
|
|
1803
1807
|
// angel
|
|
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) == '67bda57bca71d') {
|
|
1805
1809
|
is_value_permdisabled = 1;
|
|
1806
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1810
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '69244cc88aa0a') {
|
|
1807
1811
|
is_value_permdisabled = 1;
|
|
1808
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1812
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '687ca57cc78e8') {
|
|
1809
1813
|
is_value_permdisabled = 1;
|
|
1810
1814
|
}
|
|
1811
1815
|
}
|
|
@@ -1834,7 +1838,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1834
1838
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1835
1839
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1836
1840
|
if (is_value_permdisabled == 0) {
|
|
1837
|
-
var _authdetailsContext$
|
|
1841
|
+
var _authdetailsContext$i8, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22;
|
|
1838
1842
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1839
1843
|
// className={
|
|
1840
1844
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1846,41 +1850,47 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1846
1850
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1847
1851
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1848
1852
|
// }
|
|
1849
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1853
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.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 : ''),
|
|
1850
1854
|
onClick: function onClick() {
|
|
1851
1855
|
if (isoptionvalueselected == 0) {
|
|
1852
|
-
var _authdetailsContext$
|
|
1853
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1856
|
+
var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
1857
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '68d28fc494276') {
|
|
1858
|
+
if (isValueinStock == 0) {
|
|
1859
|
+
return;
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
// vout
|
|
1863
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68f918a4ccb85') {
|
|
1854
1864
|
if (isValueinStock == 0) {
|
|
1855
1865
|
return;
|
|
1856
1866
|
}
|
|
1857
1867
|
}
|
|
1858
1868
|
// puff
|
|
1859
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1869
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
1860
1870
|
if (isValueinStock == 0) {
|
|
1861
1871
|
return;
|
|
1862
1872
|
}
|
|
1863
1873
|
}
|
|
1864
1874
|
// angel
|
|
1865
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1875
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67bda57bca71d') {
|
|
1866
1876
|
if (isValueinStock == 0) {
|
|
1867
1877
|
return;
|
|
1868
1878
|
}
|
|
1869
1879
|
}
|
|
1870
1880
|
// dija
|
|
1871
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1881
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1872
1882
|
if (isValueinStock == 0) {
|
|
1873
1883
|
return;
|
|
1874
1884
|
}
|
|
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) == '69244cc88aa0a') {
|
|
1876
1886
|
if (isValueinStock == 0) {
|
|
1877
1887
|
return;
|
|
1878
1888
|
}
|
|
1879
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1889
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '687ca57cc78e8') {
|
|
1880
1890
|
if (isValueinStock == 0) {
|
|
1881
1891
|
return;
|
|
1882
1892
|
}
|
|
1883
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1893
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
1884
1894
|
if (isValueinStock == 0) {
|
|
1885
1895
|
return;
|
|
1886
1896
|
}
|
|
@@ -1924,14 +1934,16 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1924
1934
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1925
1935
|
"class": "h-100 allcentered"
|
|
1926
1936
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1927
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1937
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1938
|
+
// vout
|
|
1939
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1928
1940
|
// puff
|
|
1929
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1941
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1930
1942
|
// angel
|
|
1931
1943
|
|
|
1932
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1944
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1933
1945
|
// dija
|
|
1934
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1946
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.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$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.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$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.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$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1935
1947
|
style: {
|
|
1936
1948
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1937
1949
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1940,43 +1952,49 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1940
1952
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1941
1953
|
}
|
|
1942
1954
|
} else {
|
|
1943
|
-
var _authdetailsContext$
|
|
1955
|
+
var _authdetailsContext$i23, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39;
|
|
1944
1956
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1945
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1957
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.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 : ''),
|
|
1946
1958
|
onClick: function onClick() {
|
|
1947
1959
|
if (isoptionvalueselected == 0) {
|
|
1948
|
-
var _authdetailsContext$
|
|
1949
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1960
|
+
var _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31;
|
|
1961
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68d28fc494276') {
|
|
1962
|
+
if (isValueinStock == 0) {
|
|
1963
|
+
return;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
// vout
|
|
1967
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68f918a4ccb85') {
|
|
1950
1968
|
if (isValueinStock == 0) {
|
|
1951
1969
|
return;
|
|
1952
1970
|
}
|
|
1953
1971
|
}
|
|
1954
1972
|
// puff n stuff
|
|
1955
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1973
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6899e604db87f') {
|
|
1956
1974
|
if (isValueinStock == 0) {
|
|
1957
1975
|
return;
|
|
1958
1976
|
}
|
|
1959
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1977
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '69244cc88aa0a') {
|
|
1960
1978
|
if (isValueinStock == 0) {
|
|
1961
1979
|
return;
|
|
1962
1980
|
}
|
|
1963
1981
|
}
|
|
1964
1982
|
// angel
|
|
1965
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1983
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67bda57bca71d') {
|
|
1966
1984
|
if (isValueinStock == 0) {
|
|
1967
1985
|
return;
|
|
1968
1986
|
}
|
|
1969
1987
|
}
|
|
1970
1988
|
// dija
|
|
1971
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1989
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1972
1990
|
if (isValueinStock == 0) {
|
|
1973
1991
|
return;
|
|
1974
1992
|
}
|
|
1975
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1993
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '687ca57cc78e8') {
|
|
1976
1994
|
if (isValueinStock == 0) {
|
|
1977
1995
|
return;
|
|
1978
1996
|
}
|
|
1979
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1997
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6899e604db87f') {
|
|
1980
1998
|
if (isValueinStock == 0) {
|
|
1981
1999
|
return;
|
|
1982
2000
|
}
|
|
@@ -2000,13 +2018,15 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2000
2018
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
2001
2019
|
}
|
|
2002
2020
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2003
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2021
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2022
|
+
// vout
|
|
2023
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2004
2024
|
// puff
|
|
2005
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2025
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2006
2026
|
// angel
|
|
2007
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2027
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2008
2028
|
// dija
|
|
2009
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2029
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.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$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.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$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.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$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' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
2010
2030
|
style: {
|
|
2011
2031
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
2012
2032
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7616,7 +7636,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7616
7636
|
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; }
|
|
7617
7637
|
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; }
|
|
7618
7638
|
var Productinfo = function Productinfo(props) {
|
|
7619
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7639
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48;
|
|
7620
7640
|
var _useState = React.useState({}),
|
|
7621
7641
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7622
7642
|
ProductInfoObj = _useState2[0],
|
|
@@ -8109,7 +8129,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8109
8129
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8110
8130
|
// };
|
|
8111
8131
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8112
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
8132
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
8113
8133
|
// lord
|
|
8114
8134
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8115
8135
|
var _ProductInfoObj$data;
|
|
@@ -8198,8 +8218,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8198
8218
|
});
|
|
8199
8219
|
return inStock ? 1 : 0;
|
|
8200
8220
|
}
|
|
8201
|
-
//
|
|
8202
|
-
|
|
8221
|
+
// vout
|
|
8222
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68f918a4ccb85') {
|
|
8203
8223
|
var _ProductInfoObj$data2;
|
|
8204
8224
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8205
8225
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8286,8 +8306,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8286
8306
|
});
|
|
8287
8307
|
return _inStock ? 1 : 0;
|
|
8288
8308
|
}
|
|
8289
|
-
//
|
|
8290
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8309
|
+
// puff n stuff
|
|
8310
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
|
|
8291
8311
|
var _ProductInfoObj$data3;
|
|
8292
8312
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8293
8313
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8374,8 +8394,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8374
8394
|
});
|
|
8375
8395
|
return _inStock2 ? 1 : 0;
|
|
8376
8396
|
}
|
|
8377
|
-
//
|
|
8378
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8397
|
+
// dija
|
|
8398
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8379
8399
|
var _ProductInfoObj$data4;
|
|
8380
8400
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8381
8401
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8461,7 +8481,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8461
8481
|
}) && variantValueIds.includes(Currvalueid);
|
|
8462
8482
|
});
|
|
8463
8483
|
return _inStock3 ? 1 : 0;
|
|
8464
|
-
}
|
|
8484
|
+
}
|
|
8485
|
+
// angel secrets
|
|
8486
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67bda57bca71d') {
|
|
8465
8487
|
var _ProductInfoObj$data5;
|
|
8466
8488
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8467
8489
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8547,7 +8569,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8547
8569
|
}) && variantValueIds.includes(Currvalueid);
|
|
8548
8570
|
});
|
|
8549
8571
|
return _inStock4 ? 1 : 0;
|
|
8550
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '
|
|
8572
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
|
|
8551
8573
|
var _ProductInfoObj$data6;
|
|
8552
8574
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8553
8575
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8633,13 +8655,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8633
8655
|
}) && variantValueIds.includes(Currvalueid);
|
|
8634
8656
|
});
|
|
8635
8657
|
return _inStock5 ? 1 : 0;
|
|
8658
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
|
|
8659
|
+
var _ProductInfoObj$data7;
|
|
8660
|
+
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8661
|
+
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
8662
|
+
var _variants6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.variants) || [];
|
|
8663
|
+
|
|
8664
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8665
|
+
var _selectedValues6 = [];
|
|
8666
|
+
_options6.forEach(function (option) {
|
|
8667
|
+
option.optionvalues.forEach(function (value) {
|
|
8668
|
+
if (value.isselected === 1) {
|
|
8669
|
+
_selectedValues6.push({
|
|
8670
|
+
optionid: option.optionid,
|
|
8671
|
+
valueid: value.valueid
|
|
8672
|
+
});
|
|
8673
|
+
}
|
|
8674
|
+
});
|
|
8675
|
+
});
|
|
8676
|
+
_options6.length;
|
|
8677
|
+
var _selectedCount6 = _selectedValues6.length;
|
|
8678
|
+
var _inStockVariants6 = _variants6.filter(function (v) {
|
|
8679
|
+
return v.current_quantity > 0;
|
|
8680
|
+
});
|
|
8681
|
+
|
|
8682
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8683
|
+
if (_selectedCount6 === 0) {
|
|
8684
|
+
return _inStockVariants6.some(function (variant) {
|
|
8685
|
+
return variant.variantoptions.some(function (opt) {
|
|
8686
|
+
return opt.valueid === Currvalueid;
|
|
8687
|
+
});
|
|
8688
|
+
}) ? 1 : 0;
|
|
8689
|
+
}
|
|
8690
|
+
|
|
8691
|
+
// 🧠 Case 2: Only one option selected
|
|
8692
|
+
if (_selectedCount6 === 1) {
|
|
8693
|
+
var _selected6 = _selectedValues6[0];
|
|
8694
|
+
var _selectedOptionId6 = _selected6.optionid;
|
|
8695
|
+
|
|
8696
|
+
// Find which option this Currvalueid belongs to
|
|
8697
|
+
var _currentOptionId6 = null;
|
|
8698
|
+
_options6.forEach(function (option) {
|
|
8699
|
+
option.optionvalues.forEach(function (v) {
|
|
8700
|
+
if (v.valueid === Currvalueid) _currentOptionId6 = option.optionid;
|
|
8701
|
+
});
|
|
8702
|
+
});
|
|
8703
|
+
|
|
8704
|
+
// Same option (e.g., selecting only size)
|
|
8705
|
+
if (_selectedOptionId6 === _currentOptionId6) {
|
|
8706
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8707
|
+
return _inStockVariants6.some(function (variant) {
|
|
8708
|
+
return variant.variantoptions.some(function (opt) {
|
|
8709
|
+
return opt.valueid === Currvalueid;
|
|
8710
|
+
});
|
|
8711
|
+
}) ? 1 : 0;
|
|
8712
|
+
}
|
|
8713
|
+
|
|
8714
|
+
// Different option (e.g., color)
|
|
8715
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8716
|
+
return _inStockVariants6.some(function (variant) {
|
|
8717
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8718
|
+
return v.valueid;
|
|
8719
|
+
});
|
|
8720
|
+
return variantValueIds.includes(_selected6.valueid) && variantValueIds.includes(Currvalueid);
|
|
8721
|
+
}) ? 1 : 0;
|
|
8722
|
+
}
|
|
8723
|
+
|
|
8724
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8725
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8726
|
+
var _inStock6 = _inStockVariants6.some(function (variant) {
|
|
8727
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8728
|
+
return v.valueid;
|
|
8729
|
+
});
|
|
8730
|
+
// Must match all selected except the one that belongs to same option
|
|
8731
|
+
return _selectedValues6.every(function (sel) {
|
|
8732
|
+
if (_options6.some(function (opt) {
|
|
8733
|
+
return opt.optionvalues.some(function (v) {
|
|
8734
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8735
|
+
});
|
|
8736
|
+
})) {
|
|
8737
|
+
// Skip same option
|
|
8738
|
+
return true;
|
|
8739
|
+
}
|
|
8740
|
+
return variantValueIds.includes(sel.valueid);
|
|
8741
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8742
|
+
});
|
|
8743
|
+
return _inStock6 ? 1 : 0;
|
|
8636
8744
|
} else {
|
|
8637
8745
|
return 1;
|
|
8638
8746
|
}
|
|
8639
8747
|
};
|
|
8640
8748
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8641
|
-
var _authdetailsContext$
|
|
8642
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8749
|
+
var _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
8750
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68d28fc494276') {
|
|
8643
8751
|
var _productarr$data, _productarr$data$prod;
|
|
8644
8752
|
var _productarr = ProductInfoObj;
|
|
8645
8753
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8692,8 +8800,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8692
8800
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8693
8801
|
}
|
|
8694
8802
|
}
|
|
8695
|
-
//
|
|
8696
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8803
|
+
// vout
|
|
8804
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85') {
|
|
8697
8805
|
var _productarr2$data, _productarr2$data$pro;
|
|
8698
8806
|
var _productarr2 = ProductInfoObj;
|
|
8699
8807
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8746,8 +8854,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8746
8854
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8747
8855
|
}
|
|
8748
8856
|
}
|
|
8749
|
-
//
|
|
8750
|
-
|
|
8857
|
+
// puff n stuff
|
|
8858
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
|
|
8751
8859
|
var _productarr3$data, _productarr3$data$pro;
|
|
8752
8860
|
var _productarr3 = ProductInfoObj;
|
|
8753
8861
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8800,8 +8908,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8800
8908
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8801
8909
|
}
|
|
8802
8910
|
}
|
|
8803
|
-
//
|
|
8804
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8911
|
+
// dija
|
|
8912
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8805
8913
|
var _productarr4$data, _productarr4$data$pro;
|
|
8806
8914
|
var _productarr4 = ProductInfoObj;
|
|
8807
8915
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8853,7 +8961,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8853
8961
|
// optional: show user message or disable click
|
|
8854
8962
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8855
8963
|
}
|
|
8856
|
-
}
|
|
8964
|
+
}
|
|
8965
|
+
// angel
|
|
8966
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '67bda57bca71d') {
|
|
8857
8967
|
var _productarr5$data, _productarr5$data$pro;
|
|
8858
8968
|
var _productarr5 = ProductInfoObj;
|
|
8859
8969
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -8905,7 +9015,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8905
9015
|
// optional: show user message or disable click
|
|
8906
9016
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8907
9017
|
}
|
|
8908
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9018
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69244cc88aa0a') {
|
|
8909
9019
|
var _productarr6$data, _productarr6$data$pro;
|
|
8910
9020
|
var _productarr6 = ProductInfoObj;
|
|
8911
9021
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -8957,6 +9067,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
8957
9067
|
// optional: show user message or disable click
|
|
8958
9068
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8959
9069
|
}
|
|
9070
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '687ca57cc78e8') {
|
|
9071
|
+
var _productarr7$data, _productarr7$data$pro;
|
|
9072
|
+
var _productarr7 = ProductInfoObj;
|
|
9073
|
+
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
9074
|
+
|
|
9075
|
+
// 1. Find variants that include the newly selected value
|
|
9076
|
+
var _validVariants6 = (_productarr7.data.productinfo.variants || []).filter(function (variant) {
|
|
9077
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
9078
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
9079
|
+
});
|
|
9080
|
+
});
|
|
9081
|
+
|
|
9082
|
+
// 2. Build a set of valid value ids
|
|
9083
|
+
var _validValueIds6 = new Set(_validVariants6.flatMap(function (v) {
|
|
9084
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
9085
|
+
return opt.valueid;
|
|
9086
|
+
});
|
|
9087
|
+
}));
|
|
9088
|
+
|
|
9089
|
+
// 3. Loop all options and their values
|
|
9090
|
+
(_productarr7$data$pro = _productarr7.data.productinfo.productoptions) === null || _productarr7$data$pro === void 0 || _productarr7$data$pro.forEach(function (option) {
|
|
9091
|
+
var _option$optionvalues7;
|
|
9092
|
+
var anySelected = false;
|
|
9093
|
+
(_option$optionvalues7 = option.optionvalues) === null || _option$optionvalues7 === void 0 || _option$optionvalues7.forEach(function (value) {
|
|
9094
|
+
// Normalize stock check result to boolean
|
|
9095
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
9096
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
9097
|
+
|
|
9098
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
9099
|
+
if (!_validValueIds6.has(value.valueid) || !inStock) {
|
|
9100
|
+
value.isselected = 0;
|
|
9101
|
+
} else {
|
|
9102
|
+
// keep whatever selection is already there (do not auto-select)
|
|
9103
|
+
if (value.isselected) anySelected = true;
|
|
9104
|
+
}
|
|
9105
|
+
});
|
|
9106
|
+
|
|
9107
|
+
// keep option-level selected state in sync
|
|
9108
|
+
option.isselected = anySelected ? 1 : 0;
|
|
9109
|
+
});
|
|
9110
|
+
|
|
9111
|
+
// 4. Only select the new value if it's in stock
|
|
9112
|
+
var _newInStock6 = function () {
|
|
9113
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
9114
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
9115
|
+
}();
|
|
9116
|
+
if (_newInStock6) {
|
|
9117
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr7);
|
|
9118
|
+
} else {
|
|
9119
|
+
// optional: show user message or disable click
|
|
9120
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9121
|
+
}
|
|
8960
9122
|
} else {
|
|
8961
9123
|
var _productarr$data2;
|
|
8962
9124
|
var productarr = ProductInfoObj;
|
|
@@ -9438,10 +9600,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9438
9600
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9439
9601
|
runfunc = true;
|
|
9440
9602
|
} else {
|
|
9441
|
-
var _authdetailsContext$
|
|
9603
|
+
var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
9442
9604
|
// here
|
|
9443
9605
|
setvariantnotchosendisclaimer('This field is required');
|
|
9444
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9606
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '693fdc5a14f45' ? 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) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9445
9607
|
}
|
|
9446
9608
|
} else {
|
|
9447
9609
|
runfunc = true;
|
|
@@ -9525,9 +9687,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9525
9687
|
};
|
|
9526
9688
|
};
|
|
9527
9689
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9528
|
-
var _authdetailsContext$
|
|
9690
|
+
var _authdetailsContext$i21;
|
|
9529
9691
|
var policyobj = {};
|
|
9530
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9692
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instpolicies) === null || _authdetailsContext$i21 === void 0 || _authdetailsContext$i21.forEach(function (item, index) {
|
|
9531
9693
|
if (item.policytype == policytype) {
|
|
9532
9694
|
policyobj = item;
|
|
9533
9695
|
}
|
|
@@ -9536,7 +9698,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9536
9698
|
};
|
|
9537
9699
|
var relatedproducts = function relatedproducts() {
|
|
9538
9700
|
if (Relatedproducts.length != 0) {
|
|
9539
|
-
var _authdetailsContext$
|
|
9701
|
+
var _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26;
|
|
9540
9702
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9541
9703
|
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",
|
|
9542
9704
|
style: {
|
|
@@ -9558,9 +9720,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9558
9720
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9559
9721
|
className: "row m-0 w-100",
|
|
9560
9722
|
style: {
|
|
9561
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9723
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9562
9724
|
}
|
|
9563
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9725
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9564
9726
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9565
9727
|
style: {
|
|
9566
9728
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9579,7 +9741,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9579
9741
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9580
9742
|
borderRadius: 5
|
|
9581
9743
|
}
|
|
9582
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9744
|
+
})), (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", {
|
|
9583
9745
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9584
9746
|
style: {
|
|
9585
9747
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9600,8 +9762,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9600
9762
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
9601
9763
|
transitionBehavior: 'auto',
|
|
9602
9764
|
wrapperClassName: '',
|
|
9603
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9604
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9765
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9766
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9605
9767
|
}, Relatedproducts.map(function (item, index) {
|
|
9606
9768
|
if (item.productinfo != null) {
|
|
9607
9769
|
var _fetchProductInfoQuer49;
|
|
@@ -9671,10 +9833,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9671
9833
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9672
9834
|
runfunc = true;
|
|
9673
9835
|
} else {
|
|
9674
|
-
var _authdetailsContext$
|
|
9836
|
+
var _authdetailsContext$i27;
|
|
9675
9837
|
// here
|
|
9676
9838
|
setvariantnotchosendisclaimer('This field is required');
|
|
9677
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9839
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9678
9840
|
}
|
|
9679
9841
|
} else {
|
|
9680
9842
|
runfunc = true;
|
|
@@ -9717,8 +9879,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9717
9879
|
isVarianturlLoaded = _useState58[0],
|
|
9718
9880
|
setisVarianturlLoaded = _useState58[1];
|
|
9719
9881
|
React.useEffect(function () {
|
|
9720
|
-
var _authdetailsContext$
|
|
9721
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9882
|
+
var _authdetailsContext$i28;
|
|
9883
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '68f918a4ccb85') {
|
|
9722
9884
|
var params = new URLSearchParams(window.location.search);
|
|
9723
9885
|
var variantId = params.get('variant');
|
|
9724
9886
|
if (isVarianturlLoaded == false) {
|
|
@@ -10514,7 +10676,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10514
10676
|
})));
|
|
10515
10677
|
};
|
|
10516
10678
|
var StoreInfo = function StoreInfo(position) {
|
|
10517
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10679
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i30, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i31, _authdetailsContext$i33;
|
|
10518
10680
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10519
10681
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10520
10682
|
style: {
|
|
@@ -10593,8 +10755,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10593
10755
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10594
10756
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10595
10757
|
onClick: function onClick() {
|
|
10596
|
-
var _authdetailsContext$
|
|
10597
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10758
|
+
var _authdetailsContext$i29;
|
|
10759
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.email), '_self');
|
|
10598
10760
|
}
|
|
10599
10761
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10600
10762
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10614,7 +10776,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10614
10776
|
style: {
|
|
10615
10777
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10616
10778
|
}
|
|
10617
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10779
|
+
}, 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))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10618
10780
|
"class": "col-lg-12 my-2",
|
|
10619
10781
|
style: {
|
|
10620
10782
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10666,25 +10828,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10666
10828
|
}
|
|
10667
10829
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10668
10830
|
"class": "m-0 p-0"
|
|
10669
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10831
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (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) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10670
10832
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10671
10833
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10672
10834
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10673
10835
|
onClick: function onClick() {
|
|
10674
|
-
var _authdetailsContext$
|
|
10675
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10836
|
+
var _authdetailsContext$i32;
|
|
10837
|
+
window.open('mailto:' + (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), '_self');
|
|
10676
10838
|
}
|
|
10677
10839
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10678
10840
|
"class": "m-0 p-0"
|
|
10679
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10841
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10680
10842
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10681
10843
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10682
10844
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10683
10845
|
onClick: function onClick() {
|
|
10684
|
-
var _authdetailsContext$
|
|
10685
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10686
|
-
var _authdetailsContext$
|
|
10687
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10846
|
+
var _authdetailsContext$i34;
|
|
10847
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber) != null) {
|
|
10848
|
+
var _authdetailsContext$i35;
|
|
10849
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber), '_blank');
|
|
10688
10850
|
}
|
|
10689
10851
|
}
|
|
10690
10852
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -10780,7 +10942,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10780
10942
|
lang: lang,
|
|
10781
10943
|
srcfromprops: props.srcfromprops
|
|
10782
10944
|
}, _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))
|
|
10783
|
-
}), (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$
|
|
10945
|
+
}), (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$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10784
10946
|
actions: (_ref2 = {
|
|
10785
10947
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10786
10948
|
setisoutofstock: setisoutofstock,
|
|
@@ -10790,7 +10952,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10790
10952
|
lang: lang,
|
|
10791
10953
|
srcfromprops: props.srcfromprops
|
|
10792
10954
|
}, _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))
|
|
10793
|
-
}), (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$
|
|
10955
|
+
}), (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$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10794
10956
|
actions: (_ref3 = {
|
|
10795
10957
|
isOptionInStock: isOptionInStock,
|
|
10796
10958
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10816,7 +10978,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10816
10978
|
lang: lang,
|
|
10817
10979
|
srcfromprops: props.srcfromprops
|
|
10818
10980
|
}, _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))
|
|
10819
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10981
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10820
10982
|
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 ',
|
|
10821
10983
|
style: {
|
|
10822
10984
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11007,7 +11169,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11007
11169
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11008
11170
|
sectionproperties: sectionproperties
|
|
11009
11171
|
})
|
|
11010
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11172
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11011
11173
|
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 ',
|
|
11012
11174
|
style: {
|
|
11013
11175
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11158,12 +11320,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11158
11320
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11159
11321
|
sectionproperties: sectionproperties
|
|
11160
11322
|
})
|
|
11161
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11323
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11162
11324
|
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 ',
|
|
11163
11325
|
style: {
|
|
11164
11326
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11165
11327
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11166
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11328
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
11167
11329
|
}
|
|
11168
11330
|
}, relatedproducts()))));
|
|
11169
11331
|
};
|
|
@@ -59122,7 +59284,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
59122
59284
|
function ownKeys$1z(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; }
|
|
59123
59285
|
function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
59124
59286
|
var ModernFooter = function ModernFooter(props) {
|
|
59125
|
-
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i1, _authdetailsContext$i12, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i24, _authdetailsContext$
|
|
59287
|
+
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i1, _authdetailsContext$i12, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i29;
|
|
59126
59288
|
var _useState = React.useState(''),
|
|
59127
59289
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
59128
59290
|
sectionproperties = _useState2[0],
|
|
@@ -59524,18 +59686,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59524
59686
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59525
59687
|
}
|
|
59526
59688
|
}, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59527
|
-
"class": ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59689
|
+
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59528
59690
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59529
|
-
"class":
|
|
59691
|
+
"class": ' footerinfotext d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
59530
59692
|
style: {
|
|
59531
59693
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
59532
|
-
cursor:
|
|
59694
|
+
cursor: 'pointer'
|
|
59533
59695
|
},
|
|
59534
59696
|
onClick: function onClick() {
|
|
59535
|
-
|
|
59536
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '69a354f452ce6') {
|
|
59537
|
-
window.open('https://www.google.com/maps/place/%D8%A7%D9%84%D8%AC%D9%8A%D8%B2%D9%87+%D9%81%D9%8A%D8%B5%D9%84+%D8%A7%D9%85%D8%A7%D9%85+%D8%B4%D8%A7%D8%B1%D8%B9+%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%B4%D9%81%D9%8A%E2%80%AD/@29.954503,31.0915694,3652m/data=!3m1!1e3!4m6!3m5!1s0x14584f005089bb03:0x6206a526641b57da!8m2!3d29.952629!4d31.0912631!16s%2Fg%2F11m6f50nhp?hl=en&entry=ttu&g_ep=EgoyMDI2MDMxNS4wIKXMDSoASAFQAw%3D%3D', '_blank');
|
|
59538
|
-
}
|
|
59697
|
+
window.open(sectionproperties.storeinfolocationlink, '_blank');
|
|
59539
59698
|
}
|
|
59540
59699
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
59541
59700
|
"class": ' h-100 d-flex align-items-center justify-content-center ',
|
|
@@ -59545,7 +59704,26 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59545
59704
|
}
|
|
59546
59705
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
59547
59706
|
size: sectionproperties.footerinfoicon_fontsize
|
|
59548
|
-
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59707
|
+
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.address_ar)), sectionproperties.showfooteraddress == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.instid) == '69b14b442a4ef' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59708
|
+
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59709
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59710
|
+
"class": ' footerinfotext d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
59711
|
+
style: {
|
|
59712
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
59713
|
+
cursor: 'pointer'
|
|
59714
|
+
},
|
|
59715
|
+
onClick: function onClick() {
|
|
59716
|
+
window.open('https://www.google.com/maps/dir/30.0445808,31.4729892/3rd+Industrial+Zone,+10th+of+Ramadan+City+1,+Al-Sharqia+Governorate+7068013/@30.1631149,31.287023,107074m/data=!3m2!1e3!4b1!4m10!4m9!1m1!4e1!1m5!1m1!1s0x1457fdd6f43ef9d9:0x102b601df7328aa7!2m2!1d31.7883453!2d30.2806276!3e0?entry=ttu&g_ep=EgoyMDI2MDMyNC4wIKXMDSoASAFQAw%3D%3D', '_blank');
|
|
59717
|
+
}
|
|
59718
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
59719
|
+
"class": ' h-100 d-flex align-items-center justify-content-center ',
|
|
59720
|
+
style: {
|
|
59721
|
+
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
59722
|
+
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
59723
|
+
}
|
|
59724
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
59725
|
+
size: sectionproperties.footerinfoicon_fontsize
|
|
59726
|
+
})), '3rd Industrial Zone, 10th of Ramadan City 1, Al-Sharqia Governorate 7068013')), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59549
59727
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
59550
59728
|
onClick: function onClick() {
|
|
59551
59729
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
@@ -59564,14 +59742,14 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59564
59742
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59565
59743
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
59566
59744
|
onClick: function onClick() {
|
|
59567
|
-
var _authdetailsContext$
|
|
59568
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59745
|
+
var _authdetailsContext$i27;
|
|
59746
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.contactinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.email), '_self');
|
|
59569
59747
|
}
|
|
59570
59748
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59571
59749
|
"class": ' footerinfotext d-flex align-items-center justify-content-start m-0 p-0 cursor-pointer ',
|
|
59572
59750
|
onClick: function onClick() {
|
|
59573
|
-
var _authdetailsContext$
|
|
59574
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59751
|
+
var _authdetailsContext$i28;
|
|
59752
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.email), '_self');
|
|
59575
59753
|
},
|
|
59576
59754
|
style: {
|
|
59577
59755
|
textTransform: 'none'
|
|
@@ -59582,7 +59760,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59582
59760
|
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
59583
59761
|
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
59584
59762
|
}
|
|
59585
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59763
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.email)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59586
59764
|
"class": sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'col-lg-4 col-md-12 col-sm-12 mt-md-3' : 'col-lg-3 col-md-12 col-sm-12 mt-md-3'
|
|
59587
59765
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59588
59766
|
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
@@ -59594,15 +59772,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59594
59772
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
59595
59773
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
59596
59774
|
onClick: function onClick() {
|
|
59597
|
-
var _authdetailsContext$
|
|
59598
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59775
|
+
var _authdetailsContext$i30;
|
|
59776
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.mobileapplink_appstore, '_blank');
|
|
59599
59777
|
}
|
|
59600
59778
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59601
59779
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
59602
59780
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
59603
59781
|
onClick: function onClick() {
|
|
59604
|
-
var _authdetailsContext$
|
|
59605
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59782
|
+
var _authdetailsContext$i31;
|
|
59783
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.mobileapplink_appstore, '_blank');
|
|
59606
59784
|
}
|
|
59607
59785
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59608
59786
|
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
@@ -59610,15 +59788,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59610
59788
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-flex d-md-none ',
|
|
59611
59789
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
59612
59790
|
onClick: function onClick() {
|
|
59613
|
-
var _authdetailsContext$
|
|
59614
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59791
|
+
var _authdetailsContext$i32;
|
|
59792
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.mobileapplink_playstore, '_blank');
|
|
59615
59793
|
}
|
|
59616
59794
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59617
59795
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-none d-md-flex ',
|
|
59618
59796
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
59619
59797
|
onClick: function onClick() {
|
|
59620
|
-
var _authdetailsContext$
|
|
59621
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59798
|
+
var _authdetailsContext$i33;
|
|
59799
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.mobileapplink_playstore, '_blank');
|
|
59622
59800
|
}
|
|
59623
59801
|
}))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59624
59802
|
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3 px-lg-5 px-md-2",
|
|
@@ -63305,7 +63483,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
63305
63483
|
style: {
|
|
63306
63484
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
63307
63485
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
63308
|
-
marginTop: authdetailsContext.instinfo.instid == '6978ef34b2564' ? '
|
|
63486
|
+
marginTop: authdetailsContext.instinfo.instid == '6978ef34b2564' ? '50px' : 0
|
|
63309
63487
|
}
|
|
63310
63488
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63311
63489
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 ' : 'col-lg-12 d-flex align-items-center justify-content-start p-0 justify-content-md-center p-0 ',
|
|
@@ -63321,7 +63499,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
63321
63499
|
textAlign: authdetailsContext.instinfo.instid == '6978ef34b2564' ? 'left' : sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
63322
63500
|
}
|
|
63323
63501
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), authdetailsContext.instinfo.instid == '6978ef34b2564' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63324
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 mb-md-
|
|
63502
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 mb-md-50 ' : 'col-lg-12 d-flex align-items-center justify-content-start p-0 justify-content-md-center p-0 mb-md-50 ',
|
|
63325
63503
|
style: {
|
|
63326
63504
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
63327
63505
|
flexDirection: authdetailsContext.instinfo.instid == '6978ef34b2564' ? 'column' : 'row'
|