tabexseriescomponents 0.2.1206 → 0.2.1208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +288 -98
- package/dist/index.esm.js +288 -98
- package/dist/index.umd.js +288 -98
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1736,17 +1736,21 @@ 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;
|
|
1739
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
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;
|
|
1743
1743
|
}
|
|
1744
|
-
|
|
1744
|
+
// puff
|
|
1745
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6899e604db87f') {
|
|
1745
1746
|
is_value_permdisabled = 1;
|
|
1746
1747
|
}
|
|
1747
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '
|
|
1748
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69244cc88aa0a') {
|
|
1748
1749
|
is_value_permdisabled = 1;
|
|
1749
|
-
}
|
|
1750
|
+
}
|
|
1751
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '687ca57cc78e8') {
|
|
1752
|
+
is_value_permdisabled = 1;
|
|
1753
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6899e604db87f') {
|
|
1750
1754
|
is_value_permdisabled = 1;
|
|
1751
1755
|
}
|
|
1752
1756
|
}
|
|
@@ -1775,7 +1779,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1775
1779
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1776
1780
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1777
1781
|
if (is_value_permdisabled == 0) {
|
|
1778
|
-
var _authdetailsContext$
|
|
1782
|
+
var _authdetailsContext$i6, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
1779
1783
|
return /*#__PURE__*/React.createElement("div", {
|
|
1780
1784
|
// className={
|
|
1781
1785
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1787,23 +1791,29 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1787
1791
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1788
1792
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1789
1793
|
// }
|
|
1790
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1794
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.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 : ''),
|
|
1791
1795
|
onClick: function onClick() {
|
|
1792
1796
|
if (isoptionvalueselected == 0) {
|
|
1793
|
-
var _authdetailsContext$
|
|
1794
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1797
|
+
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
1798
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68d28fc494276') {
|
|
1795
1799
|
if (isValueinStock == 0) {
|
|
1796
1800
|
return;
|
|
1797
1801
|
}
|
|
1798
|
-
}
|
|
1802
|
+
}
|
|
1803
|
+
// puff
|
|
1804
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
|
|
1799
1805
|
if (isValueinStock == 0) {
|
|
1800
1806
|
return;
|
|
1801
1807
|
}
|
|
1802
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1808
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '69244cc88aa0a') {
|
|
1803
1809
|
if (isValueinStock == 0) {
|
|
1804
1810
|
return;
|
|
1805
1811
|
}
|
|
1806
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1812
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '687ca57cc78e8') {
|
|
1813
|
+
if (isValueinStock == 0) {
|
|
1814
|
+
return;
|
|
1815
|
+
}
|
|
1816
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
1807
1817
|
if (isValueinStock == 0) {
|
|
1808
1818
|
return;
|
|
1809
1819
|
}
|
|
@@ -1847,7 +1857,9 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1847
1857
|
}, /*#__PURE__*/React.createElement("i", {
|
|
1848
1858
|
"class": "h-100 allcentered"
|
|
1849
1859
|
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1850
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1860
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1861
|
+
// puff
|
|
1862
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.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$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.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$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.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',
|
|
1851
1863
|
style: {
|
|
1852
1864
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1853
1865
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1856,25 +1868,31 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1856
1868
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1857
1869
|
}
|
|
1858
1870
|
} else {
|
|
1859
|
-
var _authdetailsContext$
|
|
1871
|
+
var _authdetailsContext$i15, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
1860
1872
|
return /*#__PURE__*/React.createElement("div", {
|
|
1861
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1873
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.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 : ''),
|
|
1862
1874
|
onClick: function onClick() {
|
|
1863
1875
|
if (isoptionvalueselected == 0) {
|
|
1864
|
-
var _authdetailsContext$
|
|
1865
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1876
|
+
var _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
1877
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68d28fc494276') {
|
|
1878
|
+
if (isValueinStock == 0) {
|
|
1879
|
+
return;
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
// puff n stuff
|
|
1883
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f') {
|
|
1866
1884
|
if (isValueinStock == 0) {
|
|
1867
1885
|
return;
|
|
1868
1886
|
}
|
|
1869
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1887
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69244cc88aa0a') {
|
|
1870
1888
|
if (isValueinStock == 0) {
|
|
1871
1889
|
return;
|
|
1872
1890
|
}
|
|
1873
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1891
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '687ca57cc78e8') {
|
|
1874
1892
|
if (isValueinStock == 0) {
|
|
1875
1893
|
return;
|
|
1876
1894
|
}
|
|
1877
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1895
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f') {
|
|
1878
1896
|
if (isValueinStock == 0) {
|
|
1879
1897
|
return;
|
|
1880
1898
|
}
|
|
@@ -1898,7 +1916,9 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1898
1916
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1899
1917
|
}
|
|
1900
1918
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1901
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1919
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1920
|
+
// puff
|
|
1921
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1902
1922
|
style: {
|
|
1903
1923
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1904
1924
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7508,7 +7528,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7508
7528
|
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; }
|
|
7509
7529
|
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; }
|
|
7510
7530
|
var Productinfo = function Productinfo(props) {
|
|
7511
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7531
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i31, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i32, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i41, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i42;
|
|
7512
7532
|
var _useState = useState({}),
|
|
7513
7533
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7514
7534
|
ProductInfoObj = _useState2[0],
|
|
@@ -8001,7 +8021,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8001
8021
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8002
8022
|
// };
|
|
8003
8023
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8004
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
8024
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
8025
|
+
// lord
|
|
8005
8026
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8006
8027
|
var _ProductInfoObj$data;
|
|
8007
8028
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
@@ -8088,7 +8109,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8088
8109
|
}) && variantValueIds.includes(Currvalueid);
|
|
8089
8110
|
});
|
|
8090
8111
|
return inStock ? 1 : 0;
|
|
8091
|
-
}
|
|
8112
|
+
}
|
|
8113
|
+
// puff n stuff
|
|
8114
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6899e604db87f') {
|
|
8092
8115
|
var _ProductInfoObj$data2;
|
|
8093
8116
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8094
8117
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8174,7 +8197,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8174
8197
|
}) && variantValueIds.includes(Currvalueid);
|
|
8175
8198
|
});
|
|
8176
8199
|
return _inStock ? 1 : 0;
|
|
8177
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8200
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '69244cc88aa0a') {
|
|
8178
8201
|
var _ProductInfoObj$data3;
|
|
8179
8202
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8180
8203
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8260,7 +8283,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8260
8283
|
}) && variantValueIds.includes(Currvalueid);
|
|
8261
8284
|
});
|
|
8262
8285
|
return _inStock2 ? 1 : 0;
|
|
8263
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8286
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '687ca57cc78e8') {
|
|
8264
8287
|
var _ProductInfoObj$data4;
|
|
8265
8288
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8266
8289
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8346,13 +8369,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8346
8369
|
}) && variantValueIds.includes(Currvalueid);
|
|
8347
8370
|
});
|
|
8348
8371
|
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) == '6899e604db87f') {
|
|
8373
|
+
var _ProductInfoObj$data5;
|
|
8374
|
+
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8375
|
+
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
8376
|
+
var _variants4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.variants) || [];
|
|
8377
|
+
|
|
8378
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8379
|
+
var _selectedValues4 = [];
|
|
8380
|
+
_options4.forEach(function (option) {
|
|
8381
|
+
option.optionvalues.forEach(function (value) {
|
|
8382
|
+
if (value.isselected === 1) {
|
|
8383
|
+
_selectedValues4.push({
|
|
8384
|
+
optionid: option.optionid,
|
|
8385
|
+
valueid: value.valueid
|
|
8386
|
+
});
|
|
8387
|
+
}
|
|
8388
|
+
});
|
|
8389
|
+
});
|
|
8390
|
+
_options4.length;
|
|
8391
|
+
var _selectedCount4 = _selectedValues4.length;
|
|
8392
|
+
var _inStockVariants4 = _variants4.filter(function (v) {
|
|
8393
|
+
return v.current_quantity > 0;
|
|
8394
|
+
});
|
|
8395
|
+
|
|
8396
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8397
|
+
if (_selectedCount4 === 0) {
|
|
8398
|
+
return _inStockVariants4.some(function (variant) {
|
|
8399
|
+
return variant.variantoptions.some(function (opt) {
|
|
8400
|
+
return opt.valueid === Currvalueid;
|
|
8401
|
+
});
|
|
8402
|
+
}) ? 1 : 0;
|
|
8403
|
+
}
|
|
8404
|
+
|
|
8405
|
+
// 🧠 Case 2: Only one option selected
|
|
8406
|
+
if (_selectedCount4 === 1) {
|
|
8407
|
+
var _selected4 = _selectedValues4[0];
|
|
8408
|
+
var _selectedOptionId4 = _selected4.optionid;
|
|
8409
|
+
|
|
8410
|
+
// Find which option this Currvalueid belongs to
|
|
8411
|
+
var _currentOptionId4 = null;
|
|
8412
|
+
_options4.forEach(function (option) {
|
|
8413
|
+
option.optionvalues.forEach(function (v) {
|
|
8414
|
+
if (v.valueid === Currvalueid) _currentOptionId4 = option.optionid;
|
|
8415
|
+
});
|
|
8416
|
+
});
|
|
8417
|
+
|
|
8418
|
+
// Same option (e.g., selecting only size)
|
|
8419
|
+
if (_selectedOptionId4 === _currentOptionId4) {
|
|
8420
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8421
|
+
return _inStockVariants4.some(function (variant) {
|
|
8422
|
+
return variant.variantoptions.some(function (opt) {
|
|
8423
|
+
return opt.valueid === Currvalueid;
|
|
8424
|
+
});
|
|
8425
|
+
}) ? 1 : 0;
|
|
8426
|
+
}
|
|
8427
|
+
|
|
8428
|
+
// Different option (e.g., color)
|
|
8429
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8430
|
+
return _inStockVariants4.some(function (variant) {
|
|
8431
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8432
|
+
return v.valueid;
|
|
8433
|
+
});
|
|
8434
|
+
return variantValueIds.includes(_selected4.valueid) && variantValueIds.includes(Currvalueid);
|
|
8435
|
+
}) ? 1 : 0;
|
|
8436
|
+
}
|
|
8437
|
+
|
|
8438
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8439
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8440
|
+
var _inStock4 = _inStockVariants4.some(function (variant) {
|
|
8441
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8442
|
+
return v.valueid;
|
|
8443
|
+
});
|
|
8444
|
+
// Must match all selected except the one that belongs to same option
|
|
8445
|
+
return _selectedValues4.every(function (sel) {
|
|
8446
|
+
if (_options4.some(function (opt) {
|
|
8447
|
+
return opt.optionvalues.some(function (v) {
|
|
8448
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8449
|
+
});
|
|
8450
|
+
})) {
|
|
8451
|
+
// Skip same option
|
|
8452
|
+
return true;
|
|
8453
|
+
}
|
|
8454
|
+
return variantValueIds.includes(sel.valueid);
|
|
8455
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8456
|
+
});
|
|
8457
|
+
return _inStock4 ? 1 : 0;
|
|
8349
8458
|
} else {
|
|
8350
8459
|
return 1;
|
|
8351
8460
|
}
|
|
8352
8461
|
};
|
|
8353
8462
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8354
|
-
var _authdetailsContext$
|
|
8355
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8463
|
+
var _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
8464
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68d28fc494276') {
|
|
8356
8465
|
var _productarr$data, _productarr$data$prod;
|
|
8357
8466
|
var _productarr = ProductInfoObj;
|
|
8358
8467
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8404,7 +8513,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8404
8513
|
// optional: show user message or disable click
|
|
8405
8514
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8406
8515
|
}
|
|
8407
|
-
}
|
|
8516
|
+
}
|
|
8517
|
+
// puff n stuff
|
|
8518
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6899e604db87f') {
|
|
8408
8519
|
var _productarr2$data, _productarr2$data$pro;
|
|
8409
8520
|
var _productarr2 = ProductInfoObj;
|
|
8410
8521
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8456,7 +8567,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8456
8567
|
// optional: show user message or disable click
|
|
8457
8568
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8458
8569
|
}
|
|
8459
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8570
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '69244cc88aa0a') {
|
|
8460
8571
|
var _productarr3$data, _productarr3$data$pro;
|
|
8461
8572
|
var _productarr3 = ProductInfoObj;
|
|
8462
8573
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8508,7 +8619,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8508
8619
|
// optional: show user message or disable click
|
|
8509
8620
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8510
8621
|
}
|
|
8511
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8622
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '687ca57cc78e8') {
|
|
8512
8623
|
var _productarr4$data, _productarr4$data$pro;
|
|
8513
8624
|
var _productarr4 = ProductInfoObj;
|
|
8514
8625
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8560,6 +8671,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
8560
8671
|
// optional: show user message or disable click
|
|
8561
8672
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8562
8673
|
}
|
|
8674
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
|
|
8675
|
+
var _productarr5$data, _productarr5$data$pro;
|
|
8676
|
+
var _productarr5 = ProductInfoObj;
|
|
8677
|
+
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
8678
|
+
|
|
8679
|
+
// 1. Find variants that include the newly selected value
|
|
8680
|
+
var _validVariants4 = (_productarr5.data.productinfo.variants || []).filter(function (variant) {
|
|
8681
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
8682
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
8683
|
+
});
|
|
8684
|
+
});
|
|
8685
|
+
|
|
8686
|
+
// 2. Build a set of valid value ids
|
|
8687
|
+
var _validValueIds4 = new Set(_validVariants4.flatMap(function (v) {
|
|
8688
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
8689
|
+
return opt.valueid;
|
|
8690
|
+
});
|
|
8691
|
+
}));
|
|
8692
|
+
|
|
8693
|
+
// 3. Loop all options and their values
|
|
8694
|
+
(_productarr5$data$pro = _productarr5.data.productinfo.productoptions) === null || _productarr5$data$pro === void 0 || _productarr5$data$pro.forEach(function (option) {
|
|
8695
|
+
var _option$optionvalues5;
|
|
8696
|
+
var anySelected = false;
|
|
8697
|
+
(_option$optionvalues5 = option.optionvalues) === null || _option$optionvalues5 === void 0 || _option$optionvalues5.forEach(function (value) {
|
|
8698
|
+
// Normalize stock check result to boolean
|
|
8699
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
8700
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
8701
|
+
|
|
8702
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
8703
|
+
if (!_validValueIds4.has(value.valueid) || !inStock) {
|
|
8704
|
+
value.isselected = 0;
|
|
8705
|
+
} else {
|
|
8706
|
+
// keep whatever selection is already there (do not auto-select)
|
|
8707
|
+
if (value.isselected) anySelected = true;
|
|
8708
|
+
}
|
|
8709
|
+
});
|
|
8710
|
+
|
|
8711
|
+
// keep option-level selected state in sync
|
|
8712
|
+
option.isselected = anySelected ? 1 : 0;
|
|
8713
|
+
});
|
|
8714
|
+
|
|
8715
|
+
// 4. Only select the new value if it's in stock
|
|
8716
|
+
var _newInStock4 = function () {
|
|
8717
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
8718
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
8719
|
+
}();
|
|
8720
|
+
if (_newInStock4) {
|
|
8721
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr5);
|
|
8722
|
+
} else {
|
|
8723
|
+
// optional: show user message or disable click
|
|
8724
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8725
|
+
}
|
|
8563
8726
|
} else {
|
|
8564
8727
|
var _productarr$data2;
|
|
8565
8728
|
var productarr = ProductInfoObj;
|
|
@@ -9041,10 +9204,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9041
9204
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9042
9205
|
runfunc = true;
|
|
9043
9206
|
} else {
|
|
9044
|
-
var _authdetailsContext$
|
|
9207
|
+
var _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
9045
9208
|
// here
|
|
9046
9209
|
setvariantnotchosendisclaimer('This field is required');
|
|
9047
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9210
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '693fdc5a14f45' ? 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) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9048
9211
|
}
|
|
9049
9212
|
} else {
|
|
9050
9213
|
runfunc = true;
|
|
@@ -9128,9 +9291,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9128
9291
|
};
|
|
9129
9292
|
};
|
|
9130
9293
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9131
|
-
var _authdetailsContext$
|
|
9294
|
+
var _authdetailsContext$i17;
|
|
9132
9295
|
var policyobj = {};
|
|
9133
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9296
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instpolicies) === null || _authdetailsContext$i17 === void 0 || _authdetailsContext$i17.forEach(function (item, index) {
|
|
9134
9297
|
if (item.policytype == policytype) {
|
|
9135
9298
|
policyobj = item;
|
|
9136
9299
|
}
|
|
@@ -9139,7 +9302,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9139
9302
|
};
|
|
9140
9303
|
var relatedproducts = function relatedproducts() {
|
|
9141
9304
|
if (Relatedproducts.length != 0) {
|
|
9142
|
-
var _authdetailsContext$
|
|
9305
|
+
var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
|
|
9143
9306
|
return /*#__PURE__*/React.createElement("div", {
|
|
9144
9307
|
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",
|
|
9145
9308
|
style: {
|
|
@@ -9160,7 +9323,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9160
9323
|
className: "col-lg-12 p-0"
|
|
9161
9324
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9162
9325
|
className: "row m-0 w-100"
|
|
9163
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9326
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9164
9327
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9165
9328
|
style: {
|
|
9166
9329
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9179,7 +9342,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9179
9342
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9180
9343
|
borderRadius: 5
|
|
9181
9344
|
}
|
|
9182
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9345
|
+
})), (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", {
|
|
9183
9346
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9184
9347
|
style: {
|
|
9185
9348
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9200,8 +9363,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9200
9363
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
9201
9364
|
transitionBehavior: 'auto',
|
|
9202
9365
|
wrapperClassName: '',
|
|
9203
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9204
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9366
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9367
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9205
9368
|
}, Relatedproducts.map(function (item, index) {
|
|
9206
9369
|
if (item.productinfo != null) {
|
|
9207
9370
|
var _fetchProductInfoQuer49;
|
|
@@ -9271,10 +9434,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9271
9434
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9272
9435
|
runfunc = true;
|
|
9273
9436
|
} else {
|
|
9274
|
-
var _authdetailsContext$
|
|
9437
|
+
var _authdetailsContext$i22;
|
|
9275
9438
|
// here
|
|
9276
9439
|
setvariantnotchosendisclaimer('This field is required');
|
|
9277
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9440
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9278
9441
|
}
|
|
9279
9442
|
} else {
|
|
9280
9443
|
runfunc = true;
|
|
@@ -9317,8 +9480,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9317
9480
|
isVarianturlLoaded = _useState58[0],
|
|
9318
9481
|
setisVarianturlLoaded = _useState58[1];
|
|
9319
9482
|
useEffect(function () {
|
|
9320
|
-
var _authdetailsContext$
|
|
9321
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9483
|
+
var _authdetailsContext$i23;
|
|
9484
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '68f918a4ccb85') {
|
|
9322
9485
|
var params = new URLSearchParams(window.location.search);
|
|
9323
9486
|
var variantId = params.get('variant');
|
|
9324
9487
|
if (isVarianturlLoaded == false) {
|
|
@@ -10114,7 +10277,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10114
10277
|
})));
|
|
10115
10278
|
};
|
|
10116
10279
|
var StoreInfo = function StoreInfo(position) {
|
|
10117
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10280
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i25, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i26, _authdetailsContext$i28;
|
|
10118
10281
|
return /*#__PURE__*/React.createElement("div", {
|
|
10119
10282
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10120
10283
|
style: {
|
|
@@ -10193,8 +10356,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10193
10356
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
10194
10357
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10195
10358
|
onClick: function onClick() {
|
|
10196
|
-
var _authdetailsContext$
|
|
10197
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10359
|
+
var _authdetailsContext$i24;
|
|
10360
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.email), '_self');
|
|
10198
10361
|
}
|
|
10199
10362
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10200
10363
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10214,7 +10377,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10214
10377
|
style: {
|
|
10215
10378
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10216
10379
|
}
|
|
10217
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10380
|
+
}, 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))), /*#__PURE__*/React.createElement("div", {
|
|
10218
10381
|
"class": "col-lg-12 my-2",
|
|
10219
10382
|
style: {
|
|
10220
10383
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10266,25 +10429,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10266
10429
|
}
|
|
10267
10430
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10268
10431
|
"class": "m-0 p-0"
|
|
10269
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10432
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (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) != null && /*#__PURE__*/React.createElement("div", {
|
|
10270
10433
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10271
10434
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10272
10435
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10273
10436
|
onClick: function onClick() {
|
|
10274
|
-
var _authdetailsContext$
|
|
10275
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10437
|
+
var _authdetailsContext$i27;
|
|
10438
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.contactinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.email), '_self');
|
|
10276
10439
|
}
|
|
10277
10440
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10278
10441
|
"class": "m-0 p-0"
|
|
10279
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10442
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
10280
10443
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10281
10444
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10282
10445
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10283
10446
|
onClick: function onClick() {
|
|
10284
|
-
var _authdetailsContext$
|
|
10285
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10286
|
-
var _authdetailsContext$
|
|
10287
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10447
|
+
var _authdetailsContext$i29;
|
|
10448
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.whatsappnumber) != null) {
|
|
10449
|
+
var _authdetailsContext$i30;
|
|
10450
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.whatsappnumber), '_blank');
|
|
10288
10451
|
}
|
|
10289
10452
|
}
|
|
10290
10453
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -10380,7 +10543,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10380
10543
|
lang: lang,
|
|
10381
10544
|
srcfromprops: props.srcfromprops
|
|
10382
10545
|
}, _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))
|
|
10383
|
-
}), (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$
|
|
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$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
10384
10547
|
actions: (_ref2 = {
|
|
10385
10548
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10386
10549
|
setisoutofstock: setisoutofstock,
|
|
@@ -10390,7 +10553,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10390
10553
|
lang: lang,
|
|
10391
10554
|
srcfromprops: props.srcfromprops
|
|
10392
10555
|
}, _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))
|
|
10393
|
-
}), (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$
|
|
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$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
10394
10557
|
actions: (_ref3 = {
|
|
10395
10558
|
isOptionInStock: isOptionInStock,
|
|
10396
10559
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10416,7 +10579,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10416
10579
|
lang: lang,
|
|
10417
10580
|
srcfromprops: props.srcfromprops
|
|
10418
10581
|
}, _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))
|
|
10419
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10582
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
10420
10583
|
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 ',
|
|
10421
10584
|
style: {
|
|
10422
10585
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10607,7 +10770,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10607
10770
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10608
10771
|
sectionproperties: sectionproperties
|
|
10609
10772
|
})
|
|
10610
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10773
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
10611
10774
|
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 ',
|
|
10612
10775
|
style: {
|
|
10613
10776
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10758,7 +10921,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10758
10921
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10759
10922
|
sectionproperties: sectionproperties
|
|
10760
10923
|
})
|
|
10761
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10924
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
10762
10925
|
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 ',
|
|
10763
10926
|
style: {
|
|
10764
10927
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13877,7 +14040,7 @@ styleInject(css_248z$G);
|
|
|
13877
14040
|
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; }
|
|
13878
14041
|
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; }
|
|
13879
14042
|
var Checkout = function Checkout(props) {
|
|
13880
|
-
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$
|
|
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, _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;
|
|
13881
14044
|
var _useState = useState(null),
|
|
13882
14045
|
_useState2 = _slicedToArray(_useState, 2);
|
|
13883
14046
|
_useState2[0];
|
|
@@ -15216,7 +15379,7 @@ var Checkout = function Checkout(props) {
|
|
|
15216
15379
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
15217
15380
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15218
15381
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
15219
|
-
}, (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", {
|
|
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' : 'المحافظة' : (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", {
|
|
15220
15383
|
"class": "mx-2",
|
|
15221
15384
|
style: {
|
|
15222
15385
|
color: 'var(--danger)'
|
|
@@ -15424,7 +15587,7 @@ var Checkout = function Checkout(props) {
|
|
|
15424
15587
|
// events mart
|
|
15425
15588
|
|
|
15426
15589
|
if (item.title_en == 'Event Date') {
|
|
15427
|
-
var _authdetailsContext$
|
|
15590
|
+
var _authdetailsContext$i23, _authdetailsContext$i24;
|
|
15428
15591
|
return /*#__PURE__*/React.createElement("div", {
|
|
15429
15592
|
className: "col-lg-6 col-md-12 mb-3"
|
|
15430
15593
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -15453,12 +15616,12 @@ var Checkout = function Checkout(props) {
|
|
|
15453
15616
|
// }}
|
|
15454
15617
|
,
|
|
15455
15618
|
onChange: function onChange(event) {
|
|
15456
|
-
var _authdetailsContext$
|
|
15457
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15619
|
+
var _authdetailsContext$i21;
|
|
15620
|
+
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') {
|
|
15458
15621
|
var selectedDate = event.target.value;
|
|
15459
15622
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
15460
|
-
var _authdetailsContext$
|
|
15461
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15623
|
+
var _authdetailsContext$i22;
|
|
15624
|
+
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;
|
|
15462
15625
|
if (minDate && selectedDate < minDate) {
|
|
15463
15626
|
// alert(`Please select a date on or after ${minDate}`);
|
|
15464
15627
|
return;
|
|
@@ -15476,11 +15639,11 @@ var Checkout = function Checkout(props) {
|
|
|
15476
15639
|
style: {
|
|
15477
15640
|
boxShadow: 'none'
|
|
15478
15641
|
},
|
|
15479
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15480
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15642
|
+
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
|
|
15643
|
+
.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
|
|
15481
15644
|
}));
|
|
15482
15645
|
} else {
|
|
15483
|
-
var _authdetailsContext$
|
|
15646
|
+
var _authdetailsContext$i27, _authdetailsContext$i28;
|
|
15484
15647
|
return /*#__PURE__*/React.createElement("div", {
|
|
15485
15648
|
className: "col-lg-6 col-md-12 mb-3"
|
|
15486
15649
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -15501,12 +15664,12 @@ var Checkout = function Checkout(props) {
|
|
|
15501
15664
|
// }}
|
|
15502
15665
|
,
|
|
15503
15666
|
onChange: function onChange(event) {
|
|
15504
|
-
var _authdetailsContext$
|
|
15505
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15667
|
+
var _authdetailsContext$i25;
|
|
15668
|
+
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') {
|
|
15506
15669
|
var selectedDate = event.target.value;
|
|
15507
15670
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
15508
|
-
var _authdetailsContext$
|
|
15509
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15671
|
+
var _authdetailsContext$i26;
|
|
15672
|
+
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;
|
|
15510
15673
|
if (minDate && selectedDate < minDate) {
|
|
15511
15674
|
// alert(`Please select a date on or after ${minDate}`);
|
|
15512
15675
|
return;
|
|
@@ -15524,8 +15687,8 @@ var Checkout = function Checkout(props) {
|
|
|
15524
15687
|
style: {
|
|
15525
15688
|
boxShadow: 'none'
|
|
15526
15689
|
},
|
|
15527
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15528
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15690
|
+
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
|
|
15691
|
+
.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
|
|
15529
15692
|
}));
|
|
15530
15693
|
}
|
|
15531
15694
|
}
|
|
@@ -15679,15 +15842,15 @@ var Checkout = function Checkout(props) {
|
|
|
15679
15842
|
})), /*#__PURE__*/React.createElement("div", {
|
|
15680
15843
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
15681
15844
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React.createElement("div", {
|
|
15682
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15845
|
+
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',
|
|
15683
15846
|
style: {
|
|
15684
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15847
|
+
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,
|
|
15685
15848
|
borderRadius: 15
|
|
15686
15849
|
}
|
|
15687
15850
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15688
15851
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15689
15852
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15690
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15853
|
+
"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'
|
|
15691
15854
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15692
15855
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
15693
15856
|
"for": "codcheckbox"
|
|
@@ -15714,21 +15877,21 @@ var Checkout = function Checkout(props) {
|
|
|
15714
15877
|
style: {
|
|
15715
15878
|
color: sectionproperties.checkbox_color
|
|
15716
15879
|
}
|
|
15717
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15880
|
+
}, 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", {
|
|
15718
15881
|
"class": "col-3 text-end p-0"
|
|
15719
15882
|
}, /*#__PURE__*/React.createElement("img", {
|
|
15720
15883
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
15721
15884
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
15722
15885
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React.createElement("div", {
|
|
15723
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15886
|
+
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',
|
|
15724
15887
|
style: {
|
|
15725
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15888
|
+
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,
|
|
15726
15889
|
borderRadius: 15
|
|
15727
15890
|
}
|
|
15728
15891
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15729
15892
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15730
15893
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15731
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15894
|
+
"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'
|
|
15732
15895
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15733
15896
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
15734
15897
|
"for": "codcheckbox"
|
|
@@ -15755,7 +15918,7 @@ var Checkout = function Checkout(props) {
|
|
|
15755
15918
|
style: {
|
|
15756
15919
|
color: sectionproperties.checkbox_color
|
|
15757
15920
|
}
|
|
15758
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15921
|
+
}, 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", {
|
|
15759
15922
|
"class": "col-3 text-end p-0"
|
|
15760
15923
|
}, /*#__PURE__*/React.createElement("img", {
|
|
15761
15924
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -15787,15 +15950,15 @@ var Checkout = function Checkout(props) {
|
|
|
15787
15950
|
/*#__PURE__*/
|
|
15788
15951
|
// <div className=""
|
|
15789
15952
|
React.createElement("div", {
|
|
15790
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15953
|
+
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',
|
|
15791
15954
|
style: {
|
|
15792
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15955
|
+
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,
|
|
15793
15956
|
borderRadius: 15
|
|
15794
15957
|
}
|
|
15795
15958
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15796
15959
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15797
15960
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15798
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15961
|
+
"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'
|
|
15799
15962
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15800
15963
|
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 '
|
|
15801
15964
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -15817,7 +15980,7 @@ var Checkout = function Checkout(props) {
|
|
|
15817
15980
|
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"
|
|
15818
15981
|
})), /*#__PURE__*/React.createElement("p", {
|
|
15819
15982
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15820
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15983
|
+
}, 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", {
|
|
15821
15984
|
"class": "col-3 text-end p-0"
|
|
15822
15985
|
}, /*#__PURE__*/React.createElement("img", {
|
|
15823
15986
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
@@ -15866,7 +16029,7 @@ var Checkout = function Checkout(props) {
|
|
|
15866
16029
|
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"
|
|
15867
16030
|
})), /*#__PURE__*/React.createElement("p", {
|
|
15868
16031
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15869
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16032
|
+
}, 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", {
|
|
15870
16033
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15871
16034
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15872
16035
|
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 '
|
|
@@ -15888,7 +16051,7 @@ var Checkout = function Checkout(props) {
|
|
|
15888
16051
|
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"
|
|
15889
16052
|
})), /*#__PURE__*/React.createElement("p", {
|
|
15890
16053
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15891
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16054
|
+
}, 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", {
|
|
15892
16055
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15893
16056
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15894
16057
|
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 '
|
|
@@ -15910,7 +16073,7 @@ var Checkout = function Checkout(props) {
|
|
|
15910
16073
|
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"
|
|
15911
16074
|
})), /*#__PURE__*/React.createElement("p", {
|
|
15912
16075
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15913
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16076
|
+
}, 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", {
|
|
15914
16077
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15915
16078
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15916
16079
|
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 '
|
|
@@ -15932,7 +16095,7 @@ var Checkout = function Checkout(props) {
|
|
|
15932
16095
|
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"
|
|
15933
16096
|
})), /*#__PURE__*/React.createElement("p", {
|
|
15934
16097
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
15935
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16098
|
+
}, 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", {
|
|
15936
16099
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15937
16100
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15938
16101
|
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 '
|
|
@@ -15954,7 +16117,7 @@ var Checkout = function Checkout(props) {
|
|
|
15954
16117
|
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"
|
|
15955
16118
|
})), /*#__PURE__*/React.createElement("p", {
|
|
15956
16119
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15957
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16120
|
+
}, 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", {
|
|
15958
16121
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15959
16122
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15960
16123
|
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 '
|
|
@@ -15976,7 +16139,7 @@ var Checkout = function Checkout(props) {
|
|
|
15976
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"
|
|
15977
16140
|
})), /*#__PURE__*/React.createElement("p", {
|
|
15978
16141
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15979
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16142
|
+
}, 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", {
|
|
15980
16143
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15981
16144
|
}, /*#__PURE__*/React.createElement("label", {
|
|
15982
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 '
|
|
@@ -15998,7 +16161,7 @@ var Checkout = function Checkout(props) {
|
|
|
15998
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"
|
|
15999
16162
|
})), /*#__PURE__*/React.createElement("p", {
|
|
16000
16163
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16001
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16164
|
+
}, 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", {
|
|
16002
16165
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16003
16166
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16004
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 '
|
|
@@ -16030,7 +16193,7 @@ var Checkout = function Checkout(props) {
|
|
|
16030
16193
|
dangerouslySetInnerHTML: {
|
|
16031
16194
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
16032
16195
|
}
|
|
16033
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16196
|
+
})), (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", {
|
|
16034
16197
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
16035
16198
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16036
16199
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -18832,7 +18995,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
18832
18995
|
}),
|
|
18833
18996
|
imagecont: css({
|
|
18834
18997
|
width: '100%',
|
|
18835
|
-
height: '
|
|
18998
|
+
height: '90%',
|
|
18836
18999
|
display: 'flex',
|
|
18837
19000
|
alignItems: 'center',
|
|
18838
19001
|
justifyContent: 'center',
|
|
@@ -59632,6 +59795,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
59632
59795
|
width: '70px',
|
|
59633
59796
|
height: '40px'
|
|
59634
59797
|
}
|
|
59798
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
59799
|
+
src: 'https://tabex-co.com/storage/StaticImages/stripe.png',
|
|
59800
|
+
className: "".concat(footerStyles.payimg)
|
|
59801
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
59802
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59803
|
+
style: {
|
|
59804
|
+
width: '70px',
|
|
59805
|
+
height: '40px'
|
|
59806
|
+
}
|
|
59635
59807
|
}, /*#__PURE__*/React.createElement("img", {
|
|
59636
59808
|
src: 'https://tabex-co.com/storage/StaticImages/tabby.png',
|
|
59637
59809
|
className: "".concat(footerStyles.payimg)
|
|
@@ -59642,7 +59814,25 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
59642
59814
|
height: '40px'
|
|
59643
59815
|
}
|
|
59644
59816
|
}, /*#__PURE__*/React.createElement("img", {
|
|
59645
|
-
src: 'https://tabex-co.com/storage/StaticImages/tamara.
|
|
59817
|
+
src: 'https://tabex-co.com/storage/StaticImages/tamara.png',
|
|
59818
|
+
className: "".concat(footerStyles.payimg)
|
|
59819
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
59820
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59821
|
+
style: {
|
|
59822
|
+
width: '100px',
|
|
59823
|
+
height: '40px'
|
|
59824
|
+
}
|
|
59825
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
59826
|
+
src: 'https://tabex-co.com/storage/StaticImages/applepay.png',
|
|
59827
|
+
className: "".concat(footerStyles.payimg)
|
|
59828
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
59829
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59830
|
+
style: {
|
|
59831
|
+
width: '70px',
|
|
59832
|
+
height: '40px'
|
|
59833
|
+
}
|
|
59834
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
59835
|
+
src: 'https://tabex-co.com/storage/StaticImages/link.png',
|
|
59646
59836
|
className: "".concat(footerStyles.payimg)
|
|
59647
59837
|
}))), (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", {
|
|
59648
59838
|
"class": "col-12 allcentered mb-4"
|