tabexseriescomponents 0.2.1223 → 0.2.1225
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +288 -110
- package/dist/index.esm.js +288 -110
- package/dist/index.umd.js +288 -110
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1593,25 +1593,29 @@
|
|
|
1593
1593
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1594
1594
|
var is_value_permdisabled = 0;
|
|
1595
1595
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1596
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
1596
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
1597
1597
|
// if()
|
|
1598
1598
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1599
1599
|
is_value_permdisabled = 1;
|
|
1600
1600
|
}
|
|
1601
|
+
// vout
|
|
1602
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68f918a4ccb85') {
|
|
1603
|
+
is_value_permdisabled = 1;
|
|
1604
|
+
}
|
|
1601
1605
|
// puff
|
|
1602
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1606
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '6899e604db87f') {
|
|
1603
1607
|
is_value_permdisabled = 1;
|
|
1604
1608
|
}
|
|
1605
1609
|
// dija
|
|
1606
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1610
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1607
1611
|
is_value_permdisabled = 1;
|
|
1608
1612
|
}
|
|
1609
1613
|
// angel
|
|
1610
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1614
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '67bda57bca71d') {
|
|
1611
1615
|
is_value_permdisabled = 1;
|
|
1612
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1616
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '69244cc88aa0a') {
|
|
1613
1617
|
is_value_permdisabled = 1;
|
|
1614
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1618
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '687ca57cc78e8') {
|
|
1615
1619
|
is_value_permdisabled = 1;
|
|
1616
1620
|
}
|
|
1617
1621
|
}
|
|
@@ -1640,7 +1644,7 @@
|
|
|
1640
1644
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1641
1645
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1642
1646
|
if (is_value_permdisabled == 0) {
|
|
1643
|
-
var _authdetailsContext$
|
|
1647
|
+
var _authdetailsContext$i8, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22;
|
|
1644
1648
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1645
1649
|
// className={
|
|
1646
1650
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1652,41 +1656,47 @@
|
|
|
1652
1656
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1653
1657
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1654
1658
|
// }
|
|
1655
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1659
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.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 : ''),
|
|
1656
1660
|
onClick: function onClick() {
|
|
1657
1661
|
if (isoptionvalueselected == 0) {
|
|
1658
|
-
var _authdetailsContext$
|
|
1659
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1662
|
+
var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
1663
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '68d28fc494276') {
|
|
1664
|
+
if (isValueinStock == 0) {
|
|
1665
|
+
return;
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
// vout
|
|
1669
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68f918a4ccb85') {
|
|
1660
1670
|
if (isValueinStock == 0) {
|
|
1661
1671
|
return;
|
|
1662
1672
|
}
|
|
1663
1673
|
}
|
|
1664
1674
|
// puff
|
|
1665
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1675
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
1666
1676
|
if (isValueinStock == 0) {
|
|
1667
1677
|
return;
|
|
1668
1678
|
}
|
|
1669
1679
|
}
|
|
1670
1680
|
// angel
|
|
1671
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1681
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67bda57bca71d') {
|
|
1672
1682
|
if (isValueinStock == 0) {
|
|
1673
1683
|
return;
|
|
1674
1684
|
}
|
|
1675
1685
|
}
|
|
1676
1686
|
// dija
|
|
1677
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1687
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1678
1688
|
if (isValueinStock == 0) {
|
|
1679
1689
|
return;
|
|
1680
1690
|
}
|
|
1681
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1691
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69244cc88aa0a') {
|
|
1682
1692
|
if (isValueinStock == 0) {
|
|
1683
1693
|
return;
|
|
1684
1694
|
}
|
|
1685
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1695
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '687ca57cc78e8') {
|
|
1686
1696
|
if (isValueinStock == 0) {
|
|
1687
1697
|
return;
|
|
1688
1698
|
}
|
|
1689
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1699
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
1690
1700
|
if (isValueinStock == 0) {
|
|
1691
1701
|
return;
|
|
1692
1702
|
}
|
|
@@ -1730,14 +1740,16 @@
|
|
|
1730
1740
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1731
1741
|
"class": "h-100 allcentered"
|
|
1732
1742
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1733
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1743
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1744
|
+
// vout
|
|
1745
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1734
1746
|
// puff
|
|
1735
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1747
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1736
1748
|
// angel
|
|
1737
1749
|
|
|
1738
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1750
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1739
1751
|
// dija
|
|
1740
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1752
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.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$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.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$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.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$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1741
1753
|
style: {
|
|
1742
1754
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1743
1755
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1746,43 +1758,49 @@
|
|
|
1746
1758
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1747
1759
|
}
|
|
1748
1760
|
} else {
|
|
1749
|
-
var _authdetailsContext$
|
|
1761
|
+
var _authdetailsContext$i23, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39;
|
|
1750
1762
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1751
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1763
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.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 : ''),
|
|
1752
1764
|
onClick: function onClick() {
|
|
1753
1765
|
if (isoptionvalueselected == 0) {
|
|
1754
|
-
var _authdetailsContext$
|
|
1755
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1766
|
+
var _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31;
|
|
1767
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68d28fc494276') {
|
|
1768
|
+
if (isValueinStock == 0) {
|
|
1769
|
+
return;
|
|
1770
|
+
}
|
|
1771
|
+
}
|
|
1772
|
+
// vout
|
|
1773
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68f918a4ccb85') {
|
|
1756
1774
|
if (isValueinStock == 0) {
|
|
1757
1775
|
return;
|
|
1758
1776
|
}
|
|
1759
1777
|
}
|
|
1760
1778
|
// puff n stuff
|
|
1761
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1779
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6899e604db87f') {
|
|
1762
1780
|
if (isValueinStock == 0) {
|
|
1763
1781
|
return;
|
|
1764
1782
|
}
|
|
1765
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1783
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '69244cc88aa0a') {
|
|
1766
1784
|
if (isValueinStock == 0) {
|
|
1767
1785
|
return;
|
|
1768
1786
|
}
|
|
1769
1787
|
}
|
|
1770
1788
|
// angel
|
|
1771
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1789
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67bda57bca71d') {
|
|
1772
1790
|
if (isValueinStock == 0) {
|
|
1773
1791
|
return;
|
|
1774
1792
|
}
|
|
1775
1793
|
}
|
|
1776
1794
|
// dija
|
|
1777
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1795
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1778
1796
|
if (isValueinStock == 0) {
|
|
1779
1797
|
return;
|
|
1780
1798
|
}
|
|
1781
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1799
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '687ca57cc78e8') {
|
|
1782
1800
|
if (isValueinStock == 0) {
|
|
1783
1801
|
return;
|
|
1784
1802
|
}
|
|
1785
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1803
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6899e604db87f') {
|
|
1786
1804
|
if (isValueinStock == 0) {
|
|
1787
1805
|
return;
|
|
1788
1806
|
}
|
|
@@ -1806,13 +1824,15 @@
|
|
|
1806
1824
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1807
1825
|
}
|
|
1808
1826
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1809
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1827
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1828
|
+
// vout
|
|
1829
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1810
1830
|
// puff
|
|
1811
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1831
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1812
1832
|
// angel
|
|
1813
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1833
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1814
1834
|
// dija
|
|
1815
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1835
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.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$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.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$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.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$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.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',
|
|
1816
1836
|
style: {
|
|
1817
1837
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1818
1838
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7422,7 +7442,7 @@
|
|
|
7422
7442
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7423
7443
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7424
7444
|
var Productinfo = function Productinfo(props) {
|
|
7425
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7445
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48;
|
|
7426
7446
|
var _useState = React.useState({}),
|
|
7427
7447
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7428
7448
|
ProductInfoObj = _useState2[0],
|
|
@@ -7915,7 +7935,7 @@
|
|
|
7915
7935
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
7916
7936
|
// };
|
|
7917
7937
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
7918
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
7938
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
7919
7939
|
// lord
|
|
7920
7940
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
7921
7941
|
var _ProductInfoObj$data;
|
|
@@ -8004,8 +8024,8 @@
|
|
|
8004
8024
|
});
|
|
8005
8025
|
return inStock ? 1 : 0;
|
|
8006
8026
|
}
|
|
8007
|
-
//
|
|
8008
|
-
|
|
8027
|
+
// vout
|
|
8028
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68f918a4ccb85') {
|
|
8009
8029
|
var _ProductInfoObj$data2;
|
|
8010
8030
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8011
8031
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8092,8 +8112,8 @@
|
|
|
8092
8112
|
});
|
|
8093
8113
|
return _inStock ? 1 : 0;
|
|
8094
8114
|
}
|
|
8095
|
-
//
|
|
8096
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8115
|
+
// puff n stuff
|
|
8116
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
|
|
8097
8117
|
var _ProductInfoObj$data3;
|
|
8098
8118
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8099
8119
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8180,8 +8200,8 @@
|
|
|
8180
8200
|
});
|
|
8181
8201
|
return _inStock2 ? 1 : 0;
|
|
8182
8202
|
}
|
|
8183
|
-
//
|
|
8184
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8203
|
+
// dija
|
|
8204
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8185
8205
|
var _ProductInfoObj$data4;
|
|
8186
8206
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8187
8207
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8267,7 +8287,9 @@
|
|
|
8267
8287
|
}) && variantValueIds.includes(Currvalueid);
|
|
8268
8288
|
});
|
|
8269
8289
|
return _inStock3 ? 1 : 0;
|
|
8270
|
-
}
|
|
8290
|
+
}
|
|
8291
|
+
// angel secrets
|
|
8292
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67bda57bca71d') {
|
|
8271
8293
|
var _ProductInfoObj$data5;
|
|
8272
8294
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8273
8295
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8353,7 +8375,7 @@
|
|
|
8353
8375
|
}) && variantValueIds.includes(Currvalueid);
|
|
8354
8376
|
});
|
|
8355
8377
|
return _inStock4 ? 1 : 0;
|
|
8356
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '
|
|
8378
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
|
|
8357
8379
|
var _ProductInfoObj$data6;
|
|
8358
8380
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8359
8381
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8439,13 +8461,99 @@
|
|
|
8439
8461
|
}) && variantValueIds.includes(Currvalueid);
|
|
8440
8462
|
});
|
|
8441
8463
|
return _inStock5 ? 1 : 0;
|
|
8464
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
|
|
8465
|
+
var _ProductInfoObj$data7;
|
|
8466
|
+
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8467
|
+
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
8468
|
+
var _variants6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.variants) || [];
|
|
8469
|
+
|
|
8470
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8471
|
+
var _selectedValues6 = [];
|
|
8472
|
+
_options6.forEach(function (option) {
|
|
8473
|
+
option.optionvalues.forEach(function (value) {
|
|
8474
|
+
if (value.isselected === 1) {
|
|
8475
|
+
_selectedValues6.push({
|
|
8476
|
+
optionid: option.optionid,
|
|
8477
|
+
valueid: value.valueid
|
|
8478
|
+
});
|
|
8479
|
+
}
|
|
8480
|
+
});
|
|
8481
|
+
});
|
|
8482
|
+
_options6.length;
|
|
8483
|
+
var _selectedCount6 = _selectedValues6.length;
|
|
8484
|
+
var _inStockVariants6 = _variants6.filter(function (v) {
|
|
8485
|
+
return v.current_quantity > 0;
|
|
8486
|
+
});
|
|
8487
|
+
|
|
8488
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8489
|
+
if (_selectedCount6 === 0) {
|
|
8490
|
+
return _inStockVariants6.some(function (variant) {
|
|
8491
|
+
return variant.variantoptions.some(function (opt) {
|
|
8492
|
+
return opt.valueid === Currvalueid;
|
|
8493
|
+
});
|
|
8494
|
+
}) ? 1 : 0;
|
|
8495
|
+
}
|
|
8496
|
+
|
|
8497
|
+
// 🧠 Case 2: Only one option selected
|
|
8498
|
+
if (_selectedCount6 === 1) {
|
|
8499
|
+
var _selected6 = _selectedValues6[0];
|
|
8500
|
+
var _selectedOptionId6 = _selected6.optionid;
|
|
8501
|
+
|
|
8502
|
+
// Find which option this Currvalueid belongs to
|
|
8503
|
+
var _currentOptionId6 = null;
|
|
8504
|
+
_options6.forEach(function (option) {
|
|
8505
|
+
option.optionvalues.forEach(function (v) {
|
|
8506
|
+
if (v.valueid === Currvalueid) _currentOptionId6 = option.optionid;
|
|
8507
|
+
});
|
|
8508
|
+
});
|
|
8509
|
+
|
|
8510
|
+
// Same option (e.g., selecting only size)
|
|
8511
|
+
if (_selectedOptionId6 === _currentOptionId6) {
|
|
8512
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8513
|
+
return _inStockVariants6.some(function (variant) {
|
|
8514
|
+
return variant.variantoptions.some(function (opt) {
|
|
8515
|
+
return opt.valueid === Currvalueid;
|
|
8516
|
+
});
|
|
8517
|
+
}) ? 1 : 0;
|
|
8518
|
+
}
|
|
8519
|
+
|
|
8520
|
+
// Different option (e.g., color)
|
|
8521
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8522
|
+
return _inStockVariants6.some(function (variant) {
|
|
8523
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8524
|
+
return v.valueid;
|
|
8525
|
+
});
|
|
8526
|
+
return variantValueIds.includes(_selected6.valueid) && variantValueIds.includes(Currvalueid);
|
|
8527
|
+
}) ? 1 : 0;
|
|
8528
|
+
}
|
|
8529
|
+
|
|
8530
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8531
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8532
|
+
var _inStock6 = _inStockVariants6.some(function (variant) {
|
|
8533
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8534
|
+
return v.valueid;
|
|
8535
|
+
});
|
|
8536
|
+
// Must match all selected except the one that belongs to same option
|
|
8537
|
+
return _selectedValues6.every(function (sel) {
|
|
8538
|
+
if (_options6.some(function (opt) {
|
|
8539
|
+
return opt.optionvalues.some(function (v) {
|
|
8540
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8541
|
+
});
|
|
8542
|
+
})) {
|
|
8543
|
+
// Skip same option
|
|
8544
|
+
return true;
|
|
8545
|
+
}
|
|
8546
|
+
return variantValueIds.includes(sel.valueid);
|
|
8547
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8548
|
+
});
|
|
8549
|
+
return _inStock6 ? 1 : 0;
|
|
8442
8550
|
} else {
|
|
8443
8551
|
return 1;
|
|
8444
8552
|
}
|
|
8445
8553
|
};
|
|
8446
8554
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8447
|
-
var _authdetailsContext$
|
|
8448
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8555
|
+
var _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
8556
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68d28fc494276') {
|
|
8449
8557
|
var _productarr$data, _productarr$data$prod;
|
|
8450
8558
|
var _productarr = ProductInfoObj;
|
|
8451
8559
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8498,8 +8606,8 @@
|
|
|
8498
8606
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8499
8607
|
}
|
|
8500
8608
|
}
|
|
8501
|
-
//
|
|
8502
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8609
|
+
// vout
|
|
8610
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85') {
|
|
8503
8611
|
var _productarr2$data, _productarr2$data$pro;
|
|
8504
8612
|
var _productarr2 = ProductInfoObj;
|
|
8505
8613
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8552,8 +8660,8 @@
|
|
|
8552
8660
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8553
8661
|
}
|
|
8554
8662
|
}
|
|
8555
|
-
//
|
|
8556
|
-
|
|
8663
|
+
// puff n stuff
|
|
8664
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
|
|
8557
8665
|
var _productarr3$data, _productarr3$data$pro;
|
|
8558
8666
|
var _productarr3 = ProductInfoObj;
|
|
8559
8667
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8606,8 +8714,8 @@
|
|
|
8606
8714
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8607
8715
|
}
|
|
8608
8716
|
}
|
|
8609
|
-
//
|
|
8610
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8717
|
+
// dija
|
|
8718
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8611
8719
|
var _productarr4$data, _productarr4$data$pro;
|
|
8612
8720
|
var _productarr4 = ProductInfoObj;
|
|
8613
8721
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8659,7 +8767,9 @@
|
|
|
8659
8767
|
// optional: show user message or disable click
|
|
8660
8768
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8661
8769
|
}
|
|
8662
|
-
}
|
|
8770
|
+
}
|
|
8771
|
+
// angel
|
|
8772
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '67bda57bca71d') {
|
|
8663
8773
|
var _productarr5$data, _productarr5$data$pro;
|
|
8664
8774
|
var _productarr5 = ProductInfoObj;
|
|
8665
8775
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -8711,7 +8821,7 @@
|
|
|
8711
8821
|
// optional: show user message or disable click
|
|
8712
8822
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8713
8823
|
}
|
|
8714
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8824
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69244cc88aa0a') {
|
|
8715
8825
|
var _productarr6$data, _productarr6$data$pro;
|
|
8716
8826
|
var _productarr6 = ProductInfoObj;
|
|
8717
8827
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -8763,6 +8873,58 @@
|
|
|
8763
8873
|
// optional: show user message or disable click
|
|
8764
8874
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8765
8875
|
}
|
|
8876
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '687ca57cc78e8') {
|
|
8877
|
+
var _productarr7$data, _productarr7$data$pro;
|
|
8878
|
+
var _productarr7 = ProductInfoObj;
|
|
8879
|
+
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
8880
|
+
|
|
8881
|
+
// 1. Find variants that include the newly selected value
|
|
8882
|
+
var _validVariants6 = (_productarr7.data.productinfo.variants || []).filter(function (variant) {
|
|
8883
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
8884
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
8885
|
+
});
|
|
8886
|
+
});
|
|
8887
|
+
|
|
8888
|
+
// 2. Build a set of valid value ids
|
|
8889
|
+
var _validValueIds6 = new Set(_validVariants6.flatMap(function (v) {
|
|
8890
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
8891
|
+
return opt.valueid;
|
|
8892
|
+
});
|
|
8893
|
+
}));
|
|
8894
|
+
|
|
8895
|
+
// 3. Loop all options and their values
|
|
8896
|
+
(_productarr7$data$pro = _productarr7.data.productinfo.productoptions) === null || _productarr7$data$pro === void 0 || _productarr7$data$pro.forEach(function (option) {
|
|
8897
|
+
var _option$optionvalues7;
|
|
8898
|
+
var anySelected = false;
|
|
8899
|
+
(_option$optionvalues7 = option.optionvalues) === null || _option$optionvalues7 === void 0 || _option$optionvalues7.forEach(function (value) {
|
|
8900
|
+
// Normalize stock check result to boolean
|
|
8901
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
8902
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
8903
|
+
|
|
8904
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
8905
|
+
if (!_validValueIds6.has(value.valueid) || !inStock) {
|
|
8906
|
+
value.isselected = 0;
|
|
8907
|
+
} else {
|
|
8908
|
+
// keep whatever selection is already there (do not auto-select)
|
|
8909
|
+
if (value.isselected) anySelected = true;
|
|
8910
|
+
}
|
|
8911
|
+
});
|
|
8912
|
+
|
|
8913
|
+
// keep option-level selected state in sync
|
|
8914
|
+
option.isselected = anySelected ? 1 : 0;
|
|
8915
|
+
});
|
|
8916
|
+
|
|
8917
|
+
// 4. Only select the new value if it's in stock
|
|
8918
|
+
var _newInStock6 = function () {
|
|
8919
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
8920
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
8921
|
+
}();
|
|
8922
|
+
if (_newInStock6) {
|
|
8923
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr7);
|
|
8924
|
+
} else {
|
|
8925
|
+
// optional: show user message or disable click
|
|
8926
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8927
|
+
}
|
|
8766
8928
|
} else {
|
|
8767
8929
|
var _productarr$data2;
|
|
8768
8930
|
var productarr = ProductInfoObj;
|
|
@@ -9244,10 +9406,10 @@
|
|
|
9244
9406
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9245
9407
|
runfunc = true;
|
|
9246
9408
|
} else {
|
|
9247
|
-
var _authdetailsContext$
|
|
9409
|
+
var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
9248
9410
|
// here
|
|
9249
9411
|
setvariantnotchosendisclaimer('This field is required');
|
|
9250
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9412
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9251
9413
|
}
|
|
9252
9414
|
} else {
|
|
9253
9415
|
runfunc = true;
|
|
@@ -9331,9 +9493,9 @@
|
|
|
9331
9493
|
};
|
|
9332
9494
|
};
|
|
9333
9495
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9334
|
-
var _authdetailsContext$
|
|
9496
|
+
var _authdetailsContext$i21;
|
|
9335
9497
|
var policyobj = {};
|
|
9336
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9498
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instpolicies) === null || _authdetailsContext$i21 === void 0 || _authdetailsContext$i21.forEach(function (item, index) {
|
|
9337
9499
|
if (item.policytype == policytype) {
|
|
9338
9500
|
policyobj = item;
|
|
9339
9501
|
}
|
|
@@ -9342,7 +9504,7 @@
|
|
|
9342
9504
|
};
|
|
9343
9505
|
var relatedproducts = function relatedproducts() {
|
|
9344
9506
|
if (Relatedproducts.length != 0) {
|
|
9345
|
-
var _authdetailsContext$
|
|
9507
|
+
var _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26;
|
|
9346
9508
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9347
9509
|
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",
|
|
9348
9510
|
style: {
|
|
@@ -9364,9 +9526,9 @@
|
|
|
9364
9526
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9365
9527
|
className: "row m-0 w-100",
|
|
9366
9528
|
style: {
|
|
9367
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9529
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9368
9530
|
}
|
|
9369
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9531
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9370
9532
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9371
9533
|
style: {
|
|
9372
9534
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9385,7 +9547,7 @@
|
|
|
9385
9547
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9386
9548
|
borderRadius: 5
|
|
9387
9549
|
}
|
|
9388
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9550
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9389
9551
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9390
9552
|
style: {
|
|
9391
9553
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9406,8 +9568,8 @@
|
|
|
9406
9568
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
9407
9569
|
transitionBehavior: 'auto',
|
|
9408
9570
|
wrapperClassName: '',
|
|
9409
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9410
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9571
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9572
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9411
9573
|
}, Relatedproducts.map(function (item, index) {
|
|
9412
9574
|
if (item.productinfo != null) {
|
|
9413
9575
|
var _fetchProductInfoQuer49;
|
|
@@ -9477,10 +9639,10 @@
|
|
|
9477
9639
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9478
9640
|
runfunc = true;
|
|
9479
9641
|
} else {
|
|
9480
|
-
var _authdetailsContext$
|
|
9642
|
+
var _authdetailsContext$i27;
|
|
9481
9643
|
// here
|
|
9482
9644
|
setvariantnotchosendisclaimer('This field is required');
|
|
9483
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9645
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9484
9646
|
}
|
|
9485
9647
|
} else {
|
|
9486
9648
|
runfunc = true;
|
|
@@ -9523,8 +9685,8 @@
|
|
|
9523
9685
|
isVarianturlLoaded = _useState58[0],
|
|
9524
9686
|
setisVarianturlLoaded = _useState58[1];
|
|
9525
9687
|
React.useEffect(function () {
|
|
9526
|
-
var _authdetailsContext$
|
|
9527
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9688
|
+
var _authdetailsContext$i28;
|
|
9689
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '68f918a4ccb85') {
|
|
9528
9690
|
var params = new URLSearchParams(window.location.search);
|
|
9529
9691
|
var variantId = params.get('variant');
|
|
9530
9692
|
if (isVarianturlLoaded == false) {
|
|
@@ -10320,7 +10482,7 @@
|
|
|
10320
10482
|
})));
|
|
10321
10483
|
};
|
|
10322
10484
|
var StoreInfo = function StoreInfo(position) {
|
|
10323
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10485
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i30, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i31, _authdetailsContext$i33;
|
|
10324
10486
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10325
10487
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10326
10488
|
style: {
|
|
@@ -10399,8 +10561,8 @@
|
|
|
10399
10561
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10400
10562
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10401
10563
|
onClick: function onClick() {
|
|
10402
|
-
var _authdetailsContext$
|
|
10403
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10564
|
+
var _authdetailsContext$i29;
|
|
10565
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.email), '_self');
|
|
10404
10566
|
}
|
|
10405
10567
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10406
10568
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10420,7 +10582,7 @@
|
|
|
10420
10582
|
style: {
|
|
10421
10583
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10422
10584
|
}
|
|
10423
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10585
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.contactinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10424
10586
|
"class": "col-lg-12 my-2",
|
|
10425
10587
|
style: {
|
|
10426
10588
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10472,25 +10634,25 @@
|
|
|
10472
10634
|
}
|
|
10473
10635
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10474
10636
|
"class": "m-0 p-0"
|
|
10475
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10637
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.contactinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10476
10638
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10477
10639
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10478
10640
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10479
10641
|
onClick: function onClick() {
|
|
10480
|
-
var _authdetailsContext$
|
|
10481
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10642
|
+
var _authdetailsContext$i32;
|
|
10643
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 || (_authdetailsContext$i32 = _authdetailsContext$i32.contactinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.email), '_self');
|
|
10482
10644
|
}
|
|
10483
10645
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10484
10646
|
"class": "m-0 p-0"
|
|
10485
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10647
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10486
10648
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10487
10649
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10488
10650
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10489
10651
|
onClick: function onClick() {
|
|
10490
|
-
var _authdetailsContext$
|
|
10491
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10492
|
-
var _authdetailsContext$
|
|
10493
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10652
|
+
var _authdetailsContext$i34;
|
|
10653
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber) != null) {
|
|
10654
|
+
var _authdetailsContext$i35;
|
|
10655
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber), '_blank');
|
|
10494
10656
|
}
|
|
10495
10657
|
}
|
|
10496
10658
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -10586,7 +10748,7 @@
|
|
|
10586
10748
|
lang: lang,
|
|
10587
10749
|
srcfromprops: props.srcfromprops
|
|
10588
10750
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10589
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10751
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10590
10752
|
actions: (_ref2 = {
|
|
10591
10753
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10592
10754
|
setisoutofstock: setisoutofstock,
|
|
@@ -10596,7 +10758,7 @@
|
|
|
10596
10758
|
lang: lang,
|
|
10597
10759
|
srcfromprops: props.srcfromprops
|
|
10598
10760
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10599
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10761
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10600
10762
|
actions: (_ref3 = {
|
|
10601
10763
|
isOptionInStock: isOptionInStock,
|
|
10602
10764
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10622,7 +10784,7 @@
|
|
|
10622
10784
|
lang: lang,
|
|
10623
10785
|
srcfromprops: props.srcfromprops
|
|
10624
10786
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10625
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10787
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10626
10788
|
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 ',
|
|
10627
10789
|
style: {
|
|
10628
10790
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10813,7 +10975,7 @@
|
|
|
10813
10975
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10814
10976
|
sectionproperties: sectionproperties
|
|
10815
10977
|
})
|
|
10816
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10978
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10817
10979
|
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 ',
|
|
10818
10980
|
style: {
|
|
10819
10981
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10964,12 +11126,12 @@
|
|
|
10964
11126
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10965
11127
|
sectionproperties: sectionproperties
|
|
10966
11128
|
})
|
|
10967
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11129
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10968
11130
|
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 ',
|
|
10969
11131
|
style: {
|
|
10970
11132
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
10971
11133
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
10972
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11134
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
10973
11135
|
}
|
|
10974
11136
|
}, relatedproducts()))));
|
|
10975
11137
|
};
|
|
@@ -58928,7 +59090,7 @@
|
|
|
58928
59090
|
function ownKeys$1z(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; }
|
|
58929
59091
|
function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
58930
59092
|
var ModernFooter = function ModernFooter(props) {
|
|
58931
|
-
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i1, _authdetailsContext$i12, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i24, _authdetailsContext$
|
|
59093
|
+
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i1, _authdetailsContext$i12, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i29;
|
|
58932
59094
|
var _useState = React.useState(''),
|
|
58933
59095
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
58934
59096
|
sectionproperties = _useState2[0],
|
|
@@ -59330,18 +59492,15 @@
|
|
|
59330
59492
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59331
59493
|
}
|
|
59332
59494
|
}, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59333
|
-
"class": ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59495
|
+
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59334
59496
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59335
|
-
"class":
|
|
59497
|
+
"class": ' footerinfotext d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
59336
59498
|
style: {
|
|
59337
59499
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
59338
|
-
cursor:
|
|
59500
|
+
cursor: 'pointer'
|
|
59339
59501
|
},
|
|
59340
59502
|
onClick: function onClick() {
|
|
59341
|
-
|
|
59342
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '69a354f452ce6') {
|
|
59343
|
-
window.open('https://www.google.com/maps/place/%D8%A7%D9%84%D8%AC%D9%8A%D8%B2%D9%87+%D9%81%D9%8A%D8%B5%D9%84+%D8%A7%D9%85%D8%A7%D9%85+%D8%B4%D8%A7%D8%B1%D8%B9+%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%B4%D9%81%D9%8A%E2%80%AD/@29.954503,31.0915694,3652m/data=!3m1!1e3!4m6!3m5!1s0x14584f005089bb03:0x6206a526641b57da!8m2!3d29.952629!4d31.0912631!16s%2Fg%2F11m6f50nhp?hl=en&entry=ttu&g_ep=EgoyMDI2MDMxNS4wIKXMDSoASAFQAw%3D%3D', '_blank');
|
|
59344
|
-
}
|
|
59503
|
+
window.open(sectionproperties.storeinfolocationlink, '_blank');
|
|
59345
59504
|
}
|
|
59346
59505
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
59347
59506
|
"class": ' h-100 d-flex align-items-center justify-content-center ',
|
|
@@ -59351,7 +59510,26 @@
|
|
|
59351
59510
|
}
|
|
59352
59511
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
59353
59512
|
size: sectionproperties.footerinfoicon_fontsize
|
|
59354
|
-
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59513
|
+
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.address_ar)), sectionproperties.showfooteraddress == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.instid) == '69b14b442a4ef' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59514
|
+
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59515
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59516
|
+
"class": ' footerinfotext d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
59517
|
+
style: {
|
|
59518
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
59519
|
+
cursor: 'pointer'
|
|
59520
|
+
},
|
|
59521
|
+
onClick: function onClick() {
|
|
59522
|
+
window.open('https://www.google.com/maps/dir/30.0445808,31.4729892/3rd+Industrial+Zone,+10th+of+Ramadan+City+1,+Al-Sharqia+Governorate+7068013/@30.1631149,31.287023,107074m/data=!3m2!1e3!4b1!4m10!4m9!1m1!4e1!1m5!1m1!1s0x1457fdd6f43ef9d9:0x102b601df7328aa7!2m2!1d31.7883453!2d30.2806276!3e0?entry=ttu&g_ep=EgoyMDI2MDMyNC4wIKXMDSoASAFQAw%3D%3D', '_blank');
|
|
59523
|
+
}
|
|
59524
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
59525
|
+
"class": ' h-100 d-flex align-items-center justify-content-center ',
|
|
59526
|
+
style: {
|
|
59527
|
+
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
59528
|
+
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
59529
|
+
}
|
|
59530
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
59531
|
+
size: sectionproperties.footerinfoicon_fontsize
|
|
59532
|
+
})), '3rd Industrial Zone, 10th of Ramadan City 1, Al-Sharqia Governorate 7068013')), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59355
59533
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
59356
59534
|
onClick: function onClick() {
|
|
59357
59535
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
@@ -59370,14 +59548,14 @@
|
|
|
59370
59548
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59371
59549
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
59372
59550
|
onClick: function onClick() {
|
|
59373
|
-
var _authdetailsContext$
|
|
59374
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59551
|
+
var _authdetailsContext$i27;
|
|
59552
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.contactinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.email), '_self');
|
|
59375
59553
|
}
|
|
59376
59554
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59377
59555
|
"class": ' footerinfotext d-flex align-items-center justify-content-start m-0 p-0 cursor-pointer ',
|
|
59378
59556
|
onClick: function onClick() {
|
|
59379
|
-
var _authdetailsContext$
|
|
59380
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59557
|
+
var _authdetailsContext$i28;
|
|
59558
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.email), '_self');
|
|
59381
59559
|
},
|
|
59382
59560
|
style: {
|
|
59383
59561
|
textTransform: 'none'
|
|
@@ -59388,7 +59566,7 @@
|
|
|
59388
59566
|
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
59389
59567
|
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
59390
59568
|
}
|
|
59391
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59569
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.email)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59392
59570
|
"class": sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'col-lg-4 col-md-12 col-sm-12 mt-md-3' : 'col-lg-3 col-md-12 col-sm-12 mt-md-3'
|
|
59393
59571
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59394
59572
|
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
@@ -59400,15 +59578,15 @@
|
|
|
59400
59578
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
59401
59579
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
59402
59580
|
onClick: function onClick() {
|
|
59403
|
-
var _authdetailsContext$
|
|
59404
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59581
|
+
var _authdetailsContext$i30;
|
|
59582
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.mobileapplink_appstore, '_blank');
|
|
59405
59583
|
}
|
|
59406
59584
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59407
59585
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
59408
59586
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
59409
59587
|
onClick: function onClick() {
|
|
59410
|
-
var _authdetailsContext$
|
|
59411
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59588
|
+
var _authdetailsContext$i31;
|
|
59589
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.mobileapplink_appstore, '_blank');
|
|
59412
59590
|
}
|
|
59413
59591
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59414
59592
|
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
@@ -59416,15 +59594,15 @@
|
|
|
59416
59594
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-flex d-md-none ',
|
|
59417
59595
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
59418
59596
|
onClick: function onClick() {
|
|
59419
|
-
var _authdetailsContext$
|
|
59420
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59597
|
+
var _authdetailsContext$i32;
|
|
59598
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.mobileapplink_playstore, '_blank');
|
|
59421
59599
|
}
|
|
59422
59600
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
59423
59601
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-none d-md-flex ',
|
|
59424
59602
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
59425
59603
|
onClick: function onClick() {
|
|
59426
|
-
var _authdetailsContext$
|
|
59427
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59604
|
+
var _authdetailsContext$i33;
|
|
59605
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.mobileapplink_playstore, '_blank');
|
|
59428
59606
|
}
|
|
59429
59607
|
}))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59430
59608
|
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3 px-lg-5 px-md-2",
|
|
@@ -63111,7 +63289,7 @@
|
|
|
63111
63289
|
style: {
|
|
63112
63290
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
63113
63291
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
63114
|
-
marginTop: authdetailsContext.instinfo.instid == '6978ef34b2564' ? '
|
|
63292
|
+
marginTop: authdetailsContext.instinfo.instid == '6978ef34b2564' ? '50px' : 0
|
|
63115
63293
|
}
|
|
63116
63294
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63117
63295
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 ' : 'col-lg-12 d-flex align-items-center justify-content-start p-0 justify-content-md-center p-0 ',
|
|
@@ -63127,7 +63305,7 @@
|
|
|
63127
63305
|
textAlign: authdetailsContext.instinfo.instid == '6978ef34b2564' ? 'left' : sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
63128
63306
|
}
|
|
63129
63307
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), authdetailsContext.instinfo.instid == '6978ef34b2564' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63130
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 mb-md-
|
|
63308
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 mb-md-50 ' : 'col-lg-12 d-flex align-items-center justify-content-start p-0 justify-content-md-center p-0 mb-md-50 ',
|
|
63131
63309
|
style: {
|
|
63132
63310
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
63133
63311
|
flexDirection: authdetailsContext.instinfo.instid == '6978ef34b2564' ? 'column' : 'row'
|