tabexseriescomponents 0.2.1391 → 0.2.1394
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 +195 -119
- package/dist/index.esm.js +195 -119
- package/dist/index.umd.js +195 -119
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
_this.state = {
|
|
100
100
|
lang: {
|
|
101
101
|
en: (_en = {
|
|
102
|
+
newest: 'Newest',
|
|
102
103
|
compare: 'Compare',
|
|
103
104
|
sortby: 'Sort by',
|
|
104
105
|
maximum: 'Maximum Quantity',
|
|
@@ -176,6 +177,7 @@
|
|
|
176
177
|
orsignupwith: 'Or Sign up with'
|
|
177
178
|
}, _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"](_en, "price", 'Price'), "relatedproducts", 'Related products'), "qty", 'QTY'), "emptyshoppingcart", 'Your shopping cart is empty'), "shopnow", 'Shop now'), "total", 'Total'), "otherinformation", 'Other information'), "productname", 'Product name'), "quantity", 'Quantity'), "orderid", 'Order ID'), _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"](_en, "numberofproducts", 'Number of products'), "checkyourorder", 'Check your order'), "search", 'Search'), "searchproducts", 'Search for products...'), "choosecity", 'Choose city'), "choosestategov", 'Choose state/governorate'), "choosecountry", 'Choose country'), "giftcarddicountcode", 'Gift Card Or Discount Code...'), "nosearchresults", 'No search results'), "sale", 'Sale'), _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"](_en, "nofavoriteproducts", 'Your wishlist is empty'), "loggedoutsuccess", 'Logged out successfully'), "addedtocartsuccess", 'Cart is updated successfully'), "promocodeapplied", 'Promo code is applied.'), "promocoderemoved", 'Promo code is removed'), "countryandstateupdatedsuccess", 'Country and state are updated successfully'), "orderaddedsuccess", 'Order is added successfully'), "addedtowishlist", 'Added to your favourites'), "productrmovedfromwishlist", 'Removed from your favourites'), "fillthemissingfields", 'Please complete the missing fields'), _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"](_en, "passwordsdontmatch", "Passwords don't match"), "loggedinsuccess", 'Logged in successfully'), "subtotal", 'Sub total'), "discount", 'Discount'), "outofzone", 'Out of zone'), "total", 'Total'), "cod", 'Cash on Delivery'), "cardondelivery", 'Credit Card On Delivery'), "onlinepayment", 'Online Payment'), "paymentcardinformation", 'Payment Card Information'), _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"](_en, "shippingfees", 'Shipping fees'), "shippingaddress", 'Shipping address'), "cardnumber", 'Card number'), "year", 'Year'), "month", 'Month'), "cvv", 'CVV'), "nameoncard", 'Name On Card'), "country", 'Country'), "addressdetails", 'ِAddress details'), "stategov", 'State/Governorate'), _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"](_en, "city", 'City'), "paymentmethod", 'Payment method'), "productimage", 'Product image'), "orderdetails", 'Order details'), "orderinvoice", 'Order invoice'), "promocodediscount", 'Promo code discount'), "address", 'Address'), "update", 'Update'), "phonenumber", 'Mobile number'), "completerequiredfields", 'Please complete all required fields'), _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"](_en, "name", 'Name'), "email", 'Email'), "password", 'Password'), "confirmpassword", 'Confirm password'), "showmore", 'Show more'), "showless", 'Show less'), "contactdetails", 'Contact Information'), "asaguest", 'As A Guest'), "choosecountryfirst", 'Please choose country first'), "security", 'Security'), _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"](_en, "personalinformation", 'Personal Information'), "contactus", 'Contact us'), "slogan", 'Your website & mobile application in one place'), "recent", 'Recent'), "oldest", 'Oldest'), "pricehightolow", 'High to low'), "pricelowtohigh", 'Low to High'), "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), "instock", 'In Stock')),
|
|
178
179
|
ar: (_ar = {
|
|
180
|
+
newest: 'الاحدث',
|
|
179
181
|
compare: 'قارن',
|
|
180
182
|
sortby: 'ترتيب حسب',
|
|
181
183
|
maximum: 'اقصى كمية',
|
|
@@ -2955,6 +2957,11 @@
|
|
|
2955
2957
|
}
|
|
2956
2958
|
setdefaultpricing(price);
|
|
2957
2959
|
}, [variantindexcompleted]);
|
|
2960
|
+
var toNumber = function toNumber(value) {
|
|
2961
|
+
if (value == null || value === '') return 0;
|
|
2962
|
+
var number = Number(String(value).replace(/,/g, ''));
|
|
2963
|
+
return isNaN(number) ? 0 : number;
|
|
2964
|
+
};
|
|
2958
2965
|
var SaleCounterPill = function SaleCounterPill() {
|
|
2959
2966
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3;
|
|
2960
2967
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2976,7 +2983,7 @@
|
|
|
2976
2983
|
color: sectionproperties.counterValueColor,
|
|
2977
2984
|
fontWeight: sectionproperties.counterValueFontWeight
|
|
2978
2985
|
}
|
|
2979
|
-
},
|
|
2986
|
+
}, sectionproperties.removedecimals != 'With Decimals' ? toNumber(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - toNumber(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)).toFixed(2) : parseFloat(Math.round(parseInt(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseInt(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)))).toFixed(0), ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2980
2987
|
style: {
|
|
2981
2988
|
background: sectionproperties.pillbgcolor,
|
|
2982
2989
|
width: 'fit-content',
|
|
@@ -11463,7 +11470,16 @@
|
|
|
11463
11470
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
11464
11471
|
return parseFloat(Number(price).toFixed(2));
|
|
11465
11472
|
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
11466
|
-
return Math.floor(price).toLocaleString();
|
|
11473
|
+
// return Math.floor(price).toLocaleString();
|
|
11474
|
+
return Number(price).toLocaleString('en-US', {
|
|
11475
|
+
minimumFractionDigits: 0,
|
|
11476
|
+
maximumFractionDigits: 2
|
|
11477
|
+
});
|
|
11478
|
+
} else if (sectionproperties.removedecimals == 'Separated With Comma') {
|
|
11479
|
+
return Number(price).toLocaleString('en-US', {
|
|
11480
|
+
minimumFractionDigits: 0,
|
|
11481
|
+
maximumFractionDigits: 2
|
|
11482
|
+
});
|
|
11467
11483
|
} else {
|
|
11468
11484
|
return price;
|
|
11469
11485
|
}
|
|
@@ -16053,7 +16069,7 @@
|
|
|
16053
16069
|
function ownKeys$2x(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; }
|
|
16054
16070
|
function _objectSpread$2x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16055
16071
|
var Checkout = function Checkout(props) {
|
|
16056
|
-
var _fetchTabexCountriesQ2, _css,
|
|
16072
|
+
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue74, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue75, _authdetailsContext$i15, _fetchcustomercartQue76, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue77, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _fetchcustomercartQue83, _fetchcustomercartQue84, _fetchcustomercartQue85, _fetchcustomercartQue86, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchcustomercartQue87, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _fetchcustomercartQue89, _authdetailsContext$i47, _fetchcustomercartQue91, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _fetchcustomercartQue93, _authdetailsContext$i54, _authdetailsContext$i55, _fetchcustomercartQue95, _fetchcustomercartQue97, _fetchcustomercartQue99, _authdetailsContext$i56, _fetchcustomercartQue101, _authdetailsContext$i57, _fetchcustomercartQue103, _authdetailsContext$i58, _fetchcustomercartQue105, _authdetailsContext$i59, _fetchcustomercartQue107, _authdetailsContext$i60, _fetchcustomercartQue109, _authdetailsContext$i61, _fetchcustomercartQue111, _authdetailsContext$i62, _fetchcustomercartQue113, _authdetailsContext$i63, _authdetailsContext$i64, _fetchcustomercartQue115, _fetchcustomercartQue116;
|
|
16057
16073
|
var _useState = React.useState(null),
|
|
16058
16074
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
16059
16075
|
_useState2[0];
|
|
@@ -16656,7 +16672,7 @@
|
|
|
16656
16672
|
return isloading;
|
|
16657
16673
|
};
|
|
16658
16674
|
var Mycart = function Mycart() {
|
|
16659
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i8, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55,
|
|
16675
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i8, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _authdetailsContext$i9, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i11, _fetchcustomercartQue72, _authdetailsContext$i12, _fetchcustomercartQue73;
|
|
16660
16676
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16661
16677
|
className: "row m-0 w-100 mb-md-3"
|
|
16662
16678
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16795,33 +16811,51 @@
|
|
|
16795
16811
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16796
16812
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16797
16813
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
16798
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() :
|
|
16814
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.finalprice).toLocaleString('en-US', {
|
|
16815
|
+
minimumFractionDigits: 0,
|
|
16816
|
+
maximumFractionDigits: 2
|
|
16817
|
+
}) : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16799
16818
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
16800
16819
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16801
16820
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16802
16821
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16803
16822
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
16804
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() :
|
|
16823
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.finalprice).toLocaleString('en-US', {
|
|
16824
|
+
minimumFractionDigits: 0,
|
|
16825
|
+
maximumFractionDigits: 2
|
|
16826
|
+
}) : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16805
16827
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16806
16828
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16807
16829
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-left '
|
|
16808
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.defaultprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.defaultprice).toLocaleString() :
|
|
16830
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.defaultprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.defaultprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.defaultprice).toLocaleString('en-US', {
|
|
16831
|
+
minimumFractionDigits: 0,
|
|
16832
|
+
maximumFractionDigits: 2
|
|
16833
|
+
}) : parseFloat(item.productinfo.defaultprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16809
16834
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
16810
16835
|
}, item.productinfo.variantinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16811
16836
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16812
16837
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16813
16838
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
16814
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() :
|
|
16839
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantprice).toLocaleString('en-US', {
|
|
16840
|
+
minimumFractionDigits: 0,
|
|
16841
|
+
maximumFractionDigits: 2
|
|
16842
|
+
}) : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16815
16843
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
16816
16844
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16817
16845
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16818
16846
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16819
16847
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
16820
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() :
|
|
16848
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantsaleprice).toLocaleString('en-US', {
|
|
16849
|
+
minimumFractionDigits: 0,
|
|
16850
|
+
maximumFractionDigits: 2
|
|
16851
|
+
}) : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16821
16852
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16822
16853
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16823
16854
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
16824
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() :
|
|
16855
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantprice).toLocaleString('en-US', {
|
|
16856
|
+
minimumFractionDigits: 0,
|
|
16857
|
+
maximumFractionDigits: 2
|
|
16858
|
+
}) : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
|
|
16825
16859
|
}
|
|
16826
16860
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16827
16861
|
"class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
|
|
@@ -16925,10 +16959,13 @@
|
|
|
16925
16959
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16926
16960
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16927
16961
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
16928
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.totalprice).toLocaleString() :
|
|
16962
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.totalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.totalprice).toLocaleString('en-US', {
|
|
16963
|
+
minimumFractionDigits: 0,
|
|
16964
|
+
maximumFractionDigits: 2
|
|
16965
|
+
}) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.customercart) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.genpayments) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16929
16966
|
className: "row m-0 w-100"
|
|
16930
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16931
|
-
var
|
|
16967
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.customercart) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.genpayments) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.map(function (item, index) {
|
|
16968
|
+
var _fetchcustomercartQue57;
|
|
16932
16969
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16933
16970
|
"class": "col-lg-12 p-0"
|
|
16934
16971
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16947,8 +16984,8 @@
|
|
|
16947
16984
|
style: {
|
|
16948
16985
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
16949
16986
|
}
|
|
16950
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(item.value).toFixed(2), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16951
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16987
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(item.value).toFixed(2), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.customercart) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.totalprice) * (item.value / 100)).toFixed(2), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
|
|
16988
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.customercart) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16952
16989
|
className: "row m-0 w-100"
|
|
16953
16990
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16954
16991
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -16961,7 +16998,7 @@
|
|
|
16961
16998
|
style: {
|
|
16962
16999
|
color: 'red'
|
|
16963
17000
|
}
|
|
16964
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17001
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.customercart) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16965
17002
|
className: "col-lg-12 p-0 mb-1"
|
|
16966
17003
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16967
17004
|
className: "row m-0 w-100"
|
|
@@ -16973,7 +17010,7 @@
|
|
|
16973
17010
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16974
17011
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16975
17012
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
16976
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17013
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16977
17014
|
className: "col-lg-12 p-0"
|
|
16978
17015
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16979
17016
|
className: "row m-0 w-100"
|
|
@@ -16981,11 +17018,11 @@
|
|
|
16981
17018
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16982
17019
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16983
17020
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
16984
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17021
|
+
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16985
17022
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16986
17023
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16987
17024
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
16988
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17025
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue67 !== void 0 && (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) !== null && _fetchcustomercartQue67 !== void 0 && _fetchcustomercartQue67.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16989
17026
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16990
17027
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16991
17028
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -17024,7 +17061,10 @@
|
|
|
17024
17061
|
textTransform: sectionproperties.total_texttransform,
|
|
17025
17062
|
color: sectionproperties.total_color
|
|
17026
17063
|
}
|
|
17027
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17064
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.totalpriceafterdiscount).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.totalpriceafterdiscount).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.totalpriceafterdiscount).toLocaleString('en-US', {
|
|
17065
|
+
minimumFractionDigits: 0,
|
|
17066
|
+
maximumFractionDigits: 2
|
|
17067
|
+
}) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17028
17068
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
17029
17069
|
style: {
|
|
17030
17070
|
background: '#eee',
|
|
@@ -17071,7 +17111,7 @@
|
|
|
17071
17111
|
width: "20px",
|
|
17072
17112
|
height: "20px",
|
|
17073
17113
|
duration: "1s"
|
|
17074
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17114
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
17075
17115
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
17076
17116
|
onClick: function onClick() {
|
|
17077
17117
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -17085,7 +17125,7 @@
|
|
|
17085
17125
|
width: "20px",
|
|
17086
17126
|
height: "20px",
|
|
17087
17127
|
duration: "1s"
|
|
17088
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17128
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17089
17129
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
17090
17130
|
style: {
|
|
17091
17131
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -17131,7 +17171,7 @@
|
|
|
17131
17171
|
t_b: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_b,
|
|
17132
17172
|
t_m: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_m,
|
|
17133
17173
|
lang: langdetect,
|
|
17134
|
-
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17174
|
+
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.customercart) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.totalprice
|
|
17135
17175
|
}), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17136
17176
|
className: "col-lg-12 p-0"
|
|
17137
17177
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -17263,7 +17303,7 @@
|
|
|
17263
17303
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17264
17304
|
type: 'text',
|
|
17265
17305
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17266
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17306
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.name,
|
|
17267
17307
|
onChange: function onChange(event) {
|
|
17268
17308
|
cartinfoupdater('name', event.target.value);
|
|
17269
17309
|
},
|
|
@@ -17283,7 +17323,7 @@
|
|
|
17283
17323
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17284
17324
|
type: 'text',
|
|
17285
17325
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17286
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17326
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.mobile,
|
|
17287
17327
|
onChange: function onChange(event) {
|
|
17288
17328
|
var onlyNumbers = event.target.value.replace(/\D/g, ''); // remove non-digits
|
|
17289
17329
|
cartinfoupdater('mobile', onlyNumbers);
|
|
@@ -17313,7 +17353,7 @@
|
|
|
17313
17353
|
}, langdetect == 'en' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17314
17354
|
type: 'text',
|
|
17315
17355
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17316
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17356
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.email,
|
|
17317
17357
|
onChange: function onChange(event) {
|
|
17318
17358
|
cartinfoupdater('email', event.target.value);
|
|
17319
17359
|
},
|
|
@@ -17366,8 +17406,8 @@
|
|
|
17366
17406
|
return option.id;
|
|
17367
17407
|
},
|
|
17368
17408
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
17369
|
-
var
|
|
17370
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17409
|
+
var _fetchcustomercartQue78;
|
|
17410
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.countryid);
|
|
17371
17411
|
}),
|
|
17372
17412
|
onChange: function onChange(option) {
|
|
17373
17413
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2x({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -17421,12 +17461,12 @@
|
|
|
17421
17461
|
return option.id;
|
|
17422
17462
|
},
|
|
17423
17463
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
17424
|
-
var
|
|
17425
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17464
|
+
var _fetchcustomercartQue79;
|
|
17465
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.stateid);
|
|
17426
17466
|
}),
|
|
17427
17467
|
onChange: function onChange(option) {
|
|
17428
|
-
var
|
|
17429
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17468
|
+
var _fetchcustomercartQue80;
|
|
17469
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.countryid.length) != 0) {
|
|
17430
17470
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2x({}, FetchTabexStatesPayloadobjContext);
|
|
17431
17471
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
17432
17472
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -17478,13 +17518,13 @@
|
|
|
17478
17518
|
return option.id;
|
|
17479
17519
|
},
|
|
17480
17520
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
17481
|
-
var
|
|
17482
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17521
|
+
var _fetchcustomercartQue81;
|
|
17522
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.cityid);
|
|
17483
17523
|
}),
|
|
17484
17524
|
onChange: function onChange(option) {
|
|
17485
|
-
var
|
|
17525
|
+
var _fetchcustomercartQue82;
|
|
17486
17526
|
cartinfoupdater('cityid', option.id);
|
|
17487
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17527
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.customercart) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.zonenotes) != null) {
|
|
17488
17528
|
setshowpopup(true);
|
|
17489
17529
|
}
|
|
17490
17530
|
},
|
|
@@ -17503,7 +17543,7 @@
|
|
|
17503
17543
|
}, "*")), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
17504
17544
|
type: 'text',
|
|
17505
17545
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17506
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17546
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.address,
|
|
17507
17547
|
onChange: function onChange(event) {
|
|
17508
17548
|
cartinfoupdater('address', event.target.value);
|
|
17509
17549
|
},
|
|
@@ -17518,7 +17558,7 @@
|
|
|
17518
17558
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
17519
17559
|
type: 'text',
|
|
17520
17560
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17521
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17561
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.notes,
|
|
17522
17562
|
onChange: function onChange(event) {
|
|
17523
17563
|
cartinfoupdater('notes', event.target.value);
|
|
17524
17564
|
},
|
|
@@ -17533,7 +17573,7 @@
|
|
|
17533
17573
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17534
17574
|
type: 'number',
|
|
17535
17575
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17536
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17576
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.customercart) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.aff_code,
|
|
17537
17577
|
onChange: function onChange(event) {
|
|
17538
17578
|
cartinfoupdater('aff_code', event.target.value);
|
|
17539
17579
|
},
|
|
@@ -17567,7 +17607,7 @@
|
|
|
17567
17607
|
onChange: function onChange(event) {
|
|
17568
17608
|
cartinfoupdater('shippingmethod_id', event.target.value);
|
|
17569
17609
|
},
|
|
17570
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17610
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.shippingmethod_id
|
|
17571
17611
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
17572
17612
|
value: null
|
|
17573
17613
|
}, langdetect == 'en' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
|
|
@@ -17862,10 +17902,10 @@
|
|
|
17862
17902
|
id: 'codcheckbox',
|
|
17863
17903
|
type: "checkbox",
|
|
17864
17904
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
17865
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17905
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.customercart.paymentmethod) == 'cod' ? true : false,
|
|
17866
17906
|
onChange: function onChange() {
|
|
17867
|
-
var
|
|
17868
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17907
|
+
var _fetchcustomercartQue88;
|
|
17908
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) != 'cod') {
|
|
17869
17909
|
cartinfoupdater('paymentmethod', 'cod');
|
|
17870
17910
|
setinstapaychosen(false);
|
|
17871
17911
|
setcashchosen(true);
|
|
@@ -17908,10 +17948,10 @@
|
|
|
17908
17948
|
id: 'codcheckbox',
|
|
17909
17949
|
type: "checkbox",
|
|
17910
17950
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
17911
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17951
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.customercart.paymentmethod) == 'instapay' ? true : false,
|
|
17912
17952
|
onChange: function onChange() {
|
|
17913
|
-
var
|
|
17914
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17953
|
+
var _fetchcustomercartQue90;
|
|
17954
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.paymentmethod) != 'instapay') {
|
|
17915
17955
|
cartinfoupdater('paymentmethod', 'instapay');
|
|
17916
17956
|
setinstapaychosen(true);
|
|
17917
17957
|
// alert('1');
|
|
@@ -17939,10 +17979,10 @@
|
|
|
17939
17979
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17940
17980
|
type: "checkbox",
|
|
17941
17981
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
17942
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17982
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
17943
17983
|
onChange: function onChange() {
|
|
17944
|
-
var
|
|
17945
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17984
|
+
var _fetchcustomercartQue92;
|
|
17985
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.customercart.paymentmethod) != 'cardondelivery') {
|
|
17946
17986
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
17947
17987
|
setinstapaychosen(false);
|
|
17948
17988
|
setcashchosen(false);
|
|
@@ -17973,10 +18013,10 @@
|
|
|
17973
18013
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17974
18014
|
type: "checkbox",
|
|
17975
18015
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
17976
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18016
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
17977
18017
|
onChange: function onChange() {
|
|
17978
|
-
var
|
|
17979
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18018
|
+
var _fetchcustomercartQue94;
|
|
18019
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) != 'onlinepayment') {
|
|
17980
18020
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
17981
18021
|
setinstapaychosen(false);
|
|
17982
18022
|
setcashchosen(false);
|
|
@@ -18006,10 +18046,10 @@
|
|
|
18006
18046
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18007
18047
|
type: "checkbox",
|
|
18008
18048
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18009
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18049
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.customercart.paymentmethod) == 'valU' ? true : false,
|
|
18010
18050
|
onChange: function onChange() {
|
|
18011
|
-
var
|
|
18012
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18051
|
+
var _fetchcustomercartQue96;
|
|
18052
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) != 'valU') {
|
|
18013
18053
|
cartinfoupdater('paymentmethod', 'valU');
|
|
18014
18054
|
setinstapaychosen(false);
|
|
18015
18055
|
}
|
|
@@ -18028,10 +18068,10 @@
|
|
|
18028
18068
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18029
18069
|
type: "checkbox",
|
|
18030
18070
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18031
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18071
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.customercart.paymentmethod) == 'Mylo' ? true : false,
|
|
18032
18072
|
onChange: function onChange() {
|
|
18033
|
-
var
|
|
18034
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18073
|
+
var _fetchcustomercartQue98;
|
|
18074
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue98 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.paymentmethod) != 'Mylo') {
|
|
18035
18075
|
cartinfoupdater('paymentmethod', 'Mylo');
|
|
18036
18076
|
setinstapaychosen(false);
|
|
18037
18077
|
}
|
|
@@ -18050,10 +18090,10 @@
|
|
|
18050
18090
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18051
18091
|
type: "checkbox",
|
|
18052
18092
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18053
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18093
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue99 === void 0 ? void 0 : _fetchcustomercartQue99.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
18054
18094
|
onChange: function onChange() {
|
|
18055
|
-
var
|
|
18056
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18095
|
+
var _fetchcustomercartQue100;
|
|
18096
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue100 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.data) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.customercart.paymentmethod) != 'mobilewallet') {
|
|
18057
18097
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
18058
18098
|
setinstapaychosen(false);
|
|
18059
18099
|
}
|
|
@@ -18072,10 +18112,10 @@
|
|
|
18072
18112
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18073
18113
|
type: "checkbox",
|
|
18074
18114
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18075
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18115
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.customercart) === null || _fetchcustomercartQue101 === void 0 ? void 0 : _fetchcustomercartQue101.paymentmethod) == 'forsa' ? true : false,
|
|
18076
18116
|
onChange: function onChange() {
|
|
18077
|
-
var
|
|
18078
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18117
|
+
var _fetchcustomercartQue102;
|
|
18118
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue102 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.customercart) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.paymentmethod) != 'forsa') {
|
|
18079
18119
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
18080
18120
|
setinstapaychosen(false);
|
|
18081
18121
|
}
|
|
@@ -18094,10 +18134,10 @@
|
|
|
18094
18134
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18095
18135
|
type: "checkbox",
|
|
18096
18136
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18097
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18137
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue103 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue103 === void 0 || (_fetchcustomercartQue103 = _fetchcustomercartQue103.data) === null || _fetchcustomercartQue103 === void 0 || (_fetchcustomercartQue103 = _fetchcustomercartQue103.customercart) === null || _fetchcustomercartQue103 === void 0 ? void 0 : _fetchcustomercartQue103.paymentmethod) == 'Souhoola' ? true : false,
|
|
18098
18138
|
onChange: function onChange() {
|
|
18099
|
-
var
|
|
18100
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18139
|
+
var _fetchcustomercartQue104;
|
|
18140
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue104 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue104 === void 0 || (_fetchcustomercartQue104 = _fetchcustomercartQue104.data) === null || _fetchcustomercartQue104 === void 0 || (_fetchcustomercartQue104 = _fetchcustomercartQue104.customercart) === null || _fetchcustomercartQue104 === void 0 ? void 0 : _fetchcustomercartQue104.paymentmethod) != 'Souhoola') {
|
|
18101
18141
|
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
18102
18142
|
setinstapaychosen(false);
|
|
18103
18143
|
}
|
|
@@ -18116,10 +18156,10 @@
|
|
|
18116
18156
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18117
18157
|
type: "checkbox",
|
|
18118
18158
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18119
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18159
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue105 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue105 === void 0 || (_fetchcustomercartQue105 = _fetchcustomercartQue105.data) === null || _fetchcustomercartQue105 === void 0 || (_fetchcustomercartQue105 = _fetchcustomercartQue105.customercart) === null || _fetchcustomercartQue105 === void 0 ? void 0 : _fetchcustomercartQue105.paymentmethod) == 'paypal' ? true : false,
|
|
18120
18160
|
onChange: function onChange() {
|
|
18121
|
-
var
|
|
18122
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18161
|
+
var _fetchcustomercartQue106;
|
|
18162
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue106 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue106 === void 0 || (_fetchcustomercartQue106 = _fetchcustomercartQue106.data) === null || _fetchcustomercartQue106 === void 0 || (_fetchcustomercartQue106 = _fetchcustomercartQue106.customercart) === null || _fetchcustomercartQue106 === void 0 ? void 0 : _fetchcustomercartQue106.paymentmethod) != 'paypal') {
|
|
18123
18163
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
18124
18164
|
setinstapaychosen(false);
|
|
18125
18165
|
}
|
|
@@ -18138,10 +18178,10 @@
|
|
|
18138
18178
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18139
18179
|
type: "checkbox",
|
|
18140
18180
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18141
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18181
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue107 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue107 === void 0 || (_fetchcustomercartQue107 = _fetchcustomercartQue107.data) === null || _fetchcustomercartQue107 === void 0 || (_fetchcustomercartQue107 = _fetchcustomercartQue107.customercart) === null || _fetchcustomercartQue107 === void 0 ? void 0 : _fetchcustomercartQue107.paymentmethod) == 'bankinstallments' ? true : false,
|
|
18142
18182
|
onChange: function onChange() {
|
|
18143
|
-
var
|
|
18144
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18183
|
+
var _fetchcustomercartQue108;
|
|
18184
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue108 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue108 === void 0 || (_fetchcustomercartQue108 = _fetchcustomercartQue108.data) === null || _fetchcustomercartQue108 === void 0 || (_fetchcustomercartQue108 = _fetchcustomercartQue108.customercart) === null || _fetchcustomercartQue108 === void 0 ? void 0 : _fetchcustomercartQue108.paymentmethod) != 'bankinstallments') {
|
|
18145
18185
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
18146
18186
|
setinstapaychosen(false);
|
|
18147
18187
|
}
|
|
@@ -18160,10 +18200,10 @@
|
|
|
18160
18200
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18161
18201
|
type: "checkbox",
|
|
18162
18202
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18163
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18203
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue109 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue109 === void 0 || (_fetchcustomercartQue109 = _fetchcustomercartQue109.data) === null || _fetchcustomercartQue109 === void 0 || (_fetchcustomercartQue109 = _fetchcustomercartQue109.customercart) === null || _fetchcustomercartQue109 === void 0 ? void 0 : _fetchcustomercartQue109.paymentmethod) == 'Aman' ? true : false,
|
|
18164
18204
|
onChange: function onChange() {
|
|
18165
|
-
var
|
|
18166
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18205
|
+
var _fetchcustomercartQue110;
|
|
18206
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue110 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue110 === void 0 || (_fetchcustomercartQue110 = _fetchcustomercartQue110.data) === null || _fetchcustomercartQue110 === void 0 || (_fetchcustomercartQue110 = _fetchcustomercartQue110.customercart) === null || _fetchcustomercartQue110 === void 0 ? void 0 : _fetchcustomercartQue110.paymentmethod) != 'Aman') {
|
|
18167
18207
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
18168
18208
|
setinstapaychosen(false);
|
|
18169
18209
|
}
|
|
@@ -18182,10 +18222,10 @@
|
|
|
18182
18222
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18183
18223
|
type: "checkbox",
|
|
18184
18224
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18185
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18225
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue111 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue111 === void 0 || (_fetchcustomercartQue111 = _fetchcustomercartQue111.data) === null || _fetchcustomercartQue111 === void 0 || (_fetchcustomercartQue111 = _fetchcustomercartQue111.customercart) === null || _fetchcustomercartQue111 === void 0 ? void 0 : _fetchcustomercartQue111.paymentmethod) == 'Tamara' ? true : false,
|
|
18186
18226
|
onChange: function onChange() {
|
|
18187
|
-
var
|
|
18188
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18227
|
+
var _fetchcustomercartQue112;
|
|
18228
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue112 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue112 === void 0 || (_fetchcustomercartQue112 = _fetchcustomercartQue112.data) === null || _fetchcustomercartQue112 === void 0 || (_fetchcustomercartQue112 = _fetchcustomercartQue112.customercart) === null || _fetchcustomercartQue112 === void 0 ? void 0 : _fetchcustomercartQue112.paymentmethod) != 'Tamara') {
|
|
18189
18229
|
cartinfoupdater('paymentmethod', 'Tamara');
|
|
18190
18230
|
setinstapaychosen(false);
|
|
18191
18231
|
}
|
|
@@ -18204,10 +18244,10 @@
|
|
|
18204
18244
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18205
18245
|
type: "checkbox",
|
|
18206
18246
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18207
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18247
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue113 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue113 === void 0 || (_fetchcustomercartQue113 = _fetchcustomercartQue113.data) === null || _fetchcustomercartQue113 === void 0 ? void 0 : _fetchcustomercartQue113.customercart.paymentmethod) == 'Tabby' ? true : false,
|
|
18208
18248
|
onChange: function onChange() {
|
|
18209
|
-
var
|
|
18210
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18249
|
+
var _fetchcustomercartQue114;
|
|
18250
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue114 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue114 === void 0 || (_fetchcustomercartQue114 = _fetchcustomercartQue114.data) === null || _fetchcustomercartQue114 === void 0 ? void 0 : _fetchcustomercartQue114.customercart.paymentmethod) != 'Tabby') {
|
|
18211
18251
|
cartinfoupdater('paymentmethod', 'Tabby');
|
|
18212
18252
|
setinstapaychosen(false);
|
|
18213
18253
|
}
|
|
@@ -18245,7 +18285,7 @@
|
|
|
18245
18285
|
color: '#000'
|
|
18246
18286
|
}
|
|
18247
18287
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
18248
|
-
}, langdetect == 'en' ? 'To confirm your order, please transfer a 30% deposit of the order value to [number].' : 'لتأكيد الطلب برجاء تحويل 30% deposit من قيمه الطلب على الرقم'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18288
|
+
}, langdetect == 'en' ? 'To confirm your order, please transfer a 30% deposit of the order value to [number].' : 'لتأكيد الطلب برجاء تحويل 30% deposit من قيمه الطلب على الرقم'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue115 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue115 === void 0 || (_fetchcustomercartQue115 = _fetchcustomercartQue115.data) === null || _fetchcustomercartQue115 === void 0 ? void 0 : _fetchcustomercartQue115.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18249
18289
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
18250
18290
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18251
18291
|
style: {
|
|
@@ -18385,7 +18425,7 @@
|
|
|
18385
18425
|
color: '#000',
|
|
18386
18426
|
textAlign: 'center'
|
|
18387
18427
|
}
|
|
18388
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18428
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue116 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue116 === void 0 || (_fetchcustomercartQue116 = _fetchcustomercartQue116.data) === null || _fetchcustomercartQue116 === void 0 || (_fetchcustomercartQue116 = _fetchcustomercartQue116.customercart) === null || _fetchcustomercartQue116 === void 0 ? void 0 : _fetchcustomercartQue116.zonenotes)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
18389
18429
|
};
|
|
18390
18430
|
|
|
18391
18431
|
function ownKeys$2w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -20943,7 +20983,7 @@
|
|
|
20943
20983
|
function ownKeys$2q(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; }
|
|
20944
20984
|
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20945
20985
|
var CartSlider = function CartSlider(props) {
|
|
20946
|
-
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i4, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15;
|
|
20986
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i4, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16;
|
|
20947
20987
|
var lang = props.actions.lang;
|
|
20948
20988
|
var langdetect = props.actions.langdetect;
|
|
20949
20989
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -21749,7 +21789,13 @@
|
|
|
21749
21789
|
textTransform: sectionproperties.total_texttransform,
|
|
21750
21790
|
color: sectionproperties.total_color
|
|
21751
21791
|
}
|
|
21752
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ?
|
|
21792
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.totalprice).toLocaleString('en-US', {
|
|
21793
|
+
minimumFractionDigits: 0,
|
|
21794
|
+
maximumFractionDigits: 2
|
|
21795
|
+
}) : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.totalprice).toLocaleString('en-US', {
|
|
21796
|
+
minimumFractionDigits: 0,
|
|
21797
|
+
maximumFractionDigits: 2
|
|
21798
|
+
}) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue14 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.customercart) === null || _fetchcustomercartQue14 === void 0 ? void 0 : _fetchcustomercartQue14.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21753
21799
|
"class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
|
|
21754
21800
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21755
21801
|
"class": "m-0 p-0",
|
|
@@ -21758,7 +21804,7 @@
|
|
|
21758
21804
|
fontSize: '13px',
|
|
21759
21805
|
fontWeight: 500
|
|
21760
21806
|
}
|
|
21761
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
21807
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.customercart) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.cartitems) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21762
21808
|
className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
|
|
21763
21809
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
21764
21810
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
|
|
@@ -21779,7 +21825,7 @@
|
|
|
21779
21825
|
t_b: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_b,
|
|
21780
21826
|
t_m: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_m,
|
|
21781
21827
|
lang: langdetect,
|
|
21782
|
-
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
21828
|
+
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.customercart) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.totalprice,
|
|
21783
21829
|
divid: 'cartslider'
|
|
21784
21830
|
}), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
21785
21831
|
className: " ".concat(cart_cssstyles.checkoutbtn),
|
|
@@ -22726,7 +22772,7 @@
|
|
|
22726
22772
|
payloadvalue: 'sortdates',
|
|
22727
22773
|
name: lang.dates,
|
|
22728
22774
|
filterarray: [{
|
|
22729
|
-
name: lang.
|
|
22775
|
+
name: lang.newest,
|
|
22730
22776
|
value: 'recent',
|
|
22731
22777
|
isfilterselected: false
|
|
22732
22778
|
}, {
|
|
@@ -26509,15 +26555,23 @@
|
|
|
26509
26555
|
cardobj.productmainimage = arrayItem.productinfo.productmainimage;
|
|
26510
26556
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
26511
26557
|
cardobj.defaultprice = parseFloat(Number(arrayItem.productinfo.defaultprice).toFixed(2));
|
|
26512
|
-
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
26513
|
-
cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
|
|
26558
|
+
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' || sectionproperties.removedecimals == 'Separated With Comma') {
|
|
26559
|
+
// cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
|
|
26560
|
+
cardobj.defaultprice = Number(arrayItem.productinfo.defaultprice).toLocaleString('en-US', {
|
|
26561
|
+
minimumFractionDigits: 0,
|
|
26562
|
+
maximumFractionDigits: 2
|
|
26563
|
+
});
|
|
26514
26564
|
} else {
|
|
26515
26565
|
cardobj.defaultprice = arrayItem.productinfo.defaultprice;
|
|
26516
26566
|
}
|
|
26517
26567
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
26518
26568
|
cardobj.defaultsaleprice = parseFloat(Number(arrayItem.productinfo.defaultsaleprice).toFixed(2));
|
|
26519
|
-
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
26520
|
-
cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
|
|
26569
|
+
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' || sectionproperties.removedecimals == 'Separated With Comma') {
|
|
26570
|
+
// cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
|
|
26571
|
+
cardobj.defaultsaleprice = Number(arrayItem.productinfo.defaultsaleprice).toLocaleString('en-US', {
|
|
26572
|
+
minimumFractionDigits: 0,
|
|
26573
|
+
maximumFractionDigits: 2
|
|
26574
|
+
});
|
|
26521
26575
|
} else {
|
|
26522
26576
|
cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
|
|
26523
26577
|
}
|
|
@@ -56589,7 +56643,7 @@
|
|
|
56589
56643
|
function ownKeys$1I(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; }
|
|
56590
56644
|
function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56591
56645
|
var Footer4 = function Footer4(props) {
|
|
56592
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i0, _authdetailsContext$i11, _authdetailsContext$
|
|
56646
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i0, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
56593
56647
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
56594
56648
|
var lang = props.actions.lang;
|
|
56595
56649
|
var langdetect = props.actions.langdetect;
|
|
@@ -56688,6 +56742,21 @@
|
|
|
56688
56742
|
borderColor: sectionproperties.instgrambtnTextcoloronhover
|
|
56689
56743
|
}
|
|
56690
56744
|
}),
|
|
56745
|
+
tiktokbtn: glamor.css({
|
|
56746
|
+
cursor: 'pointer',
|
|
56747
|
+
background: sectionproperties.tiktokbtnbgColor,
|
|
56748
|
+
width: sectionproperties.tiktokbtnWidth + 'px',
|
|
56749
|
+
height: sectionproperties.tiktokbtnHeight + 'px',
|
|
56750
|
+
borderRadius: sectionproperties.tiktokbtn_borderRadius + 'px',
|
|
56751
|
+
color: sectionproperties.tiktokbtnTextcolor,
|
|
56752
|
+
border: sectionproperties.tiktokbtnborderwidth + 'px solid ' + sectionproperties.tiktokbtnbordercolor,
|
|
56753
|
+
transition: '.3s',
|
|
56754
|
+
':hover': {
|
|
56755
|
+
background: sectionproperties.tiktokbtnbgColoronhover,
|
|
56756
|
+
color: sectionproperties.tiktokbtnTextcoloronhover,
|
|
56757
|
+
borderColor: sectionproperties.tiktokbtnTextcoloronhover
|
|
56758
|
+
}
|
|
56759
|
+
}),
|
|
56691
56760
|
footersubtitlestyles: glamor.css({
|
|
56692
56761
|
textTransform: sectionproperties.footertitle_texttransform,
|
|
56693
56762
|
fontSize: sectionproperties.footertitle__fontsize + 'px',
|
|
@@ -56925,14 +56994,17 @@
|
|
|
56925
56994
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56926
56995
|
className: "col-xl-6 col-lg-6 col-md-6 col-sm-12 d-flex flex-row align-items-center justify-content-start justify-content-sm-center p-0 mb-sm-2"
|
|
56927
56996
|
}, sectionproperties.generaltext_fontSize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
56928
|
-
"class":
|
|
56997
|
+
"class": ' m-0 p-0 wordbreak mr-2 mr-sm-3 '
|
|
56998
|
+
// class={langdetect == 'en' ? ' m-0 p-0 wordbreak mr-2 mr-sm-3 ' : ' m-0 p-0 wordbreak ml-2 ml-sm-3 '}
|
|
56999
|
+
,
|
|
56929
57000
|
style: {
|
|
56930
57001
|
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
56931
57002
|
color: sectionproperties.generaltext_fontColor,
|
|
56932
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
57003
|
+
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
57004
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
56933
57005
|
}
|
|
56934
57006
|
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.facebooklink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56935
|
-
className:
|
|
57007
|
+
className: "".concat(footerStyles.facebook_btn) + ' allcentered mx-2 ',
|
|
56936
57008
|
onClick: function onClick() {
|
|
56937
57009
|
var _authdetailsContext$i8;
|
|
56938
57010
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.facebooklink) != null) {
|
|
@@ -56945,7 +57017,7 @@
|
|
|
56945
57017
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
56946
57018
|
size: sectionproperties.facebkbtnniconfontsize
|
|
56947
57019
|
}))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56948
|
-
className:
|
|
57020
|
+
className: "".concat(footerStyles.instgram_btn) + ' allcentered mx-2',
|
|
56949
57021
|
onClick: function onClick() {
|
|
56950
57022
|
var _authdetailsContext$i1;
|
|
56951
57023
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instagramlink) != null) {
|
|
@@ -56957,41 +57029,45 @@
|
|
|
56957
57029
|
className: "h-100 allcentered"
|
|
56958
57030
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
56959
57031
|
size: sectionproperties.instgrambtniconfontsize
|
|
56960
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.
|
|
56961
|
-
className:
|
|
57032
|
+
}))), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.telegramlink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57033
|
+
className: "".concat(footerStyles.facebook_btn) + ' allcentered mx-2 ',
|
|
56962
57034
|
onClick: function onClick() {
|
|
56963
|
-
|
|
56964
|
-
|
|
56965
|
-
|
|
56966
|
-
|
|
56967
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaPinterestP.FaPinterestP, {
|
|
56968
|
-
size: sectionproperties.instgrambtniconfontsize
|
|
56969
|
-
}))), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.telegramlink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56970
|
-
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
56971
|
-
onClick: function onClick() {
|
|
56972
|
-
var _authdetailsContext$i13;
|
|
56973
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.telegramlink) != null) {
|
|
56974
|
-
var _authdetailsContext$i14;
|
|
56975
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.telegramlink, '_blank');
|
|
57035
|
+
var _authdetailsContext$i12;
|
|
57036
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.telegramlink) != null) {
|
|
57037
|
+
var _authdetailsContext$i13;
|
|
57038
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.telegramlink, '_blank');
|
|
56976
57039
|
}
|
|
56977
57040
|
}
|
|
56978
57041
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
56979
57042
|
className: "h-100 allcentered"
|
|
56980
57043
|
}, /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
56981
57044
|
size: sectionproperties.facebkbtnniconfontsize
|
|
56982
|
-
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
56983
|
-
className:
|
|
57045
|
+
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57046
|
+
className: "".concat(footerStyles.youtube_btn) + ' allcentered mx-2 ',
|
|
56984
57047
|
onClick: function onClick() {
|
|
56985
|
-
var _authdetailsContext$
|
|
56986
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
56987
|
-
var _authdetailsContext$
|
|
56988
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57048
|
+
var _authdetailsContext$i15;
|
|
57049
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
57050
|
+
var _authdetailsContext$i16;
|
|
57051
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
|
|
56989
57052
|
}
|
|
56990
57053
|
}
|
|
56991
57054
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
56992
57055
|
className: "h-100 allcentered"
|
|
56993
57056
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
56994
57057
|
size: sectionproperties.youtubebtniconfontsize
|
|
57058
|
+
}))), sectionproperties.tiktokshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57059
|
+
className: "".concat(footerStyles.tiktokbtn) + ' allcentered mx-2 ',
|
|
57060
|
+
onClick: function onClick() {
|
|
57061
|
+
var _authdetailsContext$i17;
|
|
57062
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink) != null) {
|
|
57063
|
+
var _authdetailsContext$i18;
|
|
57064
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.tiktoklink, '_blank');
|
|
57065
|
+
}
|
|
57066
|
+
}
|
|
57067
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
57068
|
+
className: "h-100 allcentered"
|
|
57069
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
57070
|
+
size: sectionproperties.tiktokbtniconfontsize
|
|
56995
57071
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56996
57072
|
className: "col-xl-6 col-lg-6 col-md-6 col-sm-12 d-flex flex-row align-items-center justify-content-end p-0 mb-sm-2"
|
|
56997
57073
|
}, sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|