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.esm.js
CHANGED
|
@@ -1736,7 +1736,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1736
1736
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1737
1737
|
var is_value_permdisabled = 0;
|
|
1738
1738
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1739
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
1739
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
1740
1740
|
// if()
|
|
1741
1741
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1742
1742
|
is_value_permdisabled = 1;
|
|
@@ -1745,12 +1745,17 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1745
1745
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6899e604db87f') {
|
|
1746
1746
|
is_value_permdisabled = 1;
|
|
1747
1747
|
}
|
|
1748
|
-
|
|
1748
|
+
// angel
|
|
1749
|
+
|
|
1750
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '67bda57bca71d') {
|
|
1751
|
+
is_value_permdisabled = 1;
|
|
1752
|
+
}
|
|
1753
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '69244cc88aa0a') {
|
|
1749
1754
|
is_value_permdisabled = 1;
|
|
1750
1755
|
}
|
|
1751
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1756
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '687ca57cc78e8') {
|
|
1752
1757
|
is_value_permdisabled = 1;
|
|
1753
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1758
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '6899e604db87f') {
|
|
1754
1759
|
is_value_permdisabled = 1;
|
|
1755
1760
|
}
|
|
1756
1761
|
}
|
|
@@ -1779,7 +1784,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1779
1784
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1780
1785
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1781
1786
|
if (is_value_permdisabled == 0) {
|
|
1782
|
-
var _authdetailsContext$
|
|
1787
|
+
var _authdetailsContext$i7, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
1783
1788
|
return /*#__PURE__*/React.createElement("div", {
|
|
1784
1789
|
// className={
|
|
1785
1790
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1791,29 +1796,35 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1791
1796
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1792
1797
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1793
1798
|
// }
|
|
1794
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1799
|
+
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 : ''),
|
|
1795
1800
|
onClick: function onClick() {
|
|
1796
1801
|
if (isoptionvalueselected == 0) {
|
|
1797
|
-
var _authdetailsContext$
|
|
1798
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1802
|
+
var _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
|
|
1803
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '68d28fc494276') {
|
|
1799
1804
|
if (isValueinStock == 0) {
|
|
1800
1805
|
return;
|
|
1801
1806
|
}
|
|
1802
1807
|
}
|
|
1803
1808
|
// puff
|
|
1804
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1809
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6899e604db87f') {
|
|
1810
|
+
if (isValueinStock == 0) {
|
|
1811
|
+
return;
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
// angel
|
|
1815
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67bda57bca71d') {
|
|
1805
1816
|
if (isValueinStock == 0) {
|
|
1806
1817
|
return;
|
|
1807
1818
|
}
|
|
1808
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1819
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
|
|
1809
1820
|
if (isValueinStock == 0) {
|
|
1810
1821
|
return;
|
|
1811
1822
|
}
|
|
1812
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1823
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
|
|
1813
1824
|
if (isValueinStock == 0) {
|
|
1814
1825
|
return;
|
|
1815
1826
|
}
|
|
1816
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1827
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
|
|
1817
1828
|
if (isValueinStock == 0) {
|
|
1818
1829
|
return;
|
|
1819
1830
|
}
|
|
@@ -1857,9 +1868,12 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1857
1868
|
}, /*#__PURE__*/React.createElement("i", {
|
|
1858
1869
|
"class": "h-100 allcentered"
|
|
1859
1870
|
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1860
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1871
|
+
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' :
|
|
1861
1872
|
// puff
|
|
1862
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1873
|
+
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' :
|
|
1874
|
+
// angel
|
|
1875
|
+
|
|
1876
|
+
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',
|
|
1863
1877
|
style: {
|
|
1864
1878
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1865
1879
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1868,31 +1882,37 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1868
1882
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1869
1883
|
}
|
|
1870
1884
|
} else {
|
|
1871
|
-
var _authdetailsContext$
|
|
1885
|
+
var _authdetailsContext$i18, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
|
|
1872
1886
|
return /*#__PURE__*/React.createElement("div", {
|
|
1873
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1887
|
+
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 : ''),
|
|
1874
1888
|
onClick: function onClick() {
|
|
1875
1889
|
if (isoptionvalueselected == 0) {
|
|
1876
|
-
var _authdetailsContext$
|
|
1877
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1890
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
1891
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68d28fc494276') {
|
|
1878
1892
|
if (isValueinStock == 0) {
|
|
1879
1893
|
return;
|
|
1880
1894
|
}
|
|
1881
1895
|
}
|
|
1882
1896
|
// puff n stuff
|
|
1883
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1897
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f') {
|
|
1898
|
+
if (isValueinStock == 0) {
|
|
1899
|
+
return;
|
|
1900
|
+
}
|
|
1901
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '69244cc88aa0a') {
|
|
1884
1902
|
if (isValueinStock == 0) {
|
|
1885
1903
|
return;
|
|
1886
1904
|
}
|
|
1887
|
-
}
|
|
1905
|
+
}
|
|
1906
|
+
// angel
|
|
1907
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67bda57bca71d') {
|
|
1888
1908
|
if (isValueinStock == 0) {
|
|
1889
1909
|
return;
|
|
1890
1910
|
}
|
|
1891
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1911
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '687ca57cc78e8') {
|
|
1892
1912
|
if (isValueinStock == 0) {
|
|
1893
1913
|
return;
|
|
1894
1914
|
}
|
|
1895
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1915
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6899e604db87f') {
|
|
1896
1916
|
if (isValueinStock == 0) {
|
|
1897
1917
|
return;
|
|
1898
1918
|
}
|
|
@@ -1916,9 +1936,11 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1916
1936
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1917
1937
|
}
|
|
1918
1938
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1919
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1939
|
+
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' :
|
|
1920
1940
|
// puff
|
|
1921
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1941
|
+
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' :
|
|
1942
|
+
// angel
|
|
1943
|
+
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',
|
|
1922
1944
|
style: {
|
|
1923
1945
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1924
1946
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7528,7 +7550,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7528
7550
|
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; }
|
|
7529
7551
|
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(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; }
|
|
7530
7552
|
var Productinfo = function Productinfo(props) {
|
|
7531
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7553
|
+
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;
|
|
7532
7554
|
var _useState = useState({}),
|
|
7533
7555
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7534
7556
|
ProductInfoObj = _useState2[0],
|
|
@@ -8021,7 +8043,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8021
8043
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8022
8044
|
// };
|
|
8023
8045
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8024
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
8046
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
8025
8047
|
// lord
|
|
8026
8048
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8027
8049
|
var _ProductInfoObj$data;
|
|
@@ -8197,7 +8219,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8197
8219
|
}) && variantValueIds.includes(Currvalueid);
|
|
8198
8220
|
});
|
|
8199
8221
|
return _inStock ? 1 : 0;
|
|
8200
|
-
}
|
|
8222
|
+
}
|
|
8223
|
+
// angel secrets
|
|
8224
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67bda57bca71d') {
|
|
8201
8225
|
var _ProductInfoObj$data3;
|
|
8202
8226
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8203
8227
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8283,7 +8307,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8283
8307
|
}) && variantValueIds.includes(Currvalueid);
|
|
8284
8308
|
});
|
|
8285
8309
|
return _inStock2 ? 1 : 0;
|
|
8286
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8310
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '69244cc88aa0a') {
|
|
8287
8311
|
var _ProductInfoObj$data4;
|
|
8288
8312
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8289
8313
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8369,7 +8393,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8369
8393
|
}) && variantValueIds.includes(Currvalueid);
|
|
8370
8394
|
});
|
|
8371
8395
|
return _inStock3 ? 1 : 0;
|
|
8372
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '
|
|
8396
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '687ca57cc78e8') {
|
|
8373
8397
|
var _ProductInfoObj$data5;
|
|
8374
8398
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8375
8399
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8455,13 +8479,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8455
8479
|
}) && variantValueIds.includes(Currvalueid);
|
|
8456
8480
|
});
|
|
8457
8481
|
return _inStock4 ? 1 : 0;
|
|
8482
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
8483
|
+
var _ProductInfoObj$data6;
|
|
8484
|
+
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8485
|
+
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
8486
|
+
var _variants5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.variants) || [];
|
|
8487
|
+
|
|
8488
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8489
|
+
var _selectedValues5 = [];
|
|
8490
|
+
_options5.forEach(function (option) {
|
|
8491
|
+
option.optionvalues.forEach(function (value) {
|
|
8492
|
+
if (value.isselected === 1) {
|
|
8493
|
+
_selectedValues5.push({
|
|
8494
|
+
optionid: option.optionid,
|
|
8495
|
+
valueid: value.valueid
|
|
8496
|
+
});
|
|
8497
|
+
}
|
|
8498
|
+
});
|
|
8499
|
+
});
|
|
8500
|
+
_options5.length;
|
|
8501
|
+
var _selectedCount5 = _selectedValues5.length;
|
|
8502
|
+
var _inStockVariants5 = _variants5.filter(function (v) {
|
|
8503
|
+
return v.current_quantity > 0;
|
|
8504
|
+
});
|
|
8505
|
+
|
|
8506
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8507
|
+
if (_selectedCount5 === 0) {
|
|
8508
|
+
return _inStockVariants5.some(function (variant) {
|
|
8509
|
+
return variant.variantoptions.some(function (opt) {
|
|
8510
|
+
return opt.valueid === Currvalueid;
|
|
8511
|
+
});
|
|
8512
|
+
}) ? 1 : 0;
|
|
8513
|
+
}
|
|
8514
|
+
|
|
8515
|
+
// 🧠 Case 2: Only one option selected
|
|
8516
|
+
if (_selectedCount5 === 1) {
|
|
8517
|
+
var _selected5 = _selectedValues5[0];
|
|
8518
|
+
var _selectedOptionId5 = _selected5.optionid;
|
|
8519
|
+
|
|
8520
|
+
// Find which option this Currvalueid belongs to
|
|
8521
|
+
var _currentOptionId5 = null;
|
|
8522
|
+
_options5.forEach(function (option) {
|
|
8523
|
+
option.optionvalues.forEach(function (v) {
|
|
8524
|
+
if (v.valueid === Currvalueid) _currentOptionId5 = option.optionid;
|
|
8525
|
+
});
|
|
8526
|
+
});
|
|
8527
|
+
|
|
8528
|
+
// Same option (e.g., selecting only size)
|
|
8529
|
+
if (_selectedOptionId5 === _currentOptionId5) {
|
|
8530
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8531
|
+
return _inStockVariants5.some(function (variant) {
|
|
8532
|
+
return variant.variantoptions.some(function (opt) {
|
|
8533
|
+
return opt.valueid === Currvalueid;
|
|
8534
|
+
});
|
|
8535
|
+
}) ? 1 : 0;
|
|
8536
|
+
}
|
|
8537
|
+
|
|
8538
|
+
// Different option (e.g., color)
|
|
8539
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8540
|
+
return _inStockVariants5.some(function (variant) {
|
|
8541
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8542
|
+
return v.valueid;
|
|
8543
|
+
});
|
|
8544
|
+
return variantValueIds.includes(_selected5.valueid) && variantValueIds.includes(Currvalueid);
|
|
8545
|
+
}) ? 1 : 0;
|
|
8546
|
+
}
|
|
8547
|
+
|
|
8548
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8549
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8550
|
+
var _inStock5 = _inStockVariants5.some(function (variant) {
|
|
8551
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8552
|
+
return v.valueid;
|
|
8553
|
+
});
|
|
8554
|
+
// Must match all selected except the one that belongs to same option
|
|
8555
|
+
return _selectedValues5.every(function (sel) {
|
|
8556
|
+
if (_options5.some(function (opt) {
|
|
8557
|
+
return opt.optionvalues.some(function (v) {
|
|
8558
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8559
|
+
});
|
|
8560
|
+
})) {
|
|
8561
|
+
// Skip same option
|
|
8562
|
+
return true;
|
|
8563
|
+
}
|
|
8564
|
+
return variantValueIds.includes(sel.valueid);
|
|
8565
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8566
|
+
});
|
|
8567
|
+
return _inStock5 ? 1 : 0;
|
|
8458
8568
|
} else {
|
|
8459
8569
|
return 1;
|
|
8460
8570
|
}
|
|
8461
8571
|
};
|
|
8462
8572
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8463
|
-
var _authdetailsContext$
|
|
8464
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8573
|
+
var _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
8574
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276') {
|
|
8465
8575
|
var _productarr$data, _productarr$data$prod;
|
|
8466
8576
|
var _productarr = ProductInfoObj;
|
|
8467
8577
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8515,7 +8625,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8515
8625
|
}
|
|
8516
8626
|
}
|
|
8517
8627
|
// puff n stuff
|
|
8518
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8628
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
|
|
8519
8629
|
var _productarr2$data, _productarr2$data$pro;
|
|
8520
8630
|
var _productarr2 = ProductInfoObj;
|
|
8521
8631
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8567,7 +8677,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8567
8677
|
// optional: show user message or disable click
|
|
8568
8678
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8569
8679
|
}
|
|
8570
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8680
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69244cc88aa0a') {
|
|
8571
8681
|
var _productarr3$data, _productarr3$data$pro;
|
|
8572
8682
|
var _productarr3 = ProductInfoObj;
|
|
8573
8683
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8619,7 +8729,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8619
8729
|
// optional: show user message or disable click
|
|
8620
8730
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8621
8731
|
}
|
|
8622
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8732
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '687ca57cc78e8') {
|
|
8623
8733
|
var _productarr4$data, _productarr4$data$pro;
|
|
8624
8734
|
var _productarr4 = ProductInfoObj;
|
|
8625
8735
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8671,7 +8781,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8671
8781
|
// optional: show user message or disable click
|
|
8672
8782
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8673
8783
|
}
|
|
8674
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8784
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
8675
8785
|
var _productarr5$data, _productarr5$data$pro;
|
|
8676
8786
|
var _productarr5 = ProductInfoObj;
|
|
8677
8787
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9204,10 +9314,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9204
9314
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9205
9315
|
runfunc = true;
|
|
9206
9316
|
} else {
|
|
9207
|
-
var _authdetailsContext$
|
|
9317
|
+
var _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
9208
9318
|
// here
|
|
9209
9319
|
setvariantnotchosendisclaimer('This field is required');
|
|
9210
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9320
|
+
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' : 'من فضلك اختر من المتغيرات');
|
|
9211
9321
|
}
|
|
9212
9322
|
} else {
|
|
9213
9323
|
runfunc = true;
|
|
@@ -9291,9 +9401,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9291
9401
|
};
|
|
9292
9402
|
};
|
|
9293
9403
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9294
|
-
var _authdetailsContext$
|
|
9404
|
+
var _authdetailsContext$i18;
|
|
9295
9405
|
var policyobj = {};
|
|
9296
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9406
|
+
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) {
|
|
9297
9407
|
if (item.policytype == policytype) {
|
|
9298
9408
|
policyobj = item;
|
|
9299
9409
|
}
|
|
@@ -9302,7 +9412,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9302
9412
|
};
|
|
9303
9413
|
var relatedproducts = function relatedproducts() {
|
|
9304
9414
|
if (Relatedproducts.length != 0) {
|
|
9305
|
-
var _authdetailsContext$
|
|
9415
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22;
|
|
9306
9416
|
return /*#__PURE__*/React.createElement("div", {
|
|
9307
9417
|
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",
|
|
9308
9418
|
style: {
|
|
@@ -9323,7 +9433,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9323
9433
|
className: "col-lg-12 p-0"
|
|
9324
9434
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9325
9435
|
className: "row m-0 w-100"
|
|
9326
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9436
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9327
9437
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9328
9438
|
style: {
|
|
9329
9439
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9342,7 +9452,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9342
9452
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9343
9453
|
borderRadius: 5
|
|
9344
9454
|
}
|
|
9345
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9455
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9346
9456
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9347
9457
|
style: {
|
|
9348
9458
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9363,8 +9473,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9363
9473
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
9364
9474
|
transitionBehavior: 'auto',
|
|
9365
9475
|
wrapperClassName: '',
|
|
9366
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9367
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9476
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9477
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9368
9478
|
}, Relatedproducts.map(function (item, index) {
|
|
9369
9479
|
if (item.productinfo != null) {
|
|
9370
9480
|
var _fetchProductInfoQuer49;
|
|
@@ -9434,10 +9544,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9434
9544
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9435
9545
|
runfunc = true;
|
|
9436
9546
|
} else {
|
|
9437
|
-
var _authdetailsContext$
|
|
9547
|
+
var _authdetailsContext$i23;
|
|
9438
9548
|
// here
|
|
9439
9549
|
setvariantnotchosendisclaimer('This field is required');
|
|
9440
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9550
|
+
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');
|
|
9441
9551
|
}
|
|
9442
9552
|
} else {
|
|
9443
9553
|
runfunc = true;
|
|
@@ -9480,8 +9590,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9480
9590
|
isVarianturlLoaded = _useState58[0],
|
|
9481
9591
|
setisVarianturlLoaded = _useState58[1];
|
|
9482
9592
|
useEffect(function () {
|
|
9483
|
-
var _authdetailsContext$
|
|
9484
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9593
|
+
var _authdetailsContext$i24;
|
|
9594
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68f918a4ccb85') {
|
|
9485
9595
|
var params = new URLSearchParams(window.location.search);
|
|
9486
9596
|
var variantId = params.get('variant');
|
|
9487
9597
|
if (isVarianturlLoaded == false) {
|
|
@@ -10277,7 +10387,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10277
10387
|
})));
|
|
10278
10388
|
};
|
|
10279
10389
|
var StoreInfo = function StoreInfo(position) {
|
|
10280
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10390
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i26, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i27, _authdetailsContext$i29;
|
|
10281
10391
|
return /*#__PURE__*/React.createElement("div", {
|
|
10282
10392
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10283
10393
|
style: {
|
|
@@ -10356,8 +10466,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10356
10466
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
10357
10467
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10358
10468
|
onClick: function onClick() {
|
|
10359
|
-
var _authdetailsContext$
|
|
10360
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10469
|
+
var _authdetailsContext$i25;
|
|
10470
|
+
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');
|
|
10361
10471
|
}
|
|
10362
10472
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10363
10473
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10377,7 +10487,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10377
10487
|
style: {
|
|
10378
10488
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10379
10489
|
}
|
|
10380
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10490
|
+
}, 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.createElement("div", {
|
|
10381
10491
|
"class": "col-lg-12 my-2",
|
|
10382
10492
|
style: {
|
|
10383
10493
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10429,25 +10539,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10429
10539
|
}
|
|
10430
10540
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10431
10541
|
"class": "m-0 p-0"
|
|
10432
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10542
|
+
}, 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.createElement("div", {
|
|
10433
10543
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10434
10544
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10435
10545
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10436
10546
|
onClick: function onClick() {
|
|
10437
|
-
var _authdetailsContext$
|
|
10438
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10547
|
+
var _authdetailsContext$i28;
|
|
10548
|
+
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');
|
|
10439
10549
|
}
|
|
10440
10550
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10441
10551
|
"class": "m-0 p-0"
|
|
10442
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10552
|
+
}, 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.createElement("div", {
|
|
10443
10553
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10444
10554
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10445
10555
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10446
10556
|
onClick: function onClick() {
|
|
10447
|
-
var _authdetailsContext$
|
|
10448
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10449
|
-
var _authdetailsContext$
|
|
10450
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10557
|
+
var _authdetailsContext$i30;
|
|
10558
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.whatsappnumber) != null) {
|
|
10559
|
+
var _authdetailsContext$i31;
|
|
10560
|
+
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');
|
|
10451
10561
|
}
|
|
10452
10562
|
}
|
|
10453
10563
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -10543,7 +10653,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10543
10653
|
lang: lang,
|
|
10544
10654
|
srcfromprops: props.srcfromprops
|
|
10545
10655
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10546
|
-
}), (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$
|
|
10656
|
+
}), (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.createElement(Article_itemtype, {
|
|
10547
10657
|
actions: (_ref2 = {
|
|
10548
10658
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10549
10659
|
setisoutofstock: setisoutofstock,
|
|
@@ -10553,7 +10663,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10553
10663
|
lang: lang,
|
|
10554
10664
|
srcfromprops: props.srcfromprops
|
|
10555
10665
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_defineProperty(_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10556
|
-
}), (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$
|
|
10666
|
+
}), (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.createElement(Product_itemtype_Article, {
|
|
10557
10667
|
actions: (_ref3 = {
|
|
10558
10668
|
isOptionInStock: isOptionInStock,
|
|
10559
10669
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10579,7 +10689,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10579
10689
|
lang: lang,
|
|
10580
10690
|
srcfromprops: props.srcfromprops
|
|
10581
10691
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_defineProperty(_defineProperty(_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10582
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10692
|
+
}), 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.createElement("div", {
|
|
10583
10693
|
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 ',
|
|
10584
10694
|
style: {
|
|
10585
10695
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10770,7 +10880,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10770
10880
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10771
10881
|
sectionproperties: sectionproperties
|
|
10772
10882
|
})
|
|
10773
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10883
|
+
}))))), 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.createElement("div", {
|
|
10774
10884
|
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 ',
|
|
10775
10885
|
style: {
|
|
10776
10886
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10921,7 +11031,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10921
11031
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10922
11032
|
sectionproperties: sectionproperties
|
|
10923
11033
|
})
|
|
10924
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11034
|
+
}))))), 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.createElement("div", {
|
|
10925
11035
|
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 ',
|
|
10926
11036
|
style: {
|
|
10927
11037
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -14040,7 +14150,7 @@ styleInject(css_248z$G);
|
|
|
14040
14150
|
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; }
|
|
14041
14151
|
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(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; }
|
|
14042
14152
|
var Checkout = function Checkout(props) {
|
|
14043
|
-
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$
|
|
14153
|
+
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;
|
|
14044
14154
|
var _useState = useState(null),
|
|
14045
14155
|
_useState2 = _slicedToArray(_useState, 2);
|
|
14046
14156
|
_useState2[0];
|
|
@@ -15379,7 +15489,7 @@ var Checkout = function Checkout(props) {
|
|
|
15379
15489
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
15380
15490
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15381
15491
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
15382
|
-
}, (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.createElement("sup", {
|
|
15492
|
+
}, (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.createElement("sup", {
|
|
15383
15493
|
"class": "mx-2",
|
|
15384
15494
|
style: {
|
|
15385
15495
|
color: 'var(--danger)'
|
|
@@ -15587,7 +15697,7 @@ var Checkout = function Checkout(props) {
|
|
|
15587
15697
|
// events mart
|
|
15588
15698
|
|
|
15589
15699
|
if (item.title_en == 'Event Date') {
|
|
15590
|
-
var _authdetailsContext$
|
|
15700
|
+
var _authdetailsContext$i23, _authdetailsContext$i24;
|
|
15591
15701
|
return /*#__PURE__*/React.createElement("div", {
|
|
15592
15702
|
className: "col-lg-6 col-md-12 mb-3"
|
|
15593
15703
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -15616,12 +15726,12 @@ var Checkout = function Checkout(props) {
|
|
|
15616
15726
|
// }}
|
|
15617
15727
|
,
|
|
15618
15728
|
onChange: function onChange(event) {
|
|
15619
|
-
var _authdetailsContext$
|
|
15620
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15729
|
+
var _authdetailsContext$i21;
|
|
15730
|
+
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') {
|
|
15621
15731
|
var selectedDate = event.target.value;
|
|
15622
15732
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
15623
|
-
var _authdetailsContext$
|
|
15624
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15733
|
+
var _authdetailsContext$i22;
|
|
15734
|
+
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;
|
|
15625
15735
|
if (minDate && selectedDate < minDate) {
|
|
15626
15736
|
// alert(`Please select a date on or after ${minDate}`);
|
|
15627
15737
|
return;
|
|
@@ -15639,11 +15749,11 @@ var Checkout = function Checkout(props) {
|
|
|
15639
15749
|
style: {
|
|
15640
15750
|
boxShadow: 'none'
|
|
15641
15751
|
},
|
|
15642
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15643
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15752
|
+
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
|
|
15753
|
+
.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
|
|
15644
15754
|
}));
|
|
15645
15755
|
} else {
|
|
15646
|
-
var _authdetailsContext$
|
|
15756
|
+
var _authdetailsContext$i27, _authdetailsContext$i28;
|
|
15647
15757
|
return /*#__PURE__*/React.createElement("div", {
|
|
15648
15758
|
className: "col-lg-6 col-md-12 mb-3"
|
|
15649
15759
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -15664,12 +15774,12 @@ var Checkout = function Checkout(props) {
|
|
|
15664
15774
|
// }}
|
|
15665
15775
|
,
|
|
15666
15776
|
onChange: function onChange(event) {
|
|
15667
|
-
var _authdetailsContext$
|
|
15668
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15777
|
+
var _authdetailsContext$i25;
|
|
15778
|
+
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') {
|
|
15669
15779
|
var selectedDate = event.target.value;
|
|
15670
15780
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
15671
|
-
var _authdetailsContext$
|
|
15672
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15781
|
+
var _authdetailsContext$i26;
|
|
15782
|
+
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;
|
|
15673
15783
|
if (minDate && selectedDate < minDate) {
|
|
15674
15784
|
// alert(`Please select a date on or after ${minDate}`);
|
|
15675
15785
|
return;
|
|
@@ -15687,8 +15797,8 @@ var Checkout = function Checkout(props) {
|
|
|
15687
15797
|
style: {
|
|
15688
15798
|
boxShadow: 'none'
|
|
15689
15799
|
},
|
|
15690
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15691
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15800
|
+
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
|
|
15801
|
+
.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
|
|
15692
15802
|
}));
|
|
15693
15803
|
}
|
|
15694
15804
|
}
|
|
@@ -15842,15 +15952,15 @@ var Checkout = function Checkout(props) {
|
|
|
15842
15952
|
})), /*#__PURE__*/React.createElement("div", {
|
|
15843
15953
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
15844
15954
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React.createElement("div", {
|
|
15845
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15955
|
+
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',
|
|
15846
15956
|
style: {
|
|
15847
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15957
|
+
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,
|
|
15848
15958
|
borderRadius: 15
|
|
15849
15959
|
}
|
|
15850
15960
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15851
15961
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15852
15962
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15853
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15963
|
+
"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'
|
|
15854
15964
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15855
15965
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
15856
15966
|
"for": "codcheckbox"
|
|
@@ -15877,21 +15987,21 @@ var Checkout = function Checkout(props) {
|
|
|
15877
15987
|
style: {
|
|
15878
15988
|
color: sectionproperties.checkbox_color
|
|
15879
15989
|
}
|
|
15880
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15990
|
+
}, 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.createElement("div", {
|
|
15881
15991
|
"class": "col-3 text-end p-0"
|
|
15882
15992
|
}, /*#__PURE__*/React.createElement("img", {
|
|
15883
15993
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
15884
15994
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
15885
15995
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React.createElement("div", {
|
|
15886
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15996
|
+
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',
|
|
15887
15997
|
style: {
|
|
15888
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15998
|
+
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,
|
|
15889
15999
|
borderRadius: 15
|
|
15890
16000
|
}
|
|
15891
16001
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15892
16002
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15893
16003
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15894
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16004
|
+
"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'
|
|
15895
16005
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15896
16006
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
15897
16007
|
"for": "codcheckbox"
|
|
@@ -15918,7 +16028,7 @@ var Checkout = function Checkout(props) {
|
|
|
15918
16028
|
style: {
|
|
15919
16029
|
color: sectionproperties.checkbox_color
|
|
15920
16030
|
}
|
|
15921
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16031
|
+
}, 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.createElement("div", {
|
|
15922
16032
|
"class": "col-3 text-end p-0"
|
|
15923
16033
|
}, /*#__PURE__*/React.createElement("img", {
|
|
15924
16034
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -15950,15 +16060,15 @@ var Checkout = function Checkout(props) {
|
|
|
15950
16060
|
/*#__PURE__*/
|
|
15951
16061
|
// <div className=""
|
|
15952
16062
|
React.createElement("div", {
|
|
15953
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16063
|
+
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',
|
|
15954
16064
|
style: {
|
|
15955
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16065
|
+
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,
|
|
15956
16066
|
borderRadius: 15
|
|
15957
16067
|
}
|
|
15958
16068
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15959
16069
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15960
16070
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15961
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16071
|
+
"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'
|
|
15962
16072
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15963
16073
|
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 '
|
|
15964
16074
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -15980,7 +16090,7 @@ var Checkout = function Checkout(props) {
|
|
|
15980
16090
|
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"
|
|
15981
16091
|
})), /*#__PURE__*/React.createElement("p", {
|
|
15982
16092
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15983
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16093
|
+
}, 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.createElement("div", {
|
|
15984
16094
|
"class": "col-3 text-end p-0"
|
|
15985
16095
|
}, /*#__PURE__*/React.createElement("img", {
|
|
15986
16096
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
@@ -16029,7 +16139,7 @@ var Checkout = function Checkout(props) {
|
|
|
16029
16139
|
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"
|
|
16030
16140
|
})), /*#__PURE__*/React.createElement("p", {
|
|
16031
16141
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16032
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16142
|
+
}, 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.createElement("div", {
|
|
16033
16143
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16034
16144
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16035
16145
|
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 '
|
|
@@ -16051,7 +16161,7 @@ var Checkout = function Checkout(props) {
|
|
|
16051
16161
|
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"
|
|
16052
16162
|
})), /*#__PURE__*/React.createElement("p", {
|
|
16053
16163
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16054
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16164
|
+
}, 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.createElement("div", {
|
|
16055
16165
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16056
16166
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16057
16167
|
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 '
|
|
@@ -16073,7 +16183,7 @@ var Checkout = function Checkout(props) {
|
|
|
16073
16183
|
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"
|
|
16074
16184
|
})), /*#__PURE__*/React.createElement("p", {
|
|
16075
16185
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16076
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16186
|
+
}, 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.createElement("div", {
|
|
16077
16187
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16078
16188
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16079
16189
|
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 '
|
|
@@ -16095,7 +16205,7 @@ var Checkout = function Checkout(props) {
|
|
|
16095
16205
|
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"
|
|
16096
16206
|
})), /*#__PURE__*/React.createElement("p", {
|
|
16097
16207
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
16098
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16208
|
+
}, 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.createElement("div", {
|
|
16099
16209
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16100
16210
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16101
16211
|
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 '
|
|
@@ -16117,7 +16227,7 @@ var Checkout = function Checkout(props) {
|
|
|
16117
16227
|
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"
|
|
16118
16228
|
})), /*#__PURE__*/React.createElement("p", {
|
|
16119
16229
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16120
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16230
|
+
}, 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.createElement("div", {
|
|
16121
16231
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16122
16232
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16123
16233
|
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 '
|
|
@@ -16139,7 +16249,7 @@ var Checkout = function Checkout(props) {
|
|
|
16139
16249
|
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"
|
|
16140
16250
|
})), /*#__PURE__*/React.createElement("p", {
|
|
16141
16251
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16142
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16252
|
+
}, 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.createElement("div", {
|
|
16143
16253
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16144
16254
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16145
16255
|
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 '
|
|
@@ -16161,7 +16271,7 @@ var Checkout = function Checkout(props) {
|
|
|
16161
16271
|
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"
|
|
16162
16272
|
})), /*#__PURE__*/React.createElement("p", {
|
|
16163
16273
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16164
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16274
|
+
}, 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.createElement("div", {
|
|
16165
16275
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16166
16276
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16167
16277
|
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 '
|
|
@@ -16193,7 +16303,7 @@ var Checkout = function Checkout(props) {
|
|
|
16193
16303
|
dangerouslySetInnerHTML: {
|
|
16194
16304
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
16195
16305
|
}
|
|
16196
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16306
|
+
})), (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.createElement("div", {
|
|
16197
16307
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
16198
16308
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16199
16309
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -59795,6 +59905,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
59795
59905
|
width: '70px',
|
|
59796
59906
|
height: '40px'
|
|
59797
59907
|
}
|
|
59908
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
59909
|
+
src: 'https://tabex-co.com/storage/StaticImages/stripe.png',
|
|
59910
|
+
className: "".concat(footerStyles.payimg)
|
|
59911
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
59912
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59913
|
+
style: {
|
|
59914
|
+
width: '70px',
|
|
59915
|
+
height: '40px'
|
|
59916
|
+
}
|
|
59798
59917
|
}, /*#__PURE__*/React.createElement("img", {
|
|
59799
59918
|
src: 'https://tabex-co.com/storage/StaticImages/tabby.png',
|
|
59800
59919
|
className: "".concat(footerStyles.payimg)
|
|
@@ -59805,7 +59924,25 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
59805
59924
|
height: '40px'
|
|
59806
59925
|
}
|
|
59807
59926
|
}, /*#__PURE__*/React.createElement("img", {
|
|
59808
|
-
src: 'https://tabex-co.com/storage/StaticImages/tamara.
|
|
59927
|
+
src: 'https://tabex-co.com/storage/StaticImages/tamara.png',
|
|
59928
|
+
className: "".concat(footerStyles.payimg)
|
|
59929
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
59930
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59931
|
+
style: {
|
|
59932
|
+
width: '100px',
|
|
59933
|
+
height: '40px'
|
|
59934
|
+
}
|
|
59935
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
59936
|
+
src: 'https://tabex-co.com/storage/StaticImages/applepay.png',
|
|
59937
|
+
className: "".concat(footerStyles.payimg)
|
|
59938
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
59939
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59940
|
+
style: {
|
|
59941
|
+
width: '70px',
|
|
59942
|
+
height: '40px'
|
|
59943
|
+
}
|
|
59944
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
59945
|
+
src: 'https://tabex-co.com/storage/StaticImages/link.png',
|
|
59809
59946
|
className: "".concat(footerStyles.payimg)
|
|
59810
59947
|
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '6886153fad69c' && /*#__PURE__*/React.createElement("div", {
|
|
59811
59948
|
"class": "col-12 allcentered mb-4"
|