tabexseriescomponents 0.2.1207 → 0.2.1209
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 +239 -102
- package/dist/index.esm.js +239 -102
- package/dist/index.umd.js +239 -102
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1787,7 +1787,7 @@ 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;
|
|
1790
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
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;
|
|
@@ -1796,12 +1796,17 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1796
1796
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6899e604db87f') {
|
|
1797
1797
|
is_value_permdisabled = 1;
|
|
1798
1798
|
}
|
|
1799
|
-
|
|
1799
|
+
// angel
|
|
1800
|
+
|
|
1801
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '67bda57bca71d') {
|
|
1802
|
+
is_value_permdisabled = 1;
|
|
1803
|
+
}
|
|
1804
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '69244cc88aa0a') {
|
|
1800
1805
|
is_value_permdisabled = 1;
|
|
1801
1806
|
}
|
|
1802
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1807
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '687ca57cc78e8') {
|
|
1803
1808
|
is_value_permdisabled = 1;
|
|
1804
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1809
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '6899e604db87f') {
|
|
1805
1810
|
is_value_permdisabled = 1;
|
|
1806
1811
|
}
|
|
1807
1812
|
}
|
|
@@ -1830,7 +1835,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1830
1835
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1831
1836
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1832
1837
|
if (is_value_permdisabled == 0) {
|
|
1833
|
-
var _authdetailsContext$
|
|
1838
|
+
var _authdetailsContext$i7, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
1834
1839
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1835
1840
|
// className={
|
|
1836
1841
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1842,29 +1847,35 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1842
1847
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1843
1848
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1844
1849
|
// }
|
|
1845
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1850
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.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 : ''),
|
|
1846
1851
|
onClick: function onClick() {
|
|
1847
1852
|
if (isoptionvalueselected == 0) {
|
|
1848
|
-
var _authdetailsContext$
|
|
1849
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1853
|
+
var _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
|
|
1854
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '68d28fc494276') {
|
|
1850
1855
|
if (isValueinStock == 0) {
|
|
1851
1856
|
return;
|
|
1852
1857
|
}
|
|
1853
1858
|
}
|
|
1854
1859
|
// puff
|
|
1855
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1860
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6899e604db87f') {
|
|
1861
|
+
if (isValueinStock == 0) {
|
|
1862
|
+
return;
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
// angel
|
|
1866
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67bda57bca71d') {
|
|
1856
1867
|
if (isValueinStock == 0) {
|
|
1857
1868
|
return;
|
|
1858
1869
|
}
|
|
1859
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1870
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
|
|
1860
1871
|
if (isValueinStock == 0) {
|
|
1861
1872
|
return;
|
|
1862
1873
|
}
|
|
1863
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1874
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
|
|
1864
1875
|
if (isValueinStock == 0) {
|
|
1865
1876
|
return;
|
|
1866
1877
|
}
|
|
1867
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1878
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
|
|
1868
1879
|
if (isValueinStock == 0) {
|
|
1869
1880
|
return;
|
|
1870
1881
|
}
|
|
@@ -1908,9 +1919,12 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1908
1919
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1909
1920
|
"class": "h-100 allcentered"
|
|
1910
1921
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1911
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1922
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1912
1923
|
// puff
|
|
1913
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1924
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1925
|
+
// angel
|
|
1926
|
+
|
|
1927
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.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$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.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$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' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1914
1928
|
style: {
|
|
1915
1929
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1916
1930
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1919,31 +1933,37 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1919
1933
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1920
1934
|
}
|
|
1921
1935
|
} else {
|
|
1922
|
-
var _authdetailsContext$
|
|
1936
|
+
var _authdetailsContext$i18, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
|
|
1923
1937
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1924
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1938
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.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 : ''),
|
|
1925
1939
|
onClick: function onClick() {
|
|
1926
1940
|
if (isoptionvalueselected == 0) {
|
|
1927
|
-
var _authdetailsContext$
|
|
1928
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1941
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
1942
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68d28fc494276') {
|
|
1929
1943
|
if (isValueinStock == 0) {
|
|
1930
1944
|
return;
|
|
1931
1945
|
}
|
|
1932
1946
|
}
|
|
1933
1947
|
// puff n stuff
|
|
1934
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1948
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f') {
|
|
1949
|
+
if (isValueinStock == 0) {
|
|
1950
|
+
return;
|
|
1951
|
+
}
|
|
1952
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '69244cc88aa0a') {
|
|
1935
1953
|
if (isValueinStock == 0) {
|
|
1936
1954
|
return;
|
|
1937
1955
|
}
|
|
1938
|
-
}
|
|
1956
|
+
}
|
|
1957
|
+
// angel
|
|
1958
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67bda57bca71d') {
|
|
1939
1959
|
if (isValueinStock == 0) {
|
|
1940
1960
|
return;
|
|
1941
1961
|
}
|
|
1942
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1962
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '687ca57cc78e8') {
|
|
1943
1963
|
if (isValueinStock == 0) {
|
|
1944
1964
|
return;
|
|
1945
1965
|
}
|
|
1946
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1966
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6899e604db87f') {
|
|
1947
1967
|
if (isValueinStock == 0) {
|
|
1948
1968
|
return;
|
|
1949
1969
|
}
|
|
@@ -1967,9 +1987,11 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1967
1987
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1968
1988
|
}
|
|
1969
1989
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1970
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1990
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1971
1991
|
// puff
|
|
1972
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1992
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1993
|
+
// angel
|
|
1994
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.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$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.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$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.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',
|
|
1973
1995
|
style: {
|
|
1974
1996
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1975
1997
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7579,7 +7601,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7579
7601
|
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; }
|
|
7580
7602
|
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; }
|
|
7581
7603
|
var Productinfo = function Productinfo(props) {
|
|
7582
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7604
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i32, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i33, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i42, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i43;
|
|
7583
7605
|
var _useState = React.useState({}),
|
|
7584
7606
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7585
7607
|
ProductInfoObj = _useState2[0],
|
|
@@ -8072,7 +8094,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8072
8094
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8073
8095
|
// };
|
|
8074
8096
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8075
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
8097
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
8076
8098
|
// lord
|
|
8077
8099
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8078
8100
|
var _ProductInfoObj$data;
|
|
@@ -8248,7 +8270,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8248
8270
|
}) && variantValueIds.includes(Currvalueid);
|
|
8249
8271
|
});
|
|
8250
8272
|
return _inStock ? 1 : 0;
|
|
8251
|
-
}
|
|
8273
|
+
}
|
|
8274
|
+
// angel secrets
|
|
8275
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67bda57bca71d') {
|
|
8252
8276
|
var _ProductInfoObj$data3;
|
|
8253
8277
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8254
8278
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8334,7 +8358,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8334
8358
|
}) && variantValueIds.includes(Currvalueid);
|
|
8335
8359
|
});
|
|
8336
8360
|
return _inStock2 ? 1 : 0;
|
|
8337
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8361
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '69244cc88aa0a') {
|
|
8338
8362
|
var _ProductInfoObj$data4;
|
|
8339
8363
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8340
8364
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8420,7 +8444,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8420
8444
|
}) && variantValueIds.includes(Currvalueid);
|
|
8421
8445
|
});
|
|
8422
8446
|
return _inStock3 ? 1 : 0;
|
|
8423
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '
|
|
8447
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '687ca57cc78e8') {
|
|
8424
8448
|
var _ProductInfoObj$data5;
|
|
8425
8449
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8426
8450
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8506,13 +8530,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8506
8530
|
}) && variantValueIds.includes(Currvalueid);
|
|
8507
8531
|
});
|
|
8508
8532
|
return _inStock4 ? 1 : 0;
|
|
8533
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
8534
|
+
var _ProductInfoObj$data6;
|
|
8535
|
+
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8536
|
+
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
8537
|
+
var _variants5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.variants) || [];
|
|
8538
|
+
|
|
8539
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8540
|
+
var _selectedValues5 = [];
|
|
8541
|
+
_options5.forEach(function (option) {
|
|
8542
|
+
option.optionvalues.forEach(function (value) {
|
|
8543
|
+
if (value.isselected === 1) {
|
|
8544
|
+
_selectedValues5.push({
|
|
8545
|
+
optionid: option.optionid,
|
|
8546
|
+
valueid: value.valueid
|
|
8547
|
+
});
|
|
8548
|
+
}
|
|
8549
|
+
});
|
|
8550
|
+
});
|
|
8551
|
+
_options5.length;
|
|
8552
|
+
var _selectedCount5 = _selectedValues5.length;
|
|
8553
|
+
var _inStockVariants5 = _variants5.filter(function (v) {
|
|
8554
|
+
return v.current_quantity > 0;
|
|
8555
|
+
});
|
|
8556
|
+
|
|
8557
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8558
|
+
if (_selectedCount5 === 0) {
|
|
8559
|
+
return _inStockVariants5.some(function (variant) {
|
|
8560
|
+
return variant.variantoptions.some(function (opt) {
|
|
8561
|
+
return opt.valueid === Currvalueid;
|
|
8562
|
+
});
|
|
8563
|
+
}) ? 1 : 0;
|
|
8564
|
+
}
|
|
8565
|
+
|
|
8566
|
+
// 🧠 Case 2: Only one option selected
|
|
8567
|
+
if (_selectedCount5 === 1) {
|
|
8568
|
+
var _selected5 = _selectedValues5[0];
|
|
8569
|
+
var _selectedOptionId5 = _selected5.optionid;
|
|
8570
|
+
|
|
8571
|
+
// Find which option this Currvalueid belongs to
|
|
8572
|
+
var _currentOptionId5 = null;
|
|
8573
|
+
_options5.forEach(function (option) {
|
|
8574
|
+
option.optionvalues.forEach(function (v) {
|
|
8575
|
+
if (v.valueid === Currvalueid) _currentOptionId5 = option.optionid;
|
|
8576
|
+
});
|
|
8577
|
+
});
|
|
8578
|
+
|
|
8579
|
+
// Same option (e.g., selecting only size)
|
|
8580
|
+
if (_selectedOptionId5 === _currentOptionId5) {
|
|
8581
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8582
|
+
return _inStockVariants5.some(function (variant) {
|
|
8583
|
+
return variant.variantoptions.some(function (opt) {
|
|
8584
|
+
return opt.valueid === Currvalueid;
|
|
8585
|
+
});
|
|
8586
|
+
}) ? 1 : 0;
|
|
8587
|
+
}
|
|
8588
|
+
|
|
8589
|
+
// Different option (e.g., color)
|
|
8590
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8591
|
+
return _inStockVariants5.some(function (variant) {
|
|
8592
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8593
|
+
return v.valueid;
|
|
8594
|
+
});
|
|
8595
|
+
return variantValueIds.includes(_selected5.valueid) && variantValueIds.includes(Currvalueid);
|
|
8596
|
+
}) ? 1 : 0;
|
|
8597
|
+
}
|
|
8598
|
+
|
|
8599
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8600
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8601
|
+
var _inStock5 = _inStockVariants5.some(function (variant) {
|
|
8602
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8603
|
+
return v.valueid;
|
|
8604
|
+
});
|
|
8605
|
+
// Must match all selected except the one that belongs to same option
|
|
8606
|
+
return _selectedValues5.every(function (sel) {
|
|
8607
|
+
if (_options5.some(function (opt) {
|
|
8608
|
+
return opt.optionvalues.some(function (v) {
|
|
8609
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8610
|
+
});
|
|
8611
|
+
})) {
|
|
8612
|
+
// Skip same option
|
|
8613
|
+
return true;
|
|
8614
|
+
}
|
|
8615
|
+
return variantValueIds.includes(sel.valueid);
|
|
8616
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8617
|
+
});
|
|
8618
|
+
return _inStock5 ? 1 : 0;
|
|
8509
8619
|
} else {
|
|
8510
8620
|
return 1;
|
|
8511
8621
|
}
|
|
8512
8622
|
};
|
|
8513
8623
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8514
|
-
var _authdetailsContext$
|
|
8515
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8624
|
+
var _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
8625
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276') {
|
|
8516
8626
|
var _productarr$data, _productarr$data$prod;
|
|
8517
8627
|
var _productarr = ProductInfoObj;
|
|
8518
8628
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8566,7 +8676,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8566
8676
|
}
|
|
8567
8677
|
}
|
|
8568
8678
|
// puff n stuff
|
|
8569
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8679
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
|
|
8570
8680
|
var _productarr2$data, _productarr2$data$pro;
|
|
8571
8681
|
var _productarr2 = ProductInfoObj;
|
|
8572
8682
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8618,7 +8728,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8618
8728
|
// optional: show user message or disable click
|
|
8619
8729
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8620
8730
|
}
|
|
8621
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8731
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69244cc88aa0a') {
|
|
8622
8732
|
var _productarr3$data, _productarr3$data$pro;
|
|
8623
8733
|
var _productarr3 = ProductInfoObj;
|
|
8624
8734
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8670,7 +8780,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8670
8780
|
// optional: show user message or disable click
|
|
8671
8781
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8672
8782
|
}
|
|
8673
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8783
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '687ca57cc78e8') {
|
|
8674
8784
|
var _productarr4$data, _productarr4$data$pro;
|
|
8675
8785
|
var _productarr4 = ProductInfoObj;
|
|
8676
8786
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8722,7 +8832,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8722
8832
|
// optional: show user message or disable click
|
|
8723
8833
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8724
8834
|
}
|
|
8725
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8835
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
8726
8836
|
var _productarr5$data, _productarr5$data$pro;
|
|
8727
8837
|
var _productarr5 = ProductInfoObj;
|
|
8728
8838
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9255,10 +9365,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9255
9365
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9256
9366
|
runfunc = true;
|
|
9257
9367
|
} else {
|
|
9258
|
-
var _authdetailsContext$
|
|
9368
|
+
var _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
9259
9369
|
// here
|
|
9260
9370
|
setvariantnotchosendisclaimer('This field is required');
|
|
9261
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9371
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9262
9372
|
}
|
|
9263
9373
|
} else {
|
|
9264
9374
|
runfunc = true;
|
|
@@ -9342,9 +9452,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9342
9452
|
};
|
|
9343
9453
|
};
|
|
9344
9454
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9345
|
-
var _authdetailsContext$
|
|
9455
|
+
var _authdetailsContext$i18;
|
|
9346
9456
|
var policyobj = {};
|
|
9347
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9457
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instpolicies) === null || _authdetailsContext$i18 === void 0 || _authdetailsContext$i18.forEach(function (item, index) {
|
|
9348
9458
|
if (item.policytype == policytype) {
|
|
9349
9459
|
policyobj = item;
|
|
9350
9460
|
}
|
|
@@ -9353,7 +9463,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9353
9463
|
};
|
|
9354
9464
|
var relatedproducts = function relatedproducts() {
|
|
9355
9465
|
if (Relatedproducts.length != 0) {
|
|
9356
|
-
var _authdetailsContext$
|
|
9466
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22;
|
|
9357
9467
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9358
9468
|
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",
|
|
9359
9469
|
style: {
|
|
@@ -9374,7 +9484,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9374
9484
|
className: "col-lg-12 p-0"
|
|
9375
9485
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9376
9486
|
className: "row m-0 w-100"
|
|
9377
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9487
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9378
9488
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9379
9489
|
style: {
|
|
9380
9490
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9393,7 +9503,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9393
9503
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9394
9504
|
borderRadius: 5
|
|
9395
9505
|
}
|
|
9396
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9506
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9397
9507
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9398
9508
|
style: {
|
|
9399
9509
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9414,8 +9524,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9414
9524
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
9415
9525
|
transitionBehavior: 'auto',
|
|
9416
9526
|
wrapperClassName: '',
|
|
9417
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9418
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9527
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9528
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9419
9529
|
}, Relatedproducts.map(function (item, index) {
|
|
9420
9530
|
if (item.productinfo != null) {
|
|
9421
9531
|
var _fetchProductInfoQuer49;
|
|
@@ -9485,10 +9595,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9485
9595
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9486
9596
|
runfunc = true;
|
|
9487
9597
|
} else {
|
|
9488
|
-
var _authdetailsContext$
|
|
9598
|
+
var _authdetailsContext$i23;
|
|
9489
9599
|
// here
|
|
9490
9600
|
setvariantnotchosendisclaimer('This field is required');
|
|
9491
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9601
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9492
9602
|
}
|
|
9493
9603
|
} else {
|
|
9494
9604
|
runfunc = true;
|
|
@@ -9531,8 +9641,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9531
9641
|
isVarianturlLoaded = _useState58[0],
|
|
9532
9642
|
setisVarianturlLoaded = _useState58[1];
|
|
9533
9643
|
React.useEffect(function () {
|
|
9534
|
-
var _authdetailsContext$
|
|
9535
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9644
|
+
var _authdetailsContext$i24;
|
|
9645
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68f918a4ccb85') {
|
|
9536
9646
|
var params = new URLSearchParams(window.location.search);
|
|
9537
9647
|
var variantId = params.get('variant');
|
|
9538
9648
|
if (isVarianturlLoaded == false) {
|
|
@@ -10328,7 +10438,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10328
10438
|
})));
|
|
10329
10439
|
};
|
|
10330
10440
|
var StoreInfo = function StoreInfo(position) {
|
|
10331
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10441
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i26, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i27, _authdetailsContext$i29;
|
|
10332
10442
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10333
10443
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10334
10444
|
style: {
|
|
@@ -10407,8 +10517,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10407
10517
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10408
10518
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10409
10519
|
onClick: function onClick() {
|
|
10410
|
-
var _authdetailsContext$
|
|
10411
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10520
|
+
var _authdetailsContext$i25;
|
|
10521
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.email), '_self');
|
|
10412
10522
|
}
|
|
10413
10523
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10414
10524
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10428,7 +10538,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10428
10538
|
style: {
|
|
10429
10539
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10430
10540
|
}
|
|
10431
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10541
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.contactinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10432
10542
|
"class": "col-lg-12 my-2",
|
|
10433
10543
|
style: {
|
|
10434
10544
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10480,25 +10590,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10480
10590
|
}
|
|
10481
10591
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10482
10592
|
"class": "m-0 p-0"
|
|
10483
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10593
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (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) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10484
10594
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10485
10595
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10486
10596
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10487
10597
|
onClick: function onClick() {
|
|
10488
|
-
var _authdetailsContext$
|
|
10489
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10598
|
+
var _authdetailsContext$i28;
|
|
10599
|
+
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');
|
|
10490
10600
|
}
|
|
10491
10601
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10492
10602
|
"class": "m-0 p-0"
|
|
10493
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10603
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10494
10604
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10495
10605
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10496
10606
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10497
10607
|
onClick: function onClick() {
|
|
10498
|
-
var _authdetailsContext$
|
|
10499
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10500
|
-
var _authdetailsContext$
|
|
10501
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10608
|
+
var _authdetailsContext$i30;
|
|
10609
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.whatsappnumber) != null) {
|
|
10610
|
+
var _authdetailsContext$i31;
|
|
10611
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.whatsappnumber), '_blank');
|
|
10502
10612
|
}
|
|
10503
10613
|
}
|
|
10504
10614
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -10594,7 +10704,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10594
10704
|
lang: lang,
|
|
10595
10705
|
srcfromprops: props.srcfromprops
|
|
10596
10706
|
}, _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))
|
|
10597
|
-
}), (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$
|
|
10707
|
+
}), (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$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10598
10708
|
actions: (_ref2 = {
|
|
10599
10709
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10600
10710
|
setisoutofstock: setisoutofstock,
|
|
@@ -10604,7 +10714,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10604
10714
|
lang: lang,
|
|
10605
10715
|
srcfromprops: props.srcfromprops
|
|
10606
10716
|
}, _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))
|
|
10607
|
-
}), (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$
|
|
10717
|
+
}), (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$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10608
10718
|
actions: (_ref3 = {
|
|
10609
10719
|
isOptionInStock: isOptionInStock,
|
|
10610
10720
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10630,7 +10740,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10630
10740
|
lang: lang,
|
|
10631
10741
|
srcfromprops: props.srcfromprops
|
|
10632
10742
|
}, _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))
|
|
10633
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10743
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10634
10744
|
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 ',
|
|
10635
10745
|
style: {
|
|
10636
10746
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10821,7 +10931,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10821
10931
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10822
10932
|
sectionproperties: sectionproperties
|
|
10823
10933
|
})
|
|
10824
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10934
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10825
10935
|
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 ',
|
|
10826
10936
|
style: {
|
|
10827
10937
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10972,7 +11082,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10972
11082
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10973
11083
|
sectionproperties: sectionproperties
|
|
10974
11084
|
})
|
|
10975
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11085
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10976
11086
|
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 ',
|
|
10977
11087
|
style: {
|
|
10978
11088
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -14091,7 +14201,7 @@ styleInject(css_248z$G);
|
|
|
14091
14201
|
function ownKeys$2w(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; }
|
|
14092
14202
|
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14093
14203
|
var Checkout = function Checkout(props) {
|
|
14094
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i11, _authdetailsContext$i12, _fetchcustomercartQue73, _authdetailsContext$i13, _fetchcustomercartQue74, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _fetchcustomercartQue75, _authdetailsContext$i19, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$
|
|
14204
|
+
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i11, _authdetailsContext$i12, _fetchcustomercartQue73, _authdetailsContext$i13, _fetchcustomercartQue74, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _fetchcustomercartQue75, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _fetchcustomercartQue85, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _fetchcustomercartQue87, _authdetailsContext$i36, _fetchcustomercartQue89, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _fetchcustomercartQue91, _authdetailsContext$i40, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i41, _fetchcustomercartQue97, _authdetailsContext$i42, _fetchcustomercartQue99, _authdetailsContext$i43, _fetchcustomercartQue101, _authdetailsContext$i44, _fetchcustomercartQue103, _authdetailsContext$i45, _fetchcustomercartQue105, _authdetailsContext$i46, _fetchcustomercartQue107, _authdetailsContext$i47, _fetchcustomercartQue109, _authdetailsContext$i48, _fetchcustomercartQue111, _fetchcustomercartQue112;
|
|
14095
14205
|
var _useState = React.useState(null),
|
|
14096
14206
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
14097
14207
|
_useState2[0];
|
|
@@ -15430,7 +15540,7 @@ var Checkout = function Checkout(props) {
|
|
|
15430
15540
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
15431
15541
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15432
15542
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
15433
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
15543
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '688b86aaf144b' ? langdetect == 'en' ? 'Governorate' : 'الولايه / الاماره' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
15434
15544
|
"class": "mx-2",
|
|
15435
15545
|
style: {
|
|
15436
15546
|
color: 'var(--danger)'
|
|
@@ -15638,7 +15748,7 @@ var Checkout = function Checkout(props) {
|
|
|
15638
15748
|
// events mart
|
|
15639
15749
|
|
|
15640
15750
|
if (item.title_en == 'Event Date') {
|
|
15641
|
-
var _authdetailsContext$
|
|
15751
|
+
var _authdetailsContext$i23, _authdetailsContext$i24;
|
|
15642
15752
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15643
15753
|
className: "col-lg-6 col-md-12 mb-3"
|
|
15644
15754
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -15667,12 +15777,12 @@ var Checkout = function Checkout(props) {
|
|
|
15667
15777
|
// }}
|
|
15668
15778
|
,
|
|
15669
15779
|
onChange: function onChange(event) {
|
|
15670
|
-
var _authdetailsContext$
|
|
15671
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15780
|
+
var _authdetailsContext$i21;
|
|
15781
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) == '66b4a0338cb14') {
|
|
15672
15782
|
var selectedDate = event.target.value;
|
|
15673
15783
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
15674
|
-
var _authdetailsContext$
|
|
15675
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15784
|
+
var _authdetailsContext$i22;
|
|
15785
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.contactinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
15676
15786
|
if (minDate && selectedDate < minDate) {
|
|
15677
15787
|
// alert(`Please select a date on or after ${minDate}`);
|
|
15678
15788
|
return;
|
|
@@ -15690,11 +15800,11 @@ var Checkout = function Checkout(props) {
|
|
|
15690
15800
|
style: {
|
|
15691
15801
|
boxShadow: 'none'
|
|
15692
15802
|
},
|
|
15693
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15694
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15803
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
15804
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
15695
15805
|
}));
|
|
15696
15806
|
} else {
|
|
15697
|
-
var _authdetailsContext$
|
|
15807
|
+
var _authdetailsContext$i27, _authdetailsContext$i28;
|
|
15698
15808
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15699
15809
|
className: "col-lg-6 col-md-12 mb-3"
|
|
15700
15810
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -15715,12 +15825,12 @@ var Checkout = function Checkout(props) {
|
|
|
15715
15825
|
// }}
|
|
15716
15826
|
,
|
|
15717
15827
|
onChange: function onChange(event) {
|
|
15718
|
-
var _authdetailsContext$
|
|
15719
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15828
|
+
var _authdetailsContext$i25;
|
|
15829
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) == '66b4a0338cb14') {
|
|
15720
15830
|
var selectedDate = event.target.value;
|
|
15721
15831
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
15722
|
-
var _authdetailsContext$
|
|
15723
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15832
|
+
var _authdetailsContext$i26;
|
|
15833
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.contactinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
15724
15834
|
if (minDate && selectedDate < minDate) {
|
|
15725
15835
|
// alert(`Please select a date on or after ${minDate}`);
|
|
15726
15836
|
return;
|
|
@@ -15738,8 +15848,8 @@ var Checkout = function Checkout(props) {
|
|
|
15738
15848
|
style: {
|
|
15739
15849
|
boxShadow: 'none'
|
|
15740
15850
|
},
|
|
15741
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15742
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15851
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
15852
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
15743
15853
|
}));
|
|
15744
15854
|
}
|
|
15745
15855
|
}
|
|
@@ -15893,15 +16003,15 @@ var Checkout = function Checkout(props) {
|
|
|
15893
16003
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15894
16004
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
15895
16005
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15896
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16006
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
15897
16007
|
style: {
|
|
15898
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16008
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
|
|
15899
16009
|
borderRadius: 15
|
|
15900
16010
|
}
|
|
15901
16011
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15902
16012
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15903
16013
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15904
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16014
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
|
|
15905
16015
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15906
16016
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
15907
16017
|
"for": "codcheckbox"
|
|
@@ -15928,21 +16038,21 @@ var Checkout = function Checkout(props) {
|
|
|
15928
16038
|
style: {
|
|
15929
16039
|
color: sectionproperties.checkbox_color
|
|
15930
16040
|
}
|
|
15931
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16041
|
+
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15932
16042
|
"class": "col-3 text-end p-0"
|
|
15933
16043
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15934
16044
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
15935
16045
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
15936
16046
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15937
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16047
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
15938
16048
|
style: {
|
|
15939
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16049
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
|
|
15940
16050
|
borderRadius: 15
|
|
15941
16051
|
}
|
|
15942
16052
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15943
16053
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15944
16054
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15945
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16055
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
|
|
15946
16056
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15947
16057
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
15948
16058
|
"for": "codcheckbox"
|
|
@@ -15969,7 +16079,7 @@ var Checkout = function Checkout(props) {
|
|
|
15969
16079
|
style: {
|
|
15970
16080
|
color: sectionproperties.checkbox_color
|
|
15971
16081
|
}
|
|
15972
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16082
|
+
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15973
16083
|
"class": "col-3 text-end p-0"
|
|
15974
16084
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15975
16085
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -16001,15 +16111,15 @@ var Checkout = function Checkout(props) {
|
|
|
16001
16111
|
/*#__PURE__*/
|
|
16002
16112
|
// <div className=""
|
|
16003
16113
|
React__default["default"].createElement("div", {
|
|
16004
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16114
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
16005
16115
|
style: {
|
|
16006
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16116
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
|
|
16007
16117
|
borderRadius: 15
|
|
16008
16118
|
}
|
|
16009
16119
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16010
16120
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
16011
16121
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16012
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16122
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
|
|
16013
16123
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16014
16124
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
16015
16125
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -16031,7 +16141,7 @@ var Checkout = function Checkout(props) {
|
|
|
16031
16141
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16032
16142
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16033
16143
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16034
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16144
|
+
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16035
16145
|
"class": "col-3 text-end p-0"
|
|
16036
16146
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
16037
16147
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
@@ -16080,7 +16190,7 @@ var Checkout = function Checkout(props) {
|
|
|
16080
16190
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16081
16191
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16082
16192
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16083
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16193
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16084
16194
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16085
16195
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16086
16196
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -16102,7 +16212,7 @@ var Checkout = function Checkout(props) {
|
|
|
16102
16212
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16103
16213
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16104
16214
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16105
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16215
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16106
16216
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16107
16217
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16108
16218
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -16124,7 +16234,7 @@ var Checkout = function Checkout(props) {
|
|
|
16124
16234
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16125
16235
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16126
16236
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16127
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16237
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16128
16238
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16129
16239
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16130
16240
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -16146,7 +16256,7 @@ var Checkout = function Checkout(props) {
|
|
|
16146
16256
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16147
16257
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16148
16258
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
16149
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16259
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16150
16260
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16151
16261
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16152
16262
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -16168,7 +16278,7 @@ var Checkout = function Checkout(props) {
|
|
|
16168
16278
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16169
16279
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16170
16280
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16171
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16281
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16172
16282
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16173
16283
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16174
16284
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -16190,7 +16300,7 @@ var Checkout = function Checkout(props) {
|
|
|
16190
16300
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16191
16301
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16192
16302
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16193
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16303
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16194
16304
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16195
16305
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16196
16306
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -16212,7 +16322,7 @@ var Checkout = function Checkout(props) {
|
|
|
16212
16322
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16213
16323
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16214
16324
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16215
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16325
|
+
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16216
16326
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16217
16327
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16218
16328
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -16244,7 +16354,7 @@ var Checkout = function Checkout(props) {
|
|
|
16244
16354
|
dangerouslySetInnerHTML: {
|
|
16245
16355
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
16246
16356
|
}
|
|
16247
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16357
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16248
16358
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
16249
16359
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16250
16360
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -59846,6 +59956,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
59846
59956
|
width: '70px',
|
|
59847
59957
|
height: '40px'
|
|
59848
59958
|
}
|
|
59959
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59960
|
+
src: 'https://tabex-co.com/storage/StaticImages/stripe.png',
|
|
59961
|
+
className: "".concat(footerStyles.payimg)
|
|
59962
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59963
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59964
|
+
style: {
|
|
59965
|
+
width: '70px',
|
|
59966
|
+
height: '40px'
|
|
59967
|
+
}
|
|
59849
59968
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59850
59969
|
src: 'https://tabex-co.com/storage/StaticImages/tabby.png',
|
|
59851
59970
|
className: "".concat(footerStyles.payimg)
|
|
@@ -59856,7 +59975,25 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
59856
59975
|
height: '40px'
|
|
59857
59976
|
}
|
|
59858
59977
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59859
|
-
src: 'https://tabex-co.com/storage/StaticImages/tamara.
|
|
59978
|
+
src: 'https://tabex-co.com/storage/StaticImages/tamara.png',
|
|
59979
|
+
className: "".concat(footerStyles.payimg)
|
|
59980
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59981
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59982
|
+
style: {
|
|
59983
|
+
width: '100px',
|
|
59984
|
+
height: '40px'
|
|
59985
|
+
}
|
|
59986
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59987
|
+
src: 'https://tabex-co.com/storage/StaticImages/applepay.png',
|
|
59988
|
+
className: "".concat(footerStyles.payimg)
|
|
59989
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59990
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59991
|
+
style: {
|
|
59992
|
+
width: '70px',
|
|
59993
|
+
height: '40px'
|
|
59994
|
+
}
|
|
59995
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59996
|
+
src: 'https://tabex-co.com/storage/StaticImages/link.png',
|
|
59860
59997
|
className: "".concat(footerStyles.payimg)
|
|
59861
59998
|
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '6886153fad69c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59862
59999
|
"class": "col-12 allcentered mb-4"
|