tabexseriescomponents 0.2.1206 → 0.2.1207
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 +224 -61
- package/dist/index.esm.js +224 -61
- package/dist/index.umd.js +224 -61
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1787,17 +1787,21 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1787
1787
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1788
1788
|
var is_value_permdisabled = 0;
|
|
1789
1789
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1790
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
1790
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
1791
1791
|
// if()
|
|
1792
1792
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1793
1793
|
is_value_permdisabled = 1;
|
|
1794
1794
|
}
|
|
1795
|
-
|
|
1795
|
+
// puff
|
|
1796
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6899e604db87f') {
|
|
1796
1797
|
is_value_permdisabled = 1;
|
|
1797
1798
|
}
|
|
1798
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '
|
|
1799
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69244cc88aa0a') {
|
|
1799
1800
|
is_value_permdisabled = 1;
|
|
1800
|
-
}
|
|
1801
|
+
}
|
|
1802
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '687ca57cc78e8') {
|
|
1803
|
+
is_value_permdisabled = 1;
|
|
1804
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6899e604db87f') {
|
|
1801
1805
|
is_value_permdisabled = 1;
|
|
1802
1806
|
}
|
|
1803
1807
|
}
|
|
@@ -1826,7 +1830,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1826
1830
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1827
1831
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1828
1832
|
if (is_value_permdisabled == 0) {
|
|
1829
|
-
var _authdetailsContext$
|
|
1833
|
+
var _authdetailsContext$i6, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
1830
1834
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1831
1835
|
// className={
|
|
1832
1836
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1838,23 +1842,29 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1838
1842
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1839
1843
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1840
1844
|
// }
|
|
1841
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1845
|
+
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 : ''),
|
|
1842
1846
|
onClick: function onClick() {
|
|
1843
1847
|
if (isoptionvalueselected == 0) {
|
|
1844
|
-
var _authdetailsContext$
|
|
1845
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1848
|
+
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
1849
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68d28fc494276') {
|
|
1850
|
+
if (isValueinStock == 0) {
|
|
1851
|
+
return;
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
// puff
|
|
1855
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
|
|
1846
1856
|
if (isValueinStock == 0) {
|
|
1847
1857
|
return;
|
|
1848
1858
|
}
|
|
1849
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1859
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '69244cc88aa0a') {
|
|
1850
1860
|
if (isValueinStock == 0) {
|
|
1851
1861
|
return;
|
|
1852
1862
|
}
|
|
1853
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1863
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '687ca57cc78e8') {
|
|
1854
1864
|
if (isValueinStock == 0) {
|
|
1855
1865
|
return;
|
|
1856
1866
|
}
|
|
1857
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1867
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
1858
1868
|
if (isValueinStock == 0) {
|
|
1859
1869
|
return;
|
|
1860
1870
|
}
|
|
@@ -1898,7 +1908,9 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1898
1908
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1899
1909
|
"class": "h-100 allcentered"
|
|
1900
1910
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1901
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1911
|
+
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' :
|
|
1912
|
+
// puff
|
|
1913
|
+
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',
|
|
1902
1914
|
style: {
|
|
1903
1915
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1904
1916
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1907,25 +1919,31 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1907
1919
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1908
1920
|
}
|
|
1909
1921
|
} else {
|
|
1910
|
-
var _authdetailsContext$
|
|
1922
|
+
var _authdetailsContext$i15, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
1911
1923
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1912
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1924
|
+
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 : ''),
|
|
1913
1925
|
onClick: function onClick() {
|
|
1914
1926
|
if (isoptionvalueselected == 0) {
|
|
1915
|
-
var _authdetailsContext$
|
|
1916
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1927
|
+
var _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
1928
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68d28fc494276') {
|
|
1917
1929
|
if (isValueinStock == 0) {
|
|
1918
1930
|
return;
|
|
1919
1931
|
}
|
|
1920
|
-
}
|
|
1932
|
+
}
|
|
1933
|
+
// puff n stuff
|
|
1934
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f') {
|
|
1921
1935
|
if (isValueinStock == 0) {
|
|
1922
1936
|
return;
|
|
1923
1937
|
}
|
|
1924
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1938
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69244cc88aa0a') {
|
|
1925
1939
|
if (isValueinStock == 0) {
|
|
1926
1940
|
return;
|
|
1927
1941
|
}
|
|
1928
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1942
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '687ca57cc78e8') {
|
|
1943
|
+
if (isValueinStock == 0) {
|
|
1944
|
+
return;
|
|
1945
|
+
}
|
|
1946
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f') {
|
|
1929
1947
|
if (isValueinStock == 0) {
|
|
1930
1948
|
return;
|
|
1931
1949
|
}
|
|
@@ -1949,7 +1967,9 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1949
1967
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1950
1968
|
}
|
|
1951
1969
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1952
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1970
|
+
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' :
|
|
1971
|
+
// puff
|
|
1972
|
+
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',
|
|
1953
1973
|
style: {
|
|
1954
1974
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1955
1975
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7559,7 +7579,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7559
7579
|
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; }
|
|
7560
7580
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7561
7581
|
var Productinfo = function Productinfo(props) {
|
|
7562
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7582
|
+
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;
|
|
7563
7583
|
var _useState = React.useState({}),
|
|
7564
7584
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7565
7585
|
ProductInfoObj = _useState2[0],
|
|
@@ -8052,7 +8072,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8052
8072
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8053
8073
|
// };
|
|
8054
8074
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8055
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
8075
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
8076
|
+
// lord
|
|
8056
8077
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8057
8078
|
var _ProductInfoObj$data;
|
|
8058
8079
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
@@ -8139,7 +8160,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8139
8160
|
}) && variantValueIds.includes(Currvalueid);
|
|
8140
8161
|
});
|
|
8141
8162
|
return inStock ? 1 : 0;
|
|
8142
|
-
}
|
|
8163
|
+
}
|
|
8164
|
+
// puff n stuff
|
|
8165
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6899e604db87f') {
|
|
8143
8166
|
var _ProductInfoObj$data2;
|
|
8144
8167
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8145
8168
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8225,7 +8248,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8225
8248
|
}) && variantValueIds.includes(Currvalueid);
|
|
8226
8249
|
});
|
|
8227
8250
|
return _inStock ? 1 : 0;
|
|
8228
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8251
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '69244cc88aa0a') {
|
|
8229
8252
|
var _ProductInfoObj$data3;
|
|
8230
8253
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8231
8254
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8311,7 +8334,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8311
8334
|
}) && variantValueIds.includes(Currvalueid);
|
|
8312
8335
|
});
|
|
8313
8336
|
return _inStock2 ? 1 : 0;
|
|
8314
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8337
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '687ca57cc78e8') {
|
|
8315
8338
|
var _ProductInfoObj$data4;
|
|
8316
8339
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8317
8340
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8397,13 +8420,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8397
8420
|
}) && variantValueIds.includes(Currvalueid);
|
|
8398
8421
|
});
|
|
8399
8422
|
return _inStock3 ? 1 : 0;
|
|
8423
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6899e604db87f') {
|
|
8424
|
+
var _ProductInfoObj$data5;
|
|
8425
|
+
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8426
|
+
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
8427
|
+
var _variants4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.variants) || [];
|
|
8428
|
+
|
|
8429
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8430
|
+
var _selectedValues4 = [];
|
|
8431
|
+
_options4.forEach(function (option) {
|
|
8432
|
+
option.optionvalues.forEach(function (value) {
|
|
8433
|
+
if (value.isselected === 1) {
|
|
8434
|
+
_selectedValues4.push({
|
|
8435
|
+
optionid: option.optionid,
|
|
8436
|
+
valueid: value.valueid
|
|
8437
|
+
});
|
|
8438
|
+
}
|
|
8439
|
+
});
|
|
8440
|
+
});
|
|
8441
|
+
_options4.length;
|
|
8442
|
+
var _selectedCount4 = _selectedValues4.length;
|
|
8443
|
+
var _inStockVariants4 = _variants4.filter(function (v) {
|
|
8444
|
+
return v.current_quantity > 0;
|
|
8445
|
+
});
|
|
8446
|
+
|
|
8447
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8448
|
+
if (_selectedCount4 === 0) {
|
|
8449
|
+
return _inStockVariants4.some(function (variant) {
|
|
8450
|
+
return variant.variantoptions.some(function (opt) {
|
|
8451
|
+
return opt.valueid === Currvalueid;
|
|
8452
|
+
});
|
|
8453
|
+
}) ? 1 : 0;
|
|
8454
|
+
}
|
|
8455
|
+
|
|
8456
|
+
// 🧠 Case 2: Only one option selected
|
|
8457
|
+
if (_selectedCount4 === 1) {
|
|
8458
|
+
var _selected4 = _selectedValues4[0];
|
|
8459
|
+
var _selectedOptionId4 = _selected4.optionid;
|
|
8460
|
+
|
|
8461
|
+
// Find which option this Currvalueid belongs to
|
|
8462
|
+
var _currentOptionId4 = null;
|
|
8463
|
+
_options4.forEach(function (option) {
|
|
8464
|
+
option.optionvalues.forEach(function (v) {
|
|
8465
|
+
if (v.valueid === Currvalueid) _currentOptionId4 = option.optionid;
|
|
8466
|
+
});
|
|
8467
|
+
});
|
|
8468
|
+
|
|
8469
|
+
// Same option (e.g., selecting only size)
|
|
8470
|
+
if (_selectedOptionId4 === _currentOptionId4) {
|
|
8471
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8472
|
+
return _inStockVariants4.some(function (variant) {
|
|
8473
|
+
return variant.variantoptions.some(function (opt) {
|
|
8474
|
+
return opt.valueid === Currvalueid;
|
|
8475
|
+
});
|
|
8476
|
+
}) ? 1 : 0;
|
|
8477
|
+
}
|
|
8478
|
+
|
|
8479
|
+
// Different option (e.g., color)
|
|
8480
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8481
|
+
return _inStockVariants4.some(function (variant) {
|
|
8482
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8483
|
+
return v.valueid;
|
|
8484
|
+
});
|
|
8485
|
+
return variantValueIds.includes(_selected4.valueid) && variantValueIds.includes(Currvalueid);
|
|
8486
|
+
}) ? 1 : 0;
|
|
8487
|
+
}
|
|
8488
|
+
|
|
8489
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8490
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8491
|
+
var _inStock4 = _inStockVariants4.some(function (variant) {
|
|
8492
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8493
|
+
return v.valueid;
|
|
8494
|
+
});
|
|
8495
|
+
// Must match all selected except the one that belongs to same option
|
|
8496
|
+
return _selectedValues4.every(function (sel) {
|
|
8497
|
+
if (_options4.some(function (opt) {
|
|
8498
|
+
return opt.optionvalues.some(function (v) {
|
|
8499
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8500
|
+
});
|
|
8501
|
+
})) {
|
|
8502
|
+
// Skip same option
|
|
8503
|
+
return true;
|
|
8504
|
+
}
|
|
8505
|
+
return variantValueIds.includes(sel.valueid);
|
|
8506
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8507
|
+
});
|
|
8508
|
+
return _inStock4 ? 1 : 0;
|
|
8400
8509
|
} else {
|
|
8401
8510
|
return 1;
|
|
8402
8511
|
}
|
|
8403
8512
|
};
|
|
8404
8513
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8405
|
-
var _authdetailsContext$
|
|
8406
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8514
|
+
var _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
8515
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68d28fc494276') {
|
|
8407
8516
|
var _productarr$data, _productarr$data$prod;
|
|
8408
8517
|
var _productarr = ProductInfoObj;
|
|
8409
8518
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8455,7 +8564,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8455
8564
|
// optional: show user message or disable click
|
|
8456
8565
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8457
8566
|
}
|
|
8458
|
-
}
|
|
8567
|
+
}
|
|
8568
|
+
// puff n stuff
|
|
8569
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6899e604db87f') {
|
|
8459
8570
|
var _productarr2$data, _productarr2$data$pro;
|
|
8460
8571
|
var _productarr2 = ProductInfoObj;
|
|
8461
8572
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8507,7 +8618,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8507
8618
|
// optional: show user message or disable click
|
|
8508
8619
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8509
8620
|
}
|
|
8510
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8621
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '69244cc88aa0a') {
|
|
8511
8622
|
var _productarr3$data, _productarr3$data$pro;
|
|
8512
8623
|
var _productarr3 = ProductInfoObj;
|
|
8513
8624
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8559,7 +8670,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8559
8670
|
// optional: show user message or disable click
|
|
8560
8671
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8561
8672
|
}
|
|
8562
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8673
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '687ca57cc78e8') {
|
|
8563
8674
|
var _productarr4$data, _productarr4$data$pro;
|
|
8564
8675
|
var _productarr4 = ProductInfoObj;
|
|
8565
8676
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8611,6 +8722,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
8611
8722
|
// optional: show user message or disable click
|
|
8612
8723
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8613
8724
|
}
|
|
8725
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
|
|
8726
|
+
var _productarr5$data, _productarr5$data$pro;
|
|
8727
|
+
var _productarr5 = ProductInfoObj;
|
|
8728
|
+
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
8729
|
+
|
|
8730
|
+
// 1. Find variants that include the newly selected value
|
|
8731
|
+
var _validVariants4 = (_productarr5.data.productinfo.variants || []).filter(function (variant) {
|
|
8732
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
8733
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
8734
|
+
});
|
|
8735
|
+
});
|
|
8736
|
+
|
|
8737
|
+
// 2. Build a set of valid value ids
|
|
8738
|
+
var _validValueIds4 = new Set(_validVariants4.flatMap(function (v) {
|
|
8739
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
8740
|
+
return opt.valueid;
|
|
8741
|
+
});
|
|
8742
|
+
}));
|
|
8743
|
+
|
|
8744
|
+
// 3. Loop all options and their values
|
|
8745
|
+
(_productarr5$data$pro = _productarr5.data.productinfo.productoptions) === null || _productarr5$data$pro === void 0 || _productarr5$data$pro.forEach(function (option) {
|
|
8746
|
+
var _option$optionvalues5;
|
|
8747
|
+
var anySelected = false;
|
|
8748
|
+
(_option$optionvalues5 = option.optionvalues) === null || _option$optionvalues5 === void 0 || _option$optionvalues5.forEach(function (value) {
|
|
8749
|
+
// Normalize stock check result to boolean
|
|
8750
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
8751
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
8752
|
+
|
|
8753
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
8754
|
+
if (!_validValueIds4.has(value.valueid) || !inStock) {
|
|
8755
|
+
value.isselected = 0;
|
|
8756
|
+
} else {
|
|
8757
|
+
// keep whatever selection is already there (do not auto-select)
|
|
8758
|
+
if (value.isselected) anySelected = true;
|
|
8759
|
+
}
|
|
8760
|
+
});
|
|
8761
|
+
|
|
8762
|
+
// keep option-level selected state in sync
|
|
8763
|
+
option.isselected = anySelected ? 1 : 0;
|
|
8764
|
+
});
|
|
8765
|
+
|
|
8766
|
+
// 4. Only select the new value if it's in stock
|
|
8767
|
+
var _newInStock4 = function () {
|
|
8768
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
8769
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
8770
|
+
}();
|
|
8771
|
+
if (_newInStock4) {
|
|
8772
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr5);
|
|
8773
|
+
} else {
|
|
8774
|
+
// optional: show user message or disable click
|
|
8775
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8776
|
+
}
|
|
8614
8777
|
} else {
|
|
8615
8778
|
var _productarr$data2;
|
|
8616
8779
|
var productarr = ProductInfoObj;
|
|
@@ -9092,10 +9255,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9092
9255
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9093
9256
|
runfunc = true;
|
|
9094
9257
|
} else {
|
|
9095
|
-
var _authdetailsContext$
|
|
9258
|
+
var _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
9096
9259
|
// here
|
|
9097
9260
|
setvariantnotchosendisclaimer('This field is required');
|
|
9098
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9261
|
+
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' : 'من فضلك اختر من المتغيرات');
|
|
9099
9262
|
}
|
|
9100
9263
|
} else {
|
|
9101
9264
|
runfunc = true;
|
|
@@ -9179,9 +9342,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9179
9342
|
};
|
|
9180
9343
|
};
|
|
9181
9344
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9182
|
-
var _authdetailsContext$
|
|
9345
|
+
var _authdetailsContext$i17;
|
|
9183
9346
|
var policyobj = {};
|
|
9184
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9347
|
+
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) {
|
|
9185
9348
|
if (item.policytype == policytype) {
|
|
9186
9349
|
policyobj = item;
|
|
9187
9350
|
}
|
|
@@ -9190,7 +9353,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9190
9353
|
};
|
|
9191
9354
|
var relatedproducts = function relatedproducts() {
|
|
9192
9355
|
if (Relatedproducts.length != 0) {
|
|
9193
|
-
var _authdetailsContext$
|
|
9356
|
+
var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
|
|
9194
9357
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9195
9358
|
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",
|
|
9196
9359
|
style: {
|
|
@@ -9211,7 +9374,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9211
9374
|
className: "col-lg-12 p-0"
|
|
9212
9375
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9213
9376
|
className: "row m-0 w-100"
|
|
9214
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9377
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9215
9378
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9216
9379
|
style: {
|
|
9217
9380
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9230,7 +9393,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9230
9393
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9231
9394
|
borderRadius: 5
|
|
9232
9395
|
}
|
|
9233
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9396
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9234
9397
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9235
9398
|
style: {
|
|
9236
9399
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9251,8 +9414,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9251
9414
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
9252
9415
|
transitionBehavior: 'auto',
|
|
9253
9416
|
wrapperClassName: '',
|
|
9254
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9255
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9417
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9418
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9256
9419
|
}, Relatedproducts.map(function (item, index) {
|
|
9257
9420
|
if (item.productinfo != null) {
|
|
9258
9421
|
var _fetchProductInfoQuer49;
|
|
@@ -9322,10 +9485,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9322
9485
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9323
9486
|
runfunc = true;
|
|
9324
9487
|
} else {
|
|
9325
|
-
var _authdetailsContext$
|
|
9488
|
+
var _authdetailsContext$i22;
|
|
9326
9489
|
// here
|
|
9327
9490
|
setvariantnotchosendisclaimer('This field is required');
|
|
9328
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9491
|
+
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');
|
|
9329
9492
|
}
|
|
9330
9493
|
} else {
|
|
9331
9494
|
runfunc = true;
|
|
@@ -9368,8 +9531,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9368
9531
|
isVarianturlLoaded = _useState58[0],
|
|
9369
9532
|
setisVarianturlLoaded = _useState58[1];
|
|
9370
9533
|
React.useEffect(function () {
|
|
9371
|
-
var _authdetailsContext$
|
|
9372
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9534
|
+
var _authdetailsContext$i23;
|
|
9535
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '68f918a4ccb85') {
|
|
9373
9536
|
var params = new URLSearchParams(window.location.search);
|
|
9374
9537
|
var variantId = params.get('variant');
|
|
9375
9538
|
if (isVarianturlLoaded == false) {
|
|
@@ -10165,7 +10328,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10165
10328
|
})));
|
|
10166
10329
|
};
|
|
10167
10330
|
var StoreInfo = function StoreInfo(position) {
|
|
10168
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10331
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i25, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i26, _authdetailsContext$i28;
|
|
10169
10332
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10170
10333
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10171
10334
|
style: {
|
|
@@ -10244,8 +10407,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10244
10407
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10245
10408
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10246
10409
|
onClick: function onClick() {
|
|
10247
|
-
var _authdetailsContext$
|
|
10248
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10410
|
+
var _authdetailsContext$i24;
|
|
10411
|
+
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');
|
|
10249
10412
|
}
|
|
10250
10413
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10251
10414
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10265,7 +10428,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10265
10428
|
style: {
|
|
10266
10429
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10267
10430
|
}
|
|
10268
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10431
|
+
}, 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__default["default"].createElement("div", {
|
|
10269
10432
|
"class": "col-lg-12 my-2",
|
|
10270
10433
|
style: {
|
|
10271
10434
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10317,25 +10480,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10317
10480
|
}
|
|
10318
10481
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10319
10482
|
"class": "m-0 p-0"
|
|
10320
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10483
|
+
}, 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__default["default"].createElement("div", {
|
|
10321
10484
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10322
10485
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10323
10486
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10324
10487
|
onClick: function onClick() {
|
|
10325
|
-
var _authdetailsContext$
|
|
10326
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10488
|
+
var _authdetailsContext$i27;
|
|
10489
|
+
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');
|
|
10327
10490
|
}
|
|
10328
10491
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10329
10492
|
"class": "m-0 p-0"
|
|
10330
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10493
|
+
}, 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__default["default"].createElement("div", {
|
|
10331
10494
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10332
10495
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10333
10496
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10334
10497
|
onClick: function onClick() {
|
|
10335
|
-
var _authdetailsContext$
|
|
10336
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10337
|
-
var _authdetailsContext$
|
|
10338
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10498
|
+
var _authdetailsContext$i29;
|
|
10499
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.whatsappnumber) != null) {
|
|
10500
|
+
var _authdetailsContext$i30;
|
|
10501
|
+
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');
|
|
10339
10502
|
}
|
|
10340
10503
|
}
|
|
10341
10504
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -10431,7 +10594,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10431
10594
|
lang: lang,
|
|
10432
10595
|
srcfromprops: props.srcfromprops
|
|
10433
10596
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10434
|
-
}), (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$
|
|
10597
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10435
10598
|
actions: (_ref2 = {
|
|
10436
10599
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10437
10600
|
setisoutofstock: setisoutofstock,
|
|
@@ -10441,7 +10604,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10441
10604
|
lang: lang,
|
|
10442
10605
|
srcfromprops: props.srcfromprops
|
|
10443
10606
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10444
|
-
}), (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$
|
|
10607
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10445
10608
|
actions: (_ref3 = {
|
|
10446
10609
|
isOptionInStock: isOptionInStock,
|
|
10447
10610
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10467,7 +10630,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10467
10630
|
lang: lang,
|
|
10468
10631
|
srcfromprops: props.srcfromprops
|
|
10469
10632
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10470
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10633
|
+
}), 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__default["default"].createElement("div", {
|
|
10471
10634
|
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 ',
|
|
10472
10635
|
style: {
|
|
10473
10636
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10658,7 +10821,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10658
10821
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10659
10822
|
sectionproperties: sectionproperties
|
|
10660
10823
|
})
|
|
10661
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10824
|
+
}))))), 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__default["default"].createElement("div", {
|
|
10662
10825
|
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 ',
|
|
10663
10826
|
style: {
|
|
10664
10827
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10809,7 +10972,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10809
10972
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10810
10973
|
sectionproperties: sectionproperties
|
|
10811
10974
|
})
|
|
10812
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10975
|
+
}))))), 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__default["default"].createElement("div", {
|
|
10813
10976
|
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 ',
|
|
10814
10977
|
style: {
|
|
10815
10978
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -18883,7 +19046,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
18883
19046
|
}),
|
|
18884
19047
|
imagecont: glamor.css({
|
|
18885
19048
|
width: '100%',
|
|
18886
|
-
height: '
|
|
19049
|
+
height: '90%',
|
|
18887
19050
|
display: 'flex',
|
|
18888
19051
|
alignItems: 'center',
|
|
18889
19052
|
justifyContent: 'center',
|