tabexseriescomponents 0.0.788 → 0.0.790
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 +429 -331
- package/dist/index.esm.js +429 -331
- package/dist/index.umd.js +429 -331
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2576,7 +2576,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2576
2576
|
function ownKeys$2x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2577
2577
|
function _objectSpread$2x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2578
2578
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2579
|
-
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67;
|
|
2579
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67;
|
|
2580
2580
|
var lang = props.actions.lang;
|
|
2581
2581
|
var langdetect = props.actions.langdetect;
|
|
2582
2582
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2604,6 +2604,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2604
2604
|
var currentshowingimageindex_pro = props.actions.currentshowingimageindex;
|
|
2605
2605
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
2606
2606
|
props.actions.productimagesarray;
|
|
2607
|
+
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen + ' ' + 'https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2608
|
+
var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear + ' ' + 'https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2607
2609
|
var _useState = React.useState(currentshowingimageindex_pro),
|
|
2608
2610
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
2609
2611
|
currentshowingimageindex = _useState2[0],
|
|
@@ -3547,7 +3549,24 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3547
3549
|
size: sectionproperties.favBtnIconfontsize
|
|
3548
3550
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
3549
3551
|
size: sectionproperties.favBtnIconfontsize
|
|
3550
|
-
}))))), sectionproperties.
|
|
3552
|
+
}))))), sectionproperties.showdirectwabtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3553
|
+
"class": "row m-0 w-100 mt-3",
|
|
3554
|
+
style: {
|
|
3555
|
+
overflow: 'hidden'
|
|
3556
|
+
}
|
|
3557
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
3558
|
+
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
3559
|
+
target: "_blank",
|
|
3560
|
+
rel: "noopener noreferrer",
|
|
3561
|
+
style: {
|
|
3562
|
+
width: '100%'
|
|
3563
|
+
}
|
|
3564
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3565
|
+
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3566
|
+
style: {
|
|
3567
|
+
width: sectionproperties.cartBtnWidth + '%'
|
|
3568
|
+
}
|
|
3569
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3551
3570
|
"class": "row m-0 w-100 mt-3",
|
|
3552
3571
|
style: {
|
|
3553
3572
|
overflow: 'hidden'
|
|
@@ -6450,27 +6469,31 @@ var Productinfo = function Productinfo(props) {
|
|
|
6450
6469
|
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
6451
6470
|
_useState14[0];
|
|
6452
6471
|
var setRelatedProductsTagid = _useState14[1];
|
|
6453
|
-
var _useState15 = React.useState('
|
|
6454
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2)
|
|
6455
|
-
_useState16[0]
|
|
6456
|
-
_useState16[1];
|
|
6457
|
-
var _useState17 = React.useState(
|
|
6472
|
+
var _useState15 = React.useState(''),
|
|
6473
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
6474
|
+
variantnotchosendisclaimer = _useState16[0],
|
|
6475
|
+
setvariantnotchosendisclaimer = _useState16[1];
|
|
6476
|
+
var _useState17 = React.useState('all'),
|
|
6458
6477
|
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
6459
6478
|
_useState18[0];
|
|
6460
6479
|
_useState18[1];
|
|
6461
6480
|
var _useState19 = React.useState([]),
|
|
6462
|
-
_useState20 = _slicedToArray__default["default"](_useState19, 2)
|
|
6463
|
-
|
|
6464
|
-
|
|
6481
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2);
|
|
6482
|
+
_useState20[0];
|
|
6483
|
+
_useState20[1];
|
|
6465
6484
|
var _useState21 = React.useState([]),
|
|
6466
6485
|
_useState22 = _slicedToArray__default["default"](_useState21, 2),
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
var _useState23 = React.useState(
|
|
6486
|
+
Relatedproducts = _useState22[0],
|
|
6487
|
+
setRelatedproducts = _useState22[1];
|
|
6488
|
+
var _useState23 = React.useState([]),
|
|
6470
6489
|
_useState24 = _slicedToArray__default["default"](_useState23, 2),
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
var _useState25 = React.useState(
|
|
6490
|
+
productimagesarray = _useState24[0],
|
|
6491
|
+
setproductimagesarray = _useState24[1];
|
|
6492
|
+
var _useState25 = React.useState(null),
|
|
6493
|
+
_useState26 = _slicedToArray__default["default"](_useState25, 2),
|
|
6494
|
+
quantityconditionfoundobj = _useState26[0],
|
|
6495
|
+
setquantityconditionfoundobj = _useState26[1];
|
|
6496
|
+
var _useState27 = React.useState({
|
|
6474
6497
|
functype: 'add',
|
|
6475
6498
|
item_type: 'product',
|
|
6476
6499
|
productid: '',
|
|
@@ -6482,49 +6505,49 @@ var Productinfo = function Productinfo(props) {
|
|
|
6482
6505
|
to: '',
|
|
6483
6506
|
extrafields: []
|
|
6484
6507
|
}),
|
|
6485
|
-
_useState26 = _slicedToArray__default["default"](_useState25, 2),
|
|
6486
|
-
addtocardpayloadobj = _useState26[0],
|
|
6487
|
-
setaddtocardpayloadobj = _useState26[1];
|
|
6488
|
-
var _useState27 = React.useState(''),
|
|
6489
6508
|
_useState28 = _slicedToArray__default["default"](_useState27, 2),
|
|
6490
|
-
|
|
6491
|
-
|
|
6509
|
+
addtocardpayloadobj = _useState28[0],
|
|
6510
|
+
setaddtocardpayloadobj = _useState28[1];
|
|
6492
6511
|
var _useState29 = React.useState(''),
|
|
6493
6512
|
_useState30 = _slicedToArray__default["default"](_useState29, 2),
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
var _useState31 = React.useState(
|
|
6513
|
+
variantindexcompleted = _useState30[0],
|
|
6514
|
+
setvariantindexcompleted = _useState30[1];
|
|
6515
|
+
var _useState31 = React.useState(''),
|
|
6497
6516
|
_useState32 = _slicedToArray__default["default"](_useState31, 2),
|
|
6498
|
-
|
|
6499
|
-
|
|
6517
|
+
variantindex = _useState32[0],
|
|
6518
|
+
setvariantindex = _useState32[1];
|
|
6500
6519
|
var _useState33 = React.useState(false),
|
|
6501
|
-
_useState34 = _slicedToArray__default["default"](_useState33, 2)
|
|
6502
|
-
_useState34[0]
|
|
6503
|
-
_useState34[1];
|
|
6504
|
-
var _useState35 = React.useState(
|
|
6505
|
-
_useState36 = _slicedToArray__default["default"](_useState35, 2)
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
var _useState37 = React.useState(
|
|
6520
|
+
_useState34 = _slicedToArray__default["default"](_useState33, 2),
|
|
6521
|
+
isloaded = _useState34[0],
|
|
6522
|
+
setisloaded = _useState34[1];
|
|
6523
|
+
var _useState35 = React.useState(false),
|
|
6524
|
+
_useState36 = _slicedToArray__default["default"](_useState35, 2);
|
|
6525
|
+
_useState36[0];
|
|
6526
|
+
_useState36[1];
|
|
6527
|
+
var _useState37 = React.useState(0),
|
|
6509
6528
|
_useState38 = _slicedToArray__default["default"](_useState37, 2),
|
|
6510
|
-
|
|
6511
|
-
|
|
6529
|
+
currentshowingimageindex = _useState38[0],
|
|
6530
|
+
setcurrentshowingimageindex = _useState38[1];
|
|
6512
6531
|
var _useState39 = React.useState(''),
|
|
6513
6532
|
_useState40 = _slicedToArray__default["default"](_useState39, 2),
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
var _useState41 = React.useState(
|
|
6533
|
+
tabIndex = _useState40[0],
|
|
6534
|
+
setTabIndex = _useState40[1];
|
|
6535
|
+
var _useState41 = React.useState(''),
|
|
6517
6536
|
_useState42 = _slicedToArray__default["default"](_useState41, 2),
|
|
6518
|
-
|
|
6519
|
-
|
|
6537
|
+
tabname = _useState42[0],
|
|
6538
|
+
settabname = _useState42[1];
|
|
6520
6539
|
var _useState43 = React.useState([]),
|
|
6521
6540
|
_useState44 = _slicedToArray__default["default"](_useState43, 2),
|
|
6522
|
-
|
|
6523
|
-
|
|
6541
|
+
sizeguideimage = _useState44[0],
|
|
6542
|
+
setsizeguideimage = _useState44[1];
|
|
6524
6543
|
var _useState45 = React.useState([]),
|
|
6525
6544
|
_useState46 = _slicedToArray__default["default"](_useState45, 2),
|
|
6526
|
-
|
|
6527
|
-
|
|
6545
|
+
productVideos = _useState46[0],
|
|
6546
|
+
setproductVideos = _useState46[1];
|
|
6547
|
+
var _useState47 = React.useState([]),
|
|
6548
|
+
_useState48 = _slicedToArray__default["default"](_useState47, 2),
|
|
6549
|
+
variantvalueidentifier = _useState48[0],
|
|
6550
|
+
setvariantvalueidentifier = _useState48[1];
|
|
6528
6551
|
var handleTabChange = function handleTabChange(event, newTabIndex) {
|
|
6529
6552
|
setTabIndex(newTabIndex);
|
|
6530
6553
|
};
|
|
@@ -6718,6 +6741,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6718
6741
|
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
6719
6742
|
var _productarr$data$prod;
|
|
6720
6743
|
setvariantvalueidentifier((_productarr$data$prod = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex]) === null || _productarr$data$prod === void 0 ? void 0 : _productarr$data$prod.value_identifier);
|
|
6744
|
+
// setvariantnotchosendisclaimer('This field is required');
|
|
6721
6745
|
}
|
|
6722
6746
|
productarr.data.productinfo.productoptions[optionindex].optionvalues.forEach(function (arrayItem, arrayindex) {
|
|
6723
6747
|
if (optionvaluesindex != arrayindex) {
|
|
@@ -6876,6 +6900,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6876
6900
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
6877
6901
|
runfunc = true;
|
|
6878
6902
|
} else {
|
|
6903
|
+
// here
|
|
6904
|
+
setvariantnotchosendisclaimer('This field is required');
|
|
6879
6905
|
NotificationManager.warning('', 'Please Choose Product Options');
|
|
6880
6906
|
}
|
|
6881
6907
|
} else {
|
|
@@ -7861,6 +7887,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7861
7887
|
}
|
|
7862
7888
|
}, fetchProductInfoQueryContext.data.data.productinfo.item_type == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
7863
7889
|
actions: (_ref = {
|
|
7890
|
+
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
7864
7891
|
setisoutofstock: setisoutofstock,
|
|
7865
7892
|
isoutofstock: isoutofstock,
|
|
7866
7893
|
returnpolicyobj: returnpolicyobj,
|
|
@@ -7870,6 +7897,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7870
7897
|
}, _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), "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"](_ref, "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage))
|
|
7871
7898
|
}), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'Article' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
7872
7899
|
actions: (_ref2 = {
|
|
7900
|
+
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
7873
7901
|
setisoutofstock: setisoutofstock,
|
|
7874
7902
|
isoutofstock: isoutofstock,
|
|
7875
7903
|
returnpolicyobj: returnpolicyobj,
|
|
@@ -7879,6 +7907,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7879
7907
|
}, _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"](_ref2, "variantvalueidentifier", variantvalueidentifier))
|
|
7880
7908
|
}), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
7881
7909
|
actions: (_ref3 = {
|
|
7910
|
+
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
7882
7911
|
variantsku: variantsku,
|
|
7883
7912
|
setisoutofstock: setisoutofstock,
|
|
7884
7913
|
isoutofstock: isoutofstock,
|
|
@@ -11701,7 +11730,11 @@ var Checkout = function Checkout(props) {
|
|
|
11701
11730
|
getOptionLabel: function getOptionLabel(option) {
|
|
11702
11731
|
var crname = '';
|
|
11703
11732
|
if (langdetect == 'en') {
|
|
11704
|
-
|
|
11733
|
+
if (option.name_ar != null) {
|
|
11734
|
+
crname = option.name + ' - ' + option.name_ar;
|
|
11735
|
+
} else {
|
|
11736
|
+
crname = option.name;
|
|
11737
|
+
}
|
|
11705
11738
|
} else if (langdetect == 'ar') {
|
|
11706
11739
|
if (option.name_ar != null) {
|
|
11707
11740
|
crname = option.name_ar;
|
|
@@ -11747,7 +11780,11 @@ var Checkout = function Checkout(props) {
|
|
|
11747
11780
|
getOptionLabel: function getOptionLabel(option) {
|
|
11748
11781
|
var crname = '';
|
|
11749
11782
|
if (langdetect == 'en') {
|
|
11750
|
-
|
|
11783
|
+
if (option.name_ar != null) {
|
|
11784
|
+
crname = option.name + ' - ' + option.name_ar;
|
|
11785
|
+
} else {
|
|
11786
|
+
crname = option.name;
|
|
11787
|
+
}
|
|
11751
11788
|
} else if (langdetect == 'ar') {
|
|
11752
11789
|
if (option.name_ar != null) {
|
|
11753
11790
|
crname = option.name_ar;
|
|
@@ -11795,7 +11832,11 @@ var Checkout = function Checkout(props) {
|
|
|
11795
11832
|
getOptionLabel: function getOptionLabel(option) {
|
|
11796
11833
|
var crname = '';
|
|
11797
11834
|
if (langdetect == 'en') {
|
|
11798
|
-
|
|
11835
|
+
if (option.name_ar != null) {
|
|
11836
|
+
crname = option.name + ' - ' + option.name_ar;
|
|
11837
|
+
} else {
|
|
11838
|
+
crname = option.name;
|
|
11839
|
+
}
|
|
11799
11840
|
} else if (langdetect == 'ar') {
|
|
11800
11841
|
if (option.name_ar != null) {
|
|
11801
11842
|
crname = option.name_ar;
|
|
@@ -19290,6 +19331,39 @@ var CardsSection = function CardsSection(props) {
|
|
|
19290
19331
|
logo: logo
|
|
19291
19332
|
};
|
|
19292
19333
|
};
|
|
19334
|
+
var ViewMoreButton = function ViewMoreButton() {
|
|
19335
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
19336
|
+
"class": sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 ' : "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 mt-auto mb-auto ' : sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 mt-auto mb-auto ',
|
|
19337
|
+
onClick: function onClick() {
|
|
19338
|
+
if (fetchingtype == 'products') {
|
|
19339
|
+
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
19340
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
19341
|
+
} else {
|
|
19342
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(ProductFilterObjContext)));
|
|
19343
|
+
}
|
|
19344
|
+
} else {
|
|
19345
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
19346
|
+
}
|
|
19347
|
+
},
|
|
19348
|
+
style: {
|
|
19349
|
+
flexDirection: 'row'
|
|
19350
|
+
}
|
|
19351
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19352
|
+
"class": 'd-flex justify-content-center align-items-center'
|
|
19353
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19354
|
+
"class": sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : 'Poppins'
|
|
19355
|
+
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar), sectionproperties.showIcon == 'Show' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19356
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center h-100 allcentered' : 'd-flex justify-content-center align-items-center d-md-none h-100',
|
|
19357
|
+
style: {
|
|
19358
|
+
marginLeft: 5,
|
|
19359
|
+
marginRight: 5
|
|
19360
|
+
}
|
|
19361
|
+
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowRight.HiOutlineArrowRight, {
|
|
19362
|
+
size: sectionproperties.viewmoreiconfontsize
|
|
19363
|
+
}) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
|
|
19364
|
+
size: sectionproperties.viewmoreiconfontsize
|
|
19365
|
+
}))));
|
|
19366
|
+
};
|
|
19293
19367
|
var cardsrender = function cardsrender() {
|
|
19294
19368
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19295
19369
|
"class": sectionproperties.showvariantfilter == 'Show' ? 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
@@ -19809,24 +19883,46 @@ var CardsSection = function CardsSection(props) {
|
|
|
19809
19883
|
bootstapclass = ' col-xl-2 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19810
19884
|
}
|
|
19811
19885
|
}
|
|
19812
|
-
if (sectionproperties.
|
|
19813
|
-
|
|
19814
|
-
"
|
|
19815
|
-
|
|
19816
|
-
|
|
19817
|
-
|
|
19818
|
-
|
|
19819
|
-
|
|
19820
|
-
|
|
19821
|
-
|
|
19822
|
-
|
|
19823
|
-
|
|
19824
|
-
|
|
19825
|
-
|
|
19826
|
-
|
|
19827
|
-
|
|
19828
|
-
|
|
19829
|
-
|
|
19886
|
+
if (sectionproperties.showanimation == 'Yes') {
|
|
19887
|
+
if (sectionproperties.overallnumberofcards == 0) {
|
|
19888
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19889
|
+
"class": bootstapclass,
|
|
19890
|
+
"data-aos": "fade-up"
|
|
19891
|
+
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
19892
|
+
sectiontypeprops: 'horizontal',
|
|
19893
|
+
sectiontypeprops2: 'vertical',
|
|
19894
|
+
fetchingtypeprops: fetchingtype,
|
|
19895
|
+
cardinfoindexprops: cardinfoindex,
|
|
19896
|
+
cardinfoitemprops: cardinfoitem,
|
|
19897
|
+
sectionindexprops: index,
|
|
19898
|
+
sectionidprops: item.sectionid,
|
|
19899
|
+
actions: actions,
|
|
19900
|
+
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
19901
|
+
numberOfColsvertical: sectionproperties.numberOfColsvertical,
|
|
19902
|
+
AddtoCartMutationContext: AddtoCartMutationContext
|
|
19903
|
+
}));
|
|
19904
|
+
} else if (sectionproperties.overallnumberofcards != 0) {
|
|
19905
|
+
if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
19906
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19907
|
+
"class": bootstapclass,
|
|
19908
|
+
"data-aos": "fade-up"
|
|
19909
|
+
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
19910
|
+
sectiontypeprops: 'horizontal',
|
|
19911
|
+
sectiontypeprops2: 'vertical',
|
|
19912
|
+
fetchingtypeprops: fetchingtype,
|
|
19913
|
+
cardinfoindexprops: cardinfoindex,
|
|
19914
|
+
cardinfoitemprops: cardinfoitem,
|
|
19915
|
+
sectionindexprops: index,
|
|
19916
|
+
sectionidprops: item.sectionid,
|
|
19917
|
+
actions: actions,
|
|
19918
|
+
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
19919
|
+
numberOfColsvertical: sectionproperties.numberOfColsvertical,
|
|
19920
|
+
AddtoCartMutationContext: AddtoCartMutationContext
|
|
19921
|
+
}));
|
|
19922
|
+
}
|
|
19923
|
+
}
|
|
19924
|
+
} else {
|
|
19925
|
+
if (sectionproperties.overallnumberofcards == 0) {
|
|
19830
19926
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19831
19927
|
"class": bootstapclass
|
|
19832
19928
|
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
@@ -19842,6 +19938,24 @@ var CardsSection = function CardsSection(props) {
|
|
|
19842
19938
|
numberOfColsvertical: sectionproperties.numberOfColsvertical,
|
|
19843
19939
|
AddtoCartMutationContext: AddtoCartMutationContext
|
|
19844
19940
|
}));
|
|
19941
|
+
} else if (sectionproperties.overallnumberofcards != 0) {
|
|
19942
|
+
if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
19943
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19944
|
+
"class": bootstapclass
|
|
19945
|
+
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
19946
|
+
sectiontypeprops: 'horizontal',
|
|
19947
|
+
sectiontypeprops2: 'vertical',
|
|
19948
|
+
fetchingtypeprops: fetchingtype,
|
|
19949
|
+
cardinfoindexprops: cardinfoindex,
|
|
19950
|
+
cardinfoitemprops: cardinfoitem,
|
|
19951
|
+
sectionindexprops: index,
|
|
19952
|
+
sectionidprops: item.sectionid,
|
|
19953
|
+
actions: actions,
|
|
19954
|
+
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
19955
|
+
numberOfColsvertical: sectionproperties.numberOfColsvertical,
|
|
19956
|
+
AddtoCartMutationContext: AddtoCartMutationContext
|
|
19957
|
+
}));
|
|
19958
|
+
}
|
|
19845
19959
|
}
|
|
19846
19960
|
}
|
|
19847
19961
|
}), fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -19851,39 +19965,12 @@ var CardsSection = function CardsSection(props) {
|
|
|
19851
19965
|
}))));
|
|
19852
19966
|
}
|
|
19853
19967
|
}
|
|
19854
|
-
})), sectionproperties.viewmorebtnposition == 'Under Section' && sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19968
|
+
})), sectionproperties.viewmorebtnposition == 'Under Section' && sectionproperties.viewmorebtnshow == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19969
|
+
"class": "col-lg-12 p-0 allcentered",
|
|
19970
|
+
"data-aos": "fade-up"
|
|
19971
|
+
}, ViewMoreButton()), sectionproperties.viewmorebtnposition == 'Under Section' && sectionproperties.viewmorebtnshow == 'Show' && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19855
19972
|
"class": "col-lg-12 p-0 allcentered"
|
|
19856
|
-
},
|
|
19857
|
-
"class": sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 ' : "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 mt-auto mb-auto ' : sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 mt-auto mb-auto ',
|
|
19858
|
-
onClick: function onClick() {
|
|
19859
|
-
if (fetchingtype == 'products') {
|
|
19860
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
19861
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
19862
|
-
} else {
|
|
19863
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(ProductFilterObjContext)));
|
|
19864
|
-
}
|
|
19865
|
-
} else {
|
|
19866
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
19867
|
-
}
|
|
19868
|
-
},
|
|
19869
|
-
style: {
|
|
19870
|
-
flexDirection: 'row'
|
|
19871
|
-
}
|
|
19872
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19873
|
-
"class": 'd-flex justify-content-center align-items-center'
|
|
19874
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19875
|
-
"class": sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : 'Poppins'
|
|
19876
|
-
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar), sectionproperties.showIcon == 'Show' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19877
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center h-100 allcentered' : 'd-flex justify-content-center align-items-center d-md-none h-100',
|
|
19878
|
-
style: {
|
|
19879
|
-
marginLeft: 5,
|
|
19880
|
-
marginRight: 5
|
|
19881
|
-
}
|
|
19882
|
-
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowRight.HiOutlineArrowRight, {
|
|
19883
|
-
size: sectionproperties.viewmoreiconfontsize
|
|
19884
|
-
}) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
|
|
19885
|
-
size: sectionproperties.viewmoreiconfontsize
|
|
19886
|
-
})))))));
|
|
19973
|
+
}, ViewMoreButton())));
|
|
19887
19974
|
};
|
|
19888
19975
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19889
19976
|
ref: refscr,
|
|
@@ -21280,14 +21367,13 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
21280
21367
|
paddingLeft: '200px',
|
|
21281
21368
|
paddingRight: '200px'
|
|
21282
21369
|
}
|
|
21283
|
-
}, templateproperties_context.textslidertype == 'Slider' &&
|
|
21284
|
-
|
|
21285
|
-
|
|
21286
|
-
|
|
21287
|
-
|
|
21288
|
-
"class": "marquee"
|
|
21370
|
+
}, templateproperties_context.textslidertype == 'Slider' &&
|
|
21371
|
+
/*#__PURE__*/
|
|
21372
|
+
// <marquee width="100%" direction="left" scrollamount="3" behavior="scroll" class="marquee">
|
|
21373
|
+
React__default["default"].createElement("div", {
|
|
21374
|
+
"class": "rotating-text-container"
|
|
21289
21375
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21290
|
-
"class": "d-flex flex-row align-items-center"
|
|
21376
|
+
"class": "d-flex flex-row align-items-center rotating-text"
|
|
21291
21377
|
}, textarray.map(function (item, index) {
|
|
21292
21378
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21293
21379
|
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
@@ -21296,7 +21382,9 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
21296
21382
|
marginRight: 200
|
|
21297
21383
|
}
|
|
21298
21384
|
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
21299
|
-
})))
|
|
21385
|
+
})))
|
|
21386
|
+
// </marquee>
|
|
21387
|
+
, templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21300
21388
|
"class": props.srcfrom == 'sidemarquee' ? 'w-100 text-start' : 'w-100 allcentered'
|
|
21301
21389
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21302
21390
|
"class": header_cssstyles.textSlider + ' mb-0 p-0 '
|
|
@@ -35483,6 +35571,12 @@ var Modernheader = function Modernheader(props) {
|
|
|
35483
35571
|
}
|
|
35484
35572
|
}),
|
|
35485
35573
|
floatingbtn: glamor.css({
|
|
35574
|
+
position: 'fixed',
|
|
35575
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
35576
|
+
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
35577
|
+
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
35578
|
+
zIndex: 2000,
|
|
35579
|
+
transition: 'all 0.3s ease-out',
|
|
35486
35580
|
width: sectionproperties.floatingbtnwidth + '%',
|
|
35487
35581
|
height: sectionproperties.floatingbtnheight + 'px',
|
|
35488
35582
|
background: sectionproperties.floatingbtnbg,
|
|
@@ -35750,7 +35844,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
35750
35844
|
style: {
|
|
35751
35845
|
position: 'fixed',
|
|
35752
35846
|
bottom: sectionproperties.whatsapppositionfrombottom + 'px',
|
|
35753
|
-
right: sectionproperties.whatsapppositionfromright + 'px',
|
|
35847
|
+
right: langdetect == 'en' ? sectionproperties.whatsapppositionfromright + 'px' : '',
|
|
35848
|
+
left: langdetect == 'ar' ? sectionproperties.whatsapppositionfromright + 'px' : '',
|
|
35754
35849
|
zIndex: 999999,
|
|
35755
35850
|
transition: 'all 0.3s ease-out'
|
|
35756
35851
|
}
|
|
@@ -35767,7 +35862,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
35767
35862
|
style: {
|
|
35768
35863
|
position: 'fixed',
|
|
35769
35864
|
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
35770
|
-
right: sectionproperties.callppositionfromright + 'px',
|
|
35865
|
+
right: langdetect == 'en' ? sectionproperties.callppositionfromright + 'px' : '',
|
|
35866
|
+
left: langdetect == 'ar' ? sectionproperties.callppositionfromright + 'px' : '',
|
|
35771
35867
|
zIndex: 999999,
|
|
35772
35868
|
transition: 'all 0.3s ease-out'
|
|
35773
35869
|
}
|
|
@@ -35780,16 +35876,6 @@ var Modernheader = function Modernheader(props) {
|
|
|
35780
35876
|
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
35781
35877
|
}
|
|
35782
35878
|
}))), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35783
|
-
style: {
|
|
35784
|
-
position: 'fixed',
|
|
35785
|
-
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
35786
|
-
right: sectionproperties.floatingbtnfromright + 'px',
|
|
35787
|
-
zIndex: 2000,
|
|
35788
|
-
transition: 'all 0.3s ease-out',
|
|
35789
|
-
width: '100%'
|
|
35790
|
-
},
|
|
35791
|
-
"class": "text-end"
|
|
35792
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35793
35879
|
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
35794
35880
|
style: {},
|
|
35795
35881
|
onClick: function onClick() {
|
|
@@ -35797,7 +35883,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
35797
35883
|
}
|
|
35798
35884
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
35799
35885
|
"class": "m-0 p-0"
|
|
35800
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))
|
|
35886
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35801
35887
|
"class": "row m-0 d-md-none",
|
|
35802
35888
|
style: {
|
|
35803
35889
|
position: sectionproperties.headerstyles_position,
|
|
@@ -45875,7 +45961,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
45875
45961
|
style: {
|
|
45876
45962
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
45877
45963
|
}
|
|
45878
|
-
}, lang.helpcenter), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45964
|
+
}, lang.helpcenter), sectionproperties.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45879
45965
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
45880
45966
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45881
45967
|
"class": "".concat(footerStyles.subPages) + ' wordbreak ',
|
|
@@ -45885,7 +45971,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
45885
45971
|
onClick: function onClick() {
|
|
45886
45972
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
45887
45973
|
}
|
|
45888
|
-
},
|
|
45974
|
+
}, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar)), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45889
45975
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
45890
45976
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45891
45977
|
"class": "".concat(footerStyles.subPages) + ' wordbreak ',
|
|
@@ -61547,7 +61633,6 @@ var Popupcomponent = function Popupcomponent(props) {
|
|
|
61547
61633
|
function ownKeys$13(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; }
|
|
61548
61634
|
function _objectSpread$13(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$13(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$13(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
61549
61635
|
var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
61550
|
-
var _maincontainerarrayof;
|
|
61551
61636
|
var _useState = React.useState(''),
|
|
61552
61637
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
61553
61638
|
sectionproperties = _useState2[0],
|
|
@@ -61625,6 +61710,218 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
61625
61710
|
}
|
|
61626
61711
|
})
|
|
61627
61712
|
};
|
|
61713
|
+
var SectionContent = function SectionContent() {
|
|
61714
|
+
var _maincontainerarrayof;
|
|
61715
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61716
|
+
"class": sectionproperties.width == 100 ? 'row m-0 w-md-100 px-1025-1 pl-md-2 pr-md-2' : 'row m-0 w-md-100 px-1025-1 pl-md-2 pr-md-2',
|
|
61717
|
+
style: {
|
|
61718
|
+
width: sectionproperties.width + 'vw',
|
|
61719
|
+
position: 'relative',
|
|
61720
|
+
background: sectionproperties.reservation_bgcolor,
|
|
61721
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
61722
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
61723
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
61724
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
61725
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
61726
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
61727
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
61728
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
61729
|
+
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
61730
|
+
}
|
|
61731
|
+
}, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61732
|
+
"class": sectionstyles.imgcontainer
|
|
61733
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
61734
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
61735
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
61736
|
+
path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
|
|
61737
|
+
style: {
|
|
61738
|
+
height: '100%',
|
|
61739
|
+
width: '100%',
|
|
61740
|
+
objectFit: 'cover',
|
|
61741
|
+
margin: 0,
|
|
61742
|
+
padding: 0,
|
|
61743
|
+
position: 'absolute',
|
|
61744
|
+
top: 0,
|
|
61745
|
+
bottom: 0,
|
|
61746
|
+
right: 0,
|
|
61747
|
+
left: 0
|
|
61748
|
+
}
|
|
61749
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61750
|
+
"class": "col-lg-12 p-0",
|
|
61751
|
+
style: {
|
|
61752
|
+
zIndex: 1
|
|
61753
|
+
}
|
|
61754
|
+
}, sectionproperties.cardsdirection == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61755
|
+
"class": "row m-0 w-100"
|
|
61756
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61757
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center',
|
|
61758
|
+
style: {
|
|
61759
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
61760
|
+
}
|
|
61761
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61762
|
+
"class": sectionstyles.sectionTitleStyles + ' p-0 d-flex d-sm-none '
|
|
61763
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61764
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
61765
|
+
style: {
|
|
61766
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
61767
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61768
|
+
}
|
|
61769
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61770
|
+
"class": sectionstyles.sectionTitleStyles + ' p-0 d-none d-sm-flex '
|
|
61771
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61772
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
61773
|
+
style: {
|
|
61774
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
61775
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61776
|
+
}
|
|
61777
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61778
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center',
|
|
61779
|
+
style: {
|
|
61780
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
61781
|
+
}
|
|
61782
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61783
|
+
"class": sectionstyles.descriptionStyles + ' p-0 d-flex d-sm-none '
|
|
61784
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61785
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
61786
|
+
style: {
|
|
61787
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
61788
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61789
|
+
}
|
|
61790
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61791
|
+
"class": sectionstyles.descriptionStyles + ' p-0 d-none d-sm-flex '
|
|
61792
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61793
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
61794
|
+
style: {
|
|
61795
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
61796
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61797
|
+
}
|
|
61798
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61799
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center mt-md-3',
|
|
61800
|
+
style: {
|
|
61801
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
61802
|
+
}
|
|
61803
|
+
}, sectionproperties.btntype == 'Phone Number' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61804
|
+
"class": sectionstyles.btnStyles + ' allcentered '
|
|
61805
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
61806
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
61807
|
+
target: '_self',
|
|
61808
|
+
"class": "d-flex align-items-center"
|
|
61809
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61810
|
+
"class": sectionstyles.btnStyles + ' m-0 p-0 allcentered '
|
|
61811
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61812
|
+
"class": sectionstyles.btnStyles + ' allcentered '
|
|
61813
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61814
|
+
"class": sectionstyles.btnStyles + ' m-0 p-0 allcentered ',
|
|
61815
|
+
onClick: function onClick() {
|
|
61816
|
+
window.open('tel:' + sectionproperties.btnlink, '_blank');
|
|
61817
|
+
}
|
|
61818
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
61819
|
+
"class": sectionstyles.btnStyles,
|
|
61820
|
+
onClick: function onClick() {
|
|
61821
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
61822
|
+
var _authdetailsContext$i;
|
|
61823
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber) != null) {
|
|
61824
|
+
var _authdetailsContext$i2;
|
|
61825
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
|
|
61826
|
+
}
|
|
61827
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
61828
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
61829
|
+
routingcountext(sectionproperties.btnlink, false, '');
|
|
61830
|
+
} else if (sectionproperties.btntype == 'Email') {
|
|
61831
|
+
window.open('mailto:' + sectionproperties.btnlink, '_self');
|
|
61832
|
+
} else {
|
|
61833
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
61834
|
+
}
|
|
61835
|
+
}
|
|
61836
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.cardsdirection == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61837
|
+
"class": "row m-0 w-100 d-flex align-items-center"
|
|
61838
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61839
|
+
"class": "col-lg-9 col-md-12 p-0"
|
|
61840
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61841
|
+
"class": "row m-0 w-100"
|
|
61842
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61843
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
|
|
61844
|
+
style: {
|
|
61845
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
61846
|
+
}
|
|
61847
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61848
|
+
"class": sectionstyles.sectionTitleStyles + ' p-0 d-flex d-sm-none '
|
|
61849
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61850
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
61851
|
+
style: {
|
|
61852
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
61853
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61854
|
+
}
|
|
61855
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61856
|
+
"class": sectionstyles.sectionTitleStyles + ' p-0 d-none d-sm-flex '
|
|
61857
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61858
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
61859
|
+
style: {
|
|
61860
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
61861
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61862
|
+
}
|
|
61863
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61864
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
|
|
61865
|
+
style: {
|
|
61866
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
61867
|
+
}
|
|
61868
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61869
|
+
"class": sectionstyles.descriptionStyles + ' p-0 d-flex d-sm-none '
|
|
61870
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61871
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
61872
|
+
style: {
|
|
61873
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
61874
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61875
|
+
}
|
|
61876
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61877
|
+
"class": sectionstyles.descriptionStyles + ' p-0 d-none d-sm-flex '
|
|
61878
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61879
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
61880
|
+
style: {
|
|
61881
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
61882
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61883
|
+
}
|
|
61884
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61885
|
+
"class": 'col-lg-3 col-md-12 p-0 d-flex align-items-center mt-md-3 justify-content-md-center',
|
|
61886
|
+
style: {
|
|
61887
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
61888
|
+
}
|
|
61889
|
+
}, sectionproperties.btntype == 'Phone Number' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61890
|
+
"class": sectionstyles.btnStyles
|
|
61891
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
61892
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
61893
|
+
target: '_self',
|
|
61894
|
+
"class": "d-flex align-items-center"
|
|
61895
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61896
|
+
"class": ' m-0 p-0 '
|
|
61897
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61898
|
+
"class": sectionstyles.btnStyles
|
|
61899
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
61900
|
+
href: 'tel:' + sectionproperties.btnlink,
|
|
61901
|
+
target: '_self',
|
|
61902
|
+
"class": "d-flex align-items-center"
|
|
61903
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61904
|
+
"class": ' m-0 p-0 '
|
|
61905
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
61906
|
+
"class": sectionstyles.btnStyles,
|
|
61907
|
+
onClick: function onClick() {
|
|
61908
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
61909
|
+
var _authdetailsContext$i3;
|
|
61910
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber) != null) {
|
|
61911
|
+
var _authdetailsContext$i4;
|
|
61912
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber), '_blank');
|
|
61913
|
+
}
|
|
61914
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
61915
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
61916
|
+
routingcountext(sectionproperties.btnlink, false, '');
|
|
61917
|
+
} else if (sectionproperties.btntype == 'Email') {
|
|
61918
|
+
window.open('mailto:' + sectionproperties.btnlink, '_self');
|
|
61919
|
+
} else {
|
|
61920
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
61921
|
+
}
|
|
61922
|
+
}
|
|
61923
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
|
|
61924
|
+
};
|
|
61628
61925
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61629
61926
|
className: sectionproperties.card_marginLeft != 0 ? 'row ml-0 mr-0 w-100 pl-md-2 pr-md-2 allcentered' : 'row ml-0 mr-0 w-100 allcentered',
|
|
61630
61927
|
style: {
|
|
@@ -61633,215 +61930,12 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
61633
61930
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
61634
61931
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
61635
61932
|
}
|
|
61636
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61637
|
-
"class":
|
|
61638
|
-
|
|
61639
|
-
|
|
61640
|
-
position: 'relative',
|
|
61641
|
-
background: sectionproperties.reservation_bgcolor,
|
|
61642
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
61643
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
61644
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
61645
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
61646
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
61647
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
61648
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
61649
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
61650
|
-
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
61651
|
-
}
|
|
61652
|
-
}, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61653
|
-
"class": sectionstyles.imgcontainer
|
|
61654
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
61655
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
61656
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
61657
|
-
path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
|
|
61658
|
-
style: {
|
|
61659
|
-
height: '100%',
|
|
61660
|
-
width: '100%',
|
|
61661
|
-
objectFit: 'cover',
|
|
61662
|
-
margin: 0,
|
|
61663
|
-
padding: 0,
|
|
61664
|
-
position: 'absolute',
|
|
61665
|
-
top: 0,
|
|
61666
|
-
bottom: 0,
|
|
61667
|
-
right: 0,
|
|
61668
|
-
left: 0
|
|
61669
|
-
}
|
|
61670
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61671
|
-
"class": "col-lg-12 p-0",
|
|
61672
|
-
style: {
|
|
61673
|
-
zIndex: 1
|
|
61674
|
-
}
|
|
61675
|
-
}, sectionproperties.cardsdirection == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61676
|
-
"class": "row m-0 w-100"
|
|
61677
|
-
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61678
|
-
"class": 'col-lg-12 p-0 d-flex align-items-center',
|
|
61679
|
-
style: {
|
|
61680
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
61681
|
-
}
|
|
61682
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61683
|
-
"class": sectionstyles.sectionTitleStyles + ' p-0 d-flex d-sm-none '
|
|
61684
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61685
|
-
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
61686
|
-
style: {
|
|
61687
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
61688
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61689
|
-
}
|
|
61690
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61691
|
-
"class": sectionstyles.sectionTitleStyles + ' p-0 d-none d-sm-flex '
|
|
61692
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61693
|
-
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
61694
|
-
style: {
|
|
61695
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
61696
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61697
|
-
}
|
|
61698
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61699
|
-
"class": 'col-lg-12 p-0 d-flex align-items-center',
|
|
61700
|
-
style: {
|
|
61701
|
-
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
61702
|
-
}
|
|
61703
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61704
|
-
"class": sectionstyles.descriptionStyles + ' p-0 d-flex d-sm-none '
|
|
61705
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61706
|
-
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
61707
|
-
style: {
|
|
61708
|
-
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
61709
|
-
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61710
|
-
}
|
|
61711
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61712
|
-
"class": sectionstyles.descriptionStyles + ' p-0 d-none d-sm-flex '
|
|
61713
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61714
|
-
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
61715
|
-
style: {
|
|
61716
|
-
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
61717
|
-
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61718
|
-
}
|
|
61719
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61720
|
-
"class": 'col-lg-12 p-0 d-flex align-items-center mt-md-3',
|
|
61721
|
-
style: {
|
|
61722
|
-
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
61723
|
-
}
|
|
61724
|
-
}, sectionproperties.btntype == 'Phone Number' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61725
|
-
"class": sectionstyles.btnStyles + ' allcentered '
|
|
61726
|
-
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
61727
|
-
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
61728
|
-
target: '_self',
|
|
61729
|
-
"class": "d-flex align-items-center"
|
|
61730
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61731
|
-
"class": sectionstyles.btnStyles + ' m-0 p-0 allcentered '
|
|
61732
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61733
|
-
"class": sectionstyles.btnStyles + ' allcentered '
|
|
61734
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61735
|
-
"class": sectionstyles.btnStyles + ' m-0 p-0 allcentered ',
|
|
61736
|
-
onClick: function onClick() {
|
|
61737
|
-
window.open('tel:' + sectionproperties.btnlink, '_blank');
|
|
61738
|
-
}
|
|
61739
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
61740
|
-
"class": sectionstyles.btnStyles,
|
|
61741
|
-
onClick: function onClick() {
|
|
61742
|
-
if (sectionproperties.btntype == 'WhatsApp') {
|
|
61743
|
-
var _authdetailsContext$i;
|
|
61744
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber) != null) {
|
|
61745
|
-
var _authdetailsContext$i2;
|
|
61746
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
|
|
61747
|
-
}
|
|
61748
|
-
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
61749
|
-
// window.open(sectionproperties.btnlink, '_target');
|
|
61750
|
-
routingcountext(sectionproperties.btnlink, false, '');
|
|
61751
|
-
} else if (sectionproperties.btntype == 'Email') {
|
|
61752
|
-
window.open('mailto:' + sectionproperties.btnlink, '_self');
|
|
61753
|
-
} else {
|
|
61754
|
-
window.open(sectionproperties.btnlink, '_blank');
|
|
61755
|
-
}
|
|
61756
|
-
}
|
|
61757
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.cardsdirection == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61758
|
-
"class": "row m-0 w-100 d-flex align-items-center"
|
|
61759
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61760
|
-
"class": "col-lg-9 col-md-12 p-0"
|
|
61761
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61933
|
+
}, sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61934
|
+
"class": "row m-0 w-100",
|
|
61935
|
+
"data-aos": "fade-up"
|
|
61936
|
+
}, SectionContent()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61762
61937
|
"class": "row m-0 w-100"
|
|
61763
|
-
},
|
|
61764
|
-
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
|
|
61765
|
-
style: {
|
|
61766
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
61767
|
-
}
|
|
61768
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61769
|
-
"class": sectionstyles.sectionTitleStyles + ' p-0 d-flex d-sm-none '
|
|
61770
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61771
|
-
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
61772
|
-
style: {
|
|
61773
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
61774
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61775
|
-
}
|
|
61776
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61777
|
-
"class": sectionstyles.sectionTitleStyles + ' p-0 d-none d-sm-flex '
|
|
61778
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61779
|
-
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
61780
|
-
style: {
|
|
61781
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
61782
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61783
|
-
}
|
|
61784
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61785
|
-
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
|
|
61786
|
-
style: {
|
|
61787
|
-
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
61788
|
-
}
|
|
61789
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61790
|
-
"class": sectionstyles.descriptionStyles + ' p-0 d-flex d-sm-none '
|
|
61791
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61792
|
-
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
61793
|
-
style: {
|
|
61794
|
-
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
61795
|
-
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61796
|
-
}
|
|
61797
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61798
|
-
"class": sectionstyles.descriptionStyles + ' p-0 d-none d-sm-flex '
|
|
61799
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61800
|
-
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
61801
|
-
style: {
|
|
61802
|
-
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
61803
|
-
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61804
|
-
}
|
|
61805
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61806
|
-
"class": 'col-lg-3 col-md-12 p-0 d-flex align-items-center mt-md-3 justify-content-md-center',
|
|
61807
|
-
style: {
|
|
61808
|
-
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
61809
|
-
}
|
|
61810
|
-
}, sectionproperties.btntype == 'Phone Number' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61811
|
-
"class": sectionstyles.btnStyles
|
|
61812
|
-
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
61813
|
-
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
61814
|
-
target: '_self',
|
|
61815
|
-
"class": "d-flex align-items-center"
|
|
61816
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61817
|
-
"class": ' m-0 p-0 '
|
|
61818
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61819
|
-
"class": sectionstyles.btnStyles
|
|
61820
|
-
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
61821
|
-
href: 'tel:' + sectionproperties.btnlink,
|
|
61822
|
-
target: '_self',
|
|
61823
|
-
"class": "d-flex align-items-center"
|
|
61824
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61825
|
-
"class": ' m-0 p-0 '
|
|
61826
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
61827
|
-
"class": sectionstyles.btnStyles,
|
|
61828
|
-
onClick: function onClick() {
|
|
61829
|
-
if (sectionproperties.btntype == 'WhatsApp') {
|
|
61830
|
-
var _authdetailsContext$i3;
|
|
61831
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber) != null) {
|
|
61832
|
-
var _authdetailsContext$i4;
|
|
61833
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber), '_blank');
|
|
61834
|
-
}
|
|
61835
|
-
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
61836
|
-
// window.open(sectionproperties.btnlink, '_target');
|
|
61837
|
-
routingcountext(sectionproperties.btnlink, false, '');
|
|
61838
|
-
} else if (sectionproperties.btntype == 'Email') {
|
|
61839
|
-
window.open('mailto:' + sectionproperties.btnlink, '_self');
|
|
61840
|
-
} else {
|
|
61841
|
-
window.open(sectionproperties.btnlink, '_blank');
|
|
61842
|
-
}
|
|
61843
|
-
}
|
|
61844
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
|
|
61938
|
+
}, SectionContent()));
|
|
61845
61939
|
};
|
|
61846
61940
|
|
|
61847
61941
|
function ownKeys$12(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; }
|
|
@@ -81598,6 +81692,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
81598
81692
|
"class": ' row m-0 w-100 '
|
|
81599
81693
|
}, options_w_values === null || options_w_values === void 0 ? void 0 : options_w_values.map(function (item, index) {
|
|
81600
81694
|
var _item$values5;
|
|
81695
|
+
// if (index <= 3) {
|
|
81601
81696
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
81602
81697
|
className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer"
|
|
81603
81698
|
}, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem) {
|
|
@@ -81635,6 +81730,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
81635
81730
|
disabled: valitem.disabled
|
|
81636
81731
|
}, (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
|
|
81637
81732
|
}));
|
|
81733
|
+
// }
|
|
81638
81734
|
})));
|
|
81639
81735
|
};
|
|
81640
81736
|
|
|
@@ -82087,6 +82183,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
82087
82183
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
82088
82184
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
82089
82185
|
}
|
|
82186
|
+
// data-aos={'fade-up'}
|
|
82187
|
+
// data-aos-delay={props.sectionindexprops + 10}
|
|
82090
82188
|
// class={props.sectiontypeprops2 == 'vertical' ? `${card_cssstyles.productcard}` + ' w-100 ' : ` ${card_cssstyles.productcard} ${generalCardsStyles.Simpleproductcard}`}
|
|
82091
82189
|
// style={{
|
|
82092
82190
|
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|