tabexseriescomponents 0.2.1451 → 0.2.1452
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 +329 -156
- package/dist/index.esm.js +329 -156
- package/dist/index.umd.js +329 -156
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1800,50 +1800,52 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1800
1800
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1801
1801
|
var is_value_permdisabled = 0;
|
|
1802
1802
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1803
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
1803
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
1804
1804
|
// if()
|
|
1805
1805
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1806
1806
|
is_value_permdisabled = 1;
|
|
1807
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6a09bef064560') {
|
|
1808
|
+
is_value_permdisabled = 1;
|
|
1807
1809
|
}
|
|
1808
1810
|
// mn design
|
|
1809
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1811
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '682dfdcdb9720') {
|
|
1810
1812
|
is_value_permdisabled = 1;
|
|
1811
1813
|
}
|
|
1812
1814
|
// alma
|
|
1813
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1815
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1814
1816
|
is_value_permdisabled = 1;
|
|
1815
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1817
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '67c050d72cbe7') {
|
|
1816
1818
|
is_value_permdisabled = 1;
|
|
1817
1819
|
}
|
|
1818
1820
|
// amiga
|
|
1819
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1821
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '670fc18477599') {
|
|
1820
1822
|
is_value_permdisabled = 1;
|
|
1821
1823
|
}
|
|
1822
1824
|
// vout
|
|
1823
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1825
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68f918a4ccb85') {
|
|
1824
1826
|
is_value_permdisabled = 1;
|
|
1825
1827
|
}
|
|
1826
1828
|
// puff
|
|
1827
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1829
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
|
|
1828
1830
|
is_value_permdisabled = 1;
|
|
1829
1831
|
}
|
|
1830
1832
|
// dija
|
|
1831
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1833
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1832
1834
|
is_value_permdisabled = 1;
|
|
1833
1835
|
}
|
|
1834
1836
|
// angel
|
|
1835
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1837
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67bda57bca71d') {
|
|
1836
1838
|
is_value_permdisabled = 1;
|
|
1837
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1839
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
|
|
1838
1840
|
is_value_permdisabled = 1;
|
|
1839
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1841
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
|
|
1840
1842
|
is_value_permdisabled = 1;
|
|
1841
1843
|
}
|
|
1842
1844
|
}
|
|
1843
1845
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1844
|
-
var _authdetailsContext$
|
|
1846
|
+
var _authdetailsContext$i11;
|
|
1845
1847
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1846
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1848
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599' ? productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active) : issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1847
1849
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
1848
1850
|
// sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
1849
1851
|
// ? productinfostyles.color_container +
|
|
@@ -1874,7 +1876,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1874
1876
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1875
1877
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1876
1878
|
if (is_value_permdisabled == 0) {
|
|
1877
|
-
var _authdetailsContext$
|
|
1879
|
+
var _authdetailsContext$i12, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36;
|
|
1878
1880
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1879
1881
|
// className={
|
|
1880
1882
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1886,65 +1888,69 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1886
1888
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1887
1889
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1888
1890
|
// }
|
|
1889
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1891
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.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 : ''),
|
|
1890
1892
|
onClick: function onClick() {
|
|
1891
1893
|
if (isoptionvalueselected == 0) {
|
|
1892
|
-
var _authdetailsContext$
|
|
1893
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1894
|
+
var _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
1895
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68d28fc494276') {
|
|
1896
|
+
if (isValueinStock == 0) {
|
|
1897
|
+
return;
|
|
1898
|
+
}
|
|
1899
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6a09bef064560') {
|
|
1894
1900
|
if (isValueinStock == 0) {
|
|
1895
1901
|
return;
|
|
1896
1902
|
}
|
|
1897
1903
|
}
|
|
1898
1904
|
// mn design
|
|
1899
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1905
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682dfdcdb9720') {
|
|
1900
1906
|
if (isValueinStock == 0) {
|
|
1901
1907
|
return;
|
|
1902
1908
|
}
|
|
1903
1909
|
}
|
|
1904
1910
|
// alma
|
|
1905
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1911
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1906
1912
|
if (isValueinStock == 0) {
|
|
1907
1913
|
return;
|
|
1908
1914
|
}
|
|
1909
1915
|
}
|
|
1910
1916
|
// amiga
|
|
1911
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1917
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '670fc18477599') {
|
|
1912
1918
|
if (isValueinStock == 0) {
|
|
1913
1919
|
return;
|
|
1914
1920
|
}
|
|
1915
1921
|
}
|
|
1916
1922
|
// vout
|
|
1917
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1923
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68f918a4ccb85') {
|
|
1918
1924
|
if (isValueinStock == 0) {
|
|
1919
1925
|
return;
|
|
1920
1926
|
}
|
|
1921
1927
|
}
|
|
1922
1928
|
// puff
|
|
1923
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1929
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6899e604db87f') {
|
|
1924
1930
|
if (isValueinStock == 0) {
|
|
1925
1931
|
return;
|
|
1926
1932
|
}
|
|
1927
1933
|
}
|
|
1928
1934
|
// angel
|
|
1929
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1935
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67bda57bca71d') {
|
|
1930
1936
|
if (isValueinStock == 0) {
|
|
1931
1937
|
return;
|
|
1932
1938
|
}
|
|
1933
1939
|
}
|
|
1934
1940
|
// dija
|
|
1935
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1941
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1936
1942
|
if (isValueinStock == 0) {
|
|
1937
1943
|
return;
|
|
1938
1944
|
}
|
|
1939
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1945
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69244cc88aa0a') {
|
|
1940
1946
|
if (isValueinStock == 0) {
|
|
1941
1947
|
return;
|
|
1942
1948
|
}
|
|
1943
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1949
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '687ca57cc78e8') {
|
|
1944
1950
|
if (isValueinStock == 0) {
|
|
1945
1951
|
return;
|
|
1946
1952
|
}
|
|
1947
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1953
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6899e604db87f') {
|
|
1948
1954
|
if (isValueinStock == 0) {
|
|
1949
1955
|
return;
|
|
1950
1956
|
}
|
|
@@ -1988,22 +1994,22 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1988
1994
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1989
1995
|
"class": "h-100 allcentered"
|
|
1990
1996
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1991
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1997
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6a09bef064560' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1992
1998
|
// mn design
|
|
1993
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1999
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '682dfdcdb9720' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1994
2000
|
// alma
|
|
1995
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2001
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1996
2002
|
// amiga
|
|
1997
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2003
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1998
2004
|
// vout
|
|
1999
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2005
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2000
2006
|
// puff
|
|
2001
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2007
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2002
2008
|
// angel
|
|
2003
2009
|
|
|
2004
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2010
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2005
2011
|
// dija
|
|
2006
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2012
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.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$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.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$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.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',
|
|
2007
2013
|
style: {
|
|
2008
2014
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
2009
2015
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -2012,67 +2018,71 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2012
2018
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
2013
2019
|
}
|
|
2014
2020
|
} else {
|
|
2015
|
-
var _authdetailsContext$
|
|
2021
|
+
var _authdetailsContext$i37, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61;
|
|
2016
2022
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2017
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2023
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.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 : ''),
|
|
2018
2024
|
onClick: function onClick() {
|
|
2019
2025
|
if (isoptionvalueselected == 0) {
|
|
2020
|
-
var _authdetailsContext$
|
|
2021
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2026
|
+
var _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49;
|
|
2027
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68d28fc494276') {
|
|
2028
|
+
if (isValueinStock == 0) {
|
|
2029
|
+
return;
|
|
2030
|
+
}
|
|
2031
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6a09bef064560') {
|
|
2022
2032
|
if (isValueinStock == 0) {
|
|
2023
2033
|
return;
|
|
2024
2034
|
}
|
|
2025
2035
|
}
|
|
2026
2036
|
// mn design
|
|
2027
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2037
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '682dfdcdb9720') {
|
|
2028
2038
|
if (isValueinStock == 0) {
|
|
2029
2039
|
return;
|
|
2030
2040
|
}
|
|
2031
2041
|
}
|
|
2032
2042
|
// alma
|
|
2033
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2043
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '67d349e5ee6a1') {
|
|
2034
2044
|
if (isValueinStock == 0) {
|
|
2035
2045
|
return;
|
|
2036
2046
|
}
|
|
2037
2047
|
}
|
|
2038
2048
|
// amiga
|
|
2039
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2049
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '670fc18477599') {
|
|
2040
2050
|
if (isValueinStock == 0) {
|
|
2041
2051
|
return;
|
|
2042
2052
|
}
|
|
2043
2053
|
}
|
|
2044
2054
|
// vout
|
|
2045
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2055
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '68f918a4ccb85') {
|
|
2046
2056
|
if (isValueinStock == 0) {
|
|
2047
2057
|
return;
|
|
2048
2058
|
}
|
|
2049
2059
|
}
|
|
2050
2060
|
// puff n stuff
|
|
2051
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2061
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '6899e604db87f') {
|
|
2052
2062
|
if (isValueinStock == 0) {
|
|
2053
2063
|
return;
|
|
2054
2064
|
}
|
|
2055
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2065
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '69244cc88aa0a') {
|
|
2056
2066
|
if (isValueinStock == 0) {
|
|
2057
2067
|
return;
|
|
2058
2068
|
}
|
|
2059
2069
|
}
|
|
2060
2070
|
// angel
|
|
2061
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2071
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '67bda57bca71d') {
|
|
2062
2072
|
if (isValueinStock == 0) {
|
|
2063
2073
|
return;
|
|
2064
2074
|
}
|
|
2065
2075
|
}
|
|
2066
2076
|
// dija
|
|
2067
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2077
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '682cbb9bdcd57') {
|
|
2068
2078
|
if (isValueinStock == 0) {
|
|
2069
2079
|
return;
|
|
2070
2080
|
}
|
|
2071
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2081
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '687ca57cc78e8') {
|
|
2072
2082
|
if (isValueinStock == 0) {
|
|
2073
2083
|
return;
|
|
2074
2084
|
}
|
|
2075
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2085
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '6899e604db87f') {
|
|
2076
2086
|
if (isValueinStock == 0) {
|
|
2077
2087
|
return;
|
|
2078
2088
|
}
|
|
@@ -2096,21 +2106,21 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2096
2106
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
2097
2107
|
}
|
|
2098
2108
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2099
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2109
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '6a09bef064560' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2100
2110
|
// mn design
|
|
2101
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2111
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '682dfdcdb9720' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2102
2112
|
// alma
|
|
2103
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2113
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2104
2114
|
// amiga
|
|
2105
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2115
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2106
2116
|
// vout
|
|
2107
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2117
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2108
2118
|
// puff
|
|
2109
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2119
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2110
2120
|
// angel
|
|
2111
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2121
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2112
2122
|
// dija
|
|
2113
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2123
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.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$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.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$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.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',
|
|
2114
2124
|
style: {
|
|
2115
2125
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
2116
2126
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -2197,7 +2207,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2197
2207
|
setopensizeguidemodal(true);
|
|
2198
2208
|
}
|
|
2199
2209
|
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productinfo) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productoptions) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.map(function (item, index) {
|
|
2200
|
-
var _authdetailsContext$
|
|
2210
|
+
var _authdetailsContext$i62;
|
|
2201
2211
|
return /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
2202
2212
|
"class": "thwvsf-wrapper-ul"
|
|
2203
2213
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2212,7 +2222,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2212
2222
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
2213
2223
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
2214
2224
|
}
|
|
2215
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2225
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("span", null, index + 1, ". "), sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select, " "), " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":"))), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
2216
2226
|
var isoptionvalueselected = 0;
|
|
2217
2227
|
if (optionvaluesitem.isselected == 1) {
|
|
2218
2228
|
isoptionvalueselected = 1;
|
|
@@ -2246,7 +2256,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2246
2256
|
}
|
|
2247
2257
|
}));
|
|
2248
2258
|
} else {
|
|
2249
|
-
var _authdetailsContext$
|
|
2259
|
+
var _authdetailsContext$i63, _authdetailsContext$i64, _authdetailsContext$i65, _authdetailsContext$i66, _authdetailsContext$i67;
|
|
2250
2260
|
// else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
2251
2261
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
2252
2262
|
style: {
|
|
@@ -2265,14 +2275,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2265
2275
|
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
2266
2276
|
// backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2267
2277
|
background: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2268
|
-
minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2269
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2278
|
+
minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
2279
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
|
|
2270
2280
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
2271
2281
|
position: 'relative',
|
|
2272
|
-
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2273
|
-
flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2282
|
+
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) == '699d7f217889a' ? '1px solid ' + ' white ' : '1px solid ' + ' grey ',
|
|
2283
|
+
flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) == '699d7f217889a' ? 'column' : 'row'
|
|
2274
2284
|
}
|
|
2275
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2285
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
2276
2286
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
2277
2287
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
2278
2288
|
path: optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.thumbnail_url,
|
|
@@ -8489,7 +8499,7 @@ function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.lengt
|
|
|
8489
8499
|
function ownKeys$2D(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; }
|
|
8490
8500
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8491
8501
|
var Productinfo = function Productinfo(props) {
|
|
8492
|
-
var _css, _fetchProductInfoQuer92, _ref2, _fetchProductInfoQuer93, _authdetailsContext$
|
|
8502
|
+
var _css, _fetchProductInfoQuer92, _ref2, _fetchProductInfoQuer93, _authdetailsContext$i48, _ref3, _fetchProductInfoQuer94, _authdetailsContext$i49, _ref4, _fetchProductInfoQuer95, _ref5, _authdetailsContext$i50, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i51, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _authdetailsContext$i63, _authdetailsContext$i64, _authdetailsContext$i65, _authdetailsContext$i66, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i67, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i68, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _authdetailsContext$i69, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _authdetailsContext$i70, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _fetchProductInfoQuer116, _fetchProductInfoQuer117, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i71, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _fetchProductInfoQuer121, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i72, _authdetailsContext$i73, _returnpolicyobj51, _returnpolicyobj52, _returnpolicyobj53, _returnpolicyobj54, _authdetailsContext$i74, _authdetailsContext$i75;
|
|
8493
8503
|
var _useState = React.useState({}),
|
|
8494
8504
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8495
8505
|
ProductInfoObj = _useState2[0],
|
|
@@ -9020,7 +9030,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9020
9030
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
9021
9031
|
// };
|
|
9022
9032
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
9023
|
-
var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
9033
|
+
var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18;
|
|
9024
9034
|
// lord
|
|
9025
9035
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '68d28fc494276') {
|
|
9026
9036
|
var _ProductInfoObj$data;
|
|
@@ -9108,9 +9118,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9108
9118
|
}) && variantValueIds.includes(Currvalueid);
|
|
9109
9119
|
});
|
|
9110
9120
|
return inStock ? 1 : 0;
|
|
9111
|
-
}
|
|
9112
|
-
// alma
|
|
9113
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9121
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6a09bef064560') {
|
|
9114
9122
|
var _ProductInfoObj$data2;
|
|
9115
9123
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
9116
9124
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -9197,8 +9205,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9197
9205
|
});
|
|
9198
9206
|
return _inStock ? 1 : 0;
|
|
9199
9207
|
}
|
|
9200
|
-
//
|
|
9201
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '
|
|
9208
|
+
// alma
|
|
9209
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9202
9210
|
var _ProductInfoObj$data3;
|
|
9203
9211
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
9204
9212
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -9284,7 +9292,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9284
9292
|
}) && variantValueIds.includes(Currvalueid);
|
|
9285
9293
|
});
|
|
9286
9294
|
return _inStock2 ? 1 : 0;
|
|
9287
|
-
}
|
|
9295
|
+
}
|
|
9296
|
+
// mn design
|
|
9297
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '682dfdcdb9720') {
|
|
9288
9298
|
var _ProductInfoObj$data4;
|
|
9289
9299
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
9290
9300
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -9370,9 +9380,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9370
9380
|
}) && variantValueIds.includes(Currvalueid);
|
|
9371
9381
|
});
|
|
9372
9382
|
return _inStock3 ? 1 : 0;
|
|
9373
|
-
}
|
|
9374
|
-
// amiga
|
|
9375
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599') {
|
|
9383
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67c050d72cbe7') {
|
|
9376
9384
|
var _ProductInfoObj$data5;
|
|
9377
9385
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
9378
9386
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -9459,8 +9467,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9459
9467
|
});
|
|
9460
9468
|
return _inStock4 ? 1 : 0;
|
|
9461
9469
|
}
|
|
9462
|
-
//
|
|
9463
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '
|
|
9470
|
+
// amiga
|
|
9471
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '670fc18477599') {
|
|
9464
9472
|
var _ProductInfoObj$data6;
|
|
9465
9473
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
9466
9474
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9547,8 +9555,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9547
9555
|
});
|
|
9548
9556
|
return _inStock5 ? 1 : 0;
|
|
9549
9557
|
}
|
|
9550
|
-
//
|
|
9551
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '
|
|
9558
|
+
// vout
|
|
9559
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68f918a4ccb85') {
|
|
9552
9560
|
var _ProductInfoObj$data7;
|
|
9553
9561
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9554
9562
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9635,8 +9643,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9635
9643
|
});
|
|
9636
9644
|
return _inStock6 ? 1 : 0;
|
|
9637
9645
|
}
|
|
9638
|
-
//
|
|
9639
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '
|
|
9646
|
+
// puff n stuff
|
|
9647
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
9640
9648
|
var _ProductInfoObj$data8;
|
|
9641
9649
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9642
9650
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9723,8 +9731,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9723
9731
|
});
|
|
9724
9732
|
return _inStock7 ? 1 : 0;
|
|
9725
9733
|
}
|
|
9726
|
-
//
|
|
9727
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '
|
|
9734
|
+
// dija
|
|
9735
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9728
9736
|
var _ProductInfoObj$data9;
|
|
9729
9737
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9730
9738
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9810,7 +9818,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9810
9818
|
}) && variantValueIds.includes(Currvalueid);
|
|
9811
9819
|
});
|
|
9812
9820
|
return _inStock8 ? 1 : 0;
|
|
9813
|
-
}
|
|
9821
|
+
}
|
|
9822
|
+
// angel secrets
|
|
9823
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67bda57bca71d') {
|
|
9814
9824
|
var _ProductInfoObj$data0;
|
|
9815
9825
|
var _productinfo9 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data0 = ProductInfoObj.data) === null || _ProductInfoObj$data0 === void 0 ? void 0 : _ProductInfoObj$data0.productinfo;
|
|
9816
9826
|
var _options9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.productoptions) || [];
|
|
@@ -9896,7 +9906,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9896
9906
|
}) && variantValueIds.includes(Currvalueid);
|
|
9897
9907
|
});
|
|
9898
9908
|
return _inStock9 ? 1 : 0;
|
|
9899
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '
|
|
9909
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '69244cc88aa0a') {
|
|
9900
9910
|
var _ProductInfoObj$data1;
|
|
9901
9911
|
var _productinfo0 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data1 = ProductInfoObj.data) === null || _ProductInfoObj$data1 === void 0 ? void 0 : _ProductInfoObj$data1.productinfo;
|
|
9902
9912
|
var _options0 = (_productinfo0 === null || _productinfo0 === void 0 ? void 0 : _productinfo0.productoptions) || [];
|
|
@@ -9982,13 +9992,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
9982
9992
|
}) && variantValueIds.includes(Currvalueid);
|
|
9983
9993
|
});
|
|
9984
9994
|
return _inStock0 ? 1 : 0;
|
|
9995
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '687ca57cc78e8') {
|
|
9996
|
+
var _ProductInfoObj$data10;
|
|
9997
|
+
var _productinfo1 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data10 = ProductInfoObj.data) === null || _ProductInfoObj$data10 === void 0 ? void 0 : _ProductInfoObj$data10.productinfo;
|
|
9998
|
+
var _options1 = (_productinfo1 === null || _productinfo1 === void 0 ? void 0 : _productinfo1.productoptions) || [];
|
|
9999
|
+
var _variants1 = (_productinfo1 === null || _productinfo1 === void 0 ? void 0 : _productinfo1.variants) || [];
|
|
10000
|
+
|
|
10001
|
+
// Collect selected option value IDs and find which option they belong to
|
|
10002
|
+
var _selectedValues1 = [];
|
|
10003
|
+
_options1.forEach(function (option) {
|
|
10004
|
+
option.optionvalues.forEach(function (value) {
|
|
10005
|
+
if (value.isselected === 1) {
|
|
10006
|
+
_selectedValues1.push({
|
|
10007
|
+
optionid: option.optionid,
|
|
10008
|
+
valueid: value.valueid
|
|
10009
|
+
});
|
|
10010
|
+
}
|
|
10011
|
+
});
|
|
10012
|
+
});
|
|
10013
|
+
_options1.length;
|
|
10014
|
+
var _selectedCount1 = _selectedValues1.length;
|
|
10015
|
+
var _inStockVariants1 = _variants1.filter(function (v) {
|
|
10016
|
+
return v.current_quantity > 0;
|
|
10017
|
+
});
|
|
10018
|
+
|
|
10019
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
10020
|
+
if (_selectedCount1 === 0) {
|
|
10021
|
+
return _inStockVariants1.some(function (variant) {
|
|
10022
|
+
return variant.variantoptions.some(function (opt) {
|
|
10023
|
+
return opt.valueid === Currvalueid;
|
|
10024
|
+
});
|
|
10025
|
+
}) ? 1 : 0;
|
|
10026
|
+
}
|
|
10027
|
+
|
|
10028
|
+
// 🧠 Case 2: Only one option selected
|
|
10029
|
+
if (_selectedCount1 === 1) {
|
|
10030
|
+
var _selected1 = _selectedValues1[0];
|
|
10031
|
+
var _selectedOptionId1 = _selected1.optionid;
|
|
10032
|
+
|
|
10033
|
+
// Find which option this Currvalueid belongs to
|
|
10034
|
+
var _currentOptionId1 = null;
|
|
10035
|
+
_options1.forEach(function (option) {
|
|
10036
|
+
option.optionvalues.forEach(function (v) {
|
|
10037
|
+
if (v.valueid === Currvalueid) _currentOptionId1 = option.optionid;
|
|
10038
|
+
});
|
|
10039
|
+
});
|
|
10040
|
+
|
|
10041
|
+
// Same option (e.g., selecting only size)
|
|
10042
|
+
if (_selectedOptionId1 === _currentOptionId1) {
|
|
10043
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
10044
|
+
return _inStockVariants1.some(function (variant) {
|
|
10045
|
+
return variant.variantoptions.some(function (opt) {
|
|
10046
|
+
return opt.valueid === Currvalueid;
|
|
10047
|
+
});
|
|
10048
|
+
}) ? 1 : 0;
|
|
10049
|
+
}
|
|
10050
|
+
|
|
10051
|
+
// Different option (e.g., color)
|
|
10052
|
+
// Only in-stock if a variant has both selected value + this value
|
|
10053
|
+
return _inStockVariants1.some(function (variant) {
|
|
10054
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
10055
|
+
return v.valueid;
|
|
10056
|
+
});
|
|
10057
|
+
return variantValueIds.includes(_selected1.valueid) && variantValueIds.includes(Currvalueid);
|
|
10058
|
+
}) ? 1 : 0;
|
|
10059
|
+
}
|
|
10060
|
+
|
|
10061
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
10062
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
10063
|
+
var _inStock1 = _inStockVariants1.some(function (variant) {
|
|
10064
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
10065
|
+
return v.valueid;
|
|
10066
|
+
});
|
|
10067
|
+
// Must match all selected except the one that belongs to same option
|
|
10068
|
+
return _selectedValues1.every(function (sel) {
|
|
10069
|
+
if (_options1.some(function (opt) {
|
|
10070
|
+
return opt.optionvalues.some(function (v) {
|
|
10071
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
10072
|
+
});
|
|
10073
|
+
})) {
|
|
10074
|
+
// Skip same option
|
|
10075
|
+
return true;
|
|
10076
|
+
}
|
|
10077
|
+
return variantValueIds.includes(sel.valueid);
|
|
10078
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
10079
|
+
});
|
|
10080
|
+
return _inStock1 ? 1 : 0;
|
|
9985
10081
|
} else {
|
|
9986
10082
|
return 1;
|
|
9987
10083
|
}
|
|
9988
10084
|
};
|
|
9989
10085
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9990
|
-
var _authdetailsContext$
|
|
9991
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10086
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29;
|
|
10087
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68d28fc494276') {
|
|
9992
10088
|
var _productarr$data, _productarr$data$prod;
|
|
9993
10089
|
var _productarr = ProductInfoObj;
|
|
9994
10090
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -10040,9 +10136,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10040
10136
|
// optional: show user message or disable click
|
|
10041
10137
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10042
10138
|
}
|
|
10043
|
-
}
|
|
10044
|
-
// mn design
|
|
10045
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '682dfdcdb9720') {
|
|
10139
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6a09bef064560') {
|
|
10046
10140
|
var _productarr2$data, _productarr2$data$pro;
|
|
10047
10141
|
var _productarr2 = ProductInfoObj;
|
|
10048
10142
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -10096,8 +10190,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10096
10190
|
}
|
|
10097
10191
|
}
|
|
10098
10192
|
|
|
10099
|
-
//
|
|
10100
|
-
|
|
10193
|
+
// mn design
|
|
10194
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '682dfdcdb9720') {
|
|
10101
10195
|
var _productarr3$data, _productarr3$data$pro;
|
|
10102
10196
|
var _productarr3 = ProductInfoObj;
|
|
10103
10197
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -10149,7 +10243,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10149
10243
|
// optional: show user message or disable click
|
|
10150
10244
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10151
10245
|
}
|
|
10152
|
-
}
|
|
10246
|
+
}
|
|
10247
|
+
|
|
10248
|
+
// alma
|
|
10249
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67d349e5ee6a1') {
|
|
10153
10250
|
var _productarr4$data, _productarr4$data$pro;
|
|
10154
10251
|
var _productarr4 = ProductInfoObj;
|
|
10155
10252
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -10201,9 +10298,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10201
10298
|
// optional: show user message or disable click
|
|
10202
10299
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10203
10300
|
}
|
|
10204
|
-
}
|
|
10205
|
-
// vout
|
|
10206
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68f918a4ccb85') {
|
|
10301
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67c050d72cbe7') {
|
|
10207
10302
|
var _productarr5$data, _productarr5$data$pro;
|
|
10208
10303
|
var _productarr5 = ProductInfoObj;
|
|
10209
10304
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -10256,8 +10351,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10256
10351
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10257
10352
|
}
|
|
10258
10353
|
}
|
|
10259
|
-
//
|
|
10260
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10354
|
+
// vout
|
|
10355
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68f918a4ccb85') {
|
|
10261
10356
|
var _productarr6$data, _productarr6$data$pro;
|
|
10262
10357
|
var _productarr6 = ProductInfoObj;
|
|
10263
10358
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -10310,8 +10405,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10310
10405
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10311
10406
|
}
|
|
10312
10407
|
}
|
|
10313
|
-
//
|
|
10314
|
-
|
|
10408
|
+
// puff n stuff
|
|
10409
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f') {
|
|
10315
10410
|
var _productarr7$data, _productarr7$data$pro;
|
|
10316
10411
|
var _productarr7 = ProductInfoObj;
|
|
10317
10412
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -10364,8 +10459,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10364
10459
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10365
10460
|
}
|
|
10366
10461
|
}
|
|
10367
|
-
//
|
|
10368
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10462
|
+
// dija
|
|
10463
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '682cbb9bdcd57') {
|
|
10369
10464
|
var _productarr8$data, _productarr8$data$pro;
|
|
10370
10465
|
var _productarr8 = ProductInfoObj;
|
|
10371
10466
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -10417,7 +10512,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10417
10512
|
// optional: show user message or disable click
|
|
10418
10513
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10419
10514
|
}
|
|
10420
|
-
}
|
|
10515
|
+
}
|
|
10516
|
+
// angel
|
|
10517
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '67bda57bca71d') {
|
|
10421
10518
|
var _productarr9$data, _productarr9$data$pro;
|
|
10422
10519
|
var _productarr9 = ProductInfoObj;
|
|
10423
10520
|
if (!(_productarr9 !== null && _productarr9 !== void 0 && (_productarr9$data = _productarr9.data) !== null && _productarr9$data !== void 0 && _productarr9$data.productinfo)) return;
|
|
@@ -10469,7 +10566,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10469
10566
|
// optional: show user message or disable click
|
|
10470
10567
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10471
10568
|
}
|
|
10472
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10569
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '69244cc88aa0a') {
|
|
10473
10570
|
var _productarr0$data, _productarr0$data$pro;
|
|
10474
10571
|
var _productarr0 = ProductInfoObj;
|
|
10475
10572
|
if (!(_productarr0 !== null && _productarr0 !== void 0 && (_productarr0$data = _productarr0.data) !== null && _productarr0$data !== void 0 && _productarr0$data.productinfo)) return;
|
|
@@ -10521,6 +10618,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
10521
10618
|
// optional: show user message or disable click
|
|
10522
10619
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10523
10620
|
}
|
|
10621
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '687ca57cc78e8') {
|
|
10622
|
+
var _productarr1$data, _productarr1$data$pro;
|
|
10623
|
+
var _productarr1 = ProductInfoObj;
|
|
10624
|
+
if (!(_productarr1 !== null && _productarr1 !== void 0 && (_productarr1$data = _productarr1.data) !== null && _productarr1$data !== void 0 && _productarr1$data.productinfo)) return;
|
|
10625
|
+
|
|
10626
|
+
// 1. Find variants that include the newly selected value
|
|
10627
|
+
var _validVariants0 = (_productarr1.data.productinfo.variants || []).filter(function (variant) {
|
|
10628
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
10629
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
10630
|
+
});
|
|
10631
|
+
});
|
|
10632
|
+
|
|
10633
|
+
// 2. Build a set of valid value ids
|
|
10634
|
+
var _validValueIds0 = new Set(_validVariants0.flatMap(function (v) {
|
|
10635
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
10636
|
+
return opt.valueid;
|
|
10637
|
+
});
|
|
10638
|
+
}));
|
|
10639
|
+
|
|
10640
|
+
// 3. Loop all options and their values
|
|
10641
|
+
(_productarr1$data$pro = _productarr1.data.productinfo.productoptions) === null || _productarr1$data$pro === void 0 || _productarr1$data$pro.forEach(function (option) {
|
|
10642
|
+
var _option$optionvalues1;
|
|
10643
|
+
var anySelected = false;
|
|
10644
|
+
(_option$optionvalues1 = option.optionvalues) === null || _option$optionvalues1 === void 0 || _option$optionvalues1.forEach(function (value) {
|
|
10645
|
+
// Normalize stock check result to boolean
|
|
10646
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
10647
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
10648
|
+
|
|
10649
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
10650
|
+
if (!_validValueIds0.has(value.valueid) || !inStock) {
|
|
10651
|
+
value.isselected = 0;
|
|
10652
|
+
} else {
|
|
10653
|
+
// keep whatever selection is already there (do not auto-select)
|
|
10654
|
+
if (value.isselected) anySelected = true;
|
|
10655
|
+
}
|
|
10656
|
+
});
|
|
10657
|
+
|
|
10658
|
+
// keep option-level selected state in sync
|
|
10659
|
+
option.isselected = anySelected ? 1 : 0;
|
|
10660
|
+
});
|
|
10661
|
+
|
|
10662
|
+
// 4. Only select the new value if it's in stock
|
|
10663
|
+
var _newInStock0 = function () {
|
|
10664
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
10665
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
10666
|
+
}();
|
|
10667
|
+
if (_newInStock0) {
|
|
10668
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr1);
|
|
10669
|
+
} else {
|
|
10670
|
+
// optional: show user message or disable click
|
|
10671
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10672
|
+
}
|
|
10524
10673
|
} else {
|
|
10525
10674
|
var _productarr$data2;
|
|
10526
10675
|
var productarr = ProductInfoObj;
|
|
@@ -10994,7 +11143,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10994
11143
|
};
|
|
10995
11144
|
var addtocartfunc = /*#__PURE__*/function () {
|
|
10996
11145
|
var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(forcetocheckout) {
|
|
10997
|
-
var runfunc, forcetocheckoutvalue, _fetchProductInfoQuer42, _authdetailsContext$
|
|
11146
|
+
var runfunc, forcetocheckoutvalue, _fetchProductInfoQuer42, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _fetchProductInfoQuer43, _fetchProductInfoQuer44, tempaddtocardpayloadobj, Extrafieldvalidationresponse, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, finalprice, prod_extras_tobeadded, sleep, _iterator, _step, _item$productinfo, _fetchProductInfoQuer52, item, variantid, _fetchProductInfoQuer51, _t;
|
|
10998
11147
|
return _regeneratorRuntime__default["default"].wrap(function (_context) {
|
|
10999
11148
|
while (1) switch (_context.prev = _context.next) {
|
|
11000
11149
|
case 0:
|
|
@@ -11007,7 +11156,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11007
11156
|
} else {
|
|
11008
11157
|
// here
|
|
11009
11158
|
setvariantnotchosendisclaimer('This field is required');
|
|
11010
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11159
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
11011
11160
|
}
|
|
11012
11161
|
} else {
|
|
11013
11162
|
runfunc = true;
|
|
@@ -11170,9 +11319,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
11170
11319
|
};
|
|
11171
11320
|
};
|
|
11172
11321
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
11173
|
-
var _authdetailsContext$
|
|
11322
|
+
var _authdetailsContext$i33;
|
|
11174
11323
|
var policyobj = {};
|
|
11175
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11324
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 || (_authdetailsContext$i33 = _authdetailsContext$i33.instpolicies) === null || _authdetailsContext$i33 === void 0 || _authdetailsContext$i33.forEach(function (item, index) {
|
|
11176
11325
|
if (item.policytype == policytype) {
|
|
11177
11326
|
policyobj = item;
|
|
11178
11327
|
}
|
|
@@ -11181,7 +11330,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11181
11330
|
};
|
|
11182
11331
|
var relatedproducts = function relatedproducts() {
|
|
11183
11332
|
if (Relatedproducts.length != 0) {
|
|
11184
|
-
var _authdetailsContext$
|
|
11333
|
+
var _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38;
|
|
11185
11334
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11186
11335
|
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",
|
|
11187
11336
|
style: {
|
|
@@ -11203,9 +11352,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
11203
11352
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11204
11353
|
className: "row m-0 w-100",
|
|
11205
11354
|
style: {
|
|
11206
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11355
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
11207
11356
|
}
|
|
11208
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11357
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11209
11358
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
11210
11359
|
style: {
|
|
11211
11360
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -11224,7 +11373,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11224
11373
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
11225
11374
|
borderRadius: 5
|
|
11226
11375
|
}
|
|
11227
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11376
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11228
11377
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
11229
11378
|
style: {
|
|
11230
11379
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -11248,8 +11397,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11248
11397
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
11249
11398
|
transitionBehavior: 'auto',
|
|
11250
11399
|
wrapperClassName: '',
|
|
11251
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11252
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11400
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
11401
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
11253
11402
|
}, Relatedproducts.map(function (item, index) {
|
|
11254
11403
|
if (item.productinfo != null) {
|
|
11255
11404
|
var _fetchProductInfoQuer54;
|
|
@@ -11424,10 +11573,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
11424
11573
|
if (addtocartobjparam.variantid.length != 0) {
|
|
11425
11574
|
runfunc = true;
|
|
11426
11575
|
} else {
|
|
11427
|
-
var _authdetailsContext$
|
|
11576
|
+
var _authdetailsContext$i39;
|
|
11428
11577
|
// here
|
|
11429
11578
|
setvariantnotchosendisclaimer('This field is required');
|
|
11430
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11579
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
11431
11580
|
}
|
|
11432
11581
|
} else {
|
|
11433
11582
|
runfunc = true;
|
|
@@ -11470,8 +11619,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11470
11619
|
isVarianturlLoaded = _useState58[0],
|
|
11471
11620
|
setisVarianturlLoaded = _useState58[1];
|
|
11472
11621
|
React.useEffect(function () {
|
|
11473
|
-
var _authdetailsContext$
|
|
11474
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11622
|
+
var _authdetailsContext$i40;
|
|
11623
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68f918a4ccb85') {
|
|
11475
11624
|
var params = new URLSearchParams(window.location.search);
|
|
11476
11625
|
var variantId = params.get('variant');
|
|
11477
11626
|
if (isVarianturlLoaded == false) {
|
|
@@ -12366,7 +12515,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12366
12515
|
})));
|
|
12367
12516
|
};
|
|
12368
12517
|
var StoreInfo = function StoreInfo(position) {
|
|
12369
|
-
var _fetchProductInfoQuer86, _authdetailsContext$
|
|
12518
|
+
var _fetchProductInfoQuer86, _authdetailsContext$i42, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i43, _authdetailsContext$i45;
|
|
12370
12519
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12371
12520
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
12372
12521
|
style: {
|
|
@@ -12445,8 +12594,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
12445
12594
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12446
12595
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
12447
12596
|
onClick: function onClick() {
|
|
12448
|
-
var _authdetailsContext$
|
|
12449
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12597
|
+
var _authdetailsContext$i41;
|
|
12598
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 || (_authdetailsContext$i41 = _authdetailsContext$i41.contactinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.email), '_self');
|
|
12450
12599
|
}
|
|
12451
12600
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12452
12601
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -12466,7 +12615,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12466
12615
|
style: {
|
|
12467
12616
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12468
12617
|
}
|
|
12469
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12618
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 || (_authdetailsContext$i42 = _authdetailsContext$i42.contactinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12470
12619
|
"class": "col-lg-12 my-2",
|
|
12471
12620
|
style: {
|
|
12472
12621
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -12518,25 +12667,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
12518
12667
|
}
|
|
12519
12668
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12520
12669
|
"class": "m-0 p-0"
|
|
12521
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12670
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 || (_authdetailsContext$i43 = _authdetailsContext$i43.contactinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12522
12671
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
12523
12672
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12524
12673
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12525
12674
|
onClick: function onClick() {
|
|
12526
|
-
var _authdetailsContext$
|
|
12527
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12675
|
+
var _authdetailsContext$i44;
|
|
12676
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 || (_authdetailsContext$i44 = _authdetailsContext$i44.contactinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.email), '_self');
|
|
12528
12677
|
}
|
|
12529
12678
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12530
12679
|
"class": "m-0 p-0"
|
|
12531
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12680
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12532
12681
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : position == 'belowinfogoldlift' ? 'col-lg-6 allcentered mb-2 p-sm-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
12533
12682
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12534
12683
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12535
12684
|
onClick: function onClick() {
|
|
12536
|
-
var _authdetailsContext$
|
|
12537
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12538
|
-
var _authdetailsContext$
|
|
12539
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12685
|
+
var _authdetailsContext$i46;
|
|
12686
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.whatsappnumber) != null) {
|
|
12687
|
+
var _authdetailsContext$i47;
|
|
12688
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.whatsappnumber), '_blank');
|
|
12540
12689
|
}
|
|
12541
12690
|
}
|
|
12542
12691
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -12632,7 +12781,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12632
12781
|
lang: lang,
|
|
12633
12782
|
srcfromprops: props.srcfromprops
|
|
12634
12783
|
}, _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), "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"](_ref2, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12635
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12784
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
12636
12785
|
actions: (_ref3 = {
|
|
12637
12786
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
12638
12787
|
setisoutofstock: setisoutofstock,
|
|
@@ -12642,7 +12791,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12642
12791
|
lang: lang,
|
|
12643
12792
|
srcfromprops: props.srcfromprops
|
|
12644
12793
|
}, _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"](_ref3, "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"](_ref3, "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"](_ref3, "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"](_ref3, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
12645
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12794
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
12646
12795
|
actions: (_ref4 = {
|
|
12647
12796
|
isOptionInStock: isOptionInStock,
|
|
12648
12797
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -12668,7 +12817,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12668
12817
|
lang: lang,
|
|
12669
12818
|
srcfromprops: props.srcfromprops
|
|
12670
12819
|
}, _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"](_ref5, "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"](_ref5, "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"](_ref5, "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"](_ref5, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12671
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12820
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '69a34ef02cc96' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12672
12821
|
"class": 'row m-0 w-100 px-md-2 pb-5',
|
|
12673
12822
|
style: {
|
|
12674
12823
|
paddingLeft: 100,
|
|
@@ -12747,7 +12896,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12747
12896
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12748
12897
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12749
12898
|
style: {}
|
|
12750
|
-
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12899
|
+
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12751
12900
|
"class": 'row m-0 w-100 px-md-0 pb-5',
|
|
12752
12901
|
style: {
|
|
12753
12902
|
paddingLeft: 100,
|
|
@@ -12826,7 +12975,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12826
12975
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12827
12976
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12828
12977
|
style: {}
|
|
12829
|
-
}, langdetect == 'en' ? (_returnpolicyobj1 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj1 === void 0 ? void 0 : _returnpolicyobj1.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12978
|
+
}, langdetect == 'en' ? (_returnpolicyobj1 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj1 === void 0 ? void 0 : _returnpolicyobj1.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12830
12979
|
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
12831
12980
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12832
12981
|
"class": sectionproperties.marqueemovementdirection == 'Right to Left' ? 'd-flex flex-row align-items-center rotating-text2' : 'd-flex flex-row align-items-center rotating-text-reverse2',
|
|
@@ -12854,7 +13003,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12854
13003
|
height: '100%'
|
|
12855
13004
|
}
|
|
12856
13005
|
}));
|
|
12857
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13006
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12858
13007
|
"class": "row m-0 w-100"
|
|
12859
13008
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12860
13009
|
"class": "col-12 p-0 text-center mb-3 mt-3"
|
|
@@ -12870,9 +13019,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
12870
13019
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12871
13020
|
sectionproperties: sectionproperties
|
|
12872
13021
|
})
|
|
12873
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13022
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) != '69fcb0672e838' &&
|
|
12874
13023
|
// move to spo
|
|
12875
|
-
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13024
|
+
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) != '6a5e2f3d879f1' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) != '6963a3b378483' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12876
13025
|
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 ',
|
|
12877
13026
|
style: {
|
|
12878
13027
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13065,7 +13214,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13065
13214
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13066
13215
|
sectionproperties: sectionproperties
|
|
13067
13216
|
})
|
|
13068
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13217
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13069
13218
|
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 ',
|
|
13070
13219
|
style: {
|
|
13071
13220
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13215,7 +13364,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13215
13364
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13216
13365
|
sectionproperties: sectionproperties
|
|
13217
13366
|
})
|
|
13218
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13367
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.contactinfo.instid) == '6a5e2f3d879f1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13219
13368
|
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 ',
|
|
13220
13369
|
style: {
|
|
13221
13370
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13339,7 +13488,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13339
13488
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13340
13489
|
sectionproperties: sectionproperties
|
|
13341
13490
|
})
|
|
13342
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13491
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) == '6963a3b378483' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13343
13492
|
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 ',
|
|
13344
13493
|
style: {
|
|
13345
13494
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13511,7 +13660,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13511
13660
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13512
13661
|
sectionproperties: sectionproperties
|
|
13513
13662
|
})
|
|
13514
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13663
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13515
13664
|
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 ',
|
|
13516
13665
|
style: {
|
|
13517
13666
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13653,7 +13802,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13653
13802
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13654
13803
|
sectionproperties: sectionproperties
|
|
13655
13804
|
})
|
|
13656
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13805
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13657
13806
|
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 ',
|
|
13658
13807
|
style: {
|
|
13659
13808
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13804,7 +13953,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13804
13953
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13805
13954
|
sectionproperties: sectionproperties
|
|
13806
13955
|
})
|
|
13807
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13956
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13808
13957
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
13809
13958
|
}, productVideos.map(function (item, index) {
|
|
13810
13959
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -13821,7 +13970,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13821
13970
|
loop: true,
|
|
13822
13971
|
muted: true
|
|
13823
13972
|
}));
|
|
13824
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13973
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13825
13974
|
"class": 'row m-0 w-100 px-md-2 mb-5',
|
|
13826
13975
|
style: {
|
|
13827
13976
|
paddingLeft: 100,
|
|
@@ -13899,12 +14048,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13899
14048
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13900
14049
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
13901
14050
|
style: {}
|
|
13902
|
-
}, langdetect == 'en' ? (_returnpolicyobj53 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj53 === void 0 ? void 0 : _returnpolicyobj53.policypagename_en : (_returnpolicyobj54 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj54 === void 0 ? void 0 : _returnpolicyobj54.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14051
|
+
}, langdetect == 'en' ? (_returnpolicyobj53 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj53 === void 0 ? void 0 : _returnpolicyobj53.policypagename_en : (_returnpolicyobj54 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj54 === void 0 ? void 0 : _returnpolicyobj54.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i74 = authdetailsContext.instinfo) === null || _authdetailsContext$i74 === void 0 ? void 0 : _authdetailsContext$i74.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13903
14052
|
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 ',
|
|
13904
14053
|
style: {
|
|
13905
14054
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
13906
14055
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
13907
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14056
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i75 = authdetailsContext.instinfo) === null || _authdetailsContext$i75 === void 0 ? void 0 : _authdetailsContext$i75.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
13908
14057
|
}
|
|
13909
14058
|
}, relatedproducts()))));
|
|
13910
14059
|
};
|
|
@@ -36373,7 +36522,17 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
36373
36522
|
}
|
|
36374
36523
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36375
36524
|
"class": "m-0 p-0"
|
|
36376
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show
|
|
36525
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show' && authdetailsContext.instinfo.instid == '6a708efd56628' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36526
|
+
"class": sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'en' ? "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnar) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ',
|
|
36527
|
+
style: {
|
|
36528
|
+
bottom: 70
|
|
36529
|
+
},
|
|
36530
|
+
onClick: function onClick() {
|
|
36531
|
+
window.open('https://book.yunzhan365.com/bookcase/decd/index.html?fbclid=IwdGRzaAUQ84BjbGNrBRDzanBkb2YFZXh0bgNhZW0CMTEAc3J0YwZhcHBfaWQMMzUwNjg1NTMxNzI4AAEezsk8CG0nQ4sZ9MQaNBB8d8dbWVDyu432tyaJXf_yfu0qvy7lqqV3ZrwmO58_aem_mM5sXBGG3WaMdzgQSqcQlQ&sfnsn=scwspwa', '_blank');
|
|
36532
|
+
}
|
|
36533
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36534
|
+
"class": "m-0 p-0"
|
|
36535
|
+
}, langdetect == 'en' ? 'CATALOG' : 'الكتالوج')), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36377
36536
|
style: {
|
|
36378
36537
|
position: 'fixed',
|
|
36379
36538
|
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
@@ -84742,7 +84901,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84742
84901
|
if (sectionproperties.showplayer == 'Show') {
|
|
84743
84902
|
setshowpopup(true);
|
|
84744
84903
|
} else if (item.IsClickableimg == 'Yes') {
|
|
84745
|
-
if (item.
|
|
84904
|
+
if (item.linktype == 'Image With External Link') {
|
|
84905
|
+
window.open(item.linkurl, '_blank');
|
|
84906
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
84746
84907
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
84747
84908
|
} else {
|
|
84748
84909
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -84898,7 +85059,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84898
85059
|
if (sectionproperties.showplayer == 'Show') {
|
|
84899
85060
|
setshowpopup(true);
|
|
84900
85061
|
} else if (item.IsClickableimg == 'Yes') {
|
|
84901
|
-
if (item.
|
|
85062
|
+
if (item.linktype == 'Image With External Link') {
|
|
85063
|
+
window.open(item.linkurl, '_blank');
|
|
85064
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
84902
85065
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
84903
85066
|
} else {
|
|
84904
85067
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -84939,7 +85102,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84939
85102
|
if (sectionproperties.showplayer == 'Show') {
|
|
84940
85103
|
setshowpopup(true);
|
|
84941
85104
|
} else if (item.IsClickableimg == 'Yes') {
|
|
84942
|
-
if (item.
|
|
85105
|
+
if (item.linktype == 'Image With External Link') {
|
|
85106
|
+
window.open(item.linkurl, '_blank');
|
|
85107
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
84943
85108
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
84944
85109
|
} else {
|
|
84945
85110
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -85074,7 +85239,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85074
85239
|
if (sectionproperties.showplayer == 'Show') {
|
|
85075
85240
|
setshowpopup(true);
|
|
85076
85241
|
} else if (item.IsClickableimg == 'Yes') {
|
|
85077
|
-
if (item.
|
|
85242
|
+
if (item.linktype == 'Image With External Link') {
|
|
85243
|
+
window.open(item.linkurl, '_blank');
|
|
85244
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
85078
85245
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
85079
85246
|
} else {
|
|
85080
85247
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -85114,7 +85281,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85114
85281
|
if (sectionproperties.showplayer == 'Show') {
|
|
85115
85282
|
setshowpopup(true);
|
|
85116
85283
|
} else if (item.IsClickableimg == 'Yes') {
|
|
85117
|
-
if (item.
|
|
85284
|
+
if (item.linktype == 'Image With External Link') {
|
|
85285
|
+
window.open(item.linkurl, '_blank');
|
|
85286
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
85118
85287
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
85119
85288
|
} else {
|
|
85120
85289
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -85241,7 +85410,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85241
85410
|
if (sectionproperties.showplayer == 'Show') {
|
|
85242
85411
|
setshowpopup(true);
|
|
85243
85412
|
} else if (item.IsClickableimg == 'Yes') {
|
|
85244
|
-
if (item.
|
|
85413
|
+
if (item.linktype == 'Image With External Link') {
|
|
85414
|
+
window.open(item.linkurl, '_blank');
|
|
85415
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
85245
85416
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
85246
85417
|
} else {
|
|
85247
85418
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -85281,7 +85452,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85281
85452
|
if (sectionproperties.showplayer == 'Show') {
|
|
85282
85453
|
setshowpopup(true);
|
|
85283
85454
|
} else if (item.IsClickableimg == 'Yes') {
|
|
85284
|
-
if (item.
|
|
85455
|
+
if (item.linktype == 'Image With External Link') {
|
|
85456
|
+
window.open(item.linkurl, '_blank');
|
|
85457
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
85285
85458
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
85286
85459
|
} else {
|
|
85287
85460
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|