tabexseriescomponents 0.0.613 → 0.0.615
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 +863 -220
- package/dist/index.esm.js +863 -220
- package/dist/index.umd.js +863 -220
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10120,7 +10120,7 @@ var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
10120
10120
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
10121
10121
|
});
|
|
10122
10122
|
var Checkout = function Checkout(props) {
|
|
10123
|
-
var _css, _checkoutstyles, _ref,
|
|
10123
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _authdetailsContext$i4, _fetchcustomercartQue82, _authdetailsContext$i5, _fetchcustomercartQue84, _authdetailsContext$i6, _fetchcustomercartQue86, _fetchcustomercartQue88;
|
|
10124
10124
|
var _useState = React.useState(null),
|
|
10125
10125
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
10126
10126
|
_useState2[0];
|
|
@@ -10160,13 +10160,17 @@ var Checkout = function Checkout(props) {
|
|
|
10160
10160
|
insthasaffiliate = _useState8[0],
|
|
10161
10161
|
setinsthasaffiliate = _useState8[1];
|
|
10162
10162
|
var _useState9 = React.useState(false),
|
|
10163
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
10164
|
-
|
|
10165
|
-
|
|
10163
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
10164
|
+
_useState10[0];
|
|
10165
|
+
_useState10[1];
|
|
10166
10166
|
var _useState11 = React.useState(false),
|
|
10167
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
10168
|
-
|
|
10169
|
-
|
|
10167
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
10168
|
+
_useState12[0];
|
|
10169
|
+
_useState12[1];
|
|
10170
|
+
var _useState13 = React.useState([]),
|
|
10171
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
10172
|
+
shippingmethods = _useState14[0],
|
|
10173
|
+
setshippingmethods = _useState14[1];
|
|
10170
10174
|
React.useEffect(function () {
|
|
10171
10175
|
var _templatepropcontext$;
|
|
10172
10176
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -10234,26 +10238,46 @@ var Checkout = function Checkout(props) {
|
|
|
10234
10238
|
mutateSuccesscallback: function mutateSuccesscallback() {}
|
|
10235
10239
|
});
|
|
10236
10240
|
}, [authdetailsContext]);
|
|
10241
|
+
React.useEffect(function () {
|
|
10242
|
+
if (fetchcustomercartQueryContext != undefined && fetchcustomercartQueryContext.data != undefined && fetchcustomercartQueryContext.data.data != undefined && fetchcustomercartQueryContext.data.data.customercart != undefined && fetchcustomercartQueryContext.data.data.customercart.cityid != undefined && fetchcustomercartQueryContext.data.data.customercart.cityid != null && fetchcustomercartQueryContext.data.data.customercart.cityid != '' && fetchcustomercartQueryContext.data.data.customercart.length != 0) {
|
|
10243
|
+
var _fetchcustomercartQue9;
|
|
10244
|
+
var cityid = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.customercart.cityid;
|
|
10245
|
+
fetchshippingmethods(cityid);
|
|
10246
|
+
}
|
|
10247
|
+
}, [fetchcustomercartQueryContext.data]);
|
|
10248
|
+
var fetchshippingmethods = function fetchshippingmethods(cityid) {
|
|
10249
|
+
GeneralAPIMutationContext.mutate({
|
|
10250
|
+
endpointurl: '/g_shippingmethods',
|
|
10251
|
+
cityid: cityid,
|
|
10252
|
+
mutateSuccesscallback: function mutateSuccesscallback(data) {
|
|
10253
|
+
if (data != undefined && data.data != undefined && data.data.status == true) {
|
|
10254
|
+
setshippingmethods(data.data.data);
|
|
10255
|
+
}
|
|
10256
|
+
}
|
|
10257
|
+
});
|
|
10258
|
+
};
|
|
10237
10259
|
var cartinfoupdater = function cartinfoupdater(key, value) {
|
|
10238
|
-
var
|
|
10260
|
+
var _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20;
|
|
10239
10261
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
10240
10262
|
cartarr.data.customercart[key] = value;
|
|
10241
10263
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
10242
10264
|
var payloadobj = {
|
|
10243
|
-
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10244
|
-
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10245
|
-
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10246
|
-
address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10247
|
-
paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10248
|
-
name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10249
|
-
email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10250
|
-
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10251
|
-
notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10252
|
-
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10253
|
-
|
|
10265
|
+
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.customercart.stateid,
|
|
10266
|
+
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.customercart.countryid,
|
|
10267
|
+
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.customercart.cityid,
|
|
10268
|
+
address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.customercart.address,
|
|
10269
|
+
paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue14 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.data) === null || _fetchcustomercartQue14 === void 0 ? void 0 : _fetchcustomercartQue14.customercart.paymentmethod,
|
|
10270
|
+
name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.customercart.name,
|
|
10271
|
+
email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.customercart.email,
|
|
10272
|
+
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue17 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue17 === void 0 || (_fetchcustomercartQue17 = _fetchcustomercartQue17.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : _fetchcustomercartQue17.customercart.mobile,
|
|
10273
|
+
notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue18 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue18 === void 0 || (_fetchcustomercartQue18 = _fetchcustomercartQue18.data) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.customercart.notes,
|
|
10274
|
+
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue19 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue19 === void 0 || (_fetchcustomercartQue19 = _fetchcustomercartQue19.data) === null || _fetchcustomercartQue19 === void 0 ? void 0 : _fetchcustomercartQue19.customercart.aff_code,
|
|
10275
|
+
shippingmethod_id: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue20 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue20 === void 0 || (_fetchcustomercartQue20 = _fetchcustomercartQue20.data) === null || _fetchcustomercartQue20 === void 0 ? void 0 : _fetchcustomercartQue20.customercart.shippingmethod_id
|
|
10254
10276
|
};
|
|
10255
10277
|
if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email' || key == 'notes' || key == 'aff_code') ; else {
|
|
10278
|
+
var _fetchcustomercartQue21;
|
|
10256
10279
|
ChooseState_CountryMutationContext.mutate(payloadobj);
|
|
10280
|
+
fetchshippingmethods(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue21 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue21 === void 0 || (_fetchcustomercartQue21 = _fetchcustomercartQue21.data) === null || _fetchcustomercartQue21 === void 0 || (_fetchcustomercartQue21 = _fetchcustomercartQue21.customercart) === null || _fetchcustomercartQue21 === void 0 ? void 0 : _fetchcustomercartQue21.cityid);
|
|
10257
10281
|
}
|
|
10258
10282
|
};
|
|
10259
10283
|
var usewalletpoints = function usewalletpoints() {
|
|
@@ -10449,7 +10473,7 @@ var Checkout = function Checkout(props) {
|
|
|
10449
10473
|
})), _checkoutstyles);
|
|
10450
10474
|
var addorderfuncrunner = function addorderfuncrunner() {
|
|
10451
10475
|
return (_ref = _ref || _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
10452
|
-
var
|
|
10476
|
+
var _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30, _fetchcustomercartQue31, _fetchcustomercartQue32;
|
|
10453
10477
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
10454
10478
|
while (1) switch (_context.prev = _context.next) {
|
|
10455
10479
|
case 0:
|
|
@@ -10458,19 +10482,20 @@ var Checkout = function Checkout(props) {
|
|
|
10458
10482
|
// temppayload.endpointurl = '/ChooseState_Country';
|
|
10459
10483
|
GeneralAPIMutationContext.mutate({
|
|
10460
10484
|
endpointurl: '/ChooseState_Country',
|
|
10461
|
-
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10462
|
-
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10463
|
-
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10464
|
-
address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10465
|
-
paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10466
|
-
name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10467
|
-
email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10468
|
-
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10469
|
-
notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10470
|
-
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10485
|
+
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue22 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue22 === void 0 || (_fetchcustomercartQue22 = _fetchcustomercartQue22.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.customercart.stateid,
|
|
10486
|
+
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue23 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue23 === void 0 || (_fetchcustomercartQue23 = _fetchcustomercartQue23.data) === null || _fetchcustomercartQue23 === void 0 ? void 0 : _fetchcustomercartQue23.customercart.countryid,
|
|
10487
|
+
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue24 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue24 === void 0 || (_fetchcustomercartQue24 = _fetchcustomercartQue24.data) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.customercart.cityid,
|
|
10488
|
+
address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue25 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue25 === void 0 || (_fetchcustomercartQue25 = _fetchcustomercartQue25.data) === null || _fetchcustomercartQue25 === void 0 ? void 0 : _fetchcustomercartQue25.customercart.address,
|
|
10489
|
+
paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue26 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue26 === void 0 || (_fetchcustomercartQue26 = _fetchcustomercartQue26.data) === null || _fetchcustomercartQue26 === void 0 ? void 0 : _fetchcustomercartQue26.customercart.paymentmethod,
|
|
10490
|
+
name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue27 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue27 === void 0 || (_fetchcustomercartQue27 = _fetchcustomercartQue27.data) === null || _fetchcustomercartQue27 === void 0 ? void 0 : _fetchcustomercartQue27.customercart.name,
|
|
10491
|
+
email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue28 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue28 === void 0 || (_fetchcustomercartQue28 = _fetchcustomercartQue28.data) === null || _fetchcustomercartQue28 === void 0 ? void 0 : _fetchcustomercartQue28.customercart.email,
|
|
10492
|
+
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue29 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue29 === void 0 || (_fetchcustomercartQue29 = _fetchcustomercartQue29.data) === null || _fetchcustomercartQue29 === void 0 ? void 0 : _fetchcustomercartQue29.customercart.mobile,
|
|
10493
|
+
notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue30 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue30 === void 0 || (_fetchcustomercartQue30 = _fetchcustomercartQue30.data) === null || _fetchcustomercartQue30 === void 0 ? void 0 : _fetchcustomercartQue30.customercart.notes,
|
|
10494
|
+
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue31 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue31 === void 0 || (_fetchcustomercartQue31 = _fetchcustomercartQue31.data) === null || _fetchcustomercartQue31 === void 0 ? void 0 : _fetchcustomercartQue31.customercart.aff_code,
|
|
10495
|
+
shippingmethod_id: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue32 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue32 === void 0 || (_fetchcustomercartQue32 = _fetchcustomercartQue32.data) === null || _fetchcustomercartQue32 === void 0 ? void 0 : _fetchcustomercartQue32.customercart.shippingmethod_id,
|
|
10471
10496
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
10472
10497
|
if (data.data.status) {
|
|
10473
|
-
var
|
|
10498
|
+
var _fetchcustomercartQue33, _fetchcustomercartQue34;
|
|
10474
10499
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
10475
10500
|
cartarr.data = data.data.cartresponse;
|
|
10476
10501
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
@@ -10478,9 +10503,9 @@ var Checkout = function Checkout(props) {
|
|
|
10478
10503
|
// const cookies = new Cookies();
|
|
10479
10504
|
localStorage.setItem('cdata', data.data.cdata);
|
|
10480
10505
|
}
|
|
10481
|
-
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10506
|
+
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.name.length) < 3) {
|
|
10482
10507
|
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
10483
|
-
} else if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10508
|
+
} else if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.mobile.length) < 11) {
|
|
10484
10509
|
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
10485
10510
|
} else {
|
|
10486
10511
|
AddOrderMutationContext.mutate();
|
|
@@ -10508,7 +10533,7 @@ var Checkout = function Checkout(props) {
|
|
|
10508
10533
|
return isloading;
|
|
10509
10534
|
};
|
|
10510
10535
|
var Mycart = function Mycart() {
|
|
10511
|
-
var
|
|
10536
|
+
var _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60;
|
|
10512
10537
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10513
10538
|
className: "row m-0 w-100 mb-md-3"
|
|
10514
10539
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10533,7 +10558,7 @@ var Checkout = function Checkout(props) {
|
|
|
10533
10558
|
className: "row m-0 w-100"
|
|
10534
10559
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10535
10560
|
className: "col-lg-12 p-0"
|
|
10536
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10561
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.data) === null || _fetchcustomercartQue35 === void 0 ? void 0 : _fetchcustomercartQue35.customercart.cartitems.map(function (item, index) {
|
|
10537
10562
|
if (item.product_extrafields != null) {
|
|
10538
10563
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
10539
10564
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
@@ -10656,13 +10681,13 @@ var Checkout = function Checkout(props) {
|
|
|
10656
10681
|
type: "text",
|
|
10657
10682
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10658
10683
|
placeholder: lang.giftcarddicountcode,
|
|
10659
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10684
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue36 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue36 === void 0 || (_fetchcustomercartQue36 = _fetchcustomercartQue36.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.couponname,
|
|
10660
10685
|
onChange: function onChange(event) {
|
|
10661
10686
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
10662
10687
|
cartarr.data.customercart.couponname = event.target.value;
|
|
10663
10688
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
10664
10689
|
},
|
|
10665
|
-
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
10690
|
+
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue37 !== void 0 && (_fetchcustomercartQue37 = _fetchcustomercartQue37.data) !== null && _fetchcustomercartQue37 !== void 0 && _fetchcustomercartQue37.customercart.couponexists ? true : false,
|
|
10666
10691
|
style: {
|
|
10667
10692
|
boxShadow: 'none'
|
|
10668
10693
|
}
|
|
@@ -10671,14 +10696,14 @@ var Checkout = function Checkout(props) {
|
|
|
10671
10696
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10672
10697
|
className: " ".concat(checkoutstyles.applybtnstyles),
|
|
10673
10698
|
onClick: function onClick() {
|
|
10674
|
-
var
|
|
10675
|
-
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
10676
|
-
var
|
|
10699
|
+
var _fetchcustomercartQue38;
|
|
10700
|
+
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue38 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue38 !== void 0 && (_fetchcustomercartQue38 = _fetchcustomercartQue38.data) !== null && _fetchcustomercartQue38 !== void 0 && _fetchcustomercartQue38.customercart.couponexists)) {
|
|
10701
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue40;
|
|
10677
10702
|
var payloadobj = {
|
|
10678
|
-
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10703
|
+
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.data) === null || _fetchcustomercartQue39 === void 0 ? void 0 : _fetchcustomercartQue39.customercart.couponname,
|
|
10679
10704
|
functype: 'add'
|
|
10680
10705
|
};
|
|
10681
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10706
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue40 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.data) === null || _fetchcustomercartQue40 === void 0 ? void 0 : _fetchcustomercartQue40.customercart.couponname.length) != 0) {
|
|
10682
10707
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
10683
10708
|
} else {
|
|
10684
10709
|
NotificationManager.warning('', langdetect == 'en' ? 'Please Write Your Promo Code' : 'من فضلك اكتب كود الخصم');
|
|
@@ -10693,14 +10718,14 @@ var Checkout = function Checkout(props) {
|
|
|
10693
10718
|
disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
|
|
10694
10719
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10695
10720
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
|
|
10696
|
-
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
10721
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue41 !== void 0 && (_fetchcustomercartQue41 = _fetchcustomercartQue41.data) !== null && _fetchcustomercartQue41 !== void 0 && _fetchcustomercartQue41.customercart.couponexists ? langdetect == 'en' ? 'Remove' : 'حذف' : langdetect == 'en' ? 'Apply' : 'تطبيق'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10697
10722
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeInButton, " ").concat(generalstyles.btn_preloader) + ' d-flex align-items-center justify-content-center ' : "".concat(generalstyles.fadeOutButton) + ' align-items-center justify-content-center '
|
|
10698
10723
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
10699
10724
|
color: "#fff",
|
|
10700
10725
|
width: "20px",
|
|
10701
10726
|
height: "20px",
|
|
10702
10727
|
duration: "1s"
|
|
10703
|
-
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10728
|
+
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue42 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.customercart) === null || _fetchcustomercartQue42 === void 0 ? void 0 : _fetchcustomercartQue42.availablewalletbalance) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10704
10729
|
className: "row m-0 w-100"
|
|
10705
10730
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10706
10731
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -10710,7 +10735,7 @@ var Checkout = function Checkout(props) {
|
|
|
10710
10735
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10711
10736
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10712
10737
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
10713
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10738
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.customercart) === null || _fetchcustomercartQue43 === void 0 ? void 0 : _fetchcustomercartQue43.availablewalletbalance, langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue44 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.customercart) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.usewalletpoints) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10714
10739
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
10715
10740
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10716
10741
|
style: {
|
|
@@ -10720,7 +10745,7 @@ var Checkout = function Checkout(props) {
|
|
|
10720
10745
|
onClick: function onClick() {
|
|
10721
10746
|
usewalletpoints();
|
|
10722
10747
|
}
|
|
10723
|
-
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10748
|
+
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.customercart) === null || _fetchcustomercartQue45 === void 0 ? void 0 : _fetchcustomercartQue45.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10724
10749
|
className: "row m-0 w-100"
|
|
10725
10750
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10726
10751
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
@@ -10742,9 +10767,9 @@ var Checkout = function Checkout(props) {
|
|
|
10742
10767
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10743
10768
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10744
10769
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
10745
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10770
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue46 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.data) === null || _fetchcustomercartQue46 === void 0 ? void 0 : _fetchcustomercartQue46.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.customercart) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.genpayments) === null || _fetchcustomercartQue47 === void 0 ? void 0 : _fetchcustomercartQue47.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10746
10771
|
className: "row m-0 w-100"
|
|
10747
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10772
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue48 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.customercart) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.genpayments) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.map(function (item, index) {
|
|
10748
10773
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10749
10774
|
"class": "col-lg-12 p-0"
|
|
10750
10775
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10764,7 +10789,7 @@ var Checkout = function Checkout(props) {
|
|
|
10764
10789
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
10765
10790
|
}
|
|
10766
10791
|
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "%")))));
|
|
10767
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10792
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.customercart) === null || _fetchcustomercartQue49 === void 0 ? void 0 : _fetchcustomercartQue49.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10768
10793
|
className: "row m-0 w-100"
|
|
10769
10794
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10770
10795
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -10777,7 +10802,7 @@ var Checkout = function Checkout(props) {
|
|
|
10777
10802
|
style: {
|
|
10778
10803
|
color: 'red'
|
|
10779
10804
|
}
|
|
10780
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10805
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue50 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.customercart) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10781
10806
|
className: "col-lg-12 p-0 mb-1"
|
|
10782
10807
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10783
10808
|
className: "row m-0 w-100"
|
|
@@ -10789,7 +10814,7 @@ var Checkout = function Checkout(props) {
|
|
|
10789
10814
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10790
10815
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10791
10816
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
10792
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10817
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10793
10818
|
className: "col-lg-12 p-0"
|
|
10794
10819
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10795
10820
|
className: "row m-0 w-100"
|
|
@@ -10797,11 +10822,11 @@ var Checkout = function Checkout(props) {
|
|
|
10797
10822
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
10798
10823
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10799
10824
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
10800
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10825
|
+
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10801
10826
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10802
10827
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10803
10828
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
10804
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10829
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue58 !== void 0 && (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) !== null && _fetchcustomercartQue58 !== void 0 && _fetchcustomercartQue58.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10805
10830
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10806
10831
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10807
10832
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -10840,7 +10865,7 @@ var Checkout = function Checkout(props) {
|
|
|
10840
10865
|
textTransform: sectionproperties.total_texttransform,
|
|
10841
10866
|
color: sectionproperties.total_color
|
|
10842
10867
|
}
|
|
10843
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10868
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10844
10869
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
10845
10870
|
style: {
|
|
10846
10871
|
background: '#eee',
|
|
@@ -10875,7 +10900,7 @@ var Checkout = function Checkout(props) {
|
|
|
10875
10900
|
width: "20px",
|
|
10876
10901
|
height: "20px",
|
|
10877
10902
|
duration: "1s"
|
|
10878
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10903
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.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.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10879
10904
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
10880
10905
|
style: {
|
|
10881
10906
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -11042,7 +11067,7 @@ var Checkout = function Checkout(props) {
|
|
|
11042
11067
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11043
11068
|
type: 'text',
|
|
11044
11069
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11045
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11070
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.name,
|
|
11046
11071
|
onChange: function onChange(event) {
|
|
11047
11072
|
cartinfoupdater('name', event.target.value);
|
|
11048
11073
|
},
|
|
@@ -11057,7 +11082,7 @@ var Checkout = function Checkout(props) {
|
|
|
11057
11082
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11058
11083
|
type: 'text',
|
|
11059
11084
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11060
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11085
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.mobile,
|
|
11061
11086
|
onChange: function onChange(event) {
|
|
11062
11087
|
cartinfoupdater('mobile', event.target.value);
|
|
11063
11088
|
},
|
|
@@ -11072,7 +11097,7 @@ var Checkout = function Checkout(props) {
|
|
|
11072
11097
|
}, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11073
11098
|
type: 'text',
|
|
11074
11099
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11075
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11100
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.email,
|
|
11076
11101
|
onChange: function onChange(event) {
|
|
11077
11102
|
cartinfoupdater('email', event.target.value);
|
|
11078
11103
|
},
|
|
@@ -11116,8 +11141,8 @@ var Checkout = function Checkout(props) {
|
|
|
11116
11141
|
return option.id;
|
|
11117
11142
|
},
|
|
11118
11143
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
11119
|
-
var
|
|
11120
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11144
|
+
var _fetchcustomercartQue64;
|
|
11145
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.countryid);
|
|
11121
11146
|
}),
|
|
11122
11147
|
onChange: function onChange(option) {
|
|
11123
11148
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2l({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -11162,12 +11187,12 @@ var Checkout = function Checkout(props) {
|
|
|
11162
11187
|
return option.id;
|
|
11163
11188
|
},
|
|
11164
11189
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
11165
|
-
var
|
|
11166
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11190
|
+
var _fetchcustomercartQue65;
|
|
11191
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.stateid);
|
|
11167
11192
|
}),
|
|
11168
11193
|
onChange: function onChange(option) {
|
|
11169
|
-
var
|
|
11170
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11194
|
+
var _fetchcustomercartQue66;
|
|
11195
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.countryid.length) != 0) {
|
|
11171
11196
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2l({}, FetchTabexStatesPayloadobjContext);
|
|
11172
11197
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
11173
11198
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -11210,8 +11235,8 @@ var Checkout = function Checkout(props) {
|
|
|
11210
11235
|
return option.id;
|
|
11211
11236
|
},
|
|
11212
11237
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
11213
|
-
var
|
|
11214
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11238
|
+
var _fetchcustomercartQue67;
|
|
11239
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.cityid);
|
|
11215
11240
|
}),
|
|
11216
11241
|
onChange: function onChange(option) {
|
|
11217
11242
|
cartinfoupdater('cityid', option.id);
|
|
@@ -11226,7 +11251,7 @@ var Checkout = function Checkout(props) {
|
|
|
11226
11251
|
}, langdetect == 'en' ? sectionproperties.shippingaddressen : sectionproperties.shippingaddressar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
11227
11252
|
type: 'text',
|
|
11228
11253
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11229
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11254
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.address,
|
|
11230
11255
|
onChange: function onChange(event) {
|
|
11231
11256
|
cartinfoupdater('address', event.target.value);
|
|
11232
11257
|
},
|
|
@@ -11241,7 +11266,7 @@ var Checkout = function Checkout(props) {
|
|
|
11241
11266
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
11242
11267
|
type: 'text',
|
|
11243
11268
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11244
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11269
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.notes,
|
|
11245
11270
|
onChange: function onChange(event) {
|
|
11246
11271
|
cartinfoupdater('notes', event.target.value);
|
|
11247
11272
|
},
|
|
@@ -11256,7 +11281,7 @@ var Checkout = function Checkout(props) {
|
|
|
11256
11281
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11257
11282
|
type: 'number',
|
|
11258
11283
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11259
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11284
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.customercart) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.aff_code,
|
|
11260
11285
|
onChange: function onChange(event) {
|
|
11261
11286
|
cartinfoupdater('aff_code', event.target.value);
|
|
11262
11287
|
},
|
|
@@ -11264,7 +11289,7 @@ var Checkout = function Checkout(props) {
|
|
|
11264
11289
|
resize: 'none',
|
|
11265
11290
|
boxShadow: 'none'
|
|
11266
11291
|
}
|
|
11267
|
-
}))))), sectionproperties.showshippingmethod == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11292
|
+
}))))), shippingmethods.length != 0 && sectionproperties.showshippingmethod == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11268
11293
|
className: "col-lg-12 p-0 w-100"
|
|
11269
11294
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11270
11295
|
"class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
|
|
@@ -11278,50 +11303,21 @@ var Checkout = function Checkout(props) {
|
|
|
11278
11303
|
className: "mt-2 mb-2"
|
|
11279
11304
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11280
11305
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
11281
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
11282
|
-
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
11283
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11284
|
-
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
11285
|
-
"for": "codcheckbox"
|
|
11286
|
-
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11287
|
-
id: 'codcheckbox',
|
|
11288
|
-
type: "checkbox",
|
|
11289
|
-
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11290
|
-
checked: land == true ? true : false,
|
|
11291
|
-
onChange: function onChange() {
|
|
11292
|
-
setland(true);
|
|
11293
|
-
setair(false);
|
|
11294
|
-
}
|
|
11295
|
-
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
11296
|
-
viewBox: "0 0 21 21",
|
|
11297
|
-
className: checkoutstyles.svgstyles + ' h-100 '
|
|
11298
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
11299
|
-
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"
|
|
11300
|
-
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11301
|
-
className: ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
|
|
11306
|
+
}, /*#__PURE__*/React__default["default"].createElement("select", {
|
|
11302
11307
|
style: {
|
|
11303
|
-
|
|
11304
|
-
}
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11316
|
-
}
|
|
11317
|
-
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
11318
|
-
viewBox: "0 0 21 21",
|
|
11319
|
-
className: checkoutstyles.svgstyles + ' h-100 '
|
|
11320
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
11321
|
-
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"
|
|
11322
|
-
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11323
|
-
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
11324
|
-
}, " ", langdetect == 'en' ? 'Air Shipping' : 'شحن جوي')))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11308
|
+
width: '100%'
|
|
11309
|
+
},
|
|
11310
|
+
onChange: function onChange(event) {
|
|
11311
|
+
cartinfoupdater('shippingmethod_id', event.target.value);
|
|
11312
|
+
},
|
|
11313
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.customercart) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.shippingmethod_id
|
|
11314
|
+
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
11315
|
+
value: null
|
|
11316
|
+
}, "Choose Shipping Method"), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
|
|
11317
|
+
return /*#__PURE__*/React__default["default"].createElement("option", {
|
|
11318
|
+
value: item.id
|
|
11319
|
+
}, item.name_en);
|
|
11320
|
+
}))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11325
11321
|
className: "col-lg-12 p-0 w-100"
|
|
11326
11322
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11327
11323
|
"class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
|
|
@@ -11344,10 +11340,10 @@ var Checkout = function Checkout(props) {
|
|
|
11344
11340
|
id: 'codcheckbox',
|
|
11345
11341
|
type: "checkbox",
|
|
11346
11342
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11347
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11343
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.paymentmethod) == 'cod' ? true : false,
|
|
11348
11344
|
onChange: function onChange() {
|
|
11349
|
-
var
|
|
11350
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11345
|
+
var _fetchcustomercartQue73;
|
|
11346
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) != 'cod') {
|
|
11351
11347
|
cartinfoupdater('paymentmethod', 'cod');
|
|
11352
11348
|
}
|
|
11353
11349
|
}
|
|
@@ -11368,10 +11364,10 @@ var Checkout = function Checkout(props) {
|
|
|
11368
11364
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11369
11365
|
type: "checkbox",
|
|
11370
11366
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11371
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11367
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
11372
11368
|
onChange: function onChange() {
|
|
11373
|
-
var
|
|
11374
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11369
|
+
var _fetchcustomercartQue75;
|
|
11370
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) != 'cardondelivery') {
|
|
11375
11371
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
11376
11372
|
}
|
|
11377
11373
|
}
|
|
@@ -11389,10 +11385,10 @@ var Checkout = function Checkout(props) {
|
|
|
11389
11385
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11390
11386
|
type: "checkbox",
|
|
11391
11387
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11392
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11388
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
11393
11389
|
onChange: function onChange() {
|
|
11394
|
-
var
|
|
11395
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11390
|
+
var _fetchcustomercartQue77;
|
|
11391
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'onlinepayment') {
|
|
11396
11392
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
11397
11393
|
}
|
|
11398
11394
|
}
|
|
@@ -11410,10 +11406,10 @@ var Checkout = function Checkout(props) {
|
|
|
11410
11406
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11411
11407
|
type: "checkbox",
|
|
11412
11408
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11413
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11409
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'valU' ? true : false,
|
|
11414
11410
|
onChange: function onChange() {
|
|
11415
|
-
var
|
|
11416
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11411
|
+
var _fetchcustomercartQue79;
|
|
11412
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'valU') {
|
|
11417
11413
|
cartinfoupdater('paymentmethod', 'valU');
|
|
11418
11414
|
}
|
|
11419
11415
|
}
|
|
@@ -11431,10 +11427,10 @@ var Checkout = function Checkout(props) {
|
|
|
11431
11427
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11432
11428
|
type: "checkbox",
|
|
11433
11429
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11434
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11430
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
11435
11431
|
onChange: function onChange() {
|
|
11436
|
-
var
|
|
11437
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11432
|
+
var _fetchcustomercartQue81;
|
|
11433
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'mobilewallet') {
|
|
11438
11434
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
11439
11435
|
}
|
|
11440
11436
|
}
|
|
@@ -11452,10 +11448,10 @@ var Checkout = function Checkout(props) {
|
|
|
11452
11448
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11453
11449
|
type: "checkbox",
|
|
11454
11450
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11455
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11451
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.customercart) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.paymentmethod) == 'forsa' ? true : false,
|
|
11456
11452
|
onChange: function onChange() {
|
|
11457
|
-
var
|
|
11458
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11453
|
+
var _fetchcustomercartQue83;
|
|
11454
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.customercart) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.paymentmethod) != 'forsa') {
|
|
11459
11455
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
11460
11456
|
}
|
|
11461
11457
|
}
|
|
@@ -11473,10 +11469,10 @@ var Checkout = function Checkout(props) {
|
|
|
11473
11469
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11474
11470
|
type: "checkbox",
|
|
11475
11471
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11476
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11472
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.customercart) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.paymentmethod) == 'bankinstallments' ? true : false,
|
|
11477
11473
|
onChange: function onChange() {
|
|
11478
|
-
var
|
|
11479
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11474
|
+
var _fetchcustomercartQue85;
|
|
11475
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.customercart) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.paymentmethod) != 'bankinstallments') {
|
|
11480
11476
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
11481
11477
|
}
|
|
11482
11478
|
}
|
|
@@ -11494,10 +11490,10 @@ var Checkout = function Checkout(props) {
|
|
|
11494
11490
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11495
11491
|
type: "checkbox",
|
|
11496
11492
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11497
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11493
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.paymentmethod) == 'Aman' ? true : false,
|
|
11498
11494
|
onChange: function onChange() {
|
|
11499
|
-
var
|
|
11500
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11495
|
+
var _fetchcustomercartQue87;
|
|
11496
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.customercart) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.paymentmethod) != 'Aman') {
|
|
11501
11497
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
11502
11498
|
}
|
|
11503
11499
|
}
|
|
@@ -11508,7 +11504,7 @@ var Checkout = function Checkout(props) {
|
|
|
11508
11504
|
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"
|
|
11509
11505
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11510
11506
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
11511
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11507
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11512
11508
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
11513
11509
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11514
11510
|
style: {
|
|
@@ -18495,6 +18491,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18495
18491
|
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 ';
|
|
18496
18492
|
} else if (item.tabexsectioninfo.sectioncompname == 'Classiccategorycard') {
|
|
18497
18493
|
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18494
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
|
|
18495
|
+
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18498
18496
|
} else {
|
|
18499
18497
|
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
|
|
18500
18498
|
}
|
|
@@ -18525,6 +18523,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18525
18523
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 ';
|
|
18526
18524
|
} else if (item.tabexsectioninfo.sectioncompname == 'Classiccategorycard') {
|
|
18527
18525
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18526
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
|
|
18527
|
+
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18528
18528
|
} else {
|
|
18529
18529
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0';
|
|
18530
18530
|
}
|
|
@@ -18555,6 +18555,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18555
18555
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ';
|
|
18556
18556
|
} else if (item.tabexsectioninfo.sectioncompname == 'Classiccategorycard') {
|
|
18557
18557
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18558
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
|
|
18559
|
+
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18558
18560
|
} else {
|
|
18559
18561
|
bootstapclass = ' col-xl-4 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18560
18562
|
}
|
|
@@ -18583,6 +18585,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18583
18585
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ';
|
|
18584
18586
|
} else if (item.tabexsectioninfo.sectioncompname == 'Classiccategorycard') {
|
|
18585
18587
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18588
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
|
|
18589
|
+
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18586
18590
|
} else {
|
|
18587
18591
|
bootstapclass = ' col-xl-3 col-lg-4 col-md-4 p-0 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18588
18592
|
}
|
|
@@ -18610,6 +18614,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18610
18614
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0';
|
|
18611
18615
|
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage') {
|
|
18612
18616
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ';
|
|
18617
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
|
|
18618
|
+
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18613
18619
|
} else {
|
|
18614
18620
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18615
18621
|
}
|
|
@@ -18640,6 +18646,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18640
18646
|
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 ';
|
|
18641
18647
|
} else if (item.tabexsectioninfo.sectioncompname == 'Classiccategorycard') {
|
|
18642
18648
|
bootstapclass = ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18649
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
|
|
18650
|
+
bootstapclass = ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18643
18651
|
} else {
|
|
18644
18652
|
bootstapclass = ' col-xl-2 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
18645
18653
|
}
|
|
@@ -28243,6 +28251,18 @@ var CTAHeader = function CTAHeader(props) {
|
|
|
28243
28251
|
"class": "".concat(header_cssstyles.topbar_item_text)
|
|
28244
28252
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
28245
28253
|
}
|
|
28254
|
+
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28255
|
+
"class": "row m-0 w-100 p-0"
|
|
28256
|
+
}, /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
28257
|
+
sectionpropertiesprops: sectionproperties,
|
|
28258
|
+
authdetailsContext: authdetailsContext,
|
|
28259
|
+
subheaderpropertiesprops: {
|
|
28260
|
+
subheaderpositionprops: 'in nav',
|
|
28261
|
+
paddingLeftprops: '30px',
|
|
28262
|
+
paddingRightprops: '30px',
|
|
28263
|
+
subheadercontentpositionprops: 'center'
|
|
28264
|
+
},
|
|
28265
|
+
actions: actions
|
|
28246
28266
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28247
28267
|
"class": "col-lg-3 p-0 d-flex align-items-center justify-content-end"
|
|
28248
28268
|
}, sectionproperties.generalbtn_show == 'Show' && sectionproperties.btntype == 'Shop' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -44308,7 +44328,7 @@ var Footer4 = function Footer4(props) {
|
|
|
44308
44328
|
function ownKeys$1y(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; }
|
|
44309
44329
|
function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44310
44330
|
var Footer5 = function Footer5(props) {
|
|
44311
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$
|
|
44331
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43;
|
|
44312
44332
|
var _useState = React.useState(''),
|
|
44313
44333
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
44314
44334
|
sectionproperties = _useState2[0],
|
|
@@ -44710,13 +44730,26 @@ var Footer5 = function Footer5(props) {
|
|
|
44710
44730
|
className: "h-100 allcentered"
|
|
44711
44731
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
44712
44732
|
size: sectionproperties.youtubebtniconfontsize
|
|
44713
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.
|
|
44733
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.telegramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44714
44734
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
44715
44735
|
onClick: function onClick() {
|
|
44716
44736
|
var _authdetailsContext$i18;
|
|
44717
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.
|
|
44737
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.telegramlink) != null) {
|
|
44718
44738
|
var _authdetailsContext$i19;
|
|
44719
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.
|
|
44739
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.telegramlink, '_blank');
|
|
44740
|
+
}
|
|
44741
|
+
}
|
|
44742
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44743
|
+
className: "h-100 allcentered"
|
|
44744
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
44745
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
44746
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44747
|
+
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
44748
|
+
onClick: function onClick() {
|
|
44749
|
+
var _authdetailsContext$i21;
|
|
44750
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.tiktoklink) != null) {
|
|
44751
|
+
var _authdetailsContext$i22;
|
|
44752
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.youtubelink, '_blank');
|
|
44720
44753
|
}
|
|
44721
44754
|
}
|
|
44722
44755
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -44742,11 +44775,11 @@ var Footer5 = function Footer5(props) {
|
|
|
44742
44775
|
size: 20
|
|
44743
44776
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44744
44777
|
className: ' p-0 m-0 wordbreak '
|
|
44745
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44778
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.address_en)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44746
44779
|
className: "".concat(footerStyles.footerinformationstyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start justify-content-md-center align-items-center mb-3 storeinfotext cursor-pointer ',
|
|
44747
44780
|
onClick: function onClick() {
|
|
44748
|
-
var _authdetailsContext$
|
|
44749
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44781
|
+
var _authdetailsContext$i24;
|
|
44782
|
+
window.open('mailto:' + (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.email), '_self');
|
|
44750
44783
|
}
|
|
44751
44784
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44752
44785
|
className: "h-100 d-flex justify-content-center align-items-center"
|
|
@@ -44755,7 +44788,7 @@ var Footer5 = function Footer5(props) {
|
|
|
44755
44788
|
size: 20
|
|
44756
44789
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44757
44790
|
className: ' p-0 m-0 wordbreak text-transform-none storeinfotext '
|
|
44758
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44791
|
+
}, 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.email)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44759
44792
|
className: "".concat(footerStyles.footerinformationstyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start justify-content-md-center align-items-center mb-md-3 storeinfotext ',
|
|
44760
44793
|
onClick: function onClick() {
|
|
44761
44794
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
@@ -44810,8 +44843,8 @@ var Footer5 = function Footer5(props) {
|
|
|
44810
44843
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
44811
44844
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
44812
44845
|
onClick: function onClick() {
|
|
44813
|
-
var _authdetailsContext$
|
|
44814
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44846
|
+
var _authdetailsContext$i26;
|
|
44847
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.mobileapplink_appstore, '_blank');
|
|
44815
44848
|
},
|
|
44816
44849
|
style: {
|
|
44817
44850
|
width: '80%',
|
|
@@ -44823,8 +44856,8 @@ var Footer5 = function Footer5(props) {
|
|
|
44823
44856
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
44824
44857
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
44825
44858
|
onClick: function onClick() {
|
|
44826
|
-
var _authdetailsContext$
|
|
44827
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44859
|
+
var _authdetailsContext$i27;
|
|
44860
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_playstore, '_blank');
|
|
44828
44861
|
},
|
|
44829
44862
|
style: {
|
|
44830
44863
|
width: '80%',
|
|
@@ -44837,78 +44870,78 @@ var Footer5 = function Footer5(props) {
|
|
|
44837
44870
|
}
|
|
44838
44871
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44839
44872
|
className: "col-lg-12 allcentered"
|
|
44840
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44873
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44841
44874
|
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
44842
44875
|
onClick: function onClick() {
|
|
44843
|
-
var _authdetailsContext$
|
|
44844
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44845
|
-
var _authdetailsContext$
|
|
44846
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44876
|
+
var _authdetailsContext$i29;
|
|
44877
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.facebooklink) != null) {
|
|
44878
|
+
var _authdetailsContext$i30;
|
|
44879
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.facebooklink, '_blank');
|
|
44847
44880
|
}
|
|
44848
44881
|
}
|
|
44849
44882
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44850
44883
|
className: "h-100 allcentered"
|
|
44851
44884
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
44852
44885
|
size: sectionproperties.facebkbtnniconfontsize
|
|
44853
|
-
}))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44886
|
+
}))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44854
44887
|
className: langdetect == 'en' ? "".concat(footerStyles.instgram_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.instgram_btn) + ' allcentered ml-3 ml-sm-4',
|
|
44855
44888
|
onClick: function onClick() {
|
|
44856
|
-
var _authdetailsContext$
|
|
44857
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44858
|
-
var _authdetailsContext$
|
|
44859
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44889
|
+
var _authdetailsContext$i32;
|
|
44890
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.instagramlink) != null) {
|
|
44891
|
+
var _authdetailsContext$i33;
|
|
44892
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.instagramlink, '_blank');
|
|
44860
44893
|
}
|
|
44861
44894
|
}
|
|
44862
44895
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44863
44896
|
className: "h-100 allcentered"
|
|
44864
44897
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
44865
44898
|
size: sectionproperties.instgrambtniconfontsize
|
|
44866
|
-
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44899
|
+
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44867
44900
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
44868
44901
|
onClick: function onClick() {
|
|
44869
|
-
var _authdetailsContext$
|
|
44870
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44871
|
-
var _authdetailsContext$
|
|
44872
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44902
|
+
var _authdetailsContext$i35;
|
|
44903
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber) != null) {
|
|
44904
|
+
var _authdetailsContext$i36;
|
|
44905
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.whatsappnumber), '_blank');
|
|
44873
44906
|
}
|
|
44874
44907
|
}
|
|
44875
44908
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44876
44909
|
className: "h-100 allcentered"
|
|
44877
44910
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
44878
44911
|
size: sectionproperties.youtubebtniconfontsize
|
|
44879
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44912
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44880
44913
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
44881
44914
|
onClick: function onClick() {
|
|
44882
|
-
var _authdetailsContext$
|
|
44883
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44884
|
-
var _authdetailsContext$
|
|
44885
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44915
|
+
var _authdetailsContext$i38;
|
|
44916
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.linkedinlink) != null) {
|
|
44917
|
+
var _authdetailsContext$i39;
|
|
44918
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.linkedinlink, '_blank');
|
|
44886
44919
|
}
|
|
44887
44920
|
}
|
|
44888
44921
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44889
44922
|
className: "h-100 allcentered"
|
|
44890
44923
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
44891
44924
|
size: sectionproperties.instgrambtniconfontsize
|
|
44892
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44925
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44893
44926
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
44894
44927
|
onClick: function onClick() {
|
|
44895
|
-
var _authdetailsContext$
|
|
44896
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44897
|
-
var _authdetailsContext$
|
|
44898
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44928
|
+
var _authdetailsContext$i41;
|
|
44929
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.tiktoklink) != null) {
|
|
44930
|
+
var _authdetailsContext$i42;
|
|
44931
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.tiktoklink, '_blank');
|
|
44899
44932
|
}
|
|
44900
44933
|
}
|
|
44901
44934
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44902
44935
|
className: "h-100 allcentered"
|
|
44903
44936
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
44904
44937
|
size: sectionproperties.instgrambtniconfontsize
|
|
44905
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44938
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44906
44939
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
44907
44940
|
onClick: function onClick() {
|
|
44908
|
-
var _authdetailsContext$
|
|
44909
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44910
|
-
var _authdetailsContext$
|
|
44911
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44941
|
+
var _authdetailsContext$i44;
|
|
44942
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.tiktoklink) != null) {
|
|
44943
|
+
var _authdetailsContext$i45;
|
|
44944
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.youtubelink, '_blank');
|
|
44912
44945
|
}
|
|
44913
44946
|
}
|
|
44914
44947
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -59605,7 +59638,640 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59605
59638
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
59606
59639
|
background: sectionproperties.backgroundColor
|
|
59607
59640
|
}
|
|
59641
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59642
|
+
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
|
|
59643
|
+
style: {
|
|
59644
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
59645
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
59646
|
+
width: sectionproperties.width + 'vw',
|
|
59647
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
59648
|
+
borderRadius: sectionproperties.sectioncardborderradius + 'px'
|
|
59649
|
+
}
|
|
59650
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59651
|
+
"class":
|
|
59652
|
+
// sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
|
|
59653
|
+
// ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
|
|
59654
|
+
// : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
|
|
59655
|
+
// ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
|
|
59656
|
+
// : sectionproperties.paddingLeft != 0
|
|
59657
|
+
// ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
|
|
59658
|
+
// : sectionproperties.paddingRight != 0
|
|
59659
|
+
// ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
|
|
59660
|
+
// : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
|
|
59661
|
+
sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 ' : sectionproperties.paddingLeft != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 ',
|
|
59662
|
+
style: {
|
|
59663
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
59664
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
59665
|
+
// paddingTop: sectionproperties.paddingTop + 'px',
|
|
59666
|
+
// paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
59667
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
59668
|
+
marginBottom: sectionproperties.marginBottom + 'px'
|
|
59669
|
+
}
|
|
59670
|
+
}, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59671
|
+
"class": "col-lg-12 p-0 d-flex justify-content-between d-md-none"
|
|
59672
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59673
|
+
"class": "row m-0 w-100 d-flex justify-content-between",
|
|
59674
|
+
style: {
|
|
59675
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59676
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
59677
|
+
}
|
|
59678
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59679
|
+
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ' : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ',
|
|
59680
|
+
style: {
|
|
59681
|
+
background: sectionproperties.reservation_bgcolor,
|
|
59682
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
59683
|
+
}
|
|
59684
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59685
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59686
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59687
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
59688
|
+
style: {
|
|
59689
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59690
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
59691
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
59692
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
59693
|
+
}
|
|
59694
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59695
|
+
"class": 'd-flex align-items-center flex-row d-sm-none mt-sm-2 ',
|
|
59696
|
+
style: {
|
|
59697
|
+
position: 'relative',
|
|
59698
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59699
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
59700
|
+
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
59701
|
+
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
59702
|
+
paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
59703
|
+
paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
59704
|
+
paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
59705
|
+
paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
59706
|
+
marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
59707
|
+
marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
|
|
59708
|
+
}
|
|
59709
|
+
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59710
|
+
"class": 'd-none align-items-center flex-row d-sm-flex mt-sm-2',
|
|
59711
|
+
style: {
|
|
59712
|
+
position: 'relative',
|
|
59713
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59714
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
59715
|
+
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
59716
|
+
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
59717
|
+
paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
59718
|
+
paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
59719
|
+
paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
59720
|
+
paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
59721
|
+
marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
59722
|
+
marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
|
|
59723
|
+
}
|
|
59724
|
+
}, SectionTitle())), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59725
|
+
"class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
|
|
59726
|
+
style: {
|
|
59727
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59728
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
59729
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
59730
|
+
}
|
|
59731
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59732
|
+
"class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
|
|
59733
|
+
style: {
|
|
59734
|
+
position: 'relative',
|
|
59735
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59736
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
59737
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
59738
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
59739
|
+
}
|
|
59740
|
+
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59741
|
+
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
59742
|
+
style: {
|
|
59743
|
+
position: 'relative',
|
|
59744
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59745
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
59746
|
+
}
|
|
59747
|
+
}, SectionDescription())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59748
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
59749
|
+
style: {
|
|
59750
|
+
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
59751
|
+
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px'
|
|
59752
|
+
}
|
|
59753
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59754
|
+
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
59755
|
+
style: {},
|
|
59756
|
+
dangerouslySetInnerHTML: {
|
|
59757
|
+
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
59758
|
+
}
|
|
59759
|
+
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59760
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
59761
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59762
|
+
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
59763
|
+
onClick: function onClick() {
|
|
59764
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
59765
|
+
var _authdetailsContext$i9;
|
|
59766
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber) != null) {
|
|
59767
|
+
var _authdetailsContext$i10;
|
|
59768
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber), '_blank');
|
|
59769
|
+
}
|
|
59770
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
59771
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
59772
|
+
routingcountext(sectionproperties.btnlink, false, '');
|
|
59773
|
+
} else {
|
|
59774
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
59775
|
+
}
|
|
59776
|
+
},
|
|
59777
|
+
style: {
|
|
59778
|
+
marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
59779
|
+
marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
59780
|
+
}
|
|
59781
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59782
|
+
"class": "col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center",
|
|
59783
|
+
style: {
|
|
59784
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59785
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59786
|
+
display: sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide' ? 'none' : 'flex'
|
|
59787
|
+
}
|
|
59788
|
+
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59789
|
+
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
59790
|
+
onClick: function onClick() {
|
|
59791
|
+
var _authdetailsContext$i11;
|
|
59792
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.facebooklink) != null) {
|
|
59793
|
+
var _authdetailsContext$i12;
|
|
59794
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.facebooklink, '_blank');
|
|
59795
|
+
}
|
|
59796
|
+
}
|
|
59797
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
59798
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
59799
|
+
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59800
|
+
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
59801
|
+
onClick: function onClick() {
|
|
59802
|
+
var _authdetailsContext$i13;
|
|
59803
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink) != null) {
|
|
59804
|
+
var _authdetailsContext$i14;
|
|
59805
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instagramlink, '_blank');
|
|
59806
|
+
}
|
|
59807
|
+
}
|
|
59808
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
59809
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
59810
|
+
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59811
|
+
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
59812
|
+
onClick: function onClick() {
|
|
59813
|
+
var _authdetailsContext$i15;
|
|
59814
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
59815
|
+
var _authdetailsContext$i16;
|
|
59816
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
|
|
59817
|
+
}
|
|
59818
|
+
}
|
|
59819
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
59820
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
59821
|
+
}))))), sectionproperties.image_show == 'show' && Image())), sectionproperties.sectionstyleresponsive == 'Image below text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59822
|
+
"class": "col-lg-12 p-0 d-none d-md-flex justify-content-between"
|
|
59823
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59824
|
+
"class": "row m-0 w-100 d-flex justify-content-between",
|
|
59825
|
+
style: {
|
|
59826
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59827
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
59828
|
+
}
|
|
59829
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59830
|
+
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ' : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ',
|
|
59831
|
+
style: {
|
|
59832
|
+
background: sectionproperties.reservation_bgcolor,
|
|
59833
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
59834
|
+
}
|
|
59835
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59836
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59837
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59838
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
59839
|
+
style: {
|
|
59840
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59841
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
59842
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
59843
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
59844
|
+
}
|
|
59845
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59846
|
+
"class": 'd-flex align-items-center flex-row d-sm-none mt-sm-2 ',
|
|
59847
|
+
style: {
|
|
59848
|
+
position: 'relative',
|
|
59849
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59850
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
59851
|
+
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
59852
|
+
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
59853
|
+
paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
59854
|
+
paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
59855
|
+
paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
59856
|
+
paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
59857
|
+
marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
59858
|
+
marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
|
|
59859
|
+
}
|
|
59860
|
+
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59861
|
+
"class": 'd-none align-items-center flex-row d-sm-flex mt-sm-2',
|
|
59862
|
+
style: {
|
|
59863
|
+
position: 'relative',
|
|
59864
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59865
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
59866
|
+
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
59867
|
+
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
59868
|
+
paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
59869
|
+
paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
59870
|
+
paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
59871
|
+
paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
59872
|
+
marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
59873
|
+
marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
|
|
59874
|
+
}
|
|
59875
|
+
}, SectionTitle())), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59876
|
+
"class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
|
|
59877
|
+
style: {
|
|
59878
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59879
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
59880
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
59881
|
+
}
|
|
59882
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59883
|
+
"class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
|
|
59884
|
+
style: {
|
|
59885
|
+
position: 'relative',
|
|
59886
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59887
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
59888
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
59889
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
59890
|
+
}
|
|
59891
|
+
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59892
|
+
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
59893
|
+
style: {
|
|
59894
|
+
position: 'relative',
|
|
59895
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59896
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
59897
|
+
}
|
|
59898
|
+
}, SectionDescription())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59899
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
59900
|
+
style: {
|
|
59901
|
+
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
59902
|
+
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px'
|
|
59903
|
+
}
|
|
59904
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59905
|
+
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
59906
|
+
style: {},
|
|
59907
|
+
dangerouslySetInnerHTML: {
|
|
59908
|
+
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
59909
|
+
}
|
|
59910
|
+
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59911
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
59912
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59913
|
+
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
59914
|
+
onClick: function onClick() {
|
|
59915
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
59916
|
+
var _authdetailsContext$i17;
|
|
59917
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null) {
|
|
59918
|
+
var _authdetailsContext$i18;
|
|
59919
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber), '_blank');
|
|
59920
|
+
}
|
|
59921
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
59922
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
59923
|
+
routingcountext(sectionproperties.btnlink, false, '');
|
|
59924
|
+
} else {
|
|
59925
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
59926
|
+
}
|
|
59927
|
+
},
|
|
59928
|
+
style: {
|
|
59929
|
+
marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
59930
|
+
marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
59931
|
+
}
|
|
59932
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59933
|
+
"class": "col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center",
|
|
59934
|
+
style: {
|
|
59935
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59936
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59937
|
+
display: sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide' ? 'none' : 'flex'
|
|
59938
|
+
}
|
|
59939
|
+
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59940
|
+
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
59941
|
+
onClick: function onClick() {
|
|
59942
|
+
var _authdetailsContext$i19;
|
|
59943
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.facebooklink) != null) {
|
|
59944
|
+
var _authdetailsContext$i20;
|
|
59945
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.facebooklink, '_blank');
|
|
59946
|
+
}
|
|
59947
|
+
}
|
|
59948
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
59949
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
59950
|
+
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59951
|
+
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
59952
|
+
onClick: function onClick() {
|
|
59953
|
+
var _authdetailsContext$i21;
|
|
59954
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instagramlink) != null) {
|
|
59955
|
+
var _authdetailsContext$i22;
|
|
59956
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instagramlink, '_blank');
|
|
59957
|
+
}
|
|
59958
|
+
}
|
|
59959
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
59960
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
59961
|
+
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59962
|
+
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
59963
|
+
onClick: function onClick() {
|
|
59964
|
+
var _authdetailsContext$i23;
|
|
59965
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.whatsappnumber) != null) {
|
|
59966
|
+
var _authdetailsContext$i24;
|
|
59967
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.whatsappnumber), '_blank');
|
|
59968
|
+
}
|
|
59969
|
+
}
|
|
59970
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
59971
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
59972
|
+
}))))), sectionproperties.image_show == 'show' && Image())), sectionproperties.sectionstyle == 'Image on left' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59973
|
+
"class": "col-lg-12 p-0 d-flex justify-content-between d-md-none"
|
|
59974
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59975
|
+
"class": "row m-0 w-100 d-flex justify-content-between",
|
|
59976
|
+
style: {
|
|
59977
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59978
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
59979
|
+
}
|
|
59980
|
+
}, sectionproperties.image_show == 'show' && Image(), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59981
|
+
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ' : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ',
|
|
59982
|
+
style: {
|
|
59983
|
+
background: sectionproperties.reservation_bgcolor,
|
|
59984
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
59985
|
+
}
|
|
59986
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59987
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59608
59988
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59989
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
59990
|
+
style: {
|
|
59991
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59992
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
59993
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
59994
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
59995
|
+
}
|
|
59996
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59997
|
+
"class": 'd-flex align-items-center flex-row d-sm-none mt-sm-2 ',
|
|
59998
|
+
style: {
|
|
59999
|
+
position: 'relative',
|
|
60000
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60001
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
60002
|
+
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
60003
|
+
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
60004
|
+
paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
60005
|
+
paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
60006
|
+
paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
60007
|
+
paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
60008
|
+
marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
60009
|
+
marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
|
|
60010
|
+
}
|
|
60011
|
+
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60012
|
+
"class": 'd-none align-items-center flex-row d-sm-flex mt-sm-2',
|
|
60013
|
+
style: {
|
|
60014
|
+
position: 'relative',
|
|
60015
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60016
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
60017
|
+
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
60018
|
+
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
60019
|
+
paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
60020
|
+
paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
60021
|
+
paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
60022
|
+
paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
60023
|
+
marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
60024
|
+
marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
|
|
60025
|
+
}
|
|
60026
|
+
}, SectionTitle())), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60027
|
+
"class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
|
|
60028
|
+
style: {
|
|
60029
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60030
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
60031
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
60032
|
+
}
|
|
60033
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60034
|
+
"class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
|
|
60035
|
+
style: {
|
|
60036
|
+
position: 'relative',
|
|
60037
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60038
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
60039
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
60040
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
60041
|
+
}
|
|
60042
|
+
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60043
|
+
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
60044
|
+
style: {
|
|
60045
|
+
position: 'relative',
|
|
60046
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60047
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
60048
|
+
}
|
|
60049
|
+
}, SectionDescription())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60050
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
60051
|
+
style: {
|
|
60052
|
+
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
60053
|
+
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px'
|
|
60054
|
+
}
|
|
60055
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60056
|
+
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
60057
|
+
style: {},
|
|
60058
|
+
dangerouslySetInnerHTML: {
|
|
60059
|
+
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
60060
|
+
}
|
|
60061
|
+
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60062
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
60063
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
60064
|
+
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
60065
|
+
onClick: function onClick() {
|
|
60066
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
60067
|
+
var _authdetailsContext$i25;
|
|
60068
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.whatsappnumber) != null) {
|
|
60069
|
+
var _authdetailsContext$i26;
|
|
60070
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.whatsappnumber), '_blank');
|
|
60071
|
+
}
|
|
60072
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
60073
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
60074
|
+
routingcountext(sectionproperties.btnlink, false, '');
|
|
60075
|
+
} else {
|
|
60076
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
60077
|
+
}
|
|
60078
|
+
},
|
|
60079
|
+
style: {
|
|
60080
|
+
marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
60081
|
+
marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
60082
|
+
}
|
|
60083
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60084
|
+
"class": "col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center",
|
|
60085
|
+
style: {
|
|
60086
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60087
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
60088
|
+
display: sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide' ? 'none' : 'flex'
|
|
60089
|
+
}
|
|
60090
|
+
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60091
|
+
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
60092
|
+
onClick: function onClick() {
|
|
60093
|
+
var _authdetailsContext$i27;
|
|
60094
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.facebooklink) != null) {
|
|
60095
|
+
var _authdetailsContext$i28;
|
|
60096
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.facebooklink, '_blank');
|
|
60097
|
+
}
|
|
60098
|
+
}
|
|
60099
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
60100
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
60101
|
+
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60102
|
+
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
60103
|
+
onClick: function onClick() {
|
|
60104
|
+
var _authdetailsContext$i29;
|
|
60105
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.instagramlink) != null) {
|
|
60106
|
+
var _authdetailsContext$i30;
|
|
60107
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.instagramlink, '_blank');
|
|
60108
|
+
}
|
|
60109
|
+
}
|
|
60110
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
60111
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
60112
|
+
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60113
|
+
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
60114
|
+
onClick: function onClick() {
|
|
60115
|
+
var _authdetailsContext$i31;
|
|
60116
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.whatsappnumber) != null) {
|
|
60117
|
+
var _authdetailsContext$i32;
|
|
60118
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.whatsappnumber), '_blank');
|
|
60119
|
+
}
|
|
60120
|
+
}
|
|
60121
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
60122
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
60123
|
+
}))))))), sectionproperties.sectionstyleresponsive == 'Image above text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60124
|
+
"class": "col-lg-12 p-0 d-none d-md-flex justify-content-between"
|
|
60125
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60126
|
+
"class": "row m-0 w-100 d-flex justify-content-between",
|
|
60127
|
+
style: {
|
|
60128
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
60129
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
60130
|
+
}
|
|
60131
|
+
}, sectionproperties.image_show == 'show' && Image(), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60132
|
+
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ' : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ',
|
|
60133
|
+
style: {
|
|
60134
|
+
background: sectionproperties.reservation_bgcolor,
|
|
60135
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
60136
|
+
}
|
|
60137
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60138
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
60139
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60140
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
60141
|
+
style: {
|
|
60142
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60143
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
60144
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
60145
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
60146
|
+
}
|
|
60147
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60148
|
+
"class": 'd-flex align-items-center flex-row d-sm-none mt-sm-2 ',
|
|
60149
|
+
style: {
|
|
60150
|
+
position: 'relative',
|
|
60151
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60152
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
60153
|
+
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
60154
|
+
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
60155
|
+
paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
60156
|
+
paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
60157
|
+
paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
60158
|
+
paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
60159
|
+
marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
60160
|
+
marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
|
|
60161
|
+
}
|
|
60162
|
+
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60163
|
+
"class": 'd-none align-items-center flex-row d-sm-flex mt-sm-2',
|
|
60164
|
+
style: {
|
|
60165
|
+
position: 'relative',
|
|
60166
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60167
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
60168
|
+
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
60169
|
+
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
60170
|
+
paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
60171
|
+
paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
|
|
60172
|
+
paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
60173
|
+
paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
|
|
60174
|
+
marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
60175
|
+
marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
|
|
60176
|
+
}
|
|
60177
|
+
}, SectionTitle())), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60178
|
+
"class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
|
|
60179
|
+
style: {
|
|
60180
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60181
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
60182
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
60183
|
+
}
|
|
60184
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60185
|
+
"class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
|
|
60186
|
+
style: {
|
|
60187
|
+
position: 'relative',
|
|
60188
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60189
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
60190
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
60191
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
60192
|
+
}
|
|
60193
|
+
}, SectionDescription()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60194
|
+
"class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
|
|
60195
|
+
style: {
|
|
60196
|
+
position: 'relative',
|
|
60197
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60198
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
60199
|
+
}
|
|
60200
|
+
}, SectionDescription())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60201
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
60202
|
+
style: {
|
|
60203
|
+
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
60204
|
+
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px'
|
|
60205
|
+
}
|
|
60206
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60207
|
+
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
60208
|
+
style: {},
|
|
60209
|
+
dangerouslySetInnerHTML: {
|
|
60210
|
+
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
60211
|
+
}
|
|
60212
|
+
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60213
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
60214
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
60215
|
+
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
60216
|
+
onClick: function onClick() {
|
|
60217
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
60218
|
+
var _authdetailsContext$i33;
|
|
60219
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.whatsappnumber) != null) {
|
|
60220
|
+
var _authdetailsContext$i34;
|
|
60221
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber), '_blank');
|
|
60222
|
+
}
|
|
60223
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
60224
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
60225
|
+
routingcountext(sectionproperties.btnlink, false, '');
|
|
60226
|
+
} else {
|
|
60227
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
60228
|
+
}
|
|
60229
|
+
},
|
|
60230
|
+
style: {
|
|
60231
|
+
marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
60232
|
+
marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
60233
|
+
}
|
|
60234
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60235
|
+
"class": "col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center",
|
|
60236
|
+
style: {
|
|
60237
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60238
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
60239
|
+
display: sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide' ? 'none' : 'flex'
|
|
60240
|
+
}
|
|
60241
|
+
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60242
|
+
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
60243
|
+
onClick: function onClick() {
|
|
60244
|
+
var _authdetailsContext$i35;
|
|
60245
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.facebooklink) != null) {
|
|
60246
|
+
var _authdetailsContext$i36;
|
|
60247
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.facebooklink, '_blank');
|
|
60248
|
+
}
|
|
60249
|
+
}
|
|
60250
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
60251
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
60252
|
+
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60253
|
+
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
60254
|
+
onClick: function onClick() {
|
|
60255
|
+
var _authdetailsContext$i37;
|
|
60256
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.instagramlink) != null) {
|
|
60257
|
+
var _authdetailsContext$i38;
|
|
60258
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.instagramlink, '_blank');
|
|
60259
|
+
}
|
|
60260
|
+
}
|
|
60261
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
60262
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
60263
|
+
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60264
|
+
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
60265
|
+
onClick: function onClick() {
|
|
60266
|
+
var _authdetailsContext$i39;
|
|
60267
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.whatsappnumber) != null) {
|
|
60268
|
+
var _authdetailsContext$i40;
|
|
60269
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.whatsappnumber), '_blank');
|
|
60270
|
+
}
|
|
60271
|
+
}
|
|
60272
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
60273
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
60274
|
+
}))))))))), sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59609
60275
|
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? section_styles.cont1 + ' d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 mx-auto ' : section_styles.cont1 + ' d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 mx-auto ' : sectionproperties.width != 100 ? section_styles.cont1 + ' d-flex justify-content-between align-items-center mx-auto ' : section_styles.cont1 + ' d-flex justify-content-between align-items-center mx-auto ',
|
|
59610
60276
|
style: {
|
|
59611
60277
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
@@ -70047,7 +70713,6 @@ var Classiccategorycard = function Classiccategorycard(props) {
|
|
|
70047
70713
|
function ownKeys$m(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; }
|
|
70048
70714
|
function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
70049
70715
|
var Horizontalcard = function Horizontalcard(props) {
|
|
70050
|
-
var _ref;
|
|
70051
70716
|
var _useState = React.useState(''),
|
|
70052
70717
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
70053
70718
|
sectionproperties = _useState2[0],
|
|
@@ -70178,6 +70843,20 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
70178
70843
|
left: 0,
|
|
70179
70844
|
right: 0,
|
|
70180
70845
|
margin: 'auto'
|
|
70846
|
+
}),
|
|
70847
|
+
imagecont: glamor.css({
|
|
70848
|
+
width: '100%',
|
|
70849
|
+
height: sectionproperties.image_height + 'px',
|
|
70850
|
+
cursor: 'pointer',
|
|
70851
|
+
position: 'relative',
|
|
70852
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
70853
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
70854
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
70855
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
70856
|
+
background: sectionproperties.image_bgcolor,
|
|
70857
|
+
'@media (max-width: 800px)': {
|
|
70858
|
+
height: sectionproperties.height_responsive + 'px'
|
|
70859
|
+
}
|
|
70181
70860
|
})
|
|
70182
70861
|
};
|
|
70183
70862
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -70199,21 +70878,11 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
70199
70878
|
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70200
70879
|
"class": props.numberOfColsvertical == '1' ? 'col-lg-2 col-md-3 col-sm-3 p-0 h-100' : 'col-lg-4 col-md-4 col-sm-4 p-0 h-100'
|
|
70201
70880
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70202
|
-
"class":
|
|
70881
|
+
"class": card_cssstyles.imagecont + ' d-flex allcentered ',
|
|
70203
70882
|
onClick: function onClick() {
|
|
70204
70883
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
70205
70884
|
},
|
|
70206
|
-
style: {
|
|
70207
|
-
width: '100%',
|
|
70208
|
-
height: sectionproperties.image_height + 'px',
|
|
70209
|
-
cursor: 'pointer',
|
|
70210
|
-
position: 'relative',
|
|
70211
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
70212
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
70213
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
70214
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
70215
|
-
background: sectionproperties.image_bgcolor
|
|
70216
|
-
}
|
|
70885
|
+
style: {}
|
|
70217
70886
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
70218
70887
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
70219
70888
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -70234,33 +70903,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
70234
70903
|
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
70235
70904
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
70236
70905
|
"class": "m-0 p-0"
|
|
70237
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70238
|
-
"class": "d-none d-md-flex",
|
|
70239
|
-
onClick: function onClick() {
|
|
70240
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
70241
|
-
},
|
|
70242
|
-
style: {
|
|
70243
|
-
width: '100%',
|
|
70244
|
-
height: sectionproperties.height_responsive + 'px',
|
|
70245
|
-
cursor: 'pointer',
|
|
70246
|
-
position: 'relative',
|
|
70247
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
70248
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
70249
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
70250
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
70251
|
-
}
|
|
70252
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
70253
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
70254
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
70255
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
70256
|
-
style: (_ref = {
|
|
70257
|
-
width: '100%',
|
|
70258
|
-
height: '100%',
|
|
70259
|
-
objectFit: 'contain',
|
|
70260
|
-
marginBottom: 'auto'
|
|
70261
|
-
}, _defineProperty__default["default"](_ref, "objectFit", sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'), _defineProperty__default["default"](_ref, "marginBottom", 'auto'), _defineProperty__default["default"](_ref, "borderBottomLeftRadius", langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px'), _defineProperty__default["default"](_ref, "borderBottomRightRadius", langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'), _defineProperty__default["default"](_ref, "borderTopLeftRadius", langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px'), _defineProperty__default["default"](_ref, "borderTopRightRadius", langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'), _ref),
|
|
70262
|
-
loading: "lazy"
|
|
70263
|
-
})), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70906
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70264
70907
|
"class": "allcentered",
|
|
70265
70908
|
style: {
|
|
70266
70909
|
position: 'absolute',
|