tabexseriescomponents 0.2.1347 → 0.2.1349
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 +373 -316
- package/dist/index.esm.js +373 -316
- package/dist/index.umd.js +373 -316
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8021,7 +8021,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8021
8021
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8022
8022
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8023
8023
|
var Productinfo = function Productinfo(props) {
|
|
8024
|
-
var _css,
|
|
8024
|
+
var _css, _fetchProductInfoQuer88, _ref, _fetchProductInfoQuer89, _authdetailsContext$i40, _ref2, _fetchProductInfoQuer90, _authdetailsContext$i41, _ref3, _fetchProductInfoQuer91, _ref4, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i52, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i53, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i54, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57;
|
|
8025
8025
|
var _useState = React.useState({}),
|
|
8026
8026
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8027
8027
|
ProductInfoObj = _useState2[0],
|
|
@@ -8245,14 +8245,19 @@ var Productinfo = function Productinfo(props) {
|
|
|
8245
8245
|
};
|
|
8246
8246
|
React.useEffect(function () {
|
|
8247
8247
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
8248
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
8248
|
+
var _fetchProductInfoQuer3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
8249
8249
|
var secpropobj = {};
|
|
8250
8250
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
8251
8251
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8252
8252
|
});
|
|
8253
8253
|
setsectionproperties(_objectSpread$2C({}, secpropobj));
|
|
8254
|
-
|
|
8255
|
-
|
|
8254
|
+
if (sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.product_videos) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) != 0) {
|
|
8255
|
+
settabname('videostab');
|
|
8256
|
+
setTabIndex(3);
|
|
8257
|
+
} else {
|
|
8258
|
+
setTabIndex(0);
|
|
8259
|
+
settabname('descriptiontab');
|
|
8260
|
+
}
|
|
8256
8261
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8257
8262
|
settabname('descriptiontab');
|
|
8258
8263
|
// alert('sd');
|
|
@@ -8268,10 +8273,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
8268
8273
|
settabname('descriptiontab');
|
|
8269
8274
|
// alert('sd');
|
|
8270
8275
|
} else {
|
|
8271
|
-
var
|
|
8272
|
-
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8276
|
+
var _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
8277
|
+
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.product_videos) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.length) == 0) {
|
|
8273
8278
|
settabname('shippingpolicytab');
|
|
8274
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8279
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.product_videos) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) == 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
8275
8280
|
// settabname('videostab');
|
|
8276
8281
|
settabname('reviewstab');
|
|
8277
8282
|
}
|
|
@@ -8287,12 +8292,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8287
8292
|
}
|
|
8288
8293
|
}, [StatePagePropertiesContext]);
|
|
8289
8294
|
React.useEffect(function () {
|
|
8290
|
-
var
|
|
8291
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8292
|
-
var
|
|
8293
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8294
|
-
var
|
|
8295
|
-
var temparr = _toConsumableArray__default["default"](fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8295
|
+
var _fetchProductInfoQuer6;
|
|
8296
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.product_videos) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.length) != 0) {
|
|
8297
|
+
var _fetchProductInfoQuer7;
|
|
8298
|
+
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.product_videos)) {
|
|
8299
|
+
var _fetchProductInfoQuer8;
|
|
8300
|
+
var temparr = _toConsumableArray__default["default"](fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.product_videos);
|
|
8296
8301
|
temparr.forEach(function (item) {
|
|
8297
8302
|
item.linkclicked = false;
|
|
8298
8303
|
});
|
|
@@ -8334,33 +8339,33 @@ var Productinfo = function Productinfo(props) {
|
|
|
8334
8339
|
// }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
|
|
8335
8340
|
React.useEffect(function () {
|
|
8336
8341
|
if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
|
|
8337
|
-
var
|
|
8342
|
+
var _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21;
|
|
8338
8343
|
variantchecker();
|
|
8339
8344
|
Pixel_EventsContext('productview', {
|
|
8340
|
-
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8341
|
-
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8342
|
-
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8343
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8344
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8345
|
+
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.name_en,
|
|
8346
|
+
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer0 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.productinfo) === null || _fetchProductInfoQuer0 === void 0 ? void 0 : _fetchProductInfoQuer0.name_ar,
|
|
8347
|
+
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer1 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.productinfo) === null || _fetchProductInfoQuer1 === void 0 ? void 0 : _fetchProductInfoQuer1.productid,
|
|
8348
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.defaultprice,
|
|
8349
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.sku,
|
|
8345
8350
|
currency: 'EGP'
|
|
8346
8351
|
});
|
|
8347
8352
|
Pixel_EventsContext('ViewContent', {
|
|
8348
|
-
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8349
|
-
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8350
|
-
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8351
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8353
|
+
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.name_en,
|
|
8354
|
+
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.name_ar,
|
|
8355
|
+
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.productid,
|
|
8356
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.sku,
|
|
8352
8357
|
currency: 'EGP'
|
|
8353
8358
|
});
|
|
8354
8359
|
Pixel_EventsContext('view_item', {
|
|
8355
8360
|
ecommerce: {
|
|
8356
8361
|
currency: 'EGP',
|
|
8357
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8362
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.defaultprice,
|
|
8358
8363
|
items: [{
|
|
8359
|
-
item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8360
|
-
item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8361
|
-
item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8362
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8363
|
-
price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8364
|
+
item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productid,
|
|
8365
|
+
item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.name_en,
|
|
8366
|
+
item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.name_ar,
|
|
8367
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.sku,
|
|
8368
|
+
price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.defaultprice
|
|
8364
8369
|
}]
|
|
8365
8370
|
}
|
|
8366
8371
|
});
|
|
@@ -8409,18 +8414,18 @@ var Productinfo = function Productinfo(props) {
|
|
|
8409
8414
|
return fullPath;
|
|
8410
8415
|
};
|
|
8411
8416
|
React.useEffect(function () {
|
|
8412
|
-
var
|
|
8417
|
+
var _fetchProductInfoQuer22, _fetchProductInfoQuer23;
|
|
8413
8418
|
// if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
8414
|
-
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8415
|
-
var
|
|
8416
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8417
|
-
var
|
|
8419
|
+
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.productinfo) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.productinfo) != null && ikimagecredcontext != undefined) {
|
|
8420
|
+
var _fetchProductInfoQuer24;
|
|
8421
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productinfo) != null) {
|
|
8422
|
+
var _fetchProductInfoQuer25, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36;
|
|
8418
8423
|
var tempproductimagesarray = [];
|
|
8419
8424
|
var sizeguideimagetemp = [];
|
|
8420
8425
|
var tempproductpdfsarray = [];
|
|
8421
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8422
|
-
var
|
|
8423
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8426
|
+
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productimages)) {
|
|
8427
|
+
var _fetchProductInfoQuer26;
|
|
8428
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 || _fetchProductInfoQuer26.productimages.forEach(function (arrayItem, arrayindex) {
|
|
8424
8429
|
var imagepath = arrayItem.path;
|
|
8425
8430
|
|
|
8426
8431
|
// var sizeguideimagearrayobj = {
|
|
@@ -8474,14 +8479,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
8474
8479
|
variantchecker();
|
|
8475
8480
|
var quantitystepincrearse = 1;
|
|
8476
8481
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
8477
|
-
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8482
|
+
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.productid;
|
|
8478
8483
|
// setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
|
|
8479
|
-
setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8480
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8481
|
-
var
|
|
8484
|
+
setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.maintagid);
|
|
8485
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.maintagid) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.length) != 0) {
|
|
8486
|
+
var _fetchProductInfoQuer31;
|
|
8482
8487
|
GeneralAPIMutationContext.mutate({
|
|
8483
8488
|
endpointurl: '/FetchRelatedProducts',
|
|
8484
|
-
tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8489
|
+
tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.maintagid,
|
|
8485
8490
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
8486
8491
|
if (data.data.status) {
|
|
8487
8492
|
setRelatedproducts(data.data.productsrelated);
|
|
@@ -8489,19 +8494,19 @@ var Productinfo = function Productinfo(props) {
|
|
|
8489
8494
|
}
|
|
8490
8495
|
});
|
|
8491
8496
|
}
|
|
8492
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8497
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.item_type) == 'package list') {
|
|
8493
8498
|
tempaddtocardpayloadobj.item_type = 'package list';
|
|
8494
8499
|
} else {
|
|
8495
8500
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8496
8501
|
}
|
|
8497
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8502
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse) != '') {
|
|
8498
8503
|
var _authdetailsContext$i6;
|
|
8499
8504
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8500
|
-
var _fetchProductInfoQuer36;
|
|
8501
|
-
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse);
|
|
8502
|
-
} else {
|
|
8503
8505
|
var _fetchProductInfoQuer37;
|
|
8504
|
-
quantitystepincrearse =
|
|
8506
|
+
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.quantitystepincrearse);
|
|
8507
|
+
} else {
|
|
8508
|
+
var _fetchProductInfoQuer38;
|
|
8509
|
+
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.quantitystepincrearse);
|
|
8505
8510
|
}
|
|
8506
8511
|
// quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
8507
8512
|
}
|
|
@@ -10175,8 +10180,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10175
10180
|
});
|
|
10176
10181
|
}
|
|
10177
10182
|
if (variantnotmatch.length == 0 && isvariant == true) {
|
|
10178
|
-
var
|
|
10179
|
-
var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10183
|
+
var _fetchProductInfoQuer39;
|
|
10184
|
+
var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.variants[ProductVariantIndex];
|
|
10180
10185
|
var variantid = '';
|
|
10181
10186
|
if (variantobj == undefined) {
|
|
10182
10187
|
setisoutofstock(false);
|
|
@@ -10221,8 +10226,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10221
10226
|
var forcetocheckoutvalue = forcetocheckout;
|
|
10222
10227
|
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
10223
10228
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
10224
|
-
var
|
|
10225
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10229
|
+
var _fetchProductInfoQuer40;
|
|
10230
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.hasvariants) == 1) {
|
|
10226
10231
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10227
10232
|
runfunc = true;
|
|
10228
10233
|
} else {
|
|
@@ -10238,28 +10243,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
10238
10243
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10239
10244
|
}
|
|
10240
10245
|
if (runfunc == true) {
|
|
10241
|
-
var
|
|
10246
|
+
var _fetchProductInfoQuer41, _fetchProductInfoQuer42;
|
|
10242
10247
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
10243
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10244
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10248
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.isproductforcedtocheckout;
|
|
10249
|
+
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.vendorproviderid;
|
|
10245
10250
|
if (forcetocheckoutvalue != undefined) {
|
|
10246
10251
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10247
10252
|
}
|
|
10248
10253
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
10249
10254
|
if (Extrafieldvalidationresponse.status) {
|
|
10250
|
-
var
|
|
10255
|
+
var _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48;
|
|
10251
10256
|
var finalprice = 0;
|
|
10252
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10257
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.hassale) == 1) {
|
|
10253
10258
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10254
10259
|
} else {
|
|
10255
10260
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10256
10261
|
}
|
|
10257
10262
|
Pixel_EventsContext('AddToCart', {
|
|
10258
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10259
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10260
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10263
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.productid],
|
|
10264
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.name_ar),
|
|
10265
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.sku,
|
|
10261
10266
|
content_type: 'product',
|
|
10262
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10267
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.currencyname_en,
|
|
10263
10268
|
value: finalprice,
|
|
10264
10269
|
quantity: addtocardpayloadobj.quantity
|
|
10265
10270
|
});
|
|
@@ -10268,12 +10273,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
10268
10273
|
}
|
|
10269
10274
|
};
|
|
10270
10275
|
var validateextrafields = function validateextrafields() {
|
|
10271
|
-
var
|
|
10276
|
+
var _fetchProductInfoQuer49;
|
|
10272
10277
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
10273
10278
|
var status = false;
|
|
10274
10279
|
var reason = '';
|
|
10275
10280
|
var missingitemsfound = [];
|
|
10276
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10281
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.productextrafields;
|
|
10277
10282
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
10278
10283
|
status = true;
|
|
10279
10284
|
} else {
|
|
@@ -10395,9 +10400,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10395
10400
|
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10396
10401
|
}, Relatedproducts.map(function (item, index) {
|
|
10397
10402
|
if (item.productinfo != null) {
|
|
10398
|
-
var
|
|
10399
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10400
|
-
var
|
|
10403
|
+
var _fetchProductInfoQuer50;
|
|
10404
|
+
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.productid)) {
|
|
10405
|
+
var _fetchProductInfoQuer51, _fetchProductInfoQuer52;
|
|
10401
10406
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10402
10407
|
className: "col-lg-12 mb-3 px-1",
|
|
10403
10408
|
onClick: function onClick() {
|
|
@@ -10447,7 +10452,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10447
10452
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
10448
10453
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10449
10454
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
10450
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10455
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.currencyname_ar, ' '))))));
|
|
10451
10456
|
}
|
|
10452
10457
|
}
|
|
10453
10458
|
}))), sectionproperties.relatedproductsectionstyle == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10456,9 +10461,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10456
10461
|
className: "row m-0 w-100"
|
|
10457
10462
|
}, Relatedproducts.map(function (item, index) {
|
|
10458
10463
|
if (item.productinfo != null) {
|
|
10459
|
-
var
|
|
10460
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10461
|
-
var
|
|
10464
|
+
var _fetchProductInfoQuer53;
|
|
10465
|
+
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.productid)) {
|
|
10466
|
+
var _fetchProductInfoQuer54, _fetchProductInfoQuer55;
|
|
10462
10467
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10463
10468
|
className: "col-lg-3 col-sm-6 mb-3 ",
|
|
10464
10469
|
onClick: function onClick() {
|
|
@@ -10499,7 +10504,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10499
10504
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
10500
10505
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10501
10506
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
10502
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10507
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.currencyname_ar, ' '))))));
|
|
10503
10508
|
}
|
|
10504
10509
|
}
|
|
10505
10510
|
}))))));
|
|
@@ -10526,28 +10531,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
10526
10531
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10527
10532
|
}
|
|
10528
10533
|
if (runfunc == true) {
|
|
10529
|
-
var
|
|
10534
|
+
var _fetchProductInfoQuer56, _fetchProductInfoQuer57;
|
|
10530
10535
|
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
10531
|
-
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10532
|
-
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10536
|
+
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.isproductforcedtocheckout;
|
|
10537
|
+
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.vendorproviderid;
|
|
10533
10538
|
if (forcetocheckoutvalue != undefined) {
|
|
10534
10539
|
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10535
10540
|
}
|
|
10536
10541
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
10537
10542
|
if (Extrafieldvalidationresponse.status) {
|
|
10538
|
-
var
|
|
10543
|
+
var _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63;
|
|
10539
10544
|
var finalprice = 0;
|
|
10540
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10545
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.hassale) == 1) {
|
|
10541
10546
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10542
10547
|
} else {
|
|
10543
10548
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10544
10549
|
}
|
|
10545
10550
|
Pixel_EventsContext('AddToCart', {
|
|
10546
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10547
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10548
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10551
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.productid],
|
|
10552
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.name_ar),
|
|
10553
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.sku,
|
|
10549
10554
|
content_type: 'product',
|
|
10550
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10555
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.currencyname_en,
|
|
10551
10556
|
value: finalprice,
|
|
10552
10557
|
quantity: addtocardpayloadobj.quantity
|
|
10553
10558
|
});
|
|
@@ -11197,16 +11202,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
11197
11202
|
// }
|
|
11198
11203
|
// };
|
|
11199
11204
|
var get_product_extras_price = function get_product_extras_price() {
|
|
11200
|
-
var
|
|
11205
|
+
var _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
11201
11206
|
var totalprice_extras_price = 0;
|
|
11202
|
-
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11207
|
+
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.productinfo) != undefined && fetchcustomercartQueryContext != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.cartitems) != undefined) {
|
|
11203
11208
|
var _fetchcustomercartQue4;
|
|
11204
11209
|
var extras_for_product = [];
|
|
11205
11210
|
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.cartitems;
|
|
11206
11211
|
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (cartitem_in, cartindex_in) {
|
|
11207
11212
|
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
11208
|
-
var
|
|
11209
|
-
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11213
|
+
var _fetchProductInfoQuer66;
|
|
11214
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.productid)) {
|
|
11210
11215
|
extras_for_product.push(cartitem_in);
|
|
11211
11216
|
}
|
|
11212
11217
|
}
|
|
@@ -11219,37 +11224,37 @@ var Productinfo = function Productinfo(props) {
|
|
|
11219
11224
|
return parseFloat(totalprice_extras_price);
|
|
11220
11225
|
};
|
|
11221
11226
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
11222
|
-
var
|
|
11227
|
+
var _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70;
|
|
11223
11228
|
var price = 0;
|
|
11224
11229
|
var quantity = 0;
|
|
11225
11230
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
11226
11231
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
11227
11232
|
}
|
|
11228
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11229
|
-
var
|
|
11230
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11233
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productquantityoptions) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.length) != 0) {
|
|
11234
|
+
var _fetchProductInfoQuer71;
|
|
11235
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.productquantityoptions;
|
|
11231
11236
|
}
|
|
11232
11237
|
if (type == 'defaultprice') {
|
|
11233
|
-
var
|
|
11234
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11235
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11238
|
+
var _fetchProductInfoQuer72, _fetchProductInfoQuer73;
|
|
11239
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.defaultprice;
|
|
11240
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.hasvariants) == 1) {
|
|
11236
11241
|
if (variantindexcompleted != undefined) {
|
|
11237
|
-
var
|
|
11238
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11239
|
-
var
|
|
11240
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11242
|
+
var _fetchProductInfoQuer74;
|
|
11243
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.variants[variantindexcompleted]) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.variantprice) != undefined) {
|
|
11244
|
+
var _fetchProductInfoQuer75;
|
|
11245
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.variants[variantindexcompleted]) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.variantprice;
|
|
11241
11246
|
}
|
|
11242
11247
|
}
|
|
11243
11248
|
}
|
|
11244
11249
|
} else if (type == 'defaultsaleprice') {
|
|
11245
|
-
var
|
|
11246
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11247
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11250
|
+
var _fetchProductInfoQuer76, _fetchProductInfoQuer77;
|
|
11251
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.defaultsaleprice;
|
|
11252
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.hasvariants) == 1) {
|
|
11248
11253
|
if (variantindexcompleted != undefined) {
|
|
11249
|
-
var
|
|
11250
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11251
|
-
var
|
|
11252
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11254
|
+
var _fetchProductInfoQuer78;
|
|
11255
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.variants[variantindexcompleted]) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.variantsaleprice) != undefined) {
|
|
11256
|
+
var _fetchProductInfoQuer79;
|
|
11257
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.variants[variantindexcompleted]) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.variantsaleprice;
|
|
11253
11258
|
}
|
|
11254
11259
|
}
|
|
11255
11260
|
}
|
|
@@ -11348,7 +11353,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11348
11353
|
// }
|
|
11349
11354
|
// };
|
|
11350
11355
|
var getQuantityCondition = function getQuantityCondition() {
|
|
11351
|
-
var
|
|
11356
|
+
var _fetchProductInfoQuer80;
|
|
11352
11357
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11353
11358
|
"class": "col-lg-12 p-0",
|
|
11354
11359
|
style: {
|
|
@@ -11378,12 +11383,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11378
11383
|
height: 1,
|
|
11379
11384
|
background: sectionproperties.pricelisttitlecolor
|
|
11380
11385
|
}
|
|
11381
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11382
|
-
var
|
|
11386
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productquantityoptions) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.map(function (item, index) {
|
|
11387
|
+
var _fetchProductInfoQuer81;
|
|
11383
11388
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11384
11389
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
11385
11390
|
style: {
|
|
11386
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11391
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productquantityoptions) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.length) - 1 != index ? '1rem' : 0
|
|
11387
11392
|
}
|
|
11388
11393
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11389
11394
|
"class": "d-flex align-items-center",
|
|
@@ -11417,7 +11422,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11417
11422
|
})));
|
|
11418
11423
|
};
|
|
11419
11424
|
var StoreInfo = function StoreInfo(position) {
|
|
11420
|
-
var
|
|
11425
|
+
var _fetchProductInfoQuer82, _authdetailsContext$i34, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i35, _authdetailsContext$i37;
|
|
11421
11426
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11422
11427
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11423
11428
|
style: {
|
|
@@ -11468,7 +11473,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11468
11473
|
style: {
|
|
11469
11474
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11470
11475
|
}
|
|
11471
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11476
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productquantityoptions) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11472
11477
|
"class": "col-lg-12 p-0 mb-4"
|
|
11473
11478
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11474
11479
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -11669,7 +11674,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11669
11674
|
lang: langdetect,
|
|
11670
11675
|
amount: getprice_discountpriceprops('defaultprice', 0, variantindexcompleted),
|
|
11671
11676
|
divid: 'prodinfo'
|
|
11672
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11677
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
11673
11678
|
actions: (_ref = {
|
|
11674
11679
|
product_prod_extras_array: product_prod_extras_array,
|
|
11675
11680
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -11683,7 +11688,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11683
11688
|
lang: lang,
|
|
11684
11689
|
srcfromprops: props.srcfromprops
|
|
11685
11690
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11686
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11691
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
11687
11692
|
actions: (_ref2 = {
|
|
11688
11693
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
11689
11694
|
setisoutofstock: setisoutofstock,
|
|
@@ -11693,7 +11698,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11693
11698
|
lang: lang,
|
|
11694
11699
|
srcfromprops: props.srcfromprops
|
|
11695
11700
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
11696
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11701
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
11697
11702
|
actions: (_ref3 = {
|
|
11698
11703
|
isOptionInStock: isOptionInStock,
|
|
11699
11704
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11705,7 +11710,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11705
11710
|
lang: lang,
|
|
11706
11711
|
srcfromprops: props.srcfromprops
|
|
11707
11712
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11708
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11713
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
11709
11714
|
actions: (_ref4 = {
|
|
11710
11715
|
product_prod_extras_array: product_prod_extras_array,
|
|
11711
11716
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -11724,7 +11729,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11724
11729
|
style: {
|
|
11725
11730
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11726
11731
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11727
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11732
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.product_videos) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.product_videos) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.length) == 0 ? 'none' : 'flex'
|
|
11728
11733
|
}
|
|
11729
11734
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11730
11735
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -11786,12 +11791,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11786
11791
|
onClick: function onClick() {
|
|
11787
11792
|
settabname('refundpolicytab');
|
|
11788
11793
|
}
|
|
11789
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11794
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.product_videos) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11790
11795
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
11791
11796
|
onClick: function onClick() {
|
|
11792
11797
|
settabname('videostab');
|
|
11793
11798
|
}
|
|
11794
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11799
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11795
11800
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11796
11801
|
onClick: function onClick() {
|
|
11797
11802
|
settabname('reviewstab');
|
|
@@ -11845,12 +11850,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11845
11850
|
onClick: function onClick() {
|
|
11846
11851
|
settabname('refundpolicytab');
|
|
11847
11852
|
}
|
|
11848
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11853
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.product_videos) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11849
11854
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11850
11855
|
onClick: function onClick() {
|
|
11851
11856
|
settabname('videostab');
|
|
11852
11857
|
}
|
|
11853
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11858
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11854
11859
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11855
11860
|
onClick: function onClick() {
|
|
11856
11861
|
settabname('reviewstab');
|
|
@@ -11984,12 +11989,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11984
11989
|
onClick: function onClick() {
|
|
11985
11990
|
settabname('refundpolicytab');
|
|
11986
11991
|
}
|
|
11987
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11992
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.product_videos) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11988
11993
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11989
11994
|
onClick: function onClick() {
|
|
11990
11995
|
settabname('videostab');
|
|
11991
11996
|
}
|
|
11992
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11997
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11993
11998
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11994
11999
|
onClick: function onClick() {
|
|
11995
12000
|
settabname('reviewstab');
|
|
@@ -12010,7 +12015,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12010
12015
|
color: sectionproperties.prodCatColor
|
|
12011
12016
|
},
|
|
12012
12017
|
dangerouslySetInnerHTML: {
|
|
12013
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12018
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.short_description_ar
|
|
12014
12019
|
}
|
|
12015
12020
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12016
12021
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -12152,7 +12157,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12152
12157
|
color: sectionproperties.prodCatColor
|
|
12153
12158
|
},
|
|
12154
12159
|
dangerouslySetInnerHTML: {
|
|
12155
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12160
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.short_description_ar
|
|
12156
12161
|
}
|
|
12157
12162
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12158
12163
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -12284,7 +12289,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12284
12289
|
color: '#000000'
|
|
12285
12290
|
},
|
|
12286
12291
|
dangerouslySetInnerHTML: {
|
|
12287
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12292
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.description_ar
|
|
12288
12293
|
}
|
|
12289
12294
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12290
12295
|
"class": "col-lg-12 p-0"
|
|
@@ -12295,7 +12300,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12295
12300
|
color: sectionproperties.prodCatColor
|
|
12296
12301
|
},
|
|
12297
12302
|
dangerouslySetInnerHTML: {
|
|
12298
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12303
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.short_description_ar
|
|
12299
12304
|
}
|
|
12300
12305
|
}))
|
|
12301
12306
|
// <DescriptionContent
|
|
@@ -15589,7 +15594,7 @@ styleInject(css_248z$G);
|
|
|
15589
15594
|
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; }
|
|
15590
15595
|
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15591
15596
|
var Checkout = function Checkout(props) {
|
|
15592
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$
|
|
15597
|
+
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i12, _authdetailsContext$i13, _fetchcustomercartQue73, _authdetailsContext$i14, _fetchcustomercartQue74, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _fetchcustomercartQue75, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _fetchcustomercartQue85, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchcustomercartQue87, _authdetailsContext$i46, _fetchcustomercartQue89, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _fetchcustomercartQue91, _authdetailsContext$i53, _authdetailsContext$i54, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i55, _fetchcustomercartQue97, _authdetailsContext$i56, _fetchcustomercartQue99, _authdetailsContext$i57, _fetchcustomercartQue101, _authdetailsContext$i58, _fetchcustomercartQue103, _authdetailsContext$i59, _fetchcustomercartQue105, _authdetailsContext$i60, _fetchcustomercartQue107, _authdetailsContext$i61, _fetchcustomercartQue109, _authdetailsContext$i62, _authdetailsContext$i63, _fetchcustomercartQue111, _fetchcustomercartQue112;
|
|
15593
15598
|
var _useState = React.useState(null),
|
|
15594
15599
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
15595
15600
|
_useState2[0];
|
|
@@ -15883,7 +15888,7 @@ var Checkout = function Checkout(props) {
|
|
|
15883
15888
|
});
|
|
15884
15889
|
};
|
|
15885
15890
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
15886
|
-
var _authdetailsContext$i4, _authdetailsContext$i5;
|
|
15891
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
15887
15892
|
var is_fulfilled = true;
|
|
15888
15893
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20') {
|
|
15889
15894
|
var _OrderExtraFieldsToBe;
|
|
@@ -15901,6 +15906,14 @@ var Checkout = function Checkout(props) {
|
|
|
15901
15906
|
is_fulfilled = false;
|
|
15902
15907
|
}
|
|
15903
15908
|
});
|
|
15909
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f5fec923609') {
|
|
15910
|
+
var _OrderExtraFieldsToBe3;
|
|
15911
|
+
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
15912
|
+
(_OrderExtraFieldsToBe3 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe3 === void 0 || _OrderExtraFieldsToBe3.forEach(function (item, index) {
|
|
15913
|
+
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
15914
|
+
is_fulfilled = false;
|
|
15915
|
+
}
|
|
15916
|
+
});
|
|
15904
15917
|
}
|
|
15905
15918
|
if (is_fulfilled === false) {
|
|
15906
15919
|
alert('Please Fill The Missing fields');
|
|
@@ -16201,7 +16214,7 @@ var Checkout = function Checkout(props) {
|
|
|
16201
16214
|
return isloading;
|
|
16202
16215
|
};
|
|
16203
16216
|
var Mycart = function Mycart() {
|
|
16204
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$
|
|
16217
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i7, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i8, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i10, _fetchcustomercartQue70, _authdetailsContext$i11, _fetchcustomercartQue71;
|
|
16205
16218
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16206
16219
|
className: "row m-0 w-100 mb-md-3"
|
|
16207
16220
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16466,7 +16479,7 @@ var Checkout = function Checkout(props) {
|
|
|
16466
16479
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16467
16480
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16468
16481
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
16469
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16482
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Sub Total' : 'تكلفة المنتجات' : lang.subtotal)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16470
16483
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16471
16484
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16472
16485
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
@@ -16555,7 +16568,7 @@ var Checkout = function Checkout(props) {
|
|
|
16555
16568
|
textTransform: sectionproperties.total_texttransform,
|
|
16556
16569
|
color: sectionproperties.total_color
|
|
16557
16570
|
}
|
|
16558
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16571
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Total' : 'المبلغ الإجمالي' : lang.total)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16559
16572
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16560
16573
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16561
16574
|
className: "row m-0 w-100"
|
|
@@ -16575,7 +16588,7 @@ var Checkout = function Checkout(props) {
|
|
|
16575
16588
|
background: '#eee',
|
|
16576
16589
|
borderRadius: 10
|
|
16577
16590
|
}
|
|
16578
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16591
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16579
16592
|
type: "checkbox",
|
|
16580
16593
|
className: "mx-2 mt-2 mb-auto",
|
|
16581
16594
|
checked: checkboxisChecked,
|
|
@@ -16597,11 +16610,11 @@ var Checkout = function Checkout(props) {
|
|
|
16597
16610
|
style: {
|
|
16598
16611
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
16599
16612
|
}
|
|
16600
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16613
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16601
16614
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16602
16615
|
onClick: function onClick() {
|
|
16603
|
-
var _authdetailsContext$
|
|
16604
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16616
|
+
var _authdetailsContext$i1;
|
|
16617
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '66b4a0338cb14') {
|
|
16605
16618
|
if (!checkboxisChecked) return;
|
|
16606
16619
|
}
|
|
16607
16620
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16609,14 +16622,14 @@ var Checkout = function Checkout(props) {
|
|
|
16609
16622
|
}
|
|
16610
16623
|
addorderfuncrunner();
|
|
16611
16624
|
},
|
|
16612
|
-
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16625
|
+
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '66b4a0338cb14' ? ischeckoutbuttonloading() || !checkboxisChecked : ischeckoutbuttonloading() == true ? true : false
|
|
16613
16626
|
// disabled={}
|
|
16614
16627
|
}, ischeckoutbuttonloading() && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
16615
16628
|
color: "#fff",
|
|
16616
16629
|
width: "20px",
|
|
16617
16630
|
height: "20px",
|
|
16618
16631
|
duration: "1s"
|
|
16619
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.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$
|
|
16632
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.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$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16620
16633
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16621
16634
|
onClick: function onClick() {
|
|
16622
16635
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16733,7 +16746,7 @@ var Checkout = function Checkout(props) {
|
|
|
16733
16746
|
}
|
|
16734
16747
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16735
16748
|
className: "m-0 p-0 wordbreak"
|
|
16736
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16749
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16737
16750
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
16738
16751
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16739
16752
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -16797,7 +16810,7 @@ var Checkout = function Checkout(props) {
|
|
|
16797
16810
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16798
16811
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
16799
16812
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16800
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16813
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
16801
16814
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16802
16815
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16803
16816
|
}, lang.name, /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -16817,7 +16830,7 @@ var Checkout = function Checkout(props) {
|
|
|
16817
16830
|
boxShadow: 'none'
|
|
16818
16831
|
}
|
|
16819
16832
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16820
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16833
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
16821
16834
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16822
16835
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16823
16836
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -16841,16 +16854,16 @@ var Checkout = function Checkout(props) {
|
|
|
16841
16854
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16842
16855
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
16843
16856
|
style: {
|
|
16844
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16857
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
16845
16858
|
}
|
|
16846
16859
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16847
16860
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16848
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16861
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
16849
16862
|
"class": "mx-2",
|
|
16850
16863
|
style: {
|
|
16851
16864
|
color: 'var(--danger)'
|
|
16852
16865
|
}
|
|
16853
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16866
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16854
16867
|
"class": "mx-2",
|
|
16855
16868
|
style: {
|
|
16856
16869
|
fontSize: 13
|
|
@@ -16928,7 +16941,7 @@ var Checkout = function Checkout(props) {
|
|
|
16928
16941
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16929
16942
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16930
16943
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16931
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16944
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '688b86aaf144b' ? langdetect == 'en' ? 'Governorate' : 'الولايه / الاماره' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '698cad1ddcf1a' ? langdetect == 'en' ? 'Governorate' : 'المدينة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
16932
16945
|
"class": "mx-2",
|
|
16933
16946
|
style: {
|
|
16934
16947
|
color: 'var(--danger)'
|
|
@@ -16988,7 +17001,7 @@ var Checkout = function Checkout(props) {
|
|
|
16988
17001
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16989
17002
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16990
17003
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16991
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17004
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '698cad1ddcf1a' ? langdetect == 'en' ? 'Area' : 'الحي' : langdetect == 'en' ? 'Area' : 'المنطقة', authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
16992
17005
|
"class": "mx-2",
|
|
16993
17006
|
style: {
|
|
16994
17007
|
color: 'var(--danger)'
|
|
@@ -17136,7 +17149,7 @@ var Checkout = function Checkout(props) {
|
|
|
17136
17149
|
// events mart
|
|
17137
17150
|
|
|
17138
17151
|
if (item.title_en == 'Event Date') {
|
|
17139
|
-
var _authdetailsContext$
|
|
17152
|
+
var _authdetailsContext$i26, _authdetailsContext$i27;
|
|
17140
17153
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17141
17154
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17142
17155
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -17165,12 +17178,12 @@ var Checkout = function Checkout(props) {
|
|
|
17165
17178
|
// }}
|
|
17166
17179
|
,
|
|
17167
17180
|
onChange: function onChange(event) {
|
|
17168
|
-
var _authdetailsContext$
|
|
17169
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17181
|
+
var _authdetailsContext$i24;
|
|
17182
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instid) == '66b4a0338cb14') {
|
|
17170
17183
|
var selectedDate = event.target.value;
|
|
17171
17184
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17172
|
-
var _authdetailsContext$
|
|
17173
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17185
|
+
var _authdetailsContext$i25;
|
|
17186
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
17174
17187
|
if (minDate && selectedDate < minDate) {
|
|
17175
17188
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17176
17189
|
return;
|
|
@@ -17188,11 +17201,11 @@ var Checkout = function Checkout(props) {
|
|
|
17188
17201
|
style: {
|
|
17189
17202
|
boxShadow: 'none'
|
|
17190
17203
|
},
|
|
17191
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17192
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17204
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
17205
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
17193
17206
|
}));
|
|
17194
17207
|
} else {
|
|
17195
|
-
var _authdetailsContext$
|
|
17208
|
+
var _authdetailsContext$i30, _authdetailsContext$i31;
|
|
17196
17209
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17197
17210
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17198
17211
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -17213,12 +17226,12 @@ var Checkout = function Checkout(props) {
|
|
|
17213
17226
|
// }}
|
|
17214
17227
|
,
|
|
17215
17228
|
onChange: function onChange(event) {
|
|
17216
|
-
var _authdetailsContext$
|
|
17217
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17229
|
+
var _authdetailsContext$i28;
|
|
17230
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '66b4a0338cb14') {
|
|
17218
17231
|
var selectedDate = event.target.value;
|
|
17219
17232
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17220
|
-
var _authdetailsContext$
|
|
17221
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17233
|
+
var _authdetailsContext$i29;
|
|
17234
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
17222
17235
|
if (minDate && selectedDate < minDate) {
|
|
17223
17236
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17224
17237
|
return;
|
|
@@ -17236,8 +17249,8 @@ var Checkout = function Checkout(props) {
|
|
|
17236
17249
|
style: {
|
|
17237
17250
|
boxShadow: 'none'
|
|
17238
17251
|
},
|
|
17239
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17240
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17252
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
17253
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
17241
17254
|
}));
|
|
17242
17255
|
}
|
|
17243
17256
|
}
|
|
@@ -17391,15 +17404,15 @@ var Checkout = function Checkout(props) {
|
|
|
17391
17404
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17392
17405
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
17393
17406
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17394
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17407
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17395
17408
|
style: {
|
|
17396
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17409
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17397
17410
|
borderRadius: 15
|
|
17398
17411
|
}
|
|
17399
17412
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17400
17413
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17401
17414
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17402
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17415
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17403
17416
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17404
17417
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17405
17418
|
"for": "codcheckbox"
|
|
@@ -17426,26 +17439,26 @@ var Checkout = function Checkout(props) {
|
|
|
17426
17439
|
style: {
|
|
17427
17440
|
color: sectionproperties.checkbox_color
|
|
17428
17441
|
}
|
|
17429
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17442
|
+
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17430
17443
|
"class": "col-3 text-end p-0"
|
|
17431
17444
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17432
17445
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17433
17446
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17434
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17447
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17435
17448
|
"class": "col-3 text-end p-0"
|
|
17436
17449
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17437
17450
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17438
17451
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17439
17452
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17440
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17453
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17441
17454
|
style: {
|
|
17442
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17455
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17443
17456
|
borderRadius: 15
|
|
17444
17457
|
}
|
|
17445
17458
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17446
17459
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17447
17460
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17448
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17461
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17449
17462
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17450
17463
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17451
17464
|
"for": "codcheckbox"
|
|
@@ -17472,7 +17485,7 @@ var Checkout = function Checkout(props) {
|
|
|
17472
17485
|
style: {
|
|
17473
17486
|
color: sectionproperties.checkbox_color
|
|
17474
17487
|
}
|
|
17475
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17488
|
+
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17476
17489
|
"class": "col-3 text-end p-0"
|
|
17477
17490
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17478
17491
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -17504,15 +17517,15 @@ var Checkout = function Checkout(props) {
|
|
|
17504
17517
|
/*#__PURE__*/
|
|
17505
17518
|
// <div className=""
|
|
17506
17519
|
React__default["default"].createElement("div", {
|
|
17507
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17520
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17508
17521
|
style: {
|
|
17509
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17522
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17510
17523
|
borderRadius: 15
|
|
17511
17524
|
}
|
|
17512
17525
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17513
17526
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17514
17527
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17515
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17528
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17516
17529
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17517
17530
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
17518
17531
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -17534,12 +17547,12 @@ var Checkout = function Checkout(props) {
|
|
|
17534
17547
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17535
17548
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17536
17549
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17537
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17550
|
+
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17538
17551
|
"class": "col-3 text-end p-0"
|
|
17539
17552
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17540
17553
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
17541
17554
|
"class": checkoutstyles.vismasterimage + ' mx-2 '
|
|
17542
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17555
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17543
17556
|
"class": "col-3 text-end p-0"
|
|
17544
17557
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17545
17558
|
src: 'https://tabex-co.com/storage/StaticImages/fawry.png',
|
|
@@ -17588,7 +17601,7 @@ var Checkout = function Checkout(props) {
|
|
|
17588
17601
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17589
17602
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17590
17603
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17591
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17604
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17592
17605
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17593
17606
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17594
17607
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17610,7 +17623,7 @@ var Checkout = function Checkout(props) {
|
|
|
17610
17623
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17611
17624
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17612
17625
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17613
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17626
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17614
17627
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17615
17628
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17616
17629
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17632,7 +17645,7 @@ var Checkout = function Checkout(props) {
|
|
|
17632
17645
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17633
17646
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17634
17647
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17635
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17648
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17636
17649
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17637
17650
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17638
17651
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17654,7 +17667,7 @@ var Checkout = function Checkout(props) {
|
|
|
17654
17667
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17655
17668
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17656
17669
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
17657
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17670
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17658
17671
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17659
17672
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17660
17673
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17676,7 +17689,7 @@ var Checkout = function Checkout(props) {
|
|
|
17676
17689
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17677
17690
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17678
17691
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17679
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17692
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17680
17693
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17681
17694
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17682
17695
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17698,7 +17711,7 @@ var Checkout = function Checkout(props) {
|
|
|
17698
17711
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17699
17712
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17700
17713
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17701
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17714
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17702
17715
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17703
17716
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17704
17717
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17720,7 +17733,7 @@ var Checkout = function Checkout(props) {
|
|
|
17720
17733
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17721
17734
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17722
17735
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17723
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17736
|
+
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17724
17737
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17725
17738
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17726
17739
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17752,7 +17765,7 @@ var Checkout = function Checkout(props) {
|
|
|
17752
17765
|
dangerouslySetInnerHTML: {
|
|
17753
17766
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
17754
17767
|
}
|
|
17755
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17768
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17756
17769
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17757
17770
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17758
17771
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -17760,7 +17773,7 @@ var Checkout = function Checkout(props) {
|
|
|
17760
17773
|
color: '#000'
|
|
17761
17774
|
}
|
|
17762
17775
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
17763
|
-
}, langdetect == 'en' ? 'To confirm your booking, please transfer a 30% deposit of the booking value to [number].' : 'لتأكيد الحجز برجاء تحويل 30% deposit من قيمه الحجز على الرقم')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17776
|
+
}, langdetect == 'en' ? 'To confirm your booking, please transfer a 30% deposit of the booking value to [number].' : 'لتأكيد الحجز برجاء تحويل 30% deposit من قيمه الحجز على الرقم')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '69c55e0a54075' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17764
17777
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17765
17778
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17766
17779
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -57779,7 +57792,7 @@ var Footer7 = function Footer7(props) {
|
|
|
57779
57792
|
function ownKeys$1D(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; }
|
|
57780
57793
|
function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
57781
57794
|
var Footer8 = function Footer8(props) {
|
|
57782
|
-
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects
|
|
57795
|
+
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i53, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i57, _authdetailsContext$i60, _authdetailsContext$i63, _authdetailsContext$i66, _authdetailsContext$i69, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i72, _logoarrayofobjects$7, _logoarrayofobjects$8, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i74, _authdetailsContext$i75, _authdetailsContext$i78, _authdetailsContext$i81, _authdetailsContext$i84, _authdetailsContext$i87, _authdetailsContext$i89, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
57783
57796
|
var _useState = React.useState(''),
|
|
57784
57797
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
57785
57798
|
sectionproperties = _useState2[0],
|
|
@@ -58058,12 +58071,32 @@ var Footer8 = function Footer8(props) {
|
|
|
58058
58071
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
58059
58072
|
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
58060
58073
|
}
|
|
58074
|
+
}, sectionproperties.showlogo == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58075
|
+
"class": "col-lg-12 d-flex p-md-0 justify-content-start align-items-center justify-content-md-center mb-auto"
|
|
58061
58076
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58062
|
-
"class":
|
|
58077
|
+
"class": "".concat(footerStyles.logoStyles) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
58078
|
+
onClick: function onClick() {
|
|
58079
|
+
routingcountext('home');
|
|
58080
|
+
}
|
|
58081
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58082
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58083
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58084
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
58085
|
+
style: {
|
|
58086
|
+
width: '100%',
|
|
58087
|
+
height: '100%',
|
|
58088
|
+
objectFit: 'contain'
|
|
58089
|
+
},
|
|
58090
|
+
loading: "lazy"
|
|
58091
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58092
|
+
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-5 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-md-3' : 'col-lg-4 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-md-3'
|
|
58063
58093
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58064
58094
|
"class": "row m-0 w-100"
|
|
58065
58095
|
}, sectionproperties.showlogo == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) != '69020f4494f66' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) != '6972421b79d52' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58066
|
-
"class": "col-lg-12 p-md-0
|
|
58096
|
+
"class": "col-lg-12 p-md-0 justify-content-start align-items-center justify-content-md-center mb-auto",
|
|
58097
|
+
style: {
|
|
58098
|
+
display: sectionproperties.prodCatShow == 'Show' ? sectionproperties.descriptionposition == 'Bottom' ? 'none' : 'flex' : 'none'
|
|
58099
|
+
}
|
|
58067
58100
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58068
58101
|
"class": "".concat(footerStyles.logoStyles) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
58069
58102
|
onClick: function onClick() {
|
|
@@ -58072,7 +58105,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58072
58105
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58073
58106
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58074
58107
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58075
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects
|
|
58108
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
58076
58109
|
style: {
|
|
58077
58110
|
width: '100%',
|
|
58078
58111
|
height: '100%',
|
|
@@ -58111,9 +58144,9 @@ var Footer8 = function Footer8(props) {
|
|
|
58111
58144
|
},
|
|
58112
58145
|
src: 'https://image.tabexseries.com/products/6972421b79d52/69930b8d86c2ageneralimage.png'
|
|
58113
58146
|
}))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58114
|
-
"class":
|
|
58147
|
+
"class": 'col-lg-12 p-md-0 d-flex justify-content-start mt-2'
|
|
58115
58148
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58116
|
-
"class": langdetect == 'en' ? ' wordbreak
|
|
58149
|
+
"class": langdetect == 'en' ? ' wordbreak wordbreak3 mb-4 p-md-0 text-left text-md-center ' : ' wordbreak wordbreak3 mb-4 p-md-0 text-right text-md-center ',
|
|
58117
58150
|
style: {
|
|
58118
58151
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
58119
58152
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
@@ -58164,7 +58197,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58164
58197
|
background: sectionproperties.input_bgcolor
|
|
58165
58198
|
}
|
|
58166
58199
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58167
|
-
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-
|
|
58200
|
+
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-7 p-0' : 'col-lg-8 p-0'
|
|
58168
58201
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58169
58202
|
"class": "row m-0 w-100"
|
|
58170
58203
|
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -58179,17 +58212,41 @@ var Footer8 = function Footer8(props) {
|
|
|
58179
58212
|
}
|
|
58180
58213
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58181
58214
|
"class": 'col-lg-6 col-md-12 col-sm-12 align-items-center mb-md-3 p-sm-0'
|
|
58182
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69de6dceab218' && /*#__PURE__*/React__default["default"].createElement("
|
|
58215
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69de6dceab218' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58216
|
+
"class": "row m-0 w-100"
|
|
58217
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58218
|
+
"class": "col-12 p-0 text-start"
|
|
58219
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58183
58220
|
"class": "".concat(footerStyles.textStyles) + ' m-0 p-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer ',
|
|
58184
58221
|
style: {
|
|
58185
58222
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58186
58223
|
}
|
|
58187
|
-
}, langdetect == 'en' ? 'Working Hours' : 'ساعات العمل'),
|
|
58188
|
-
"class": "
|
|
58224
|
+
}, langdetect == 'en' ? 'Working Hours' : 'ساعات العمل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58225
|
+
"class": "col-12 p-0 text-start"
|
|
58226
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58227
|
+
"class": "row m-0 w-100"
|
|
58228
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58229
|
+
"class": "col-6 p-0 text-start"
|
|
58230
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58231
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
58232
|
+
style: {
|
|
58233
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58234
|
+
}
|
|
58235
|
+
}, langdetect == 'en' ? 'Saturday - Thursday' : 'السبت - الخميس')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58236
|
+
"class": "col-6 p-0 text-end"
|
|
58237
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58238
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
58239
|
+
style: {
|
|
58240
|
+
textAlign: langdetect == 'en' ? 'right' : 'left'
|
|
58241
|
+
}
|
|
58242
|
+
}, "9:00am - 9:00pm")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58243
|
+
"class": "col-12 p-0 text-start"
|
|
58244
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58245
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
58189
58246
|
style: {
|
|
58190
58247
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58191
58248
|
}
|
|
58192
|
-
}, langdetect == 'en' ? '
|
|
58249
|
+
}, langdetect == 'en' ? 'If an order is placed after 9 PM, it will be delivered the following day at 9 AM after order confirmation.' : 'كل يوم ما عدا الجمعة من الساعة 9 صباحاً حتى 9 مساءً'))))), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58193
58250
|
"class": "".concat(footerStyles.textStyles) + ' m-0 p-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer ',
|
|
58194
58251
|
style: {
|
|
58195
58252
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
@@ -58213,7 +58270,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58213
58270
|
onClick: function onClick() {
|
|
58214
58271
|
window.open(sectionproperties.storeinfolocationlink, '_blank');
|
|
58215
58272
|
}
|
|
58216
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58273
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_ar))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58217
58274
|
"class": "col-lg-12 justify-content-start align-items-center mb-md-4 p-0"
|
|
58218
58275
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58219
58276
|
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-center"
|
|
@@ -58230,8 +58287,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58230
58287
|
"class": "".concat(footerStyles.appstore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
58231
58288
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
58232
58289
|
onClick: function onClick() {
|
|
58233
|
-
var _authdetailsContext$
|
|
58234
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58290
|
+
var _authdetailsContext$i14;
|
|
58291
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.mobileapplink_appstore, '_blank');
|
|
58235
58292
|
}
|
|
58236
58293
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58237
58294
|
"class": langdetect == 'en' ? 'col-lg-4 col-md-3 col-sm-6 pl-0' : 'col-lg-4 col-md-3 col-sm-6 pr-0'
|
|
@@ -58239,8 +58296,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58239
58296
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
58240
58297
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
58241
58298
|
onClick: function onClick() {
|
|
58242
|
-
var _authdetailsContext$
|
|
58243
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58299
|
+
var _authdetailsContext$i15;
|
|
58300
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.mobileapplink_playstore, '_blank');
|
|
58244
58301
|
}
|
|
58245
58302
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58246
58303
|
"class": 'col-lg-6 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
@@ -58258,8 +58315,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58258
58315
|
}, sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58259
58316
|
"class": footerStyles.footerinfoContainer + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-2 cursor-pointer p-0 ',
|
|
58260
58317
|
onClick: function onClick() {
|
|
58261
|
-
var _authdetailsContext$
|
|
58262
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58318
|
+
var _authdetailsContext$i16;
|
|
58319
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.contactinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.email), '_self');
|
|
58263
58320
|
}
|
|
58264
58321
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58265
58322
|
"class": "".concat(footerStyles.iconTextStyle) + ' p-0 m-0 wordbreak text-transform-none footerinfo pb-1 ',
|
|
@@ -58268,7 +58325,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58268
58325
|
borderBottomStyle: 'solid',
|
|
58269
58326
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58270
58327
|
}
|
|
58271
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58328
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58272
58329
|
"class": "col-lg-12 p-0 mt-2 mt-md-1 d-flex align-items-center justify-content-start"
|
|
58273
58330
|
}, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58274
58331
|
"class": footerStyles.footerinfoContainer + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-0 cursor-pointer p-0 ',
|
|
@@ -58282,66 +58339,66 @@ var Footer8 = function Footer8(props) {
|
|
|
58282
58339
|
}
|
|
58283
58340
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58284
58341
|
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-start mt-3'
|
|
58285
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58342
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58286
58343
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
58287
58344
|
onClick: function onClick() {
|
|
58288
|
-
var _authdetailsContext$
|
|
58289
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58290
|
-
var _authdetailsContext$
|
|
58291
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58345
|
+
var _authdetailsContext$i19;
|
|
58346
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.facebooklink) != null) {
|
|
58347
|
+
var _authdetailsContext$i20;
|
|
58348
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.facebooklink, '_blank');
|
|
58292
58349
|
}
|
|
58293
58350
|
}
|
|
58294
58351
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
58295
58352
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58296
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58353
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) == '69f78b2c4fb01' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58297
58354
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mx-2 ',
|
|
58298
58355
|
onClick: function onClick() {
|
|
58299
58356
|
window.open('https://www.facebook.com/share/18tggHCByS', '_blank');
|
|
58300
58357
|
}
|
|
58301
58358
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
58302
58359
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58303
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58360
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58304
58361
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58305
58362
|
onClick: function onClick() {
|
|
58306
|
-
var _authdetailsContext$
|
|
58307
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58308
|
-
var _authdetailsContext$
|
|
58309
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58363
|
+
var _authdetailsContext$i23;
|
|
58364
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.instagramlink) != null) {
|
|
58365
|
+
var _authdetailsContext$i24;
|
|
58366
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instagramlink, '_blank');
|
|
58310
58367
|
}
|
|
58311
58368
|
}
|
|
58312
58369
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
58313
58370
|
size: sectionproperties.instgrambtniconfontsize
|
|
58314
|
-
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58371
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58315
58372
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58316
58373
|
onClick: function onClick() {
|
|
58317
|
-
var _authdetailsContext$
|
|
58318
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58319
|
-
var _authdetailsContext$
|
|
58320
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58374
|
+
var _authdetailsContext$i26;
|
|
58375
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.whatsappnumber) != null) {
|
|
58376
|
+
var _authdetailsContext$i27;
|
|
58377
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.whatsappnumber), '_blank');
|
|
58321
58378
|
}
|
|
58322
58379
|
}
|
|
58323
58380
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
58324
58381
|
size: sectionproperties.youtubebtniconfontsize
|
|
58325
|
-
})), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58382
|
+
})), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58326
58383
|
"class": "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mx-2'
|
|
58327
58384
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58328
58385
|
,
|
|
58329
58386
|
onClick: function onClick() {
|
|
58330
|
-
var _authdetailsContext$
|
|
58331
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58332
|
-
var _authdetailsContext$
|
|
58333
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58387
|
+
var _authdetailsContext$i29;
|
|
58388
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.tiktoklink) != null) {
|
|
58389
|
+
var _authdetailsContext$i30;
|
|
58390
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.tiktoklink, '_blank');
|
|
58334
58391
|
}
|
|
58335
58392
|
}
|
|
58336
58393
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
58337
58394
|
size: sectionproperties.tiktokbtniconfontsize
|
|
58338
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58395
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58339
58396
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58340
58397
|
onClick: function onClick() {
|
|
58341
|
-
var _authdetailsContext$
|
|
58342
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58343
|
-
var _authdetailsContext$
|
|
58344
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58398
|
+
var _authdetailsContext$i32;
|
|
58399
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.youtubelink) != null) {
|
|
58400
|
+
var _authdetailsContext$i33;
|
|
58401
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.youtubelink, '_blank');
|
|
58345
58402
|
}
|
|
58346
58403
|
}
|
|
58347
58404
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
@@ -58367,13 +58424,13 @@ var Footer8 = function Footer8(props) {
|
|
|
58367
58424
|
}
|
|
58368
58425
|
}, langdetect == 'en' ? 'Follow Us' : 'تابعنا')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58369
58426
|
"class": "col-lg-12 text-start px-5 flex-column"
|
|
58370
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58427
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58371
58428
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58372
58429
|
onClick: function onClick() {
|
|
58373
|
-
var _authdetailsContext$
|
|
58374
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58375
|
-
var _authdetailsContext$
|
|
58376
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58430
|
+
var _authdetailsContext$i35;
|
|
58431
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.facebooklink) != null) {
|
|
58432
|
+
var _authdetailsContext$i36;
|
|
58433
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.facebooklink, '_blank');
|
|
58377
58434
|
}
|
|
58378
58435
|
},
|
|
58379
58436
|
style: {
|
|
@@ -58384,13 +58441,13 @@ var Footer8 = function Footer8(props) {
|
|
|
58384
58441
|
fontWeight: 500,
|
|
58385
58442
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58386
58443
|
}
|
|
58387
|
-
}, "Facebook"), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58444
|
+
}, "Facebook"), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58388
58445
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58389
58446
|
onClick: function onClick() {
|
|
58390
|
-
var _authdetailsContext$
|
|
58391
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58392
|
-
var _authdetailsContext$
|
|
58393
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58447
|
+
var _authdetailsContext$i38;
|
|
58448
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.instagramlink) != null) {
|
|
58449
|
+
var _authdetailsContext$i39;
|
|
58450
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.instagramlink, '_blank');
|
|
58394
58451
|
}
|
|
58395
58452
|
},
|
|
58396
58453
|
style: {
|
|
@@ -58401,13 +58458,13 @@ var Footer8 = function Footer8(props) {
|
|
|
58401
58458
|
fontWeight: 500,
|
|
58402
58459
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58403
58460
|
}
|
|
58404
|
-
}, "Instagram"), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58461
|
+
}, "Instagram"), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58405
58462
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58406
58463
|
onClick: function onClick() {
|
|
58407
|
-
var _authdetailsContext$
|
|
58408
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58409
|
-
var _authdetailsContext$
|
|
58410
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58464
|
+
var _authdetailsContext$i41;
|
|
58465
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.whatsappnumber) != null) {
|
|
58466
|
+
var _authdetailsContext$i42;
|
|
58467
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.whatsappnumber), '_blank');
|
|
58411
58468
|
}
|
|
58412
58469
|
},
|
|
58413
58470
|
style: {
|
|
@@ -58418,15 +58475,15 @@ var Footer8 = function Footer8(props) {
|
|
|
58418
58475
|
fontWeight: 500,
|
|
58419
58476
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58420
58477
|
}
|
|
58421
|
-
}, "WhatsApp"), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58478
|
+
}, "WhatsApp"), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58422
58479
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start '
|
|
58423
58480
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58424
58481
|
,
|
|
58425
58482
|
onClick: function onClick() {
|
|
58426
|
-
var _authdetailsContext$
|
|
58427
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58428
|
-
var _authdetailsContext$
|
|
58429
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58483
|
+
var _authdetailsContext$i44;
|
|
58484
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.tiktoklink) != null) {
|
|
58485
|
+
var _authdetailsContext$i45;
|
|
58486
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.tiktoklink, '_blank');
|
|
58430
58487
|
}
|
|
58431
58488
|
},
|
|
58432
58489
|
style: {
|
|
@@ -58437,7 +58494,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58437
58494
|
fontWeight: 500,
|
|
58438
58495
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58439
58496
|
}
|
|
58440
|
-
}, "Tiktok"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58497
|
+
}, "Tiktok"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58441
58498
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58442
58499
|
style: {
|
|
58443
58500
|
width: 'auto',
|
|
@@ -58450,10 +58507,10 @@ var Footer8 = function Footer8(props) {
|
|
|
58450
58507
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58451
58508
|
,
|
|
58452
58509
|
onClick: function onClick() {
|
|
58453
|
-
var _authdetailsContext$
|
|
58454
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58455
|
-
var _authdetailsContext$
|
|
58456
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58510
|
+
var _authdetailsContext$i47;
|
|
58511
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.tiktoklink) != null) {
|
|
58512
|
+
var _authdetailsContext$i48;
|
|
58513
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.linkedinlink, '_blank');
|
|
58457
58514
|
}
|
|
58458
58515
|
}
|
|
58459
58516
|
}, "LinkedIn")))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -58470,7 +58527,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58470
58527
|
color: sectionproperties.prodCatColor,
|
|
58471
58528
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58472
58529
|
}
|
|
58473
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58530
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.description_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58474
58531
|
"class": 'col-lg-6 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
58475
58532
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58476
58533
|
"class": "row m-0 w-100"
|
|
@@ -58482,8 +58539,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58482
58539
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58483
58540
|
},
|
|
58484
58541
|
onClick: function onClick() {
|
|
58485
|
-
var _authdetailsContext$
|
|
58486
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58542
|
+
var _authdetailsContext$i51;
|
|
58543
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 || (_authdetailsContext$i51 = _authdetailsContext$i51.contactinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.email), '_self');
|
|
58487
58544
|
}
|
|
58488
58545
|
}, langdetect == 'en' ? 'T: ' : 'الهاتف: ', " ", authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58489
58546
|
"class": "col-lg-12 p-0"
|
|
@@ -58495,7 +58552,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58495
58552
|
onClick: function onClick() {
|
|
58496
58553
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
58497
58554
|
}
|
|
58498
|
-
}, langdetect == 'en' ? 'E: ' : 'الايميل: ', " ", authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58555
|
+
}, langdetect == 'en' ? 'E: ' : 'الايميل: ', " ", authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 || (_authdetailsContext$i52 = _authdetailsContext$i52.contactinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.email))))), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58499
58556
|
"class": "row m-0 allcentered"
|
|
58500
58557
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58501
58558
|
"class": "".concat(footerStyles.divider) + ' '
|
|
@@ -58685,7 +58742,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58685
58742
|
"class": "allcentered"
|
|
58686
58743
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
58687
58744
|
size: 18
|
|
58688
|
-
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58745
|
+
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58689
58746
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
58690
58747
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58691
58748
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -58703,7 +58760,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58703
58760
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58704
58761
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58705
58762
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58706
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
58763
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
58707
58764
|
style: {
|
|
58708
58765
|
width: '100%',
|
|
58709
58766
|
height: '100%',
|
|
@@ -58745,7 +58802,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58745
58802
|
marginBottom: 0,
|
|
58746
58803
|
fontWeight: 500
|
|
58747
58804
|
}
|
|
58748
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58805
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.address_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58749
58806
|
"class": "col-lg-12 p-0 text-start"
|
|
58750
58807
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58751
58808
|
"class": "".concat(footerStyles.iconTextStyle),
|
|
@@ -58893,8 +58950,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58893
58950
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58894
58951
|
"class": "".concat(footerStyles.iconTextStyle) + ' cursor-pointer ',
|
|
58895
58952
|
onClick: function onClick() {
|
|
58896
|
-
var _authdetailsContext$
|
|
58897
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58953
|
+
var _authdetailsContext$i56;
|
|
58954
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 || (_authdetailsContext$i56 = _authdetailsContext$i56.contactinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.email), '_self');
|
|
58898
58955
|
}
|
|
58899
58956
|
}, "contact@advisor-firm.com")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58900
58957
|
"class": "col-lg-12 p-0 allcentered",
|
|
@@ -58930,61 +58987,61 @@ var Footer8 = function Footer8(props) {
|
|
|
58930
58987
|
"class": "row m-0 w-100"
|
|
58931
58988
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58932
58989
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
58933
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58990
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58934
58991
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
58935
58992
|
onClick: function onClick() {
|
|
58936
|
-
var _authdetailsContext$
|
|
58937
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58938
|
-
var _authdetailsContext$
|
|
58939
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58993
|
+
var _authdetailsContext$i58;
|
|
58994
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.facebooklink) != null) {
|
|
58995
|
+
var _authdetailsContext$i59;
|
|
58996
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.facebooklink, '_blank');
|
|
58940
58997
|
}
|
|
58941
58998
|
}
|
|
58942
58999
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
58943
59000
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58944
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59001
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58945
59002
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2',
|
|
58946
59003
|
onClick: function onClick() {
|
|
58947
|
-
var _authdetailsContext$
|
|
58948
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58949
|
-
var _authdetailsContext$
|
|
58950
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59004
|
+
var _authdetailsContext$i61;
|
|
59005
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.linkedinlink) != null) {
|
|
59006
|
+
var _authdetailsContext$i62;
|
|
59007
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.linkedinlink, '_blank');
|
|
58951
59008
|
}
|
|
58952
59009
|
}
|
|
58953
59010
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
58954
59011
|
size: sectionproperties.linkedinbtniconfontsize
|
|
58955
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59012
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58956
59013
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58957
59014
|
onClick: function onClick() {
|
|
58958
|
-
var _authdetailsContext$
|
|
58959
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58960
|
-
var _authdetailsContext$
|
|
58961
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59015
|
+
var _authdetailsContext$i64;
|
|
59016
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.instagramlink) != null) {
|
|
59017
|
+
var _authdetailsContext$i65;
|
|
59018
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.instagramlink, '_blank');
|
|
58962
59019
|
}
|
|
58963
59020
|
}
|
|
58964
59021
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
58965
59022
|
size: sectionproperties.instgrambtniconfontsize
|
|
58966
59023
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58967
59024
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
58968
|
-
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59025
|
+
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58969
59026
|
"class": langdetect == 'en' ? " ".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center ml-2'
|
|
58970
59027
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58971
59028
|
,
|
|
58972
59029
|
onClick: function onClick() {
|
|
58973
|
-
var _authdetailsContext$
|
|
58974
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58975
|
-
var _authdetailsContext$
|
|
58976
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59030
|
+
var _authdetailsContext$i67;
|
|
59031
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.tiktoklink) != null) {
|
|
59032
|
+
var _authdetailsContext$i68;
|
|
59033
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.tiktoklink, '_blank');
|
|
58977
59034
|
}
|
|
58978
59035
|
}
|
|
58979
59036
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
58980
59037
|
size: sectionproperties.tiktokbtniconfontsize
|
|
58981
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59038
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58982
59039
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58983
59040
|
onClick: function onClick() {
|
|
58984
|
-
var _authdetailsContext$
|
|
58985
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58986
|
-
var _authdetailsContext$
|
|
58987
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59041
|
+
var _authdetailsContext$i70;
|
|
59042
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.youtubelink) != null) {
|
|
59043
|
+
var _authdetailsContext$i71;
|
|
59044
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.youtubelink, '_blank');
|
|
58988
59045
|
}
|
|
58989
59046
|
}
|
|
58990
59047
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
@@ -59047,7 +59104,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59047
59104
|
style: {
|
|
59048
59105
|
color: '#818181'
|
|
59049
59106
|
}
|
|
59050
|
-
}, "\u062D\u0642\u0648\u0642 \u0627\u0644\u0646\u0634\u0631 \u0645\u062D\u0641\u0648\u0638\u0629 \xA9 2025 \u0645\u0624\u0633\u0633\u0629 \u0627\u0644\u0645\u0633\u062A\u0634\u0627\u0631"))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59107
|
+
}, "\u062D\u0642\u0648\u0642 \u0627\u0644\u0646\u0634\u0631 \u0645\u062D\u0641\u0648\u0638\u0629 \xA9 2025 \u0645\u0624\u0633\u0633\u0629 \u0627\u0644\u0645\u0633\u062A\u0634\u0627\u0631"))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59051
59108
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
59052
59109
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59053
59110
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -59069,7 +59126,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59069
59126
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
59070
59127
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
59071
59128
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
59072
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
59129
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$7 = logoarrayofobjects[0]) === null || _logoarrayofobjects$7 === void 0 ? void 0 : _logoarrayofobjects$7.englishlogo : (_logoarrayofobjects$8 = logoarrayofobjects[0]) === null || _logoarrayofobjects$8 === void 0 ? void 0 : _logoarrayofobjects$8.arabiclogo,
|
|
59073
59130
|
style: {
|
|
59074
59131
|
width: '100%',
|
|
59075
59132
|
height: '100%',
|
|
@@ -59267,8 +59324,8 @@ var Footer8 = function Footer8(props) {
|
|
|
59267
59324
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59268
59325
|
"class": "".concat(footerStyles.iconTextStylepagename) + ' col-lg-12 p-0 d-flex flex-row mt-3 align-items-center ',
|
|
59269
59326
|
onClick: function onClick() {
|
|
59270
|
-
var _authdetailsContext$
|
|
59271
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59327
|
+
var _authdetailsContext$i73;
|
|
59328
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 || (_authdetailsContext$i73 = _authdetailsContext$i73.contactinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.email), '_self');
|
|
59272
59329
|
}
|
|
59273
59330
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
59274
59331
|
"class": ' fa fa-at mr-2 ml-2 '
|
|
@@ -59277,7 +59334,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59277
59334
|
style: {
|
|
59278
59335
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59279
59336
|
}
|
|
59280
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59337
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i74 = authdetailsContext.instinfo) === null || _authdetailsContext$i74 === void 0 || (_authdetailsContext$i74 = _authdetailsContext$i74.contactinfo) === null || _authdetailsContext$i74 === void 0 ? void 0 : _authdetailsContext$i74.email)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59281
59338
|
"class": "col-lg-12 p-0 text-start mb-2 mt-1"
|
|
59282
59339
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59283
59340
|
"class": "".concat(footerStyles.textStyles)
|
|
@@ -59287,69 +59344,69 @@ var Footer8 = function Footer8(props) {
|
|
|
59287
59344
|
"class": "row m-0 w-100"
|
|
59288
59345
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59289
59346
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
59290
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59347
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i75 = authdetailsContext.instinfo) === null || _authdetailsContext$i75 === void 0 ? void 0 : _authdetailsContext$i75.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59291
59348
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
59292
59349
|
onClick: function onClick() {
|
|
59293
|
-
var _authdetailsContext$
|
|
59294
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59295
|
-
var _authdetailsContext$
|
|
59296
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59350
|
+
var _authdetailsContext$i76;
|
|
59351
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i76 = authdetailsContext.instinfo) === null || _authdetailsContext$i76 === void 0 ? void 0 : _authdetailsContext$i76.facebooklink) != null) {
|
|
59352
|
+
var _authdetailsContext$i77;
|
|
59353
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i77 = authdetailsContext.instinfo) === null || _authdetailsContext$i77 === void 0 ? void 0 : _authdetailsContext$i77.facebooklink, '_blank');
|
|
59297
59354
|
}
|
|
59298
59355
|
}
|
|
59299
59356
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
59300
59357
|
size: sectionproperties.facebkbtnniconfontsize
|
|
59301
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59358
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i78 = authdetailsContext.instinfo) === null || _authdetailsContext$i78 === void 0 ? void 0 : _authdetailsContext$i78.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59302
59359
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
|
|
59303
59360
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
59304
59361
|
,
|
|
59305
59362
|
onClick: function onClick() {
|
|
59306
|
-
var _authdetailsContext$
|
|
59307
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59308
|
-
var _authdetailsContext$
|
|
59309
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59363
|
+
var _authdetailsContext$i79;
|
|
59364
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i79 = authdetailsContext.instinfo) === null || _authdetailsContext$i79 === void 0 ? void 0 : _authdetailsContext$i79.linkedinlink) != null) {
|
|
59365
|
+
var _authdetailsContext$i80;
|
|
59366
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i80 = authdetailsContext.instinfo) === null || _authdetailsContext$i80 === void 0 ? void 0 : _authdetailsContext$i80.linkedinlink, '_blank');
|
|
59310
59367
|
}
|
|
59311
59368
|
}
|
|
59312
59369
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
59313
59370
|
size: sectionproperties.instgrambtniconfontsize
|
|
59314
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59371
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i81 = authdetailsContext.instinfo) === null || _authdetailsContext$i81 === void 0 ? void 0 : _authdetailsContext$i81.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59315
59372
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
59316
59373
|
onClick: function onClick() {
|
|
59317
|
-
var _authdetailsContext$
|
|
59318
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59319
|
-
var _authdetailsContext$
|
|
59320
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59374
|
+
var _authdetailsContext$i82;
|
|
59375
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i82 = authdetailsContext.instinfo) === null || _authdetailsContext$i82 === void 0 ? void 0 : _authdetailsContext$i82.instagramlink) != null) {
|
|
59376
|
+
var _authdetailsContext$i83;
|
|
59377
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i83 = authdetailsContext.instinfo) === null || _authdetailsContext$i83 === void 0 ? void 0 : _authdetailsContext$i83.instagramlink, '_blank');
|
|
59321
59378
|
}
|
|
59322
59379
|
}
|
|
59323
59380
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
59324
59381
|
size: sectionproperties.instgrambtniconfontsize
|
|
59325
59382
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59326
59383
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
59327
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59384
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i84 = authdetailsContext.instinfo) === null || _authdetailsContext$i84 === void 0 ? void 0 : _authdetailsContext$i84.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59328
59385
|
"class": langdetect == 'en' ? "".concat(footerStyles.youtube_btnnnn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btnnnn) + ' d-flex align-items-center justify-content-center ml-2',
|
|
59329
59386
|
onClick: function onClick() {
|
|
59330
|
-
var _authdetailsContext$
|
|
59331
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59332
|
-
var _authdetailsContext$
|
|
59333
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59387
|
+
var _authdetailsContext$i85;
|
|
59388
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i85 = authdetailsContext.instinfo) === null || _authdetailsContext$i85 === void 0 ? void 0 : _authdetailsContext$i85.youtubelink) != null) {
|
|
59389
|
+
var _authdetailsContext$i86;
|
|
59390
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i86 = authdetailsContext.instinfo) === null || _authdetailsContext$i86 === void 0 ? void 0 : _authdetailsContext$i86.youtubelink, '_blank');
|
|
59334
59391
|
}
|
|
59335
59392
|
}
|
|
59336
59393
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
59337
59394
|
size: sectionproperties.youtubebtniconfontsize
|
|
59338
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59395
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i87 = authdetailsContext.instinfo) === null || _authdetailsContext$i87 === void 0 || (_authdetailsContext$i87 = _authdetailsContext$i87.contactinfo) === null || _authdetailsContext$i87 === void 0 ? void 0 : _authdetailsContext$i87.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59339
59396
|
"class": "".concat(footerStyles.mailbtn) + ' d-flex align-items-center justify-content-center mr-2 ml-2',
|
|
59340
59397
|
onClick: function onClick() {
|
|
59341
|
-
var _authdetailsContext$
|
|
59342
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59398
|
+
var _authdetailsContext$i88;
|
|
59399
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i88 = authdetailsContext.instinfo) === null || _authdetailsContext$i88 === void 0 || (_authdetailsContext$i88 = _authdetailsContext$i88.contactinfo) === null || _authdetailsContext$i88 === void 0 ? void 0 : _authdetailsContext$i88.email), '_self');
|
|
59343
59400
|
}
|
|
59344
59401
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMail.AiOutlineMail, {
|
|
59345
59402
|
size: sectionproperties.youtubebtniconfontsize
|
|
59346
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59403
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i89 = authdetailsContext.instinfo) === null || _authdetailsContext$i89 === void 0 ? void 0 : _authdetailsContext$i89.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59347
59404
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
59348
59405
|
onClick: function onClick() {
|
|
59349
|
-
var _authdetailsContext$
|
|
59350
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59351
|
-
var _authdetailsContext$
|
|
59352
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59406
|
+
var _authdetailsContext$i90;
|
|
59407
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i90 = authdetailsContext.instinfo) === null || _authdetailsContext$i90 === void 0 ? void 0 : _authdetailsContext$i90.whatsappnumber) != null) {
|
|
59408
|
+
var _authdetailsContext$i91;
|
|
59409
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i91 = authdetailsContext.instinfo) === null || _authdetailsContext$i91 === void 0 ? void 0 : _authdetailsContext$i91.whatsappnumber), '_blank');
|
|
59353
59410
|
}
|
|
59354
59411
|
}
|
|
59355
59412
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|