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.esm.js
CHANGED
|
@@ -246,6 +246,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
246
246
|
_this.state = {
|
|
247
247
|
lang: {
|
|
248
248
|
en: (_en = {
|
|
249
|
+
newest: 'Newest',
|
|
249
250
|
compare: 'Compare',
|
|
250
251
|
sortby: 'Sort by',
|
|
251
252
|
maximum: 'Maximum Quantity',
|
|
@@ -323,6 +324,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
323
324
|
orsignupwith: 'Or Sign up with'
|
|
324
325
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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')),
|
|
325
326
|
ar: (_ar = {
|
|
327
|
+
newest: 'الاحدث',
|
|
326
328
|
compare: 'قارن',
|
|
327
329
|
sortby: 'ترتيب حسب',
|
|
328
330
|
maximum: 'اقصى كمية',
|
|
@@ -3102,6 +3104,11 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
3102
3104
|
}
|
|
3103
3105
|
setdefaultpricing(price);
|
|
3104
3106
|
}, [variantindexcompleted]);
|
|
3107
|
+
var toNumber = function toNumber(value) {
|
|
3108
|
+
if (value == null || value === '') return 0;
|
|
3109
|
+
var number = Number(String(value).replace(/,/g, ''));
|
|
3110
|
+
return isNaN(number) ? 0 : number;
|
|
3111
|
+
};
|
|
3105
3112
|
var SaleCounterPill = function SaleCounterPill() {
|
|
3106
3113
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3;
|
|
3107
3114
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -3123,7 +3130,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
3123
3130
|
color: sectionproperties.counterValueColor,
|
|
3124
3131
|
fontWeight: sectionproperties.counterValueFontWeight
|
|
3125
3132
|
}
|
|
3126
|
-
},
|
|
3133
|
+
}, 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.createElement("div", {
|
|
3127
3134
|
style: {
|
|
3128
3135
|
background: sectionproperties.pillbgcolor,
|
|
3129
3136
|
width: 'fit-content',
|
|
@@ -11610,7 +11617,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
11610
11617
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
11611
11618
|
return parseFloat(Number(price).toFixed(2));
|
|
11612
11619
|
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
11613
|
-
return Math.floor(price).toLocaleString();
|
|
11620
|
+
// return Math.floor(price).toLocaleString();
|
|
11621
|
+
return Number(price).toLocaleString('en-US', {
|
|
11622
|
+
minimumFractionDigits: 0,
|
|
11623
|
+
maximumFractionDigits: 2
|
|
11624
|
+
});
|
|
11625
|
+
} else if (sectionproperties.removedecimals == 'Separated With Comma') {
|
|
11626
|
+
return Number(price).toLocaleString('en-US', {
|
|
11627
|
+
minimumFractionDigits: 0,
|
|
11628
|
+
maximumFractionDigits: 2
|
|
11629
|
+
});
|
|
11614
11630
|
} else {
|
|
11615
11631
|
return price;
|
|
11616
11632
|
}
|
|
@@ -16200,7 +16216,7 @@ styleInject(css_248z$G);
|
|
|
16200
16216
|
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; }
|
|
16201
16217
|
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(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; }
|
|
16202
16218
|
var Checkout = function Checkout(props) {
|
|
16203
|
-
var _fetchTabexCountriesQ2, _css,
|
|
16219
|
+
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;
|
|
16204
16220
|
var _useState = useState(null),
|
|
16205
16221
|
_useState2 = _slicedToArray(_useState, 2);
|
|
16206
16222
|
_useState2[0];
|
|
@@ -16803,7 +16819,7 @@ var Checkout = function Checkout(props) {
|
|
|
16803
16819
|
return isloading;
|
|
16804
16820
|
};
|
|
16805
16821
|
var Mycart = function Mycart() {
|
|
16806
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i8, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55,
|
|
16822
|
+
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;
|
|
16807
16823
|
return /*#__PURE__*/React.createElement("div", {
|
|
16808
16824
|
className: "row m-0 w-100 mb-md-3"
|
|
16809
16825
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -16942,33 +16958,51 @@ var Checkout = function Checkout(props) {
|
|
|
16942
16958
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16943
16959
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16944
16960
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
16945
|
-
}, 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() :
|
|
16961
|
+
}, 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', {
|
|
16962
|
+
minimumFractionDigits: 0,
|
|
16963
|
+
maximumFractionDigits: 2
|
|
16964
|
+
}) : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
16946
16965
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
16947
16966
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16948
16967
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16949
16968
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16950
16969
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
16951
|
-
}, 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() :
|
|
16970
|
+
}, 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', {
|
|
16971
|
+
minimumFractionDigits: 0,
|
|
16972
|
+
maximumFractionDigits: 2
|
|
16973
|
+
}) : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("div", {
|
|
16952
16974
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16953
16975
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16954
16976
|
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 '
|
|
16955
|
-
}, 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() :
|
|
16977
|
+
}, 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', {
|
|
16978
|
+
minimumFractionDigits: 0,
|
|
16979
|
+
maximumFractionDigits: 2
|
|
16980
|
+
}) : parseFloat(item.productinfo.defaultprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React.createElement("div", {
|
|
16956
16981
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
16957
16982
|
}, item.productinfo.variantinfo.hassale == 0 && /*#__PURE__*/React.createElement("div", {
|
|
16958
16983
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16959
16984
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16960
16985
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
16961
|
-
}, 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() :
|
|
16986
|
+
}, 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', {
|
|
16987
|
+
minimumFractionDigits: 0,
|
|
16988
|
+
maximumFractionDigits: 2
|
|
16989
|
+
}) : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
16962
16990
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
16963
16991
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16964
16992
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16965
16993
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16966
16994
|
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 '
|
|
16967
|
-
}, 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() :
|
|
16995
|
+
}, 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', {
|
|
16996
|
+
minimumFractionDigits: 0,
|
|
16997
|
+
maximumFractionDigits: 2
|
|
16998
|
+
}) : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("div", {
|
|
16968
16999
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16969
17000
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16970
17001
|
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 '
|
|
16971
|
-
}, 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() :
|
|
17002
|
+
}, 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', {
|
|
17003
|
+
minimumFractionDigits: 0,
|
|
17004
|
+
maximumFractionDigits: 2
|
|
17005
|
+
}) : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
|
|
16972
17006
|
}
|
|
16973
17007
|
}), /*#__PURE__*/React.createElement("div", {
|
|
16974
17008
|
"class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
|
|
@@ -17072,10 +17106,13 @@ var Checkout = function Checkout(props) {
|
|
|
17072
17106
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17073
17107
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17074
17108
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
17075
|
-
}, 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() :
|
|
17109
|
+
}, 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', {
|
|
17110
|
+
minimumFractionDigits: 0,
|
|
17111
|
+
maximumFractionDigits: 2
|
|
17112
|
+
}) : 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.createElement("div", {
|
|
17076
17113
|
className: "row m-0 w-100"
|
|
17077
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17078
|
-
var
|
|
17114
|
+
}, 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) {
|
|
17115
|
+
var _fetchcustomercartQue57;
|
|
17079
17116
|
return /*#__PURE__*/React.createElement("div", {
|
|
17080
17117
|
"class": "col-lg-12 p-0"
|
|
17081
17118
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -17094,8 +17131,8 @@ var Checkout = function Checkout(props) {
|
|
|
17094
17131
|
style: {
|
|
17095
17132
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
17096
17133
|
}
|
|
17097
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React.createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React.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.createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17098
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17134
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React.createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React.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.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 : '', ")")))));
|
|
17135
|
+
}))), (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.createElement("div", {
|
|
17099
17136
|
className: "row m-0 w-100"
|
|
17100
17137
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17101
17138
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -17108,7 +17145,7 @@ var Checkout = function Checkout(props) {
|
|
|
17108
17145
|
style: {
|
|
17109
17146
|
color: 'red'
|
|
17110
17147
|
}
|
|
17111
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17148
|
+
}, 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.createElement("div", {
|
|
17112
17149
|
className: "col-lg-12 p-0 mb-1"
|
|
17113
17150
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17114
17151
|
className: "row m-0 w-100"
|
|
@@ -17120,7 +17157,7 @@ var Checkout = function Checkout(props) {
|
|
|
17120
17157
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17121
17158
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17122
17159
|
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 '
|
|
17123
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17160
|
+
}, (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.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.createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17124
17161
|
className: "col-lg-12 p-0"
|
|
17125
17162
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17126
17163
|
className: "row m-0 w-100"
|
|
@@ -17128,11 +17165,11 @@ var Checkout = function Checkout(props) {
|
|
|
17128
17165
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
17129
17166
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17130
17167
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
17131
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17168
|
+
}, 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.createElement("div", {
|
|
17132
17169
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17133
17170
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17134
17171
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
17135
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17172
|
+
}, 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.createElement("div", {
|
|
17136
17173
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17137
17174
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17138
17175
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -17171,7 +17208,10 @@ var Checkout = function Checkout(props) {
|
|
|
17171
17208
|
textTransform: sectionproperties.total_texttransform,
|
|
17172
17209
|
color: sectionproperties.total_color
|
|
17173
17210
|
}
|
|
17174
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17211
|
+
}, 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', {
|
|
17212
|
+
minimumFractionDigits: 0,
|
|
17213
|
+
maximumFractionDigits: 2
|
|
17214
|
+
}) : 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.createElement("div", {
|
|
17175
17215
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
17176
17216
|
style: {
|
|
17177
17217
|
background: '#eee',
|
|
@@ -17218,7 +17258,7 @@ var Checkout = function Checkout(props) {
|
|
|
17218
17258
|
width: "20px",
|
|
17219
17259
|
height: "20px",
|
|
17220
17260
|
duration: "1s"
|
|
17221
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17261
|
+
}), !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.createElement("button", {
|
|
17222
17262
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
17223
17263
|
onClick: function onClick() {
|
|
17224
17264
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -17232,7 +17272,7 @@ var Checkout = function Checkout(props) {
|
|
|
17232
17272
|
width: "20px",
|
|
17233
17273
|
height: "20px",
|
|
17234
17274
|
duration: "1s"
|
|
17235
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17275
|
+
}), !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.createElement("div", {
|
|
17236
17276
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
17237
17277
|
style: {
|
|
17238
17278
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -17278,7 +17318,7 @@ var Checkout = function Checkout(props) {
|
|
|
17278
17318
|
t_b: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_b,
|
|
17279
17319
|
t_m: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_m,
|
|
17280
17320
|
lang: langdetect,
|
|
17281
|
-
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17321
|
+
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
|
|
17282
17322
|
}), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
17283
17323
|
className: "col-lg-12 p-0"
|
|
17284
17324
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -17410,7 +17450,7 @@ var Checkout = function Checkout(props) {
|
|
|
17410
17450
|
}, "*")), /*#__PURE__*/React.createElement("input", {
|
|
17411
17451
|
type: 'text',
|
|
17412
17452
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17413
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17453
|
+
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,
|
|
17414
17454
|
onChange: function onChange(event) {
|
|
17415
17455
|
cartinfoupdater('name', event.target.value);
|
|
17416
17456
|
},
|
|
@@ -17430,7 +17470,7 @@ var Checkout = function Checkout(props) {
|
|
|
17430
17470
|
}, "*")), /*#__PURE__*/React.createElement("input", {
|
|
17431
17471
|
type: 'text',
|
|
17432
17472
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17433
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17473
|
+
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,
|
|
17434
17474
|
onChange: function onChange(event) {
|
|
17435
17475
|
var onlyNumbers = event.target.value.replace(/\D/g, ''); // remove non-digits
|
|
17436
17476
|
cartinfoupdater('mobile', onlyNumbers);
|
|
@@ -17460,7 +17500,7 @@ var Checkout = function Checkout(props) {
|
|
|
17460
17500
|
}, langdetect == 'en' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React.createElement("input", {
|
|
17461
17501
|
type: 'text',
|
|
17462
17502
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17463
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17503
|
+
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,
|
|
17464
17504
|
onChange: function onChange(event) {
|
|
17465
17505
|
cartinfoupdater('email', event.target.value);
|
|
17466
17506
|
},
|
|
@@ -17513,8 +17553,8 @@ var Checkout = function Checkout(props) {
|
|
|
17513
17553
|
return option.id;
|
|
17514
17554
|
},
|
|
17515
17555
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
17516
|
-
var
|
|
17517
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17556
|
+
var _fetchcustomercartQue78;
|
|
17557
|
+
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);
|
|
17518
17558
|
}),
|
|
17519
17559
|
onChange: function onChange(option) {
|
|
17520
17560
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2x({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -17568,12 +17608,12 @@ var Checkout = function Checkout(props) {
|
|
|
17568
17608
|
return option.id;
|
|
17569
17609
|
},
|
|
17570
17610
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
17571
|
-
var
|
|
17572
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17611
|
+
var _fetchcustomercartQue79;
|
|
17612
|
+
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);
|
|
17573
17613
|
}),
|
|
17574
17614
|
onChange: function onChange(option) {
|
|
17575
|
-
var
|
|
17576
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17615
|
+
var _fetchcustomercartQue80;
|
|
17616
|
+
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) {
|
|
17577
17617
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2x({}, FetchTabexStatesPayloadobjContext);
|
|
17578
17618
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
17579
17619
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -17625,13 +17665,13 @@ var Checkout = function Checkout(props) {
|
|
|
17625
17665
|
return option.id;
|
|
17626
17666
|
},
|
|
17627
17667
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
17628
|
-
var
|
|
17629
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17668
|
+
var _fetchcustomercartQue81;
|
|
17669
|
+
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);
|
|
17630
17670
|
}),
|
|
17631
17671
|
onChange: function onChange(option) {
|
|
17632
|
-
var
|
|
17672
|
+
var _fetchcustomercartQue82;
|
|
17633
17673
|
cartinfoupdater('cityid', option.id);
|
|
17634
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17674
|
+
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) {
|
|
17635
17675
|
setshowpopup(true);
|
|
17636
17676
|
}
|
|
17637
17677
|
},
|
|
@@ -17650,7 +17690,7 @@ var Checkout = function Checkout(props) {
|
|
|
17650
17690
|
}, "*")), /*#__PURE__*/React.createElement(TextareaAutosize, {
|
|
17651
17691
|
type: 'text',
|
|
17652
17692
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17653
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17693
|
+
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,
|
|
17654
17694
|
onChange: function onChange(event) {
|
|
17655
17695
|
cartinfoupdater('address', event.target.value);
|
|
17656
17696
|
},
|
|
@@ -17665,7 +17705,7 @@ var Checkout = function Checkout(props) {
|
|
|
17665
17705
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React.createElement(TextareaAutosize, {
|
|
17666
17706
|
type: 'text',
|
|
17667
17707
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17668
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17708
|
+
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,
|
|
17669
17709
|
onChange: function onChange(event) {
|
|
17670
17710
|
cartinfoupdater('notes', event.target.value);
|
|
17671
17711
|
},
|
|
@@ -17680,7 +17720,7 @@ var Checkout = function Checkout(props) {
|
|
|
17680
17720
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React.createElement("input", {
|
|
17681
17721
|
type: 'number',
|
|
17682
17722
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17683
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17723
|
+
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,
|
|
17684
17724
|
onChange: function onChange(event) {
|
|
17685
17725
|
cartinfoupdater('aff_code', event.target.value);
|
|
17686
17726
|
},
|
|
@@ -17714,7 +17754,7 @@ var Checkout = function Checkout(props) {
|
|
|
17714
17754
|
onChange: function onChange(event) {
|
|
17715
17755
|
cartinfoupdater('shippingmethod_id', event.target.value);
|
|
17716
17756
|
},
|
|
17717
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17757
|
+
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
|
|
17718
17758
|
}, /*#__PURE__*/React.createElement("option", {
|
|
17719
17759
|
value: null
|
|
17720
17760
|
}, langdetect == 'en' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
|
|
@@ -18009,10 +18049,10 @@ var Checkout = function Checkout(props) {
|
|
|
18009
18049
|
id: 'codcheckbox',
|
|
18010
18050
|
type: "checkbox",
|
|
18011
18051
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18012
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18052
|
+
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,
|
|
18013
18053
|
onChange: function onChange() {
|
|
18014
|
-
var
|
|
18015
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18054
|
+
var _fetchcustomercartQue88;
|
|
18055
|
+
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') {
|
|
18016
18056
|
cartinfoupdater('paymentmethod', 'cod');
|
|
18017
18057
|
setinstapaychosen(false);
|
|
18018
18058
|
setcashchosen(true);
|
|
@@ -18055,10 +18095,10 @@ var Checkout = function Checkout(props) {
|
|
|
18055
18095
|
id: 'codcheckbox',
|
|
18056
18096
|
type: "checkbox",
|
|
18057
18097
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18058
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18098
|
+
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,
|
|
18059
18099
|
onChange: function onChange() {
|
|
18060
|
-
var
|
|
18061
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18100
|
+
var _fetchcustomercartQue90;
|
|
18101
|
+
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') {
|
|
18062
18102
|
cartinfoupdater('paymentmethod', 'instapay');
|
|
18063
18103
|
setinstapaychosen(true);
|
|
18064
18104
|
// alert('1');
|
|
@@ -18086,10 +18126,10 @@ var Checkout = function Checkout(props) {
|
|
|
18086
18126
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18087
18127
|
type: "checkbox",
|
|
18088
18128
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18089
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18129
|
+
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,
|
|
18090
18130
|
onChange: function onChange() {
|
|
18091
|
-
var
|
|
18092
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18131
|
+
var _fetchcustomercartQue92;
|
|
18132
|
+
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') {
|
|
18093
18133
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
18094
18134
|
setinstapaychosen(false);
|
|
18095
18135
|
setcashchosen(false);
|
|
@@ -18120,10 +18160,10 @@ var Checkout = function Checkout(props) {
|
|
|
18120
18160
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18121
18161
|
type: "checkbox",
|
|
18122
18162
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18123
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18163
|
+
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,
|
|
18124
18164
|
onChange: function onChange() {
|
|
18125
|
-
var
|
|
18126
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18165
|
+
var _fetchcustomercartQue94;
|
|
18166
|
+
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') {
|
|
18127
18167
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
18128
18168
|
setinstapaychosen(false);
|
|
18129
18169
|
setcashchosen(false);
|
|
@@ -18153,10 +18193,10 @@ var Checkout = function Checkout(props) {
|
|
|
18153
18193
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18154
18194
|
type: "checkbox",
|
|
18155
18195
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18156
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18196
|
+
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,
|
|
18157
18197
|
onChange: function onChange() {
|
|
18158
|
-
var
|
|
18159
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18198
|
+
var _fetchcustomercartQue96;
|
|
18199
|
+
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') {
|
|
18160
18200
|
cartinfoupdater('paymentmethod', 'valU');
|
|
18161
18201
|
setinstapaychosen(false);
|
|
18162
18202
|
}
|
|
@@ -18175,10 +18215,10 @@ var Checkout = function Checkout(props) {
|
|
|
18175
18215
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18176
18216
|
type: "checkbox",
|
|
18177
18217
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18178
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18218
|
+
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,
|
|
18179
18219
|
onChange: function onChange() {
|
|
18180
|
-
var
|
|
18181
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18220
|
+
var _fetchcustomercartQue98;
|
|
18221
|
+
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') {
|
|
18182
18222
|
cartinfoupdater('paymentmethod', 'Mylo');
|
|
18183
18223
|
setinstapaychosen(false);
|
|
18184
18224
|
}
|
|
@@ -18197,10 +18237,10 @@ var Checkout = function Checkout(props) {
|
|
|
18197
18237
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18198
18238
|
type: "checkbox",
|
|
18199
18239
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18200
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18240
|
+
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,
|
|
18201
18241
|
onChange: function onChange() {
|
|
18202
|
-
var
|
|
18203
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18242
|
+
var _fetchcustomercartQue100;
|
|
18243
|
+
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') {
|
|
18204
18244
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
18205
18245
|
setinstapaychosen(false);
|
|
18206
18246
|
}
|
|
@@ -18219,10 +18259,10 @@ var Checkout = function Checkout(props) {
|
|
|
18219
18259
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18220
18260
|
type: "checkbox",
|
|
18221
18261
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18222
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18262
|
+
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,
|
|
18223
18263
|
onChange: function onChange() {
|
|
18224
|
-
var
|
|
18225
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18264
|
+
var _fetchcustomercartQue102;
|
|
18265
|
+
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') {
|
|
18226
18266
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
18227
18267
|
setinstapaychosen(false);
|
|
18228
18268
|
}
|
|
@@ -18241,10 +18281,10 @@ var Checkout = function Checkout(props) {
|
|
|
18241
18281
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18242
18282
|
type: "checkbox",
|
|
18243
18283
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18244
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18284
|
+
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,
|
|
18245
18285
|
onChange: function onChange() {
|
|
18246
|
-
var
|
|
18247
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18286
|
+
var _fetchcustomercartQue104;
|
|
18287
|
+
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') {
|
|
18248
18288
|
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
18249
18289
|
setinstapaychosen(false);
|
|
18250
18290
|
}
|
|
@@ -18263,10 +18303,10 @@ var Checkout = function Checkout(props) {
|
|
|
18263
18303
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18264
18304
|
type: "checkbox",
|
|
18265
18305
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18266
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18306
|
+
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,
|
|
18267
18307
|
onChange: function onChange() {
|
|
18268
|
-
var
|
|
18269
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18308
|
+
var _fetchcustomercartQue106;
|
|
18309
|
+
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') {
|
|
18270
18310
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
18271
18311
|
setinstapaychosen(false);
|
|
18272
18312
|
}
|
|
@@ -18285,10 +18325,10 @@ var Checkout = function Checkout(props) {
|
|
|
18285
18325
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18286
18326
|
type: "checkbox",
|
|
18287
18327
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18288
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18328
|
+
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,
|
|
18289
18329
|
onChange: function onChange() {
|
|
18290
|
-
var
|
|
18291
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18330
|
+
var _fetchcustomercartQue108;
|
|
18331
|
+
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') {
|
|
18292
18332
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
18293
18333
|
setinstapaychosen(false);
|
|
18294
18334
|
}
|
|
@@ -18307,10 +18347,10 @@ var Checkout = function Checkout(props) {
|
|
|
18307
18347
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18308
18348
|
type: "checkbox",
|
|
18309
18349
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18310
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18350
|
+
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,
|
|
18311
18351
|
onChange: function onChange() {
|
|
18312
|
-
var
|
|
18313
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18352
|
+
var _fetchcustomercartQue110;
|
|
18353
|
+
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') {
|
|
18314
18354
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
18315
18355
|
setinstapaychosen(false);
|
|
18316
18356
|
}
|
|
@@ -18329,10 +18369,10 @@ var Checkout = function Checkout(props) {
|
|
|
18329
18369
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18330
18370
|
type: "checkbox",
|
|
18331
18371
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18332
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18372
|
+
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,
|
|
18333
18373
|
onChange: function onChange() {
|
|
18334
|
-
var
|
|
18335
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18374
|
+
var _fetchcustomercartQue112;
|
|
18375
|
+
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') {
|
|
18336
18376
|
cartinfoupdater('paymentmethod', 'Tamara');
|
|
18337
18377
|
setinstapaychosen(false);
|
|
18338
18378
|
}
|
|
@@ -18351,10 +18391,10 @@ var Checkout = function Checkout(props) {
|
|
|
18351
18391
|
}, /*#__PURE__*/React.createElement("input", {
|
|
18352
18392
|
type: "checkbox",
|
|
18353
18393
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18354
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18394
|
+
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,
|
|
18355
18395
|
onChange: function onChange() {
|
|
18356
|
-
var
|
|
18357
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18396
|
+
var _fetchcustomercartQue114;
|
|
18397
|
+
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') {
|
|
18358
18398
|
cartinfoupdater('paymentmethod', 'Tabby');
|
|
18359
18399
|
setinstapaychosen(false);
|
|
18360
18400
|
}
|
|
@@ -18392,7 +18432,7 @@ var Checkout = function Checkout(props) {
|
|
|
18392
18432
|
color: '#000'
|
|
18393
18433
|
}
|
|
18394
18434
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
18395
|
-
}, langdetect == 'en' ? 'To confirm your order, please transfer a 30% deposit of the order value to [number].' : 'لتأكيد الطلب برجاء تحويل 30% deposit من قيمه الطلب على الرقم'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18435
|
+
}, 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.createElement("div", {
|
|
18396
18436
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
18397
18437
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18398
18438
|
style: {
|
|
@@ -18532,7 +18572,7 @@ var Checkout = function Checkout(props) {
|
|
|
18532
18572
|
color: '#000',
|
|
18533
18573
|
textAlign: 'center'
|
|
18534
18574
|
}
|
|
18535
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18575
|
+
}, 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.createElement(Modal.Footer, null)));
|
|
18536
18576
|
};
|
|
18537
18577
|
|
|
18538
18578
|
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; }
|
|
@@ -21090,7 +21130,7 @@ styleInject(css_248z$E);
|
|
|
21090
21130
|
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; }
|
|
21091
21131
|
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(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; }
|
|
21092
21132
|
var CartSlider = function CartSlider(props) {
|
|
21093
|
-
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i4, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15;
|
|
21133
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i4, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16;
|
|
21094
21134
|
var lang = props.actions.lang;
|
|
21095
21135
|
var langdetect = props.actions.langdetect;
|
|
21096
21136
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -21896,7 +21936,13 @@ var CartSlider = function CartSlider(props) {
|
|
|
21896
21936
|
textTransform: sectionproperties.total_texttransform,
|
|
21897
21937
|
color: sectionproperties.total_color
|
|
21898
21938
|
}
|
|
21899
|
-
}, 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' ?
|
|
21939
|
+
}, 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', {
|
|
21940
|
+
minimumFractionDigits: 0,
|
|
21941
|
+
maximumFractionDigits: 2
|
|
21942
|
+
}) : 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', {
|
|
21943
|
+
minimumFractionDigits: 0,
|
|
21944
|
+
maximumFractionDigits: 2
|
|
21945
|
+
}) : 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.createElement("div", {
|
|
21900
21946
|
"class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
|
|
21901
21947
|
}, /*#__PURE__*/React.createElement("p", {
|
|
21902
21948
|
"class": "m-0 p-0",
|
|
@@ -21905,7 +21951,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
21905
21951
|
fontSize: '13px',
|
|
21906
21952
|
fontWeight: 500
|
|
21907
21953
|
}
|
|
21908
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
21954
|
+
}, 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.createElement("div", {
|
|
21909
21955
|
className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
|
|
21910
21956
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
21911
21957
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
|
|
@@ -21926,7 +21972,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
21926
21972
|
t_b: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_b,
|
|
21927
21973
|
t_m: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_m,
|
|
21928
21974
|
lang: langdetect,
|
|
21929
|
-
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
21975
|
+
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,
|
|
21930
21976
|
divid: 'cartslider'
|
|
21931
21977
|
}), /*#__PURE__*/React.createElement("button", {
|
|
21932
21978
|
className: " ".concat(cart_cssstyles.checkoutbtn),
|
|
@@ -22873,7 +22919,7 @@ var Filter$1 = function Filter(props) {
|
|
|
22873
22919
|
payloadvalue: 'sortdates',
|
|
22874
22920
|
name: lang.dates,
|
|
22875
22921
|
filterarray: [{
|
|
22876
|
-
name: lang.
|
|
22922
|
+
name: lang.newest,
|
|
22877
22923
|
value: 'recent',
|
|
22878
22924
|
isfilterselected: false
|
|
22879
22925
|
}, {
|
|
@@ -26656,15 +26702,23 @@ var CardsSection = function CardsSection(props) {
|
|
|
26656
26702
|
cardobj.productmainimage = arrayItem.productinfo.productmainimage;
|
|
26657
26703
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
26658
26704
|
cardobj.defaultprice = parseFloat(Number(arrayItem.productinfo.defaultprice).toFixed(2));
|
|
26659
|
-
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
26660
|
-
cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
|
|
26705
|
+
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' || sectionproperties.removedecimals == 'Separated With Comma') {
|
|
26706
|
+
// cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
|
|
26707
|
+
cardobj.defaultprice = Number(arrayItem.productinfo.defaultprice).toLocaleString('en-US', {
|
|
26708
|
+
minimumFractionDigits: 0,
|
|
26709
|
+
maximumFractionDigits: 2
|
|
26710
|
+
});
|
|
26661
26711
|
} else {
|
|
26662
26712
|
cardobj.defaultprice = arrayItem.productinfo.defaultprice;
|
|
26663
26713
|
}
|
|
26664
26714
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
26665
26715
|
cardobj.defaultsaleprice = parseFloat(Number(arrayItem.productinfo.defaultsaleprice).toFixed(2));
|
|
26666
|
-
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
26667
|
-
cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
|
|
26716
|
+
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' || sectionproperties.removedecimals == 'Separated With Comma') {
|
|
26717
|
+
// cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
|
|
26718
|
+
cardobj.defaultsaleprice = Number(arrayItem.productinfo.defaultsaleprice).toLocaleString('en-US', {
|
|
26719
|
+
minimumFractionDigits: 0,
|
|
26720
|
+
maximumFractionDigits: 2
|
|
26721
|
+
});
|
|
26668
26722
|
} else {
|
|
26669
26723
|
cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
|
|
26670
26724
|
}
|
|
@@ -56736,7 +56790,7 @@ var Footer3 = function Footer3(props) {
|
|
|
56736
56790
|
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; }
|
|
56737
56791
|
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(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; }
|
|
56738
56792
|
var Footer4 = function Footer4(props) {
|
|
56739
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i0, _authdetailsContext$i11, _authdetailsContext$
|
|
56793
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i0, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
56740
56794
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
56741
56795
|
var lang = props.actions.lang;
|
|
56742
56796
|
var langdetect = props.actions.langdetect;
|
|
@@ -56835,6 +56889,21 @@ var Footer4 = function Footer4(props) {
|
|
|
56835
56889
|
borderColor: sectionproperties.instgrambtnTextcoloronhover
|
|
56836
56890
|
}
|
|
56837
56891
|
}),
|
|
56892
|
+
tiktokbtn: css({
|
|
56893
|
+
cursor: 'pointer',
|
|
56894
|
+
background: sectionproperties.tiktokbtnbgColor,
|
|
56895
|
+
width: sectionproperties.tiktokbtnWidth + 'px',
|
|
56896
|
+
height: sectionproperties.tiktokbtnHeight + 'px',
|
|
56897
|
+
borderRadius: sectionproperties.tiktokbtn_borderRadius + 'px',
|
|
56898
|
+
color: sectionproperties.tiktokbtnTextcolor,
|
|
56899
|
+
border: sectionproperties.tiktokbtnborderwidth + 'px solid ' + sectionproperties.tiktokbtnbordercolor,
|
|
56900
|
+
transition: '.3s',
|
|
56901
|
+
':hover': {
|
|
56902
|
+
background: sectionproperties.tiktokbtnbgColoronhover,
|
|
56903
|
+
color: sectionproperties.tiktokbtnTextcoloronhover,
|
|
56904
|
+
borderColor: sectionproperties.tiktokbtnTextcoloronhover
|
|
56905
|
+
}
|
|
56906
|
+
}),
|
|
56838
56907
|
footersubtitlestyles: css({
|
|
56839
56908
|
textTransform: sectionproperties.footertitle_texttransform,
|
|
56840
56909
|
fontSize: sectionproperties.footertitle__fontsize + 'px',
|
|
@@ -57072,14 +57141,17 @@ var Footer4 = function Footer4(props) {
|
|
|
57072
57141
|
}, /*#__PURE__*/React.createElement("div", {
|
|
57073
57142
|
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"
|
|
57074
57143
|
}, sectionproperties.generaltext_fontSize != 0 && /*#__PURE__*/React.createElement("p", {
|
|
57075
|
-
"class":
|
|
57144
|
+
"class": ' m-0 p-0 wordbreak mr-2 mr-sm-3 '
|
|
57145
|
+
// class={langdetect == 'en' ? ' m-0 p-0 wordbreak mr-2 mr-sm-3 ' : ' m-0 p-0 wordbreak ml-2 ml-sm-3 '}
|
|
57146
|
+
,
|
|
57076
57147
|
style: {
|
|
57077
57148
|
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
57078
57149
|
color: sectionproperties.generaltext_fontColor,
|
|
57079
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
57150
|
+
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
57151
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
57080
57152
|
}
|
|
57081
57153
|
}, 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.createElement("div", {
|
|
57082
|
-
className:
|
|
57154
|
+
className: "".concat(footerStyles.facebook_btn) + ' allcentered mx-2 ',
|
|
57083
57155
|
onClick: function onClick() {
|
|
57084
57156
|
var _authdetailsContext$i8;
|
|
57085
57157
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.facebooklink) != null) {
|
|
@@ -57092,7 +57164,7 @@ var Footer4 = function Footer4(props) {
|
|
|
57092
57164
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
57093
57165
|
size: sectionproperties.facebkbtnniconfontsize
|
|
57094
57166
|
}))), 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.createElement("div", {
|
|
57095
|
-
className:
|
|
57167
|
+
className: "".concat(footerStyles.instgram_btn) + ' allcentered mx-2',
|
|
57096
57168
|
onClick: function onClick() {
|
|
57097
57169
|
var _authdetailsContext$i1;
|
|
57098
57170
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instagramlink) != null) {
|
|
@@ -57104,41 +57176,45 @@ var Footer4 = function Footer4(props) {
|
|
|
57104
57176
|
className: "h-100 allcentered"
|
|
57105
57177
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
57106
57178
|
size: sectionproperties.instgrambtniconfontsize
|
|
57107
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.
|
|
57108
|
-
className:
|
|
57179
|
+
}))), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.telegramlink) && /*#__PURE__*/React.createElement("div", {
|
|
57180
|
+
className: "".concat(footerStyles.facebook_btn) + ' allcentered mx-2 ',
|
|
57109
57181
|
onClick: function onClick() {
|
|
57110
|
-
|
|
57111
|
-
|
|
57112
|
-
|
|
57113
|
-
|
|
57114
|
-
}, /*#__PURE__*/React.createElement(FaPinterestP, {
|
|
57115
|
-
size: sectionproperties.instgrambtniconfontsize
|
|
57116
|
-
}))), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.telegramlink) && /*#__PURE__*/React.createElement("div", {
|
|
57117
|
-
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
57118
|
-
onClick: function onClick() {
|
|
57119
|
-
var _authdetailsContext$i13;
|
|
57120
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.telegramlink) != null) {
|
|
57121
|
-
var _authdetailsContext$i14;
|
|
57122
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.telegramlink, '_blank');
|
|
57182
|
+
var _authdetailsContext$i12;
|
|
57183
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.telegramlink) != null) {
|
|
57184
|
+
var _authdetailsContext$i13;
|
|
57185
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.telegramlink, '_blank');
|
|
57123
57186
|
}
|
|
57124
57187
|
}
|
|
57125
57188
|
}, /*#__PURE__*/React.createElement("i", {
|
|
57126
57189
|
className: "h-100 allcentered"
|
|
57127
57190
|
}, /*#__PURE__*/React.createElement(FaTelegramPlane, {
|
|
57128
57191
|
size: sectionproperties.facebkbtnniconfontsize
|
|
57129
|
-
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57130
|
-
className:
|
|
57192
|
+
}))), 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.createElement("div", {
|
|
57193
|
+
className: "".concat(footerStyles.youtube_btn) + ' allcentered mx-2 ',
|
|
57131
57194
|
onClick: function onClick() {
|
|
57132
|
-
var _authdetailsContext$
|
|
57133
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57134
|
-
var _authdetailsContext$
|
|
57135
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57195
|
+
var _authdetailsContext$i15;
|
|
57196
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
57197
|
+
var _authdetailsContext$i16;
|
|
57198
|
+
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');
|
|
57136
57199
|
}
|
|
57137
57200
|
}
|
|
57138
57201
|
}, /*#__PURE__*/React.createElement("i", {
|
|
57139
57202
|
className: "h-100 allcentered"
|
|
57140
57203
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
57141
57204
|
size: sectionproperties.youtubebtniconfontsize
|
|
57205
|
+
}))), sectionproperties.tiktokshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
57206
|
+
className: "".concat(footerStyles.tiktokbtn) + ' allcentered mx-2 ',
|
|
57207
|
+
onClick: function onClick() {
|
|
57208
|
+
var _authdetailsContext$i17;
|
|
57209
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink) != null) {
|
|
57210
|
+
var _authdetailsContext$i18;
|
|
57211
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.tiktoklink, '_blank');
|
|
57212
|
+
}
|
|
57213
|
+
}
|
|
57214
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
57215
|
+
className: "h-100 allcentered"
|
|
57216
|
+
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
57217
|
+
size: sectionproperties.tiktokbtniconfontsize
|
|
57142
57218
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
57143
57219
|
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"
|
|
57144
57220
|
}, sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|